/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 = 17538 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0823.1+4042_weekly_bin934 RA = 125.8, Dec = 40.7077 tmin = 803865601, tmax = 804470401 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='31069045', job_status='RUN', time_executed='2026-07-08 17:17:30.600756', time_epoch_executed='1783556250.6' WHERE source_name='4FGL J0823.1+4042' and cadence='weekly' and bin_id='934' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31069045 Creating custom pfile directory: /lscratch/kocevski/31069045/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=803865601.0 && nMetStart<804470401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=803865601.0 && nMetStart<804470401.0' /Data/Flight/Level1/LPA Retrieving 109 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31069045/ft1_4FGL_J0823.1+4042_weekly_bin934.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=803865601.0 && nMetStart<804470401.0' /Data/Flight/Level1/LPA Retrieving 109 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31069045/ft2_4FGL_J0823.1+4042_weekly_bin934.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31069045/ft1_4FGL_J0823.1+4042_weekly_bin934.fits outfile=/lscratch/kocevski/31069045/ft1_filteredMKT_4FGL_J0823.1+4042_weekly_bin934.fits ra=125.8 dec=40.7077 rad=12.0 tmin=803865601.0 tmax=804470401.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 3.42 user 2.96 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31069045/ft2_4FGL_J0823.1+4042_weekly_bin934.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31069045/ft2_4FGL_J0823.1+4042_weekly_bin934.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/31069045/ft1_filteredMKT_4FGL_J0823.1+4042_weekly_bin934.fits evtable="EVENTS" outfile="/lscratch/kocevski/31069045/ft1_filtered_4FGL_J0823.1+4042_weekly_bin934.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.48 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 1103 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31069045/ft1_filtered_4FGL_J0823.1+4042_weekly_bin934.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31069045/ft2_4FGL_J0823.1+4042_weekly_bin934.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31069045/ltcube_803865601_804470401_4FGL_J0823.1+4042_weekly_bin934.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/31069045/ft2_4FGL_J0823.1+4042_weekly_bin934.fits .....................! real 19.03 user 18.54 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31069045/ft1_filtered_4FGL_J0823.1+4042_weekly_bin934.fits evtable="EVENTS" scfile=/lscratch/kocevski/31069045/ft2_4FGL_J0823.1+4042_weekly_bin934.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31069045/ltcube_803865601_804470401_4FGL_J0823.1+4042_weekly_bin934.fits outfile=/lscratch/kocevski/31069045/expmap_803865601_804470401_4FGL_J0823.1+4042_weekly_bin934.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/31069045/ltcube_803865601_804470401_4FGL_J0823.1+4042_weekly_bin934.fits .....................! real 69.08 user 64.46 sys 4.08 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 198 point sources and 0 extended sources Setting source of interest to: 4FGL J0823.1+4042 @ 125.8 40.7077 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/31069045/ft1_filtered_4FGL_J0823.1+4042_weekly_bin934.fits scfile=/lscratch/kocevski/31069045/ft2_4FGL_J0823.1+4042_weekly_bin934.fits outfile=/lscratch/kocevski/31069045/cmap_803865601_804470401_4FGL_J0823.1+4042_weekly_bin934.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=125.8 yref=40.7077 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.54 user 0.23 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31069045/ft1_filtered_4FGL_J0823.1+4042_weekly_bin934.fits scfile=/lscratch/kocevski/31069045/ft2_4FGL_J0823.1+4042_weekly_bin934.fits outfile=/lscratch/kocevski/31069045/cmap_HighResolution_803865601_804470401_4FGL_J0823.1+4042_weekly_bin934.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=125.8 yref=40.7077 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.50 user 0.24 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31069045/ft1_filtered_4FGL_J0823.1+4042_weekly_bin934.fits evtable="EVENTS" scfile=/lscratch/kocevski/31069045/ft2_4FGL_J0823.1+4042_weekly_bin934.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31069045/Model_4FGL_J0823.1+4042_weekly_bin934.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 Working on... /lscratch/kocevski/31069045/ft1_filtered_4FGL_J0823.1+4042_weekly_bin934.fits.....................! real 42.46 user 41.04 sys 0.96 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31069045/ft1_filtered_4FGL_J0823.1+4042_weekly_bin934.fits', '/lscratch/kocevski/31069045/ft2_4FGL_J0823.1+4042_weekly_bin934.fits', expMap='/lscratch/kocevski/31069045/expmap_803865601_804470401_4FGL_J0823.1+4042_weekly_bin934.fits', expCube='/lscratch/kocevski/31069045/ltcube_803865601_804470401_4FGL_J0823.1+4042_weekly_bin934.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31069045/Model_4FGL_J0823.1+4042_weekly_bin934.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0823.1+4042' 4FGL J0823.1+4042 Spectrum: PowerLaw 302 Prefactor: 2.674e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 303 Index: 2.456e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 304 Scale: 1.174e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/31069045/ft1_filtered_4FGL_J0823.1+4042_weekly_bin934.fits Spacecraft file(s): /lscratch/kocevski/31069045/ft2_4FGL_J0823.1+4042_weekly_bin934.fits Exposure map: /lscratch/kocevski/31069045/expmap_803865601_804470401_4FGL_J0823.1+4042_weekly_bin934.fits Exposure cube: /lscratch/kocevski/31069045/ltcube_803865601_804470401_4FGL_J0823.1+4042_weekly_bin934.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31069045/Model_4FGL_J0823.1+4042_weekly_bin934.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) = 12310.6697107 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12310.5948432 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 22.547 1.0000 .0000 .10000E+07 2 'Prefactor ' .21283E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' .98216E-06 1.0000 .0000 .10000E+07 4 'norm ' .16248E-04 1.0000 .0000 .10000E+07 5 'norm ' 2.2543 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.8611 1.0000 .0000 .10000E+07 7 'Prefactor ' .32883E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' 10.335 1.0000 .0000 .10000E+07 9 'norm ' 4.5400 1.0000 .0000 .10000E+07 10 'norm ' 1.8336 1.0000 .0000 .10000E+07 11 'Prefactor ' .92691E-02 1.0000 .0000 .10000E+07 12 'Prefactor ' .57414 1.0000 .0000 .10000E+07 13 'Prefactor ' .14244E-01 1.0000 .0000 .10000E+07 14 'Prefactor ' .65864E-02 1.0000 .0000 .10000E+07 15 'Prefactor ' 2.7592 1.0000 .0000 .10000E+07 16 'norm ' 1.2199 1.0000 .0000 .10000E+07 17 'norm ' 2.0312 1.0000 .0000 .10000E+07 18 'Prefactor ' 3.7507 1.0000 .0000 .10000E+07 19 'Prefactor ' 1.4276 1.0000 .0000 .10000E+07 20 'Prefactor ' 8.4927 1.0000 .0000 .10000E+07 21 'norm ' .51403E-07 1.0000 .0000 .10000E+07 22 'Prefactor ' 1.1860 1.0000 .0000 .10000E+07 23 'norm ' 6.0729 1.0000 .0000 .10000E+07 24 'Prefactor ' 3.4370 1.0000 .0000 .10000E+07 25 'Normalizat' 1.3789 1.0000 .10000E-01 10.000 26 'Prefactor ' .95194 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6330E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 12310.59 FROM MIGRAD STATUS=CONVERGED 192 CALLS 2466 TOTAL EDM= .33E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 22.557 2.9971 -.75414E-08 .11492 2 Prefactor .20151E-07 6.5613 -.12262E-06** at limit ** 3 Prefactor .25535E-08 5.5695 .35946E-07** at limit ** 4 norm .35194E-07 160.35 -.25408E-05** at limit ** 5 norm 2.2530 2.4700 -.65169E-07 -.51920E-03 6 Prefactor 4.8710 6.1751 .11868E-07 .34134E-04 7 Prefactor .14877E-07 7.5829 -.13963E-06** at limit ** 8 Prefactor 10.328 4.8963 .68908E-07 .20633E-03 9 norm 4.5393 2.0516 .63441E-08 .12072E-03 10 norm 1.8293 .63238 .43187E-08 -.25741E-02 11 Prefactor .55511E-10 7.8508 -.73053E-07** at limit ** 12 Prefactor .87832 43.768 -.75580E-06 -.18708E-02 13 Prefactor .12285E-06 28.084 .10267E-06** at limit ** 14 Prefactor .23315E-08 13.915 -.47834E-07** at limit ** 15 Prefactor 2.7324 5.7115 .51165E-07 -.16616E-04 16 norm 1.1515 3.9257 .49952E-07 .12823E-03 17 norm 2.0498 3.9402 .95824E-08 .54496E-03 18 Prefactor 3.7506 1.8302 -.30798E-07 .87360E-03 19 Prefactor 1.4262 2.3652 .37860E-07 .24676E-04 20 Prefactor 8.4959 9.9259 -.37204E-07 .49561E-03 21 norm .0000 .10281 -.61030E-08** at limit ** 22 Prefactor 1.1855 2.6615 .14428E-06 .67005E-03 23 norm 6.0813 6.4926 -.18807E-07 .25819E-04 24 Prefactor 3.4371 2.3215 -.42673E-07 -.93872E-03 25 Normalizat 1.3786 .18427 .13931E-05 .96708E-04 26 Prefactor .95216 .14340 .12130E-06 .94311E-04 ERR DEF= .500 Final values: Prefactor = 22.5569 Prefactor = 2.01505e-08 Prefactor = 2.55351e-09 norm = 3.51941e-08 norm = 2.253 Prefactor = 4.87102 Prefactor = 1.4877e-08 Prefactor = 10.3281 norm = 4.5393 norm = 1.82932 Prefactor = 5.55112e-11 Prefactor = 0.878318 Prefactor = 1.22846e-07 Prefactor = 2.33147e-09 Prefactor = 2.73244 norm = 1.15149 norm = 2.04979 Prefactor = 3.75055 Prefactor = 1.42622 Prefactor = 8.49588 norm = 0 Prefactor = 1.18552 norm = 6.08126 Prefactor = 3.43713 Normalizat = 1.37861 Prefactor = 0.952164 ********** ** 18 **HESSE ********** FCN= 12310.59 FROM HESSE STATUS=OK 524 CALLS 2990 TOTAL EDM= .77E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 22.557 20.849 .21065E-03 -1.5613 2 Prefactor .20151E-07 21.083 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .25535E-08 5.5879 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .35194E-07 159.61 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 2.2530 2.4844 .68401E-03 -1.5678 6 Prefactor 4.8710 6.2012 .45600E-03 -1.5664 7 Prefactor .14877E-07 20.644 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 10.328 4.9276 .31142E-03 -1.5644 9 norm 4.5393 2.0540 .47223E-03 -1.5665 10 norm 1.8293 .65091 .77031E-03 -1.5681 11 Prefactor .55511E-10 22.893 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .87832 67.303 .71577E-03 -1.5689 13 Prefactor .12285E-06 1.4019 .60418E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .23315E-08 13.981 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 2.7324 5.7467 .61252E-03 -1.5675 16 norm 1.1515 3.9452 .10210E-02 -1.5687 17 norm 2.0498 3.9997 .72556E-03 -1.5679 18 Prefactor 3.7506 25.568 .52109E-03 -1.5669 19 Prefactor 1.4262 2.4588 .90416E-03 -1.5684 20 Prefactor 8.4959 10.191 .34374E-03 -1.5650 21 norm .0000 .10260 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 1.1855 2.7415 .10472E-02 -1.5686 23 norm 6.0813 6.5198 .40718E-03 -1.5659 24 Prefactor 3.4371 2.3786 .54533E-03 -1.5671 25 Normalizat 1.3786 .15829 .61008E-01 -.81249 26 Prefactor .95216 .12315 .45664E-01 -.94341 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.68143e-07 Minuit parameter uncertainties: 1 20.849 2 0.00130419 3 0.000239549 4 0.00474045 5 2.48445 6 6.2012 7 0.00110837 8 4.92759 9 2.05399 10 0.65091 11 5.87393e-05 12 15.3772 13 0.000829993 14 0.000361387 15 5.74675 16 3.94525 17 3.99969 18 19.5854 19 2.45883 20 10.1915 21 1.09298e-07 22 2.74147 23 6.51977 24 2.37857 25 0.158347 26 0.123183 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12310.5937063 Extracting fit parameters... 4FGL J0823.1+4042 Spectrum: PowerLaw 302 Prefactor: 8.783e-01 1.538e+01 0.000e+00 1.000e+06 ( 1.000e-13) 303 Index: 2.456e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 304 Scale: 1.174e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 630 Prefactor: 9.522e-01 1.232e-01 0.000e+00 1.000e+01 ( 1.000e+00) 631 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 632 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 629 Normalization: 1.379e+00 1.583e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.01 Ra Dec: 125.800 40.708 Photon Flux Upper Limit: 8.21900532913e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00637453305838 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31069045/likelihoodResults_803865601_804470401_4FGL_J0823.1+4042_weekly_bin934.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) = 12310.1665157 delta logL = 0.427190628423 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 12310.1624093 delta logL = 0.431297001363 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.1833 1.0000 .0000 .10000E+07 2 'Index ' 3.5030 1.0000 .0000 10.000 3 'Normalizat' 1.3400 1.0000 .10000E-01 10.000 4 'Prefactor ' .96572 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6330E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 12310.16 FROM MIGRAD STATUS=CONVERGED 58 CALLS 244 TOTAL EDM= .16E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.1847 51.917 .69639E-03 .15539E-01 2 Index 3.5027 3.0713 .13304 .26416E-03 3 Normalizat 1.3400 .39169E-01 .61686E-01 .40269E-05 4 Prefactor .96573 .31750E-01 .45837E-01 .18029E-04 ERR DEF= .500 Final values: Prefactor = 2.18465 Index = 3.50274 Normalizat = 1.34001 Prefactor = 0.965731 ********** ** 18 **HESSE ********** FCN= 12310.16 FROM HESSE STATUS=OK 33 CALLS 277 TOTAL EDM= .81E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.1847 26.312 .17289E-04 -1.5678 2 Index 3.5027 3.0027 .83864E-02 -.30412 3 Normalizat 1.3400 .17377 .27283E-03 -.82380 4 Prefactor .96573 .14075 .25848E-03 -.93881 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.13574e-10 Minuit parameter uncertainties: 1 15.1635 2 3.24787 3 0.173842 4 0.140806 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) = 12310.1624092 delta logL = 0.431297079509 Extracting fit parameters... 4FGL J0823.1+4042 Spectrum: PowerLaw 302 Prefactor: 2.185e+00 1.516e+01 0.000e+00 1.000e+06 ( 1.000e-13) 303 Index: 3.503e+00 3.248e+00 0.000e+00 1.000e+01 (-1.000e+00) 304 Scale: 1.174e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 630 Prefactor: 9.657e-01 1.408e-01 0.000e+00 1.000e+01 ( 1.000e+00) 631 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 632 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 629 Normalization: 1.340e+00 1.738e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.01 Ra Dec: 125.800 40.708 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/31069045/cmap_HighResolution_803865601_804470401_4FGL_J0823.1+4042_weekly_bin934.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.37e-03', job_status='DONE', photon_flux_upper_limit='8.22e-08', time_completed='2026-07-08 17:25:54.702953', job_id='31069045', GAL2='0.97', fit_tolerance='1e-08', EG2='1.34', EG='1.38', time_epoch_completed='1783556754.7', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='4.31e-01', ts2='0.90', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='934' AND source_name='4FGL J0823.1+4042' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Jul 8 17:25:54 PDT 2026