-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lightcurve doesn't work with multithread #565
Comments
The same problem happens to me, but only when I am using a Mac OS. This is not a problem for Linux. In easyfermi it is nearly one year since we blocked the multithread for Mac OS. I was about to open this same issue. |
Thank Raniere, how do you block the multithread for Mac OS and not for Linux? Is it an environment variable that we can set, please provide an example that I can use. |
in my case I use this command for computing LC (in macOS): lc = gta.lightcurve('4FGL J2158.8-3013', time_bins=tbins, In particular:
Instead with the Ubuntu OS, I just uncommented the 1) point (the multithread part works), but even in this case I used use_local_ltcube=False for the same reason of macOS. Cheers |
Hi @omodei , In easyfermi we collect the OS name using:
And then set multithreaded to False if the OS is a mac (i.e. "Darwin"):
Hi @astroSyvertHE , I included this choice: use_local_ltcube=False, using False, otherwise the procedure doesn't create the cube and scrap in the folder for each time bins
|
Hi, I'm using the last fermipy version installed with mamba.
During light curve processes an error occurs. The command is:
lc = gta.lightcurve('4FGL J1243.2+3627',binsz=15768000,
multithread=True, nthread=8,
shape_ts_threshold = 16.0, use_scaled_srcmap=True,
make_plots = True, outdir='six_month',
free_background=False,
free_radius=3.0, free_params='norm')
And the error is:
2024-02-08 13:03:19 INFO GTAnalysis.lightcurve(): Computing Lightcurve for 4FGL J1243.2+3627
2024-02-08 13:03:19 WARNING GTAnalysis._make_lc(): Last lightcurve bin (2937604.0 s) is shorter than nominal (15768000.0 s).
Process SpawnPoolWorker-495:
Process SpawnPoolWorker-497:
Process SpawnPoolWorker-500:
Process SpawnPoolWorker-498:
Process SpawnPoolWorker-499:
Process SpawnPoolWorker-496:
Process SpawnPoolWorker-501:
Process SpawnPoolWorker-502:
Traceback (most recent call last):
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
Traceback (most recent call last):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Traceback (most recent call last):
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-503:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-504:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-505:
Process SpawnPoolWorker-506:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-507:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-508:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-509:
Process SpawnPoolWorker-510:
Traceback (most recent call last):
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-511:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-512:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-513:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-514:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-515:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-516:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-518:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-517:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-519:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-520:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-521:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-522:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-523:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-524:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Process SpawnPoolWorker-525:
Traceback (most recent call last):
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/pool.py", line 114, in worker
task = get()
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/multiprocessing/queues.py", line 367, in get
return _ForkingPickler.loads(res)
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/lightcurve.py", line 21, in
import fermipy.gtanalysis
File "/Users/sofiav/miniforge3/envs/fermipy/lib/python3.9/site-packages/fermipy/gtanalysis.py", line 237, in
SourceFind, ExtensionFit, lightcurve.LightCurve):
AttributeError: partially initialized module 'fermipy.lightcurve' has no attribute 'LightCurve' (most likely due to a circular import)
Can you help me?
Thank you
The text was updated successfully, but these errors were encountered: