/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 74361 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1650.3-5045_monthly_bin215 RA = 252.589, Dec = -50.7515 tmin = 794275201, tmax = 796867201 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='25413086', job_status='RUN', time_executed='2026-04-16 16:32:01.246775', time_epoch_executed='1776382321.25' WHERE source_name='4FGL J1650.3-5045' and cadence='monthly' and bin_id='215' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/25413086 Creating custom pfile directory: /lscratch/kocevski/25413086/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=794275201.0 && nMetStart<796867201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=794275201.0 && nMetStart<796867201.0' /Data/Flight/Level1/LPA Retrieving 459 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/25413086/ft1_4FGL_J1650.3-5045_monthly_bin215.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=794275201.0 && nMetStart<796867201.0' /Data/Flight/Level1/LPA Retrieving 459 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/25413086/ft2_4FGL_J1650.3-5045_monthly_bin215.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/25413086/ft1_4FGL_J1650.3-5045_monthly_bin215.fits outfile=/lscratch/kocevski/25413086/ft1_filteredMKT_4FGL_J1650.3-5045_monthly_bin215.fits ra=252.589 dec=-50.7515 rad=12.0 tmin=794275201.0 tmax=796867201.0 emin=100.0 emax=100000.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" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 19.56 user 18.53 sys 0.80 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/25413086/ft2_4FGL_J1650.3-5045_monthly_bin215.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/25413086/ft2_4FGL_J1650.3-5045_monthly_bin215.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/25413086/ft1_filteredMKT_4FGL_J1650.3-5045_monthly_bin215.fits evtable="EVENTS" outfile="/lscratch/kocevski/25413086/ft1_filtered_4FGL_J1650.3-5045_monthly_bin215.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.62 user 0.32 sys 0.17 Number of photons that the gtmktime cut: 90211 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/25413086/ft1_filtered_4FGL_J1650.3-5045_monthly_bin215.fits" evtable="EVENTS" scfile=/lscratch/kocevski/25413086/ft2_4FGL_J1650.3-5045_monthly_bin215.fits sctable="SC_DATA" outfile=/lscratch/kocevski/25413086/ltcube_794275201_796867201_4FGL_J1650.3-5045_monthly_bin215.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" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/25413086/ft2_4FGL_J1650.3-5045_monthly_bin215.fits .....................! real 65.81 user 65.09 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/25413086/ft1_filtered_4FGL_J1650.3-5045_monthly_bin215.fits evtable="EVENTS" scfile=/lscratch/kocevski/25413086/ft2_4FGL_J1650.3-5045_monthly_bin215.fits sctable="SC_DATA" expcube=/lscratch/kocevski/25413086/ltcube_794275201_796867201_4FGL_J1650.3-5045_monthly_bin215.fits outfile=/lscratch/kocevski/25413086/expmap_794275201_796867201_4FGL_J1650.3-5045_monthly_bin215.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/25413086/ltcube_794275201_796867201_4FGL_J1650.3-5045_monthly_bin215.fits .....................! real 60.29 user 56.40 sys 3.49 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model. Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model. Extended source G337.0-0.1 in ROI with RadialDisk spatial model. Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model. Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model. Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model. Extended source HESS J1614-518 in ROI with RadialDisk spatial model. Extended source HESS J1616-508 in ROI with RadialDisk spatial model. Extended source HESS J1534-571 in ROI with RadialDisk spatial model. Extended source MSH 15-56 PWN in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_PWN.fits is the correct path to the extended template. Extended source MSH 15-56 SNR in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template. Extended source FGES J1553.8-5325 in ROI with RadialDisk spatial model. Extended source RX J1713.7-3946 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template. Extended source MSH 15-52 in ROI with RadialDisk spatial model. Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model. Extended source RCW 86 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RCW86.fits is the correct path to the extended template. Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model. Extended source HESS J1507-622 in ROI with RadialDisk spatial model. Added 470 point sources and 18 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J1650.3-5045 @ 252.589 -50.7515 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/25413086/ft1_filtered_4FGL_J1650.3-5045_monthly_bin215.fits scfile=/lscratch/kocevski/25413086/ft2_4FGL_J1650.3-5045_monthly_bin215.fits outfile=/lscratch/kocevski/25413086/cmap_794275201_796867201_4FGL_J1650.3-5045_monthly_bin215.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=252.589 yref=-50.7515 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" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.56 user 0.33 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/25413086/ft1_filtered_4FGL_J1650.3-5045_monthly_bin215.fits scfile=/lscratch/kocevski/25413086/ft2_4FGL_J1650.3-5045_monthly_bin215.fits outfile=/lscratch/kocevski/25413086/cmap_HighResolution_794275201_796867201_4FGL_J1650.3-5045_monthly_bin215.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=252.589 yref=-50.7515 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" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.59 user 0.34 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/25413086/ft1_filtered_4FGL_J1650.3-5045_monthly_bin215.fits evtable="EVENTS" scfile=/lscratch/kocevski/25413086/ft2_4FGL_J1650.3-5045_monthly_bin215.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/25413086/Model_4FGL_J1650.3-5045_monthly_bin215.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source FGES J1553.8-5325 adding source FGES J1631.6-4756 adding source FGES J1633.0-4746 adding source FGES J1652.2-4633 adding source FGES J1655.5-4737 adding source FHES J1501.0-6310 adding source FHES J1642.1-5428 adding source FHES J1741.6-3917 adding source G337.0-0.1 adding source GAL_V02 adding source HESS J1507-622 adding source HESS J1534-571 adding source HESS J1614-518 adding source HESS J1616-508 adding source MSH 15-52 adding source MSH 15-56 PWN adding source MSH 15-56 SNR adding source RCW 86 adding source RX J1713.7-3946 Working on... /lscratch/kocevski/25413086/ft1_filtered_4FGL_J1650.3-5045_monthly_bin215.fits.....................! real 21300.88 user 21206.57 sys 4.08 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/25413086/ft1_filtered_4FGL_J1650.3-5045_monthly_bin215.fits', '/lscratch/kocevski/25413086/ft2_4FGL_J1650.3-5045_monthly_bin215.fits', expMap='/lscratch/kocevski/25413086/expmap_794275201_796867201_4FGL_J1650.3-5045_monthly_bin215.fits', expCube='/lscratch/kocevski/25413086/ltcube_794275201_796867201_4FGL_J1650.3-5045_monthly_bin215.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/25413086/Model_4FGL_J1650.3-5045_monthly_bin215.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1650.3-5045' 4FGL J1650.3-5045 Spectrum: PowerLaw 784 Prefactor: 1.312e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 785 Index: 2.347e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 786 Scale: 1.695e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/25413086/ft1_filtered_4FGL_J1650.3-5045_monthly_bin215.fits Spacecraft file(s): /lscratch/kocevski/25413086/ft2_4FGL_J1650.3-5045_monthly_bin215.fits Exposure map: /lscratch/kocevski/25413086/expmap_794275201_796867201_4FGL_J1650.3-5045_monthly_bin215.fits Exposure cube: /lscratch/kocevski/25413086/ltcube_794275201_796867201_4FGL_J1650.3-5045_monthly_bin215.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/25413086/Model_4FGL_J1650.3-5045_monthly_bin215.xml Optimizer: M/var/spool/slurmd/job25413086/slurm_script: line 4: 2642795 Killed /sdf/group/fermi/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1650.3-5045_monthly_bin215 252.589 -50.7515 794275201 796867201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1650.3-5045 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False slurmstepd: error: Detected 1 oom_kill event in StepId=25413086.batch. Some of the step tasks have been OOM Killed.