/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 = 17485 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0540.8-5415_weekly_bin932 RA = 85.2069, Dec = -54.2575 tmin = 802656001, tmax = 803260801 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='31032721', job_status='RUN', time_executed='2026-07-08 07:40:34.008270', time_epoch_executed='1783521634.01' WHERE source_name='4FGL J0540.8-5415' and cadence='weekly' and bin_id='932' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31032721 Creating custom pfile directory: /lscratch/kocevski/31032721/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31032721/ft1_4FGL_J0540.8-5415_weekly_bin932.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31032721/ft2_4FGL_J0540.8-5415_weekly_bin932.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31032721/ft1_4FGL_J0540.8-5415_weekly_bin932.fits outfile=/lscratch/kocevski/31032721/ft1_filteredMKT_4FGL_J0540.8-5415_weekly_bin932.fits ra=85.2069 dec=-54.2575 rad=12.0 tmin=802656001.0 tmax=803260801.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 4.98 user 4.30 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31032721/ft2_4FGL_J0540.8-5415_weekly_bin932.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31032721/ft2_4FGL_J0540.8-5415_weekly_bin932.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/31032721/ft1_filteredMKT_4FGL_J0540.8-5415_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31032721/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.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.77 user 0.23 sys 0.14 Number of photons that the gtmktime cut: 2766 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31032721/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31032721/ft2_4FGL_J0540.8-5415_weekly_bin932.fits sctable="SC_DATnumber of points = 17485 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0540.8-5415_weekly_bin932 RA = 85.2069, Dec = -54.2575 tmin = 802656001, tmax = 803260801 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='31032952', job_status='RUN', time_executed='2026-07-08 07:42:31.611641', time_epoch_executed='1783521751.61' WHERE source_name='4FGL J0540.8-5415' and cadence='weekly' and bin_id='932' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31032952 Creating custom pfile directory: /lscratch/kocevski/31032952/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31032952/ft1_4FGL_J0540.8-5415_weekly_bin932.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802656001.0 && nMetStart<803260801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31032952/ft2_4FGL_J0540.8-5415_weekly_bin932.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31032952/ft1_4FGL_J0540.8-5415_weekly_bin932.fits outfile=/lscratch/kocevski/31032952/ft1_filteredMKT_4FGL_J0540.8-5415_weekly_bin932.fits ra=85.2069 dec=-54.2575 rad=12.0 tmin=802656001.0 tmax=803260801.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 4.65 user 4.00 sys 0.27 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31032952/ft2_4FGL_J0540.8-5415_weekly_bin932.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31032952/ft2_4FGL_J0540.8-5415_weekly_bin932.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/31032952/ft1_filteredMKT_4FGL_J0540.8-5415_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31032952/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.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.65 user 0.22 sys 0.13 Number of photons that the gtmktime cut: 2766 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31032952/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31032952/ft2_4FGL_J0540.8-5415_weekly_bin932.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31032721/ltcube_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.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/31032721/ft2_4FGL_J0540.8-5415_weekly_bin932.fits .....................! real 20.66 user 19.94 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31032721/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31032721/ft2_4FGL_J0540.8-5415_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31032721/ltcube_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.fits outfile=/lscratch/kocevski/31032721/expmap_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.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/31032721/ltcube_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.fits .....................! real 73.69 user 68.50 sys 4.39 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 LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template. Extended source LMC-FarWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template. Extended source LMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template. Extended source LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template. Added 214 point sources and 4 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 J0540.8-5415 @ 85.2069 -54.2575 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31032721/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits scfile=/lscratch/kocevski/31032721/ft2_4FGL_J0540.8-5415_weekly_bin932.fits outfile=/lscratch/kocevski/31032721/cmap_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.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=85.2069 yref=-54.2575 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.67 user 0.24 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31032721/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits scfile=/lscratch/kocevski/31032721/ft2_4FGL_J0540.8-5415_weekly_bin932.fits outfile=/lscratch/kocevski/31032721/cmap_HighResolution_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.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=85.2069 yref=-54.2575 axisrotA" outfile=/lscratch/kocevski/31032952/ltcube_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.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/31032952/ft2_4FGL_J0540.8-5415_weekly_bin932.fits .....................! real 18.65 user 17.95 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31032952/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31032952/ft2_4FGL_J0540.8-5415_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31032952/ltcube_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.fits outfile=/lscratch/kocevski/31032952/expmap_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.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/31032952/ltcube_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.fits .....................! real 66.08 user 61.27 sys 3.96 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 LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template. Extended source LMC-FarWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template. Extended source LMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template. Extended source LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template. Added 214 point sources and 4 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 J0540.8-5415 @ 85.2069 -54.2575 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31032952/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits scfile=/lscratch/kocevski/31032952/ft2_4FGL_J0540.8-5415_weekly_bin932.fits outfile=/lscratch/kocevski/31032952/cmap_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.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=85.2069 yref=-54.2575 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.84 user 0.26 sys 0.18 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31032952/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits scfile=/lscratch/kocevski/31032952/ft2_4FGL_J0540.8-5415_weekly_bin932.fits outfile=/lscratch/kocevski/31032952/cmap_HighResolution_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.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=85.2069 yref=-54.2575 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.68 user 0.23 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31032952/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31032952/ft2_4FGL_J0540.8-5415_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31032952/Model_4FGL_J0540.8-5415_weekly_bin932.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 GAL_V02 adding source LMC-30DorWest adding source LMC-FarWest adding source LMC-Galaxy adding source LMC-North Working on... /lscratch/kocevski/31032952/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits.....................! real 6164.73 user 6132.69 sys 1.76 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31032952/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits', '/lscratch/kocevski/31032952/ft2_4FGL_J0540.8-5415_weekly_bin932.fits', expMap='/lscratch/kocevski/31032952/expmap_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.fits', expCube='/lscratch/kocevski/31032952/ltcube_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31032952/Model_4FGL_J0540.8-5415_weekly_bin932.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0540.8-5415' 4FGL J0540.8-5415 Spectrum: PowerLaw 349 Prefactor: 1.334e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 350 Index: 2.627e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 7.197e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31032952/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits Spacecraft file(s): /lscratch/kocevski/31032952/ft2_4FGL_J0540.8-5415_weekly_bin932.fits Exposure map: /lscratch/kocevski/31032952/expmap_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.fits Exposure cube: /lscratch/kocevski/31032952/ltcube_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31032952/Model_4FGL_J0540.8-5415_weekly_bin932.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 28659.1513458 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 28659.0819812 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.3490 1.0000 .0000 .10000E+07 2 'norm ' .24017E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' 19.165 1.0000 .0000 .10000E+07 4 'Prefactor ' 13.563 1.0000 .0000 .10000E+07 5 'Prefactor ' .13593E-04 1.0000 .0000 .10000E+07 6 'norm ' 2.4234 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.5558 1.0000 .0000 .10000E+07 8 'Prefactor ' 12.641 1.0000 .0000 .10000E+07 9 'Prefactor ' 1.3182 1.0000 .0000 .10000E+07 10 'norm ' 4.0535 1.0000 .0000 .10000E+07 11 'norm ' 2.1981 1.0000 .0000 .10000E+07 12 'norm ' .99368 1.0000 .0000 .10000E+07 13 'norm ' 22.474 1.0000 .0000 .10000E+07 14 'Prefactor ' .27026E-05 1.0000 .0000 .10000E+07 15 'norm ' 19.634 1.0000 .0000 .10000E+07 16 'norm ' 8.5001 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.9690 1.0000 .0000 .10000E+07 18 'Prefactor ' 4.4066 1.0000 .0000 .10000E+07 19 'Prefactor ' .10078E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' 11.484 1.0000 .0000 .10000E+07 21 'Prefactor ' 5.1553 1.0000 .0000 .10000E+07 22 'Prefactor ' .66048E-02 1.0000 .0000 .10000E+07 23 'Prefactor ' 3.7378 1.0000 .0000 .10000E+07 24 'Prefactor ' .20389E-03 1.0000 .0000 .10000E+07 25 'Normalizat' 1.0432 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0878 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7120E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 28659.08 FROM MIGRAD STATUS=CONVERGED 161 CALLS 1798 TOTAL EDM= .49E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.3350 1.9660 -.47434E-07 .64346E-04 2 norm .11102E-09 2.4145 -.84610E-07** at limit ** 3 Prefactor 20.290 27.031 .91798E-06 -.43201E-02 4 Prefactor 12.897 5.9427 .46305E-07 -.32399E-01 5 Prefactor .49960E-09 1.6184 -.16603E-06** at limit ** 6 norm 2.4242 1.8126 -.19239E-07 .11721E-02 7 Prefactor 2.5792 3.5074 -.30421E-06 -.64655E-02 8 Prefactor 12.765 10.261 .66304E-06 .28521E-02 9 Prefactor 1.3183 .87701 .14106E-07 .10670E-01 10 norm 4.0540 1.6331 .17519E-08 -.13023E-02 11 norm 2.1982 1.7616 .20505E-07 -.13306E-02 12 norm .99655 1.1864 .10593E-07 .27597E-02 13 norm 22.474 1.2892 -.40590E-09 .40579E-02 14 Prefactor .78271E-08 10.267 .14843E-05** at limit ** 15 norm 19.605 5.3481 -.66262E-08 -.28006E-02 16 norm 8.5089 5.6258 .76585E-06 .36179E-02 17 Prefactor 2.9667 9.1125 -.10655E-06 -.67764E-03 18 Prefactor 4.4203 5.2559 .35943E-06 -.39167E-02 19 Prefactor .55511E-10 2.4451 -.24026E-07** at limit ** 20 Prefactor 11.494 5.3793 -.18971E-06 .11194E-02 21 Prefactor 5.1909 5.0021 .15501E-07 -.67213E-04 22 Prefactor .10325E-07 20.784 .82041E-06** at limit ** 23 Prefactor 3.6702 5.2692 .12407E-06 -.93975E-03 24 Prefactor .20983E-07 17.647 -.65312E-06** at limit ** 25 Normalizat 1.0424 .12103 -.77795E-06 -.52064E-03 26 Prefactor 1.0882 .84081E-01 -.54740E-06 -.32824E-03 ERR DEF= .500 Final values: norm = 2.33495 norm = 1.11022e-10 Prefactor = 20.29 Prefactor = 12.8973 Prefactor = 4.996e-10 norm = 2.42423 Prefactor = 2.57921 Prefactor = 12.7654 Prefactor = 1.31829 norm = 4.05397 norm = 2.19818 norm = 0.996555 norm = 22.4741 Prefactor = 7.82707e-09 norm = 19.6048 norm = 8.50894 Prefactor = 2.96674 Prefactor = 4.42031 Prefactor = 5.55112e-11 Prefactor = 11.4942 Prefactor = 5.19091 Prefactor = 1.03251e-08 Prefactor = 3.67016 Prefactor = 2.09832e-08 Normalizat = 1.0424 Prefactor = 1.08819 ********** ** 18 **HESSE ********** FCN= 28659.08 FROM HESSE STATUS=OK 528 CALLS 2326 TOTAL EDM= .55E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.3350 1.9797 .66856E-03 -1.5677 2 norm .11102E-09 2.3954 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 20.290 27.249 .22851E-03 -1.5618 4 Prefactor 12.897 17.866 .27172E-03 -1.5636 5 Prefactor .49960E-09 1.6262 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 2.4242 1.8201 .65718E-03 -1.5677 7 Prefactor 2.5792 6.6436 .63837E-03 -1.5676 8 Prefactor 12.765 10.290 .28148E-03 -1.5637 9 Prefactor 1.3183 .88286 .95847E-03 -1.5685 10 norm 4.0540 1.6629 .50057E-03 -1.5668 11 norm 2.1982 1.7812 .69374E-03 -1.5678 12 norm .99655 1.1977 .43542E-03 -1.5688 13 norm 22.474 1.2906 .21100E-03 -1.5613 14 Prefactor .78271E-08 .76576 .50833E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 19.605 5.4318 .22575E-03 -1.5619 16 norm 8.5089 5.6467 .34359E-03 -1.5650 17 Prefactor 2.9667 9.1419 .58903E-03 -1.5674 18 Prefactor 4.4203 5.9181 .47951E-03 -1.5666 19 Prefactor .55511E-10 2.4463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 11.494 5.7461 .29538E-03 -1.5640 21 Prefactor 5.1909 5.0116 .44253E-03 -1.5662 22 Prefactor .10325E-07 21.146 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 3.6702 5.3085 .52202E-03 -1.5670 24 Prefactor .20983E-07 18.443 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0424 .10847 .73326E-01 -.91623 26 Prefactor 1.0882 .73465E-01 .38071E-01 -.89845 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.51322e-07 Minuit parameter uncertainties: 1 1.97967 2 2.95203e-05 3 27.249 4 17.8663 5 5.7459e-05 6 1.82012 7 6.64367 8 10.2898 9 0.882857 10 1.66294 11 1.78119 12 1.19766 13 1.29063 14 0.000154963 15 5.43178 16 5.64673 17 9.14194 18 5.91815 19 2.6026e-05 20 5.74615 21 5.01156 22 0.000933927 23 5.30853 24 0.0012447 25 0.108496 26 0.0734719 =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.66 user 0.25 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31032721/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31032721/ft2_4FGL_J0540.8-5415_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31032721/Model_4FGL_J0540.8-5415_weekly_bin932.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 GAL_V02 adding source LMC-30DorWest adding source LMC-FarWest adding source LMC-Galaxy adding source LMC-North Working on... /lscratch/kocevski/31032721/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits.....................! real 6505.11 user 6468.17 sys 1.97 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31032721/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits', '/lscratch/kocevski/31032721/ft2_4FGL_J0540.8-5415_weekly_bin932.fits', expMap='/lscratch/kocevski/31032721/expmap_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.fits', expCube='/lscratch/kocevski/31032721/ltcube_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31032721/Model_4FGL_J0540.8-5415_weekly_bin932.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0540.8-5415' 4FGL J0540.8-5415 Spectrum: PowerLaw 349 Prefactor: 1.334e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 350 Index: 2.627e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 7.197e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31032721/ft1_filtered_4FGL_J0540.8-5415_weekly_bin932.fits Spacecraft file(s): /lscratch/kocevski/31032721/ft2_4FGL_J0540.8-5415_weekly_bin932.fits Exposure map: /lscratch/kocevski/31032721/expmap_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.fits Exposure cube: /lscratch/kocevski/31032721/ltcube_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31032721/Model_4FGL_J0540.8-5415_weekly_bin932.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 28659.1513458 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 28659.0819812 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.3490 1.0000 .0000 .10000E+07 2 'norm ' .24017E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' 19.165 1.0000 .0000 .10000E+07 4 'Prefactor ' 13.563 1.0000 .0000 .10000E+07 5 'Prefactor ' .13593E-04 1.0000 .0000 .10000E+07 6 'norm ' 2.4234 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.5558 1.0000 .0000 .10000E+07 8 'Prefactor ' 12.641 1.0000 .0000 .10000E+07 9 'Prefactor ' 1.3182 1.0000 .0000 .10000E+07 10 'norm ' 4.0535 1.0000 .0000 .10000E+07 11 'norm ' 2.1981 1.0000 .0000 .10000E+07 12 'norm ' .99368 1.0000 .0000 .10000E+07 13 'norm ' 22.474 1.0000 .0000 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 28659.0799801 Extracting fit parameters... 4FGL J0540.8-5415 Spectrum: PowerLaw 349 Prefactor: 7.827e-09 1.550e-04 0.000e+00 1.000e+06 ( 1.000e-12) 350 Index: 2.627e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 7.197e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 696 Prefactor: 1.088e+00 7.347e-02 0.000e+00 1.000e+01 ( 1.000e+00) 697 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 698 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 695 Normalization: 1.042e+00 1.085e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 85.207 -54.258 Photon Flux Upper Limit: 4.47327581984e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00350641343963 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31032952/likelihoodResults_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 28658.0093193 delta logL = 1.07066082149 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 28657.5927432 delta logL = 1.48723688791 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .15920E-02 1.0000 .0000 .10000E+07 2 'Index ' 7.2596 1.0000 .0000 10.000 3 'Normalizat' .99062 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1094 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7120E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 28659.08 FROM MIGRAD STATUS=CONVERGED 70 CALLS 299 TOTAL EDM= .52E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .10579 .42118E-03** at limit ** 2 Index .85686 .63191 .14775E-03 .0000 3 Normalizat 1.0424 1.3514 .26260E-04 .27761E-03 4 Prefactor 1.0882 1.1331 .42233E-06 .40237E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.85686 Normalizat = 1.0424 Prefactor = 1.08819 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 28659.08 FROM HESSE STATUS=FAILED 9 CALLS 308 TOTAL EDM= .52E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .10579 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .17690E-01 .94614 .14775E-03 -7.2598 3 Normalizat 1.0424 1.3514 .26260E-04 16.624 4 Prefactor 1.0882 1.1331 .42233E-06 22.890 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 5.16585e-11 Minuit parameter uncertainties: 1 1.17268e-06 2 0.637402 3 1.40037 4 1.15969 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 28659.0799801 delta logL = 4.40195435658e-10 Extracting fit parameters... 4FGL J0540.8-5415 Spectrum: PowerLaw 349 Prefactor: 0.000e+00 1.173e-06 0.000e+00 1.000e+06 ( 1.000e-12) 350 Index: 8.569e-01 6.374e-01 0.000e+00 1.000e+01 (-1.000e+00) 351 Scale: 7.197e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 696 Prefactor: 1.088e+00 1.160e+00 0.000e+00 1.000e+01 ( 1.000e+00) 697 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 698 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 695 Normalization: 1.042e+00 1.400e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 85.207 -54.258 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/31032952/cmap_HighResolution_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.51e-03', job_status='DONE', photon_flux_upper_limit='4.47e-08', time_completed='2026-07-08 09:44:41.761276', job_id='31032952', GAL2='1.09', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1783529081.76', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.40e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='932' AND source_name='4FGL J0540.8-5415' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Jul 8 09:44:41 PDT 2026 .10000E+07 14 'Prefactor ' .27026E-05 1.0000 .0000 .10000E+07 15 'norm ' 19.634 1.0000 .0000 .10000E+07 16 'norm ' 8.5001 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.9690 1.0000 .0000 .10000E+07 18 'Prefactor ' 4.4066 1.0000 .0000 .10000E+07 19 'Prefactor ' .10078E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' 11.484 1.0000 .0000 .10000E+07 21 'Prefactor ' 5.1553 1.0000 .0000 .10000E+07 22 'Prefactor ' .66048E-02 1.0000 .0000 .10000E+07 23 'Prefactor ' 3.7378 1.0000 .0000 .10000E+07 24 'Prefactor ' .20389E-03 1.0000 .0000 .10000E+07 25 'Normalizat' 1.0432 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0878 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7120E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 28659.08 FROM MIGRAD STATUS=CONVERGED 161 CALLS 1798 TOTAL EDM= .49E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.3350 1.9660 -.47434E-07 .64346E-04 2 norm .11102E-09 2.4145 -.84610E-07** at limit ** 3 Prefactor 20.290 27.031 .91798E-06 -.43201E-02 4 Prefactor 12.897 5.9427 .46305E-07 -.32399E-01 5 Prefactor .49960E-09 1.6184 -.16603E-06** at limit ** 6 norm 2.4242 1.8126 -.19239E-07 .11721E-02 7 Prefactor 2.5792 3.5074 -.30421E-06 -.64655E-02 8 Prefactor 12.765 10.261 .66304E-06 .28521E-02 9 Prefactor 1.3183 .87701 .14106E-07 .10670E-01 10 norm 4.0540 1.6331 .17519E-08 -.13023E-02 11 norm 2.1982 1.7616 .20505E-07 -.13306E-02 12 norm .99655 1.1864 .10593E-07 .27597E-02 13 norm 22.474 1.2892 -.40590E-09 .40579E-02 14 Prefactor .78271E-08 10.267 .14843E-05** at limit ** 15 norm 19.605 5.3481 -.66262E-08 -.28006E-02 16 norm 8.5089 5.6258 .76585E-06 .36179E-02 17 Prefactor 2.9667 9.1125 -.10655E-06 -.67764E-03 18 Prefactor 4.4203 5.2559 .35943E-06 -.39167E-02 19 Prefactor .55511E-10 2.4451 -.24026E-07** at limit ** 20 Prefactor 11.494 5.3793 -.18971E-06 .11194E-02 21 Prefactor 5.1909 5.0021 .15501E-07 -.67213E-04 22 Prefactor .10325E-07 20.784 .82041E-06** at limit ** 23 Prefactor 3.6702 5.2692 .12407E-06 -.93975E-03 24 Prefactor .20983E-07 17.647 -.65312E-06** at limit ** 25 Normalizat 1.0424 .12103 -.77795E-06 -.52064E-03 26 Prefactor 1.0882 .84081E-01 -.54740E-06 -.32824E-03 ERR DEF= .500 Final values: norm = 2.33495 norm = 1.11022e-10 Prefactor = 20.29 Prefactor = 12.8973 Prefactor = 4.996e-10 norm = 2.42423 Prefactor = 2.57921 Prefactor = 12.7654 Prefactor = 1.31829 norm = 4.05397 norm = 2.19818 norm = 0.996555 norm = 22.4741 Prefactor = 7.82707e-09 norm = 19.6048 norm = 8.50894 Prefactor = 2.96674 Prefactor = 4.42031 Prefactor = 5.55112e-11 Prefactor = 11.4942 Prefactor = 5.19091 Prefactor = 1.03251e-08 Prefactor = 3.67016 Prefactor = 2.09832e-08 Normalizat = 1.0424 Prefactor = 1.08819 ********** ** 18 **HESSE ********** FCN= 28659.08 FROM HESSE STATUS=OK 528 CALLS 2326 TOTAL EDM= .55E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.3350 1.9797 .66856E-03 -1.5677 2 norm .11102E-09 2.3954 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 20.290 27.249 .22851E-03 -1.5618 4 Prefactor 12.897 17.866 .27172E-03 -1.5636 5 Prefactor .49960E-09 1.6262 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 2.4242 1.8201 .65718E-03 -1.5677 7 Prefactor 2.5792 6.6436 .63837E-03 -1.5676 8 Prefactor 12.765 10.290 .28148E-03 -1.5637 9 Prefactor 1.3183 .88286 .95847E-03 -1.5685 10 norm 4.0540 1.6629 .50057E-03 -1.5668 11 norm 2.1982 1.7812 .69374E-03 -1.5678 12 norm .99655 1.1977 .43542E-03 -1.5688 13 norm 22.474 1.2906 .21100E-03 -1.5613 14 Prefactor .78271E-08 .76576 .50833E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 19.605 5.4318 .22575E-03 -1.5619 16 norm 8.5089 5.6467 .34359E-03 -1.5650 17 Prefactor 2.9667 9.1419 .58903E-03 -1.5674 18 Prefactor 4.4203 5.9181 .47951E-03 -1.5666 19 Prefactor .55511E-10 2.4463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 11.494 5.7461 .29538E-03 -1.5640 21 Prefactor 5.1909 5.0116 .44253E-03 -1.5662 22 Prefactor .10325E-07 21.146 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 3.6702 5.3085 .52202E-03 -1.5670 24 Prefactor .20983E-07 18.443 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0424 .10847 .73326E-01 -.91623 26 Prefactor 1.0882 .73465E-01 .38071E-01 -.89845 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.51322e-07 Minuit parameter uncertainties: 1 1.97967 2 2.95203e-05 3 27.249 4 17.8663 5 5.7459e-05 6 1.82012 7 6.64367 8 10.2898 9 0.882857 10 1.66294 11 1.78119 12 1.19766 13 1.29063 14 0.000154963 15 5.43178 16 5.64673 17 9.14194 18 5.91815 19 2.6026e-05 20 5.74615 21 5.01156 22 0.000933927 23 5.30853 24 0.0012447 25 0.108496 26 0.0734719 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 28659.0799801 Extracting fit parameters... 4FGL J0540.8-5415 Spectrum: PowerLaw 349 Prefactor: 7.827e-09 1.550e-04 0.000e+00 1.000e+06 ( 1.000e-12) 350 Index: 2.627e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 7.197e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 696 Prefactor: 1.088e+00 7.347e-02 0.000e+00 1.000e+01 ( 1.000e+00) 697 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 698 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 695 Normalization: 1.042e+00 1.085e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 85.207 -54.258 Photon Flux Upper Limit: 4.47327581984e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00350641343963 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31032721/likelihoodResults_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 28658.0093193 delta logL = 1.07066082149 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 28657.5927432 delta logL = 1.48723688791 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .15920E-02 1.0000 .0000 .10000E+07 2 'Index ' 7.2596 1.0000 .0000 10.000 3 'Normalizat' .99062 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1094 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7120E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 28659.08 FROM MIGRAD STATUS=CONVERGED 70 CALLS 299 TOTAL EDM= .52E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .10579 .42118E-03** at limit ** 2 Index .85686 .63191 .14775E-03 .0000 3 Normalizat 1.0424 1.3514 .26260E-04 .27761E-03 4 Prefactor 1.0882 1.1331 .42233E-06 .40237E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.85686 Normalizat = 1.0424 Prefactor = 1.08819 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 28659.08 FROM HESSE STATUS=FAILED 9 CALLS 308 TOTAL EDM= .52E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .10579 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .17690E-01 .94614 .14775E-03 -7.2598 3 Normalizat 1.0424 1.3514 .26260E-04 16.624 4 Prefactor 1.0882 1.1331 .42233E-06 22.890 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 5.16585e-11 Minuit parameter uncertainties: 1 1.17268e-06 2 0.637402 3 1.40037 4 1.15969 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 28659.0799801 delta logL = 4.40195435658e-10 Extracting fit parameters... 4FGL J0540.8-5415 Spectrum: PowerLaw 349 Prefactor: 0.000e+00 1.173e-06 0.000e+00 1.000e+06 ( 1.000e-12) 350 Index: 8.569e-01 6.374e-01 0.000e+00 1.000e+01 (-1.000e+00) 351 Scale: 7.197e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 696 Prefactor: 1.088e+00 1.160e+00 0.000e+00 1.000e+01 ( 1.000e+00) 697 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 698 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 695 Normalization: 1.042e+00 1.400e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 85.207 -54.258 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/31032721/cmap_HighResolution_802656001_803260801_4FGL_J0540.8-5415_weekly_bin932.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.51e-03', job_status='DONE', photon_flux_upper_limit='4.47e-08', time_completed='2026-07-08 09:50:26.787211', job_id='31032721', GAL2='1.09', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1783529426.79', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.40e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='932' AND source_name='4FGL J0540.8-5415' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Jul 8 09:50:26 PDT 2026