With fermitools-2.0.0/fermitools-data-0.18, and using python3, I attempted to run gtobssim with Mapcube sources. The largest of the values of the data in the source files where of order 1e-7). In the file they are stored as float64 numbers, but I believe gtobssim treats them as floats if I am not mistaken. The result is that it treats these values as zero, which throws the error below.
Running on: Linux hpc-login-1-2.local 4.4.115-1.el6.elrepo.x86_64 #1 SMP Sat Feb 3 22:04:45 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
Caught St13runtime_error at the top level: MapCube: There are negative or zero-valued pixels in the FITS image read from/data/users/abrought/ML_Project/Galactic_Center_Machine_Learning/Gamma_Ray_Sims/Process_GALPROP_Output/zeroed/zeroed_masked_reprojected_pion_decay_annuli_0_5.fits`
With fermitools-2.0.0/fermitools-data-0.18, and using python3, I attempted to run gtobssim with Mapcube sources. The largest of the values of the data in the source files where of order 1e-7). In the file they are stored as float64 numbers, but I believe gtobssim treats them as floats if I am not mistaken. The result is that it treats these values as zero, which throws the error below.
`$ gtobssim emin=1.e3 emax=5.e5 startdate="2008-01-01 00:00:00" infile="srcmdl_gtobssim.xml" srclist="srclist.txt" scfile=none simtime=604800 use_ac=no irfs="P8R3_SOURCE_V2" evroot=root seed=293060 Simulation start time (seconds wrt MET 0)[INDEF] INDEF
Caught St13runtime_error at the top level: MapCube: There are negative or zero-valued pixels in the FITS image read from/data/users/abrought/ML_Project/Galactic_Center_Machine_Learning/Gamma_Ray_Sims/Process_GALPROP_Output/zeroed/zeroed_masked_reprojected_pion_decay_annuli_0_5.fits`