-
Notifications
You must be signed in to change notification settings - Fork 26
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
error with enrico_sed #168
Comments
Hello |
I tried but it shows command not found. |
and other command such as gtlike? |
Now i am getting this error ################################### *************************************************************** SUMMARY: FRONTBACK ***************************************************************Source = PG155+113 *************************************************************** 1 gtselect --- Select data from library, coarse cut************************************************************time -p gtselect infile=~/myanalysis/data.list outfile=/home/ajay/myanalysis/PG155+113_Test0fPG1553_EvtCoarse.fits ra=238.92935 dec=11.190102 rad=10.0 tmin=239557417.0 tmax=256970880.0 emin=0.0 emax=10000000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" *** Error [Message]: An error ocurred and could not be recovered. Exiting! *** ############################################## |
this file " ~/myanalysis/data.list" is not found. check your config file and change the path |
Thanks let me try it |
I am getting error while doing light_curve analysis ################################# *** 11 Re-optimize ---************************************************************Fit output with NEWMINUIT: 8705.488283850456 [quality: 3] *************************************************************** 12 PlotSED --- Generate SED plot************************************************************Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): ********************** |
hello Sir, At the end of the sed analysis, I am getting some warning messages. Whether these warnings will cause any problem in further analysis like LC analysis, upper bound etc. Can you comment on that? *************************************************************** 12 PlotSED --- Generate SED plot************************************************************[Result]: Decorrelation energy : 2.82e+03 MeV *************************************************************** 13 Results --- Print results of the fit************************************************************(4FGL J1531.6+0406 4FGL J1539.1+1008 4FGL J1541.7+1413 4FGL J1543.3+1026 4FGL J1543.6+0452 4FGL J1546.0+0819 4FGL J1547.9+0445 4FGL J1548.3+1456 4FGL J1550.7+0528 4FGL J1552.0+0850 4FGL J1553.6+1257 4FGL J1556.5+1116 4FGL J1600.4+0407 4FGL J1603.8+1104 4FGL J1606.2+1346 4FGL J1607.0+1550 4FGL J1608.7+1029 4FGL J1612.1+1407 GalDiffModel IsoDiffModel PG155+113 Source Flux [1.00e+02 MeV, 3.00e+05 MeV] : time -p gtmodel srcmaps=/home/ajay/myanalysis/PG155+113_TestOfPG1553_FRONTBACK_PowerLaw2_srcMap.fits srcmdl=/home/ajay/myanalysis/PG155+113_PowerLaw2_TestOfPG1553_out.xml outfile=/home/ajay/myanalysis/PG155+113_TestOfPG1553_FRONTBACK_PowerLaw2_ModelMap.fits irfs="P8R3_SOURCE_V3" evtype="INDEF" expcube=/home/ajay/myanalysis/PG155+113_TestOfPG1553_FRONTBACK_ltCube.fits bexpmap=/home/ajay/myanalysis/PG155+113_TestOfPG1553_FRONTBACK_BinnedMap.fits convol=yes resample=yes rfactor=2 outtype="CMAP" psfcorr=yes phased_expmap=none edisp_bins=0 chatter=2 clobber=yes debug=no gui=no mode="ql" |
The warning should not be a problem |
Hi, After the running the command " enrico_sed_plot myanalysis.conf " . When i try to plot SED , i get these warnings and unable to generate plot. To eliminate the warnings , i removed matplotlib cache files, but getting same errors and warnings. (fermi2.0.8) ajay@ajay:~/enrico$ rm -r |
the plot should be produced if all the options are well set |
Hello @davidsanchez I have a query. I am analyzing a source, for that I am doing unbinnned likelihood and using NEWMINUIT optimizer. But the program suddenly killed when running "gtlike". I couldn't understand why this is happening. But when I tried it with the binned likelihood, it ran smoothly without any error. Now I just want to know why I am having this problem? (fermi) soumoya@soumoya-HP-Compaq-8200-Elite-SFF-PC:~/Downloads/ajay/enrico/S50716+714$ enrico_sed myanalysis.conf *************************************************************** SUMMARY: FRONTBACK ***************************************************************Source = S50716+714 *************************************************************** 1 gtselect --- Select data from library, coarse cut************************************************************time -p gtselect infile=/home/soumoya/Downloads/ajay/S50716+714/data.list outfile=/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_EvtCoarse.fits ra=110.473 dec=71.3434 rad=10.0 tmin=247506217.0 tmax=334165417.0 emin=0.0 emax=10000000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" *************************************************************** 2 gtselect --- Select data from library, fine cut************************************************************time -p gtselect infile=/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_EvtCoarse.fits outfile=/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_FRONTBACK_Evt.fits ra=0.0 dec=0.0 rad=180.0 tmin="INDEF" tmax="INDEF" emin=100.0 emax=300000.0 zmin=0.0 zmax=90.0 evclass=128 evtype=3 convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" *************************************************************** 3 gtmktime --- Update the GTI and cut data based on ROI************************************************************time -p gtmktime scfile=/home/soumoya/Downloads/ajay/S50716+714/L220512172346FD19599860_SC00.fits sctable="SC_DATA" filter="(DATA_QUAL>0)&&(LAT_CONFIG==1)" roicut=no evfile=/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_FRONTBACK_Evt.fits evtable="EVENTS" outfile="/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_FRONTBACK_MkTime.fits.tmp" apply_filter=yes overwrite=no header_obstimes=yes tstart=247506217.0 tstop=334165417.0 gtifile="default" chatter=2 clobber=yes debug=no gui=no mode="ql" *************************************************************** 4 gtdiffrsp --- Compute Diffuse response************************************************************time -p gtdiffrsp evfile=/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_FRONTBACK_MkTime.fits evtable="EVENTS" scfile=/home/soumoya/Downloads/ajay/S50716+714/L220512172346FD19599860_SC00.fits sctable="SC_DATA" srcmdl=/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_PowerLaw2_model.xml irfs="P8R3_SOURCE_V3" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=no chatter=2 clobber=yes debug=no gui=no mode="ql" done *************************************************************** 5 gtbin --- Create count maps (square fully embed in the ROI circle)************************************************************time -p gtbin evfile=/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_FRONTBACK_MkTime.fits scfile=/home/soumoya/Downloads/ajay/S50716+714/L220512172346FD19599860_SC00.fits outfile=/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_FRONTBACK_CountMap.fits algorithm="CMAP" ebinalg="LOG" emin=100.0 emax=300000.0 enumbins=0 denergy=0.0 ebinfile=NONE tbinalg="LIN" tstart=0.0 tstop=0.0 dtime=0.0 tbinfile=NONE snratio=0.0 lcemin=0.0 lcemax=0.0 nxpix=141 nypix=141 binsz=0.1 coordsys="CEL" xref=110.473 yref=71.3434 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" *************************************************************** 6 gtltcube --- Make live time cube************************************************************time -p gtltcube evfile="/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_FRONTBACK_MkTime.fits" evtable="EVENTS" scfile=/home/soumoya/Downloads/ajay/S50716+714/L220512172346FD19599860_SC00.fits sctable="SC_DATA" outfile=/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_FRONTBACK_ltCube.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" *************************************************************** 7 gtexpmap --- Make an exposure map************************************************************time -p gtexpmap evfile=/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_FRONTBACK_MkTime.fits evtable="EVENTS" scfile=/home/soumoya/Downloads/ajay/S50716+714/L220512172346FD19599860_SC00.fits sctable="SC_DATA" expcube=/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_FRONTBACK_ltCube.fits outfile=/home/soumoya/Downloads/ajay/enrico/S50716+714/S50716+714_TestofS50716+714_FRONTBACK_ExpMap.fits irfs="P8R3_SOURCE_V3" evtype=3 srcrad=25.0 nlong=120 nlat=120 nenergies=35 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" *************************************************************** 8 gtlike --- Run likelihood analysis************************************************************Fit output with NEWMINUIT: 2271570.333113697 [quality: 3] |
Hi, It is not producing .srcmap.fits file while running enrico_sed. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ *************************************************************** 10 Re-optimize ---************************************************************Fit output with NEWMINUIT: 85930.82926996409 [quality: 3] *************************************************************** 11 PlotSED --- Generate SED plot************************************************************[Result]: Decorrelation energy : 6.41e+02 MeV *************************************************************** 12 Results --- Print results of the fit************************************************************(4FGL J0636.7+7139 GalDiffModel IsoDiffModel S50716+714 Source Flux [1.00e+02 MeV, 3.00e+05 MeV] : time -p gtmodel srcmaps=/home/ajay/enrico/S5_test1/S50716+714_TestofS5_FRONTBACK_LogParabola_srcMap.fits srcmdl=/home/ajay/enrico/S5_test1/S50716+714_LogParabola_TestofS5_out.xml outfile=/home/ajay/enrico/S5_test1/S50716+714_TestofS5_FRONTBACK_LogParabola_ModelMap.fits irfs="P8R3_SOURCE_V3" evtype="INDEF" expcube=/home/ajay/enrico/S5_test1/S50716+714_TestofS5_FRONTBACK_ltCube.fits bexpmap=/home/ajay/enrico/S5_test1/S50716+714_TestofS5_FRONTBACK_BinnedMap.fits convol=yes resample=yes rfactor=2 outtype="CMAP" psfcorr=yes phased_expmap=none edisp_bins=0 chatter=2 clobber=yes debug=no gui=no mode="ql" *** Error [Message]: An error ocurred and could not be recovered. Exiting! *** (fermi2.0.8) ajay@ajay:~/enrico/S5_test1$ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
Hello
I am using enrico first time and I am getting error like
base) ajay@ajay-HP-Compaq-8200-Elite-SFF-PC:~/myanalysis$ enrico_sed myanalysis.conf
Traceback (most recent call last):
File "/home/ajay/Downloads/enrico/bin/enrico_sed", line 9, in
from enrico.RunGTlike import run
File "/home/ajay/Downloads/enrico/enrico/RunGTlike.py", line 4, in
from enrico.gtfunction import Observation
File "/home/ajay/Downloads/enrico/enrico/gtfunction.py", line 15, in
from gt_apps import evtbin, maketime, diffResps, expCube, expMap, srcMaps, model_map, filter, obsSim
File "/home/ajay/anaconda3/envs/fermi2/lib/python3.7/site-packages/fermitools/gt_apps.py", line 13, in
addCubes = GtApp('gtltsum', 'Likelihood')
File "/home/ajay/anaconda3/envs/fermi2/lib/python3.7/site-packages/fermitools/GtApp.py", line 40, in init
preserveQuotes)
File "/home/ajay/anaconda3/envs/fermi2/lib/python3.7/site-packages/fermitools/GtApp.py", line 33, in getApp
pars = Pil(appName + '.par', raiseKeyErrors, preserveQuotes)
File "/home/ajay/anaconda3/envs/fermi2/lib/python3.7/site-packages/fermitools/pil.py", line 40, in init
self.parfile = os.path.join(pfilesPath(pfile), pfile)
File "/home/ajay/anaconda3/envs/fermi2/lib/python3.7/site-packages/fermitools/pfilesPath.py", line 37, in pfilesPath
raise ValueError(ParFileError + ": .par file " + parfile + " not found.")
ValueError: ParFileError: .par file gtltsum.par not found
How can i resolve this.
Regards
Ajay
The text was updated successfully, but these errors were encountered: