gammapy / enrico

Enrico helps you with your Fermi data analysis
http://enrico.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
22 stars 26 forks source link

Problems with enrico_sed #163

Open ErickR100 opened 2 years ago

ErickR100 commented 2 years ago

Hi, i have a problem to run enrico_sed, this is the message error:

^[[34m# **** ^[[34m# * 5 gtltcube --- Make live time cube ^[[34m# **^[[0m time -p gtltcube evfile="/home/erick/Mkn421_enrico/datos1/Mrk421_LAT_Analysis_F> Working on file sc.fits .....................! real 174.25 user 174.75 sys 1.40 ^[[34m[FitMaker]: Compute the psf^[[0m time -p gtpsf expcube=/home/erick/Mkn421_enrico/datos1/Mrk421_LAT_Analysis_FRON> Using evtype=3 (i.e., FRONT/BACK irfs) real 1.67 user 2.51 sys 1.07 ^[[34m[FitMaker]: Compute Energy Migration Matrices^[[0m Parameter cmap: file "/home/erick/Mkn421_enrico/datos1/Mrk421_LAT_Analysis_FRONTBACK_PowerLaw_srcMap.fits" is not accessible in mode r. Caught N5hoops12ApeExceptionE at the top level: Exception while querying for file name parameter cmap for component gtdrm; Ape exception code 43 (at > ^[[33m[Message] Warning: An error ocurred, retrying ...^[[0m Parameter cmap: file "/home/erick/Mkn421_enrico/datos1/Mrk421_LAT_Analysis_FRONTBACK_PowerLaw_srcMap.fits" is not accessible in mode r. Caught N5hoops12ApeExceptionE at the top level: Exception while querying for file name parameter cmap for component gtdrm; Ape exception code 43 (at > ^[[33m[Message] Warning: An error ocurred, retrying ...^[[0m Parameter cmap: file "/home/erick/Mkn421_enrico/datos1/Mrk421_LAT_Analysis_FRONTBACK_PowerLaw_srcMap.fits" is not accessible in mode r. Caught N5hoops12ApeExceptionE at the top level: Exception while querying for file name parameter cmap for component gtdrm; Ape exception code 43 (at > ^[[33m[Message] Warning: An error ocurred, retrying ...^[[0m Parameter cmap: file "/home/erick/Mkn421_enrico/datos1/Mrk421_LAT_Analysis_FRONTBACK_PowerLaw_srcMap.fits" is not accessible in mode r. Caught N5hoops12ApeExceptionE at the top level: Exception while querying for file name parameter cmap for component gtdrm; Ape exception code 43 (at > ^[[33m[Message] Warning: An error ocurred, retrying ...^[[0m Parameter cmap: file "/home/erick/Mkn421_enrico/datos1/Mrk421_LAT_Analysis_FRONTBACK_PowerLaw_srcMap.fits" is not accessible in mode r. Caught N5hoops12ApeExceptionE at the top level: Exception while querying for file name parameter cmap for component gtdrm; Ape exception code 43 (at > ^[[33m[Message] Warning: An error ocurred, retrying ...^[[0m

^[[31m Error [Message]: An error ocurred and could not be recovered. Exiting! ^[[0m

##########################################################################################################################################################################################################################################################################################

When looking for the file Mkn421_enrico / data1 / Mrk421_LAT_Analysis_FRONTBACK_PowerLaw_srcMap.fits in the "data" folder it does not exist.

I have a similar error when i run enrico_lc

^[[34m# **** ^[[34m# * 6 gtltcube --- Make live time cube ^[[34m# **^[[0m time -p gtltcube evfile="/home/erick/Mkn421_enrico/datos1/LightCurve_100bins//Mrk421_LAT_Analysis_LC_0_FRONTBACK_MkTime.fits" evtable="EVENTS" scfile> Working on file sc.fits .....................! real 1.35 user 1.91 sys 1.36 ^[[34m[FitMaker]: Compute the psf^[[0m time -p gtpsf expcube=/home/erick/Mkn421_enrico/datos1/LightCurve_100bins//Mrk421_LAT_Analysis_LC_0_FRONTBACKltCube.fits outfile=/home/erick/Mkn421> Using evtype=3 (i.e., FRONT/BACK irfs) real 1.50 user 2.32 sys 1.09 ^[[34m[FitMaker]: Compute Energy Migration Matrices^[[0m Parameter cmap: file "/home/erick/Mkn421_enrico/datos1/LightCurve_100bins//Mrk421_LAT_Analysis_LC_0_FRONTBACK_PowerLaw_srcMap.fits" is not accessible> Caught N5hoops12ApeExceptionE at the top level: Exception while querying for file name parameter cmap for component gtdrm; Ape exception code 43 (at > ^[[33m[Message] Warning: An error ocurred, retrying ...^[[0m Parameter cmap: file "/home/erick/Mkn421_enrico/datos1/LightCurve_100bins//Mrk421_LAT_Analysis_LC_0_FRONTBACK_PowerLaw_srcMap.fits" is not accessible> Caught N5hoops12ApeExceptionE at the top level: Exception while querying for file name parameter cmap for component gtdrm; Ape exception code 43 (at > ^[[33m[Message] Warning: An error ocurred, retrying ...^[[0m Parameter cmap: file "/home/erick/Mkn421_enrico/datos1/LightCurve_100bins//Mrk421_LAT_Analysis_LC_0_FRONTBACK_PowerLaw_srcMap.fits" is not accessible> Caught N5hoops12ApeExceptionE at the top level: Exception while querying for file name parameter cmap for component gtdrm; Ape exception code 43 (at > ^[[33m[Message] Warning: An error ocurred, retrying ...^[[0m Parameter cmap: file "/home/erick/Mkn421_enrico/datos1/LightCurve_100bins//Mrk421_LAT_Analysis_LC_0_FRONTBACK_PowerLaw_srcMap.fits" is not accessible> Caught N5hoops12ApeExceptionE at the top level: Exception while querying for file name parameter cmap for component gtdrm; Ape exception code 43 (at > ^[[33m[Message] Warning: An error ocurred, retrying ...^[[0m Parameter cmap: file "/home/erick/Mkn421_enrico/datos1/LightCurve_100bins//Mrk421_LAT_Analysis_LC_0_FRONTBACK_PowerLaw_srcMap.fits" is not accessible> Caught N5hoops12ApeExceptionE at the top level: Exception while querying for file name parameter cmap for component gtdrm; Ape exception code 43 (at > ^[[33m[Message] Warning: An error ocurred, retrying ...^[[0m

^[[31m Error [Message]: An error ocurred and could not be recovered. Exiting!

davidsanchez commented 2 years ago

Hi Not sure this is enrico related. Do you have the file saved ? this message 'Parameter cmap: file "/home/erick/Mkn421_enrico/datos1/Mrk421_LAT_Analysis_FRONTBACK_PowerLaw_srcMap.fits" is not accessible in mode r.' make me think this is not the case did you try to run gtltcube directly? best