/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 = 17278 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0816.4-1311_weekly_bin930 RA = 124.112, Dec = -13.1973 tmin = 801446401, tmax = 802051201 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='27641367', job_status='RUN', time_executed='2026-06-02 07:49:36.012766', time_epoch_executed='1780411776.01' WHERE source_name='4FGL J0816.4-1311' and cadence='weekly' and bin_id='930' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/27641367 Creating custom pfile directory: /lscratch/kocevski/27641367/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=801446401.0 && nMetStart<802051201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=801446401.0 && nMetStart<802051201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/27641367/ft1_4FGL_J0816.4-1311_weekly_bin930.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=801446401.0 && nMetStart<802051201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/27641367/ft2_4FGL_J0816.4-1311_weekly_bin930.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/27641367/ft1_4FGL_J0816.4-1311_weekly_bin930.fits outfile=/lscratch/kocevski/27641367/ft1_filteredMKT_4FGL_J0816.4-1311_weekly_bin930.fits ra=124.112 dec=-13.1973 rad=12.0 tmin=801446401.0 tmax=802051201.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 5.00 user 4.45 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27641367/ft2_4FGL_J0816.4-1311_weekly_bin930.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/27641367/ft2_4FGL_J0816.4-1311_weekly_bin930.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/27641367/ft1_filteredMKT_4FGL_J0816.4-1311_weekly_bin930.fits evtable="EVENTS" outfile="/lscratch/kocevski/27641367/ft1_filtered_4FGL_J0816.4-1311_weekly_bin930.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.69 user 0.24 sys 0.12 Number of photons that the gtmktime cut: 2466 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/27641367/ft1_filtered_4FGL_J0816.4-1311_weekly_bin930.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27641367/ft2_4FGL_J0816.4-1311_weekly_bin930.fits sctable="SC_DATsource GAL_V02 Working on... /lscratch/kocevski/27640817/ft1_filtered_4FGL_J0816.4-1311_weekly_bin930.fits.....................! real 117.46 user 115.26 sys 1.06 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/27640817/ft1_filtered_4FGL_J0816.4-1311_weekly_bin930.fits', '/lscratch/kocevski/27640817/ft2_4FGL_J0816.4-1311_weekly_bin930.fits', expMap='/lscratch/kocevski/27640817/expmap_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.fits', expCube='/lscratch/kocevski/27640817/ltcube_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27640817/Model_4FGL_J0816.4-1311_weekly_bin930.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0816.4-1311' 4FGL J0816.4-1311 Spectrum: PowerLaw 287 Prefactor: 2.040e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 288 Index: 1.850e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 289 Scale: 2.915e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/27640817/ft1_filtered_4FGL_J0816.4-1311_weekly_bin930.fits Spacecraft file(s): /lscratch/kocevski/27640817/ft2_4FGL_J0816.4-1311_weekly_bin930.fits Exposure map: /lscratch/kocevski/27640817/expmap_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.fits Exposure cube: /lscratch/kocevski/27640817/ltcube_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/27640817/Model_4FGL_J0816.4-1311_weekly_bin930.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) = 25848.4505007 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25848.3601358 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.1775 1.0000 .0000 .10000E+07 2 'norm ' .30279E-05 1.0000 .0000 .10000E+07 3 'norm ' 4.7706 1.0000 .0000 .10000E+07 4 'norm ' .57875E-01 1.0000 .0000 .10000E+07 5 'Prefactor ' .12923E-04 1.0000 .0000 .10000E+07 6 'norm ' .39385E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.3596 1.0000 .0000 .10000E+07 8 'norm ' .24119 1.0000 .0000 .10000E+07 9 'Prefactor ' 2.4550 1.0000 .0000 .10000E+07 10 'Prefactor ' 1.7290 1.0000 .0000 .10000E+07 11 'norm ' .26602E-02 1.0000 .0000 .10000E+07 12 'norm ' 10.548 1.0000 .0000 .10000E+07 13 'norm ' 7.4291 1.0000 .0000 .10000E+07 14 'norm ' .12677E-04 1.0000 .0000 .10000E+07 15 'Prefactor ' 2.3896 1.0000 .0000 .10000E+07 16 'norm ' .17797E-06 1.0000 .0000 .10000E+07 17 'norm ' 5.8659 1.0000 .0000 .10000E+07 18 'Prefactor ' .72902 1.0000 .0000 .10000E+07 19 'Prefactor ' .95130E-04 1.0000 .0000 .10000E+07 20 'Normalizat' 1.1019 1.0000 .10000E-01 10.000 21 'Prefactor ' .96239 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5640E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25848.36 FROM MIGRAD STATUS=CONVERGED 133 CALLS 1321 TOTAL EDM= .10E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.1771 .71292 .75386E-09 -.29685E-02 2 norm .0000 2.2351 .25433E-07** at limit ** 3 norm 4.7781 2.2335 -.22020E-08 -.67957E-03 4 norm .55511E-10 33.064 .71904E-08** at limit ** 5 Prefactor .0000 1.1257 -.28110E-07** at limit ** 6 norm .55511E-10 .72297 -.41412E-07** at limit ** 7 Prefactor 2.3507 4.2686 .29938E-07 .22012E-02 8 norm .24087 .43105 -.96861E-08** at limit ** 9 Prefactor 2.4459 3.5860 -.40650E-07 -.36506E-02 10 Prefactor 1.7334 2.2900 .55331E-07 .47551E-02 11 norm .0000 16.493 -.10250E-06** at limit ** 12 norm 10.612 1.6284 -.10640E-07 .75016E-01 13 norm 7.4198 2.1842 -.85429E-08 -.34832E-02 14 norm .0000 1.3165 .10592E-07** at limit ** 15 Prefactor 2.3656 1.1061 .49973E-08 -.49039E-02 16 norm .19429E-08 6.3479 .11524E-06** at limit ** 17 norm 5.8553 2.1811 -.11690E-07 -.22770E-02 18 Prefactor .72867 .71224 -.21692E-07 .47774E-01 19 Prefactor .27756E-09 7.3451 .13667E-06** at limit ** 20 Normalizat 1.1021 .12474 .16864E-05 .45523E-04 21 Prefactor .96240 .43336E-01 -.80765E-06 -.87467E-03 ERR DEF= .500 Final values: norm = 1.17713 norm = 0 norm = 4.77811 norm = 5.55112e-11 Prefactor = 0 norm = 5.55112e-11 Prefactor = 2.35069 norm = 0.240871 Prefactor = 2.44587 Prefactor = 1.73344 norm = 0 norm = 10.612 norm = 7.41978 norm = 0 Prefactor = 2.3656 norm = 1.94289e-09 norm = 5.85527 Prefactor = 0.728672 Prefactor = 2.77556e-10 Normalizat = 1.10209 Prefactor = 0.962402 ********** ** 18 **HESSE ********** FCN= 25848.36 FROM HESSE STATUS=OK 367 CALLS 1688 TOTAL EDM= .28E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.1771 .71870 .10543E-02 -1.5686 2 norm .0000 2.2343 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 4.7781 2.2388 .46040E-03 -1.5664 4 norm .55511E-10 32.497 .15240E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .0000 1.1297 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .55511E-10 .71282 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 2.3507 4.3141 .66691E-03 -1.5677 8 norm .24087 .37395 .32201E-02 -1.5718 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.4459 3.6871 .65253E-03 -1.5677 10 Prefactor 1.7334 2.3162 .79815E-03 -1.5682 11 norm .0000 16.438 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 10.612 9.3134 .30825E-03 -1.5643 13 norm 7.4198 2.1860 .36773E-03 -1.5653 14 norm .0000 1.3158 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 2.3656 19.539 .66227E-03 -1.5677 16 norm .19429E-08 6.2805 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 5.8553 2.1824 .41441E-03 -1.5660 18 Prefactor .72867 3.3793 .58383E-03 -1.5691 19 Prefactor .27756E-09 7.2936 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat 1.1021 .11965 .90200E-01 -.89685 21 Prefactor .96240 .40607E-01 .33840E-01 -.93993 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.81317e-07 Minuit parameter uncertainties: 1 0.718697 2 7.94815e-06 3 2.23882 4 6.38237e-05 5 6.63195e-06 6 9.03072e-06 7 4.31409 8 0.373946 9 3.68712 10 2.31616 11 3.61202e-05 12 9.31342 13 2.18603 14 5.02857e-06 15 13.5973 16 0.000221341 17 2.18235 18 3.13839 19 9.4314e-05 20 0.119679 21 0.0406086 A" outfile=/lscratch/kocevski/27641367/ltcube_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.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/27641367/ft2_4FGL_J0816.4-1311_weekly_bin930.fits .....................! real 19.29 user 18.62 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/27641367/ft1_filtered_4FGL_J0816.4-1311_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27641367/ft2_4FGL_J0816.4-1311_weekly_bin930.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27641367/ltcube_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.fits outfile=/lscratch/kocevski/27641367/expmap_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.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/27641367/ltcube_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.fits .....................! real 71.33 user 66.35 sys 4.20 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 Added 168 point sources and 0 extended sources Setting source of interest to: 4FGL J0816.4-1311 @ 124.112 -13.1973 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/27641367/ft1_filtered_4FGL_J0816.4-1311_weekly_bin930.fits scfile=/lscratch/kocevski/27641367/ft2_4FGL_J0816.4-1311_weekly_bin930.fits outfile=/lscratch/kocevski/27641367/cmap_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.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=124.112 yref=-13.1973 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.88 user 0.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/27641367/ft1_filtered_4FGL_J0816.4-1311_weekly_bin930.fits scfile=/lscratch/kocevski/27641367/ft2_4FGL_J0816.4-1311_weekly_bin930.fits outfile=/lscratch/kocevski/27641367/cmap_HighResolution_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.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=124.112 yref=-13.1973 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.55 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/27641367/ft1_filtered_4FGL_J0816.4-1311_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27641367/ft2_4FGL_J0816.4-1311_weekly_bin930.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27641367/Model_4FGL_J0816.4-1311_weekly_bin930.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 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25848.3591247 Extracting fit parameters... 4FGL J0816.4-1311 Spectrum: PowerLaw 287 Prefactor: 1.733e+00 2.316e+00 0.000e+00 1.000e+06 ( 1.000e-13) 288 Index: 1.850e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 289 Scale: 2.915e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 561 Prefactor: 9.624e-01 4.061e-02 0.000e+00 1.000e+01 ( 1.000e+00) 562 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 563 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 560 Normalization: 1.102e+00 1.197e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.80 Ra Dec: 124.112 -13.197 Photon Flux Upper Limit: 4.37498365607e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00323871576568 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/27640817/likelihoodResults_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.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): 0 logL (Free Index) = 25848.3591167 delta logL = 7.98890323495e-06 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25848.3590924 delta logL = 3.2287916838e-05 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.7228 1.0000 .0000 .10000E+07 2 'Index ' 1.8568 1.0000 .0000 10.000 3 'Normalizat' 1.1020 1.0000 .10000E-01 10.000 4 'Prefactor ' .96241 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5640E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 25848.36 FROM MIGRAD STATUS=CONVERGED 87 CALLS 268 TOTAL EDM= .22E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.7226 2.8608 .27065E-04 -.71391E-02 2 Index 1.8570 .90063 .11858E-01 -.61261E-04 3 Normalizat 1.1020 .12131 .39952E-03 -.33965E-03 4 Prefactor .96242 .42758E-01 .14953E-03 -.85329E-03 ERR DEF= .500 Final values: Prefactor = 1.72262 Index = 1.85705 Normalizat = 1.102 Prefactor = 0.962416 ********** ** 18 **HESSE ********** FCN= 25848.36 FROM HESSE STATUS=OK 25 CALLS 293 TOTAL EDM= .27E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.7226 2.6490 .10826E-05 -1.5682 2 Index 1.8570 .83509 .47434E-03 -.67974 3 Normalizat 1.1020 .12123 .15981E-04 -.89688 4 Prefactor .96242 .42757E-01 .29906E-04 -.93993 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.67771e-10 Minuit parameter uncertainties: 1 2.64902 2 0.841646 3 0.121257 4 0.0427588 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25848.3590922 delta logL = 3.24278807966e-05 Extracting fit parameters... 4FGL J0816.4-1311 Spectrum: PowerLaw 287 Prefactor: 1.723e+00 2.649e+00 0.000e+00 1.000e+06 ( 1.000e-13) 288 Index: 1.857e+00 8.416e-01 0.000e+00 1.000e+01 (-1.000e+00) 289 Scale: 2.915e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 561 Prefactor: 9.624e-01 4.276e-02 0.000e+00 1.000e+01 ( 1.000e+00) 562 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 563 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 560 Normalization: 1.102e+00 1.213e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.80 Ra Dec: 124.112 -13.197 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/27640817/cmap_HighResolution_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-03', job_status='DONE', photon_flux_upper_limit='4.37e-08', time_completed='2026-06-02 07:54:26.456084', job_id='27640817', GAL2='0.96', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1780412066.46', return_code2='0', ts='0.80', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='3.24e-05', ts2='0.80', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='930' AND source_name='4FGL J0816.4-1311' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 2 07:54:26 PDT 2026 source GAL_V02 Working on... /lscratch/kocevski/27641367/ft1_filtered_4FGL_J0816.4-1311_weekly_bin930.fits.....................! real 126.71 user 124.31 sys 1.37 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/27641367/ft1_filtered_4FGL_J0816.4-1311_weekly_bin930.fits', '/lscratch/kocevski/27641367/ft2_4FGL_J0816.4-1311_weekly_bin930.fits', expMap='/lscratch/kocevski/27641367/expmap_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.fits', expCube='/lscratch/kocevski/27641367/ltcube_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27641367/Model_4FGL_J0816.4-1311_weekly_bin930.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0816.4-1311' 4FGL J0816.4-1311 Spectrum: PowerLaw 287 Prefactor: 2.040e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 288 Index: 1.850e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 289 Scale: 2.915e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/27641367/ft1_filtered_4FGL_J0816.4-1311_weekly_bin930.fits Spacecraft file(s): /lscratch/kocevski/27641367/ft2_4FGL_J0816.4-1311_weekly_bin930.fits Exposure map: /lscratch/kocevski/27641367/expmap_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.fits Exposure cube: /lscratch/kocevski/27641367/ltcube_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/27641367/Model_4FGL_J0816.4-1311_weekly_bin930.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) = 25848.4505007 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25848.3601358 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.1775 1.0000 .0000 .10000E+07 2 'norm ' .30279E-05 1.0000 .0000 .10000E+07 3 'norm ' 4.7706 1.0000 .0000 .10000E+07 4 'norm ' .57875E-01 1.0000 .0000 .10000E+07 5 'Prefactor ' .12923E-04 1.0000 .0000 .10000E+07 6 'norm ' .39385E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.3596 1.0000 .0000 .10000E+07 8 'norm ' .24119 1.0000 .0000 .10000E+07 9 'Prefactor ' 2.4550 1.0000 .0000 .10000E+07 10 'Prefactor ' 1.7290 1.0000 .0000 .10000E+07 11 'norm ' .26602E-02 1.0000 .0000 .10000E+07 12 'norm ' 10.548 1.0000 .0000 .10000E+07 13 'norm ' 7.4291 1.0000 .0000 .10000E+07 14 'norm ' .12677E-04 1.0000 .0000 .10000E+07 15 'Prefactor ' 2.3896 1.0000 .0000 .10000E+07 16 'norm ' .17797E-06 1.0000 .0000 .10000E+07 17 'norm ' 5.8659 1.0000 .0000 .10000E+07 18 'Prefactor ' .72902 1.0000 .0000 .10000E+07 19 'Prefactor ' .95130E-04 1.0000 .0000 .10000E+07 20 'Normalizat' 1.1019 1.0000 .10000E-01 10.000 21 'Prefactor ' .96239 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5640E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25848.36 FROM MIGRAD STATUS=CONVERGED 133 CALLS 1321 TOTAL EDM= .10E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.1771 .71292 .75386E-09 -.29685E-02 2 norm .0000 2.2351 .25433E-07** at limit ** 3 norm 4.7781 2.2335 -.22020E-08 -.67957E-03 4 norm .55511E-10 33.064 .71904E-08** at limit ** 5 Prefactor .0000 1.1257 -.28110E-07** at limit ** 6 norm .55511E-10 .72297 -.41412E-07** at limit ** 7 Prefactor 2.3507 4.2686 .29938E-07 .22012E-02 8 norm .24087 .43105 -.96861E-08** at limit ** 9 Prefactor 2.4459 3.5860 -.40650E-07 -.36506E-02 10 Prefactor 1.7334 2.2900 .55331E-07 .47551E-02 11 norm .0000 16.493 -.10250E-06** at limit ** 12 norm 10.612 1.6284 -.10640E-07 .75016E-01 13 norm 7.4198 2.1842 -.85429E-08 -.34832E-02 14 norm .0000 1.3165 .10592E-07** at limit ** 15 Prefactor 2.3656 1.1061 .49973E-08 -.49039E-02 16 norm .19429E-08 6.3479 .11524E-06** at limit ** 17 norm 5.8553 2.1811 -.11690E-07 -.22770E-02 18 Prefactor .72867 .71224 -.21692E-07 .47774E-01 19 Prefactor .27756E-09 7.3451 .13667E-06** at limit ** 20 Normalizat 1.1021 .12474 .16864E-05 .45523E-04 21 Prefactor .96240 .43336E-01 -.80765E-06 -.87467E-03 ERR DEF= .500 Final values: norm = 1.17713 norm = 0 norm = 4.77811 norm = 5.55112e-11 Prefactor = 0 norm = 5.55112e-11 Prefactor = 2.35069 norm = 0.240871 Prefactor = 2.44587 Prefactor = 1.73344 norm = 0 norm = 10.612 norm = 7.41978 norm = 0 Prefactor = 2.3656 norm = 1.94289e-09 norm = 5.85527 Prefactor = 0.728672 Prefactor = 2.77556e-10 Normalizat = 1.10209 Prefactor = 0.962402 ********** ** 18 **HESSE ********** FCN= 25848.36 FROM HESSE STATUS=OK 367 CALLS 1688 TOTAL EDM= .28E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.1771 .71870 .10543E-02 -1.5686 2 norm .0000 2.2343 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 4.7781 2.2388 .46040E-03 -1.5664 4 norm .55511E-10 32.497 .15240E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .0000 1.1297 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .55511E-10 .71282 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 2.3507 4.3141 .66691E-03 -1.5677 8 norm .24087 .37395 .32201E-02 -1.5718 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.4459 3.6871 .65253E-03 -1.5677 10 Prefactor 1.7334 2.3162 .79815E-03 -1.5682 11 norm .0000 16.438 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 10.612 9.3134 .30825E-03 -1.5643 13 norm 7.4198 2.1860 .36773E-03 -1.5653 14 norm .0000 1.3158 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 2.3656 19.539 .66227E-03 -1.5677 16 norm .19429E-08 6.2805 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 5.8553 2.1824 .41441E-03 -1.5660 18 Prefactor .72867 3.3793 .58383E-03 -1.5691 19 Prefactor .27756E-09 7.2936 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat 1.1021 .11965 .90200E-01 -.89685 21 Prefactor .96240 .40607E-01 .33840E-01 -.93993 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.81317e-07 Minuit parameter uncertainties: 1 0.718697 2 7.94815e-06 3 2.23882 4 6.38237e-05 5 6.63195e-06 6 9.03072e-06 7 4.31409 8 0.373946 9 3.68712 10 2.31616 11 3.61202e-05 12 9.31342 13 2.18603 14 5.02857e-06 15 13.5973 16 0.000221341 17 2.18235 18 3.13839 19 9.4314e-05 20 0.119679 21 0.0406086 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25848.3591247 Extracting fit parameters... 4FGL J0816.4-1311 Spectrum: PowerLaw 287 Prefactor: 1.733e+00 2.316e+00 0.000e+00 1.000e+06 ( 1.000e-13) 288 Index: 1.850e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 289 Scale: 2.915e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 561 Prefactor: 9.624e-01 4.061e-02 0.000e+00 1.000e+01 ( 1.000e+00) 562 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 563 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 560 Normalization: 1.102e+00 1.197e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.80 Ra Dec: 124.112 -13.197 Photon Flux Upper Limit: 4.37498365607e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00323871576568 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/27641367/likelihoodResults_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.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): 0 logL (Free Index) = 25848.3591167 delta logL = 7.98890323495e-06 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25848.3590924 delta logL = 3.2287916838e-05 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.7228 1.0000 .0000 .10000E+07 2 'Index ' 1.8568 1.0000 .0000 10.000 3 'Normalizat' 1.1020 1.0000 .10000E-01 10.000 4 'Prefactor ' .96241 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5640E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 25848.36 FROM MIGRAD STATUS=CONVERGED 87 CALLS 268 TOTAL EDM= .22E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.7226 2.8608 .27065E-04 -.71391E-02 2 Index 1.8570 .90063 .11858E-01 -.61261E-04 3 Normalizat 1.1020 .12131 .39952E-03 -.33965E-03 4 Prefactor .96242 .42758E-01 .14953E-03 -.85329E-03 ERR DEF= .500 Final values: Prefactor = 1.72262 Index = 1.85705 Normalizat = 1.102 Prefactor = 0.962416 ********** ** 18 **HESSE ********** FCN= 25848.36 FROM HESSE STATUS=OK 25 CALLS 293 TOTAL EDM= .27E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.7226 2.6490 .10826E-05 -1.5682 2 Index 1.8570 .83509 .47434E-03 -.67974 3 Normalizat 1.1020 .12123 .15981E-04 -.89688 4 Prefactor .96242 .42757E-01 .29906E-04 -.93993 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.67771e-10 Minuit parameter uncertainties: 1 2.64902 2 0.841646 3 0.121257 4 0.0427588 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 25848.3590922 delta logL = 3.24278807966e-05 Extracting fit parameters... 4FGL J0816.4-1311 Spectrum: PowerLaw 287 Prefactor: 1.723e+00 2.649e+00 0.000e+00 1.000e+06 ( 1.000e-13) 288 Index: 1.857e+00 8.416e-01 0.000e+00 1.000e+01 (-1.000e+00) 289 Scale: 2.915e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 561 Prefactor: 9.624e-01 4.276e-02 0.000e+00 1.000e+01 ( 1.000e+00) 562 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 563 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 560 Normalization: 1.102e+00 1.213e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.80 Ra Dec: 124.112 -13.197 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/27641367/cmap_HighResolution_801446401_802051201_4FGL_J0816.4-1311_weekly_bin930.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-03', job_status='DONE', photon_flux_upper_limit='4.37e-08', time_completed='2026-06-02 08:00:33.300021', job_id='27641367', GAL2='0.96', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1780412433.3', return_code2='0', ts='0.80', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='3.24e-05', ts2='0.80', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='930' AND source_name='4FGL J0816.4-1311' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 2 08:00:33 PDT 2026