Closed knalew closed 5 years ago
Make sure that the diffuse/isotropic models in the XML file are properly defined and in the correct location. The following link provides an example on how to use the latest 4FGL models https://fermi.gsfc.nasa.gov/ssc/data/analysis/scitools/data/Likelihood/3C279input_model.xml
Problem has been resolved when gtdiffrsp is called for events file filtered with gtmktime. Previously, it has been possible to run gtdiffrsp on event files taken straight from the LAT query. Thank you
I receive runtime errors from gtdiffrsp.
This happened for the first time trying to process P8R3 data, switching to the fermitools on conda (see below). I can successfully run gtvcut, gtselect, gtmktime, gtltcube, gtexpmap. In python, UnbinnedObs(eventFile=sys.argv[4], scFile=sys.argv[5], expMap=sys.argv[6], expCube=sys.argv[7], irfs=sys.argv[8]) is successful, while UnbinnedAnalysis(obs, srcModel=sys.argv[9], optimizer='Drmngb') returns: "RuntimeError: Event::diffuseResponse: Diffuse component p8r3_source_v2__gll does not have an associated diffuse response."