/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 = 17348 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0823.1+4042_weekly_bin909 RA = 125.8, Dec = 40.7077 tmin = 788745601, tmax = 789350401 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='18470773', job_status='RUN', time_executed='2026-01-06 01:39:41.658214', time_epoch_executed='1767692381.66' WHERE source_name='4FGL J0823.1+4042' and cadence='weekly' and bin_id='909' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18470773 Creating custom pfile directory: /lscratch/kocevski/18470773/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=788745601.0 && nMetStart<789350401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=788745601.0 && nMetStart<789350401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18470773/ft1_4FGL_J0823.1+4042_weekly_bin909.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=788745601.0 && nMetStart<789350401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18470773/ft2_4FGL_J0823.1+4042_weekly_bin909.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18470773/ft1_4FGL_J0823.1+4042_weekly_bin909.fits outfile=/lscratch/kocevski/18470773/ft1_filteredMKT_4FGL_J0823.1+4042_weekly_bin909.fits ra=125.8 dec=40.7077 rad=12.0 tmin=788745601.0 tmax=789350401.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.57 user 4.62 sys 0.33 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18470773/ft2_4FGL_J0823.1+4042_weekly_bin909.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18470773/ft2_4FGL_J0823.1+4042_weekly_bin909.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/18470773/ft1_filteredMKT_4FGL_J0823.1+4042_weekly_bin909.fits evtable="EVENTS" outfile="/lscratch/kocevski/18470773/ft1_filtered_4FGL_J0823.1+4042_weekly_bin909.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.89 user 0.21 sys 0.14 Number of photons that the gtmktime cut: 736 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18470773/ft1_filtered_4FGL_J0823.1+4042_weekly_bin909.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18470773/ft2_4FGL_J0823.1+4042_weekly_bin909.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18470773/ltcube_788745601_789350401_4FGL_J0823.1+4042_weekly_bin909.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/18470773/ft2_4FGL_J0823.1+4042_weekly_bin909.fits .....................! real 18.86 user 17.87 sys 0.37 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18470773/ft1_filtered_4FGL_J0823.1+4042_weekly_bin909.fits evtable="EVENTS" scfile=/lscratch/kocevski/18470773/ft2_4FGL_J0823.1+4042_weekly_bin909.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18470773/ltcube_788745601_789350401_4FGL_J0823.1+4042_weekly_bin909.fits outfile=/lscratch/kocevski/18470773/expmap_788745601_789350401_4FGL_J0823.1+4042_weekly_bin909.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/18470773/ltcube_788745601_789350401_4FGL_J0823.1+4042_weekly_bin909.fits .....................! real 68.36 user 63.42 sys 4.00 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/18470773/ft1_filtered_4FGL_J0823.1+4042_weekly_bin909.fits scfile=/lscratch/kocevski/18470773/ft2_4FGL_J0823.1+4042_weekly_bin909.fits outfile=/lscratch/kocevski/18470773/cmap_788745601_789350401_4FGL_J0823.1+4042_weekly_bin909.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.74 user 0.24 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18470773/ft1_filtered_4FGL_J0823.1+4042_weekly_bin909.fits scfile=/lscratch/kocevski/18470773/ft2_4FGL_J0823.1+4042_weekly_bin909.fits outfile=/lscratch/kocevski/18470773/cmap_HighResolution_788745601_789350401_4FGL_J0823.1+4042_weekly_bin909.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.70 user 0.24 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18470773/ft1_filtered_4FGL_J0823.1+4042_weekly_bin909.fits evtable="EVENTS" scfile=/lscratch/kocevski/18470773/ft2_4FGL_J0823.1+4042_weekly_bin909.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18470773/Model_4FGL_J0823.1+4042_weekly_bin909.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/18470773/ft1_filtered_4FGL_J0823.1+4042_weekly_bin909.fits.....................! real 28.80 user 27.00 sys 1.27 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18470773/ft1_filtered_4FGL_J0823.1+4042_weekly_bin909.fits', '/lscratch/kocevski/18470773/ft2_4FGL_J0823.1+4042_weekly_bin909.fits', expMap='/lscratch/kocevski/18470773/expmap_788745601_789350401_4FGL_J0823.1+4042_weekly_bin909.fits', expCube='/lscratch/kocevski/18470773/ltcube_788745601_789350401_4FGL_J0823.1+4042_weekly_bin909.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18470773/Model_4FGL_J0823.1+4042_weekly_bin909.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/18470773/ft1_filtered_4FGL_J0823.1+4042_weekly_bin909.fits Spacecraft file(s): /lscratch/kocevski/18470773/ft2_4FGL_J0823.1+4042_weekly_bin909.fits Exposure map: /lscratch/kocevski/18470773/expmap_788745601_789350401_4FGL_J0823.1+4042_weekly_bin909.fits Exposure cube: /lscratch/kocevski/18470773/ltcube_788745601_789350401_4FGL_J0823.1+4042_weekly_bin909.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18470773/Model_4FGL_J0823.1+4042_weekly_bin909.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) = 7896.59047929 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7896.57793348 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10459E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' 1.0087 1.0000 .0000 .10000E+07 3 'Prefactor ' .87250E-02 1.0000 .0000 .10000E+07 4 'norm ' .18342 1.0000 .0000 .10000E+07 5 'norm ' .17719E-06 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.6144 1.0000 .0000 .10000E+07 7 'Prefactor ' 74.489 1.0000 .0000 .10000E+07 8 'Prefactor ' 20.738 1.0000 .0000 .10000E+07 9 'norm ' 2.3689 1.0000 .0000 .10000E+07 10 'norm ' .79652 1.0000 .0000 .10000E+07 11 'Prefactor ' .80841E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .63121E-03 1.0000 .0000 .10000E+07 13 'Prefactor ' 1.2674 1.0000 .0000 .10000E+07 14 'Prefactor ' 23.739 1.0000 .0000 .10000E+07 15 'Prefactor ' 4.0983 1.0000 .0000 .10000E+07 16 'norm ' .18614E-02 1.0000 .0000 .10000E+07 17 'norm ' .92534E-04 1.0000 .0000 .10000E+07 18 'Prefactor ' .21449E-03 1.0000 .0000 .10000E+07 19 'Prefactor ' .18801E-05 1.0000 .0000 .10000E+07 20 'Prefactor ' 23.468 1.0000 .0000 .10000E+07 21 'norm ' .19373E-07 1.0000 .0000 .10000E+07 22 'Prefactor ' .77934E-04 1.0000 .0000 .10000E+07 23 'norm ' 4.9901 1.0000 .0000 .10000E+07 24 'Prefactor ' .14539E-04 1.0000 .0000 .10000E+07 25 'Normalizat' .72924 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.1389 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= 7896.576 FROM MIGRAD STATUS=CONVERGED 177 CALLS 2262 TOTAL EDM= .52E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 3.7033 .47957E-07** at limit ** 2 Prefactor 1.2408 29.494 .28112E-06 .19363E-01 3 Prefactor .10203E-06 14.634 .23223E-06** at limit ** 4 norm .50247E-04 82.859 -.17966E-05** at limit ** 5 norm .0000 1.0679 -.10823E-06** at limit ** 6 Prefactor 2.5976 6.3394 .82278E-07 .50115E-03 7 Prefactor 74.860 42.349 .94047E-07 -.49869E-01 8 Prefactor 20.777 5.9227 .94997E-09 .80663E-03 9 norm 2.3680 1.9821 .47345E-07 .12707E-03 10 norm .79522 .43482 -.15143E-07 -.57787E-03 11 Prefactor .22932E-06 8.1994 -.81398E-06** at limit ** 12 Prefactor .11102E-09 5.2956 -.26969E-06** at limit ** 13 Prefactor 1.2716 1.9890 -.38293E-06 -.79650E-03 14 Prefactor 23.974 7.2160 .27092E-07 .19606E-01 15 Prefactor 4.0765 3.4752 .39990E-07 -.24624E-02 16 norm .93814E-08 7.5426 -.74622E-06** at limit ** 17 norm .0000 2.5281 .89053E-07** at limit ** 18 Prefactor .23964E-06 8.8078 .60014E-06** at limit ** 19 Prefactor .0000 2.2977 .77601E-07** at limit ** 20 Prefactor 23.428 2.2413 .36494E-08 .55063E-02 21 norm .0000 .11732 -.55031E-07** at limit ** 22 Prefactor .0000 2.2190 .10801E-06** at limit ** 23 norm 5.0022 7.0241 .14337E-06 .37614E-02 24 Prefactor .0000 2.5606 .16579E-06** at limit ** 25 Normalizat .72873 .16877 -.62144E-05 -.21727E-04 26 Prefactor 1.1391 .14104 .49141E-05 -.17389E-04 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 1.24082 Prefactor = 1.02029e-07 norm = 5.02472e-05 norm = 0 Prefactor = 2.59758 Prefactor = 74.8599 Prefactor = 20.7768 norm = 2.36804 norm = 0.795222 Prefactor = 2.29317e-07 Prefactor = 1.11022e-10 Prefactor = 1.27162 Prefactor = 23.9739 Prefactor = 4.07651 norm = 9.38138e-09 norm = 0 Prefactor = 2.39642e-07 Prefactor = 0 Prefactor = 23.4283 norm = 0 Prefactor = 0 norm = 5.0022 Prefactor = 0 Normalizat = 0.728729 Prefactor = 1.13906 ********** ** 18 **HESSE ********** FCN= 7896.576 FROM HESSE STATUS=OK 512 CALLS 2774 TOTAL EDM= .27E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 3.7087 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1.2408 37.862 .44073E-03 -1.5686 3 Prefactor .10203E-06 14.711 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .50247E-04 7.2842 .79509E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .0000 1.0645 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 2.5976 6.4865 .63056E-03 -1.5676 7 Prefactor 74.860 46.711 .11587E-03 -1.5535 8 Prefactor 20.777 5.9503 .21966E-03 -1.5617 9 norm 2.3680 1.9934 .66545E-03 -1.5677 10 norm .79522 .43695 .53195E-03 -1.5690 11 Prefactor .22932E-06 8.6906 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .11102E-09 5.2955 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.2716 2.0309 .98866E-03 -1.5685 14 Prefactor 23.974 27.561 .20529E-03 -1.5610 15 Prefactor 4.0765 8.2223 .49774E-03 -1.5668 16 norm .93814E-08 7.4870 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .0000 2.5530 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .23964E-06 9.3164 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .0000 2.2724 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 23.428 17.138 .20647E-03 -1.5611 21 norm .0000 .11481 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .0000 2.1856 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 5.0022 8.8741 .44995E-03 -1.5663 24 Prefactor .0000 2.5399 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .72873 .15278 .65905E-01 -1.0277 26 Prefactor 1.1391 .12626 .36265E-01 -.88228 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.70013e-07 Minuit parameter uncertainties: 1 6.31801e-06 2 13.7085 3 0.00245062 4 0.0382629 5 6.44036e-07 6 6.4865 7 46.7114 8 5.95034 9 1.99344 10 0.436955 11 0.00282355 12 4.45383e-05 13 2.03087 14 27.5616 15 8.22229 16 0.000529447 17 1.0012e-05 18 0.00298832 19 6.11538e-06 20 17.1379 21 1.54764e-07 22 1.85855e-06 23 8.87408 24 1.62732e-05 25 0.152873 26 0.12629 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7896.576261 Extracting fit parameters... 4FGL J0823.1+4042 Spectrum: PowerLaw 302 Prefactor: 1.110e-10 4.454e-05 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: 1.139e+00 1.263e-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: 7.287e-01 1.529e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 125.800 40.708 Photon Flux Upper Limit: 5.84628580892e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00453428859884 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18470773/likelihoodResults_788745601_789350401_4FGL_J0823.1+4042_weekly_bin909.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) = 7896.58951438 delta logL = -0.0132533824162 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7896.57626418 delta logL = -3.17564081342e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14226E-05 1.0000 .0000 .10000E+07 2 'Index ' 2.5059 1.0000 .0000 10.000 3 'Normalizat' .72886 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1391 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 7896.576 FROM MIGRAD STATUS=CONVERGED 42 CALLS 220 TOTAL EDM= .94E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 3.0987 .42118E-03** at limit ** 2 Index 1.1758 .75048 -.22031E-04 .0000 3 Normalizat .72873 1.0685 .10648E-05 -.12027E-04 4 Prefactor 1.1391 1.1269 -.10865E-05 -.23396E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.17584 Normalizat = 0.728729 Prefactor = 1.13906 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 7896.576 FROM HESSE STATUS=FAILED 9 CALLS 229 TOTAL EDM= .94E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 3.0987 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .89995E-01 1.1911 -.22031E-04 -.87078 3 Normalizat .72873 1.0685 .10648E-05 -1.0277 4 Prefactor 1.1391 1.1269 -.10865E-05 -.88228 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 9.42294e-13 Minuit parameter uncertainties: 1 6.2708e-06 2 0.757442 3 1.10159 4 1.15193 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) = 7896.576261 delta logL = 1.09139364213e-11 Extracting fit parameters... 4FGL J0823.1+4042 Spectrum: PowerLaw 302 Prefactor: 0.000e+00 6.271e-06 0.000e+00 1.000e+06 ( 1.000e-13) 303 Index: 1.176e+00 7.574e-01 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: 1.139e+00 1.152e+00 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: 7.287e-01 1.102e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 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/18470773/cmap_HighResolution_788745601_789350401_4FGL_J0823.1+4042_weekly_bin909.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-03', job_status='DONE', photon_flux_upper_limit='5.85e-08', time_completed='2026-01-06 01:50:26.550912', job_id='18470773', GAL2='1.14', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1767693026.55', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='909' AND source_name='4FGL J0823.1+4042' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jan 6 01:50:27 PST 2026