/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 = 17478 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1058.6+2817_weekly_bin939 RA = 164.65, Dec = 28.2866 tmin = 806889601, tmax = 807494401 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='34156816', job_status='RUN', time_executed='2026-08-04 08:39:41.853544', time_epoch_executed='1785857981.85' WHERE source_name='4FGL J1058.6+2817' and cadence='weekly' and bin_id='939' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/34156816 Creating custom pfile directory: /lscratch/kocevski/34156816/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/34156816/ft1_4FGL_J1058.6+2817_weekly_bin939.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/34156816/ft2_4FGL_J1058.6+2817_weekly_bin939.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/34156816/ft1_4FGL_J1058.6+2817_weekly_bin939.fits outfile=/lscratch/kocevski/34156816/ft1_filteredMKT_4FGL_J1058.6+2817_weekly_bin939.fits ra=164.65 dec=28.2866 rad=12.0 tmin=806889601.0 tmax=807494401.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.59 user 3.63 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34156816/ft2_4FGL_J1058.6+2817_weekly_bin939.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/34156816/ft2_4FGL_J1058.6+2817_weekly_bin939.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/34156816/ft1_filteredMKT_4FGL_J1058.6+2817_weekly_bin939.fits evtable="EVENTS" outfile="/lscratch/kocevski/34156816/ft1_filtered_4FGL_J1058.6+2817_weekly_bin939.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.22 sys 0.14 Number of photons that the gtmktime cut: 629 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/34156816/ft1_filtered_4FGL_J1058.6+2817_weekly_bin939.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34156816/ft2_4FGL_J1058.6+2817_weekly_bin939.fits sctable="SC_DATA" outfile=/lscratch/kocevski/34156816/ltcube_806889601_807494401_4FGL_J1058.6+2817_weekly_bin939.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/34156816/ft2_4FGL_J1058.6+2817_weekly_bin939.fits .....................! real 19.98 user 18.76 sys 0.28 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/34156816/ft1_filtered_4FGL_J1058.6+2817_weekly_bin939.fits evtable="EVENTS" scfile=/lscratch/kocevski/34156816/ft2_4FGL_J1058.6+2817_weekly_bin939.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34156816/ltcube_806889601_807494401_4FGL_J1058.6+2817_weekly_bin939.fits outfile=/lscratch/kocevski/34156816/expmap_806889601_807494401_4FGL_J1058.6+2817_weekly_bin939.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/34156816/ltcube_806889601_807494401_4FGL_J1058.6+2817_weekly_bin939.fits .....................! real 70.61 user 63.99 sys 3.87 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 177 point sources and 0 extended sources Setting source of interest to: 4FGL J1058.6+2817 @ 164.65 28.2866 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/34156816/ft1_filtered_4FGL_J1058.6+2817_weekly_bin939.fits scfile=/lscratch/kocevski/34156816/ft2_4FGL_J1058.6+2817_weekly_bin939.fits outfile=/lscratch/kocevski/34156816/cmap_806889601_807494401_4FGL_J1058.6+2817_weekly_bin939.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=164.65 yref=28.2866 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.76 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/34156816/ft1_filtered_4FGL_J1058.6+2817_weekly_bin939.fits scfile=/lscratch/kocevski/34156816/ft2_4FGL_J1058.6+2817_weekly_bin939.fits outfile=/lscratch/kocevski/34156816/cmap_HighResolution_806889601_807494401_4FGL_J1058.6+2817_weekly_bin939.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=164.65 yref=28.2866 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.78 user 0.23 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/34156816/ft1_filtered_4FGL_J1058.6+2817_weekly_bin939.fits evtable="EVENTS" scfile=/lscratch/kocevski/34156816/ft2_4FGL_J1058.6+2817_weekly_bin939.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34156816/Model_4FGL_J1058.6+2817_weekly_bin939.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/34156816/ft1_filtered_4FGL_J1058.6+2817_weekly_bin939.fits.....................! real 25.49 user 23.43 sys 1.00 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/34156816/ft1_filtered_4FGL_J1058.6+2817_weekly_bin939.fits', '/lscratch/kocevski/34156816/ft2_4FGL_J1058.6+2817_weekly_bin939.fits', expMap='/lscratch/kocevski/34156816/expmap_806889601_807494401_4FGL_J1058.6+2817_weekly_bin939.fits', expCube='/lscratch/kocevski/34156816/ltcube_806889601_807494401_4FGL_J1058.6+2817_weekly_bin939.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34156816/Model_4FGL_J1058.6+2817_weekly_bin939.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1058.6+2817' 4FGL J1058.6+2817 Spectrum: PowerLaw 233 Prefactor: 2.847e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 234 Index: 2.226e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 235 Scale: 1.335e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/34156816/ft1_filtered_4FGL_J1058.6+2817_weekly_bin939.fits Spacecraft file(s): /lscratch/kocevski/34156816/ft2_4FGL_J1058.6+2817_weekly_bin939.fits Exposure map: /lscratch/kocevski/34156816/expmap_806889601_807494401_4FGL_J1058.6+2817_weekly_bin939.fits Exposure cube: /lscratch/kocevski/34156816/ltcube_806889601_807494401_4FGL_J1058.6+2817_weekly_bin939.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/34156816/Model_4FGL_J1058.6+2817_weekly_bin939.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) = 6882.53658875 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6882.53119652 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 46.181 1.0000 .0000 .10000E+07 2 'Prefactor ' 17.046 1.0000 .0000 .10000E+07 3 'Prefactor ' .95277E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .29853E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' 73.105 1.0000 .0000 .10000E+07 6 'Prefactor ' 3.2896 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.5597 1.0000 .0000 .10000E+07 8 'Prefactor ' 7.0077 1.0000 .0000 .10000E+07 9 'Prefactor ' .65629E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' .12296E-02 1.0000 .0000 .10000E+07 11 'Prefactor ' .41631E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' 8.9463 1.0000 .0000 .10000E+07 13 'norm ' 2.2651 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.4461 1.0000 .0000 .10000E+07 15 'Prefactor ' .11057E-04 1.0000 .0000 .10000E+07 16 'Prefactor ' .22629E-02 1.0000 .0000 .10000E+07 17 'norm ' 12.555 1.0000 .0000 .10000E+07 18 'Prefactor ' 3.6387 1.0000 .0000 .10000E+07 19 'Prefactor ' .26302E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' .21690E-03 1.0000 .0000 .10000E+07 21 'Prefactor ' .60613E-06 1.0000 .0000 .10000E+07 22 'Prefactor ' 1.9154 1.0000 .0000 .10000E+07 23 'Prefactor ' .75316E-01 1.0000 .0000 .10000E+07 24 'Prefactor ' 9.9526 1.0000 .0000 .10000E+07 25 'Prefactor ' 15.932 1.0000 .0000 .10000E+07 26 'Normalizat' .91337 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.5012 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5550E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6882.530 FROM MIGRAD STATUS=CONVERGED 199 CALLS 2444 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 46.189 1.2096 .27908E-07 -.17592E-02 2 Prefactor 16.968 10.340 .41670E-06 .65587E-01 3 Prefactor .21871E-07 18.853 -.17468E-05** at limit ** 4 Prefactor .50682E-07 69.438 .15189E-05** at limit ** 5 Prefactor 73.524 11.792 .37298E-06 -.35442E-01 6 Prefactor 3.2718 7.9657 .57644E-06 .98053E-02 7 Prefactor 1.5635 3.2004 -.45603E-06 -.76745E-03 8 Prefactor 7.0066 8.7196 -.16933E-05 -.61885E-01 9 Prefactor .16265E-07 21.256 .15457E-05** at limit ** 10 Prefactor .99920E-09 4.7756 -.22379E-06** at limit ** 11 Prefactor .78271E-08 140.00 -.53031E-05** at limit ** 12 Prefactor 8.9215 2.5068 -.12796E-06 -.30286E-01 13 norm 2.2653 .42398 -.31637E-07 .13434E-01 14 Prefactor 3.4478 3.5456 -.10396E-05 .38066E-03 15 Prefactor .90483E-08 5.3901 .14283E-06** at limit ** 16 Prefactor .42188E-08 6.3691 -.88523E-07** at limit ** 17 norm 12.416 14.482 -.73096E-06 .27288E-01 18 Prefactor 3.7087 5.4654 .16434E-06 .20360E-02 19 Prefactor .0000 2.0123 -.18613E-06** at limit ** 20 Prefactor .0000 2.8509 .33637E-06** at limit ** 21 Prefactor .41744E-07 37.996 -.13532E-05** at limit ** 22 Prefactor 1.9279 6.6887 -.19235E-05 .23717E-02 23 Prefactor .22345E-05 42.983 .40327E-05** at limit ** 24 Prefactor 9.9785 5.4776 .42083E-07 -.54475E-02 25 Prefactor 15.930 9.9792 -.13555E-05 .10414 26 Normalizat .91364 .24857 -.41398E-05 -.97808E-04 27 Prefactor 1.5010 .26826 -.94600E-06 -.15374E-03 ERR DEF= .500 Final values: norm = 46.1887 Prefactor = 16.9683 Prefactor = 2.18714e-08 Prefactor = 5.06817e-08 Prefactor = 73.5239 Prefactor = 3.27182 Prefactor = 1.56348 Prefactor = 7.00656 Prefactor = 1.62648e-08 Prefactor = 9.99201e-10 Prefactor = 7.82707e-09 Prefactor = 8.92146 norm = 2.26527 Prefactor = 3.44785 Prefactor = 9.04832e-09 Prefactor = 4.21885e-09 norm = 12.4164 Prefactor = 3.70872 Prefactor = 0 Prefactor = 0 Prefactor = 4.17444e-08 Prefactor = 1.92793 Prefactor = 2.23449e-06 Prefactor = 9.97845 Prefactor = 15.9303 Normalizat = 0.913641 Prefactor = 1.501 ********** ** 18 **HESSE ********** FCN= 6882.530 FROM HESSE STATUS=OK 554 CALLS 2998 TOTAL EDM= .32E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 46.189 26.541 .14717E-03 -1.5572 2 Prefactor 16.968 11.982 .24232E-03 -1.5626 3 Prefactor .21871E-07 18.910 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .50682E-07 69.965 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 73.524 59.465 .11696E-03 -1.5536 6 Prefactor 3.2718 8.1892 .55799E-03 -1.5672 7 Prefactor 1.5635 3.2720 .85178E-03 -1.5683 8 Prefactor 7.0066 11.481 .37873E-03 -1.5655 9 Prefactor .16265E-07 21.370 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .99920E-09 4.7821 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .78271E-08 141.91 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 8.9215 21.273 .33486E-03 -1.5648 13 norm 2.2653 .42389 .51102E-03 -1.5678 14 Prefactor 3.4478 3.5599 .54457E-03 -1.5671 15 Prefactor .90483E-08 5.5126 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .42188E-08 6.4960 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 12.416 14.969 .28245E-03 -1.5637 18 Prefactor 3.7087 5.4939 .52936E-03 -1.5669 19 Prefactor .0000 2.0105 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .0000 2.7990 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .41744E-07 38.039 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 1.9279 20.135 .75069E-03 -1.5680 23 Prefactor .22345E-05 6.1871 .10644E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 9.9785 5.5078 .31738E-03 -1.5645 25 Prefactor 15.930 13.645 .25066E-03 -1.5628 26 Normalizat .91364 .21094 .69006E-01 -.95982 27 Prefactor 1.5010 .22327 .64295E-01 -.77512 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.18606e-07 Minuit parameter uncertainties: 1 26.5411 2 11.982 3 0.00128612 4 0.00376689 5 59.4659 6 8.18918 7 3.27196 8 11.481 9 0.00117978 10 0.000138885 11 0.00210845 12 21.2727 13 0.423891 14 3.55992 15 0.000446319 16 0.000330431 17 14.969 18 5.4939 19 1.42865e-05 20 2.2519e-07 21 0.00251982 22 12.4609 23 0.00743636 24 5.50783 25 13.6454 26 0.211131 27 0.223412 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6882.52982258 Extracting fit parameters... 4FGL J1058.6+2817 Spectrum: PowerLaw 233 Prefactor: 7.827e-09 2.108e-03 0.000e+00 1.000e+06 ( 1.000e-13) 234 Index: 2.226e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 235 Scale: 1.335e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 552 Prefactor: 1.501e+00 2.234e-01 0.000e+00 1.000e+01 ( 1.000e+00) 553 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 554 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 9.136e-01 2.111e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 164.650 28.287 Photon Flux Upper Limit: 9.0380070004e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00689927921015 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/34156816/likelihoodResults_806889601_807494401_4FGL_J1058.6+2817_weekly_bin939.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) = 6882.53543301 delta logL = -0.00561043049765 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6882.3253992 delta logL = 0.204423383742 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .15273 1.0000 .0000 .10000E+07 2 'Index ' 4.3545 1.0000 .0000 10.000 3 'Normalizat' .86857 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.5322 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5550E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6882.325 FROM MIGRAD STATUS=CONVERGED 60 CALLS 265 TOTAL EDM= .18E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .15022 3.1102 .11306E-02** at limit ** 2 Index 4.3610 2.4749 .13670 -.35367E-04 3 Normalizat .86842 .28574E-01 .70611E-01 -.20999E-03 4 Prefactor 1.5325 .33174E-01 .63756E-01 -.25439E-03 ERR DEF= .500 Final values: Prefactor = 0.150223 Index = 4.36102 Normalizat = 0.868419 Prefactor = 1.53252 ********** ** 18 **HESSE ********** FCN= 6882.325 FROM HESSE STATUS=NOT POSDEF 31 CALLS 296 TOTAL EDM= .21E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .15022 19.400 .50080E-05 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 4.3610 6.8806 .74197E-02 -.12815 3 Normalizat .86842 .17893 .31243E-03 -.97579 4 Prefactor 1.5325 .20459 .28196E-03 -.76633 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.09739e-09 Minuit parameter uncertainties: 1 3.41428 2 9.60831 3 0.179055 4 0.204696 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6882.3253947 delta logL = 0.204427882965 Extracting fit parameters... 4FGL J1058.6+2817 Spectrum: PowerLaw 233 Prefactor: 1.502e-01 3.414e+00 0.000e+00 1.000e+06 ( 1.000e-13) 234 Index: 4.361e+00 9.608e+00 0.000e+00 1.000e+01 (-1.000e+00) 235 Scale: 1.335e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 552 Prefactor: 1.533e+00 2.047e-01 0.000e+00 1.000e+01 ( 1.000e+00) 553 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 554 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 8.684e-01 1.791e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 164.650 28.287 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.500e-04 [aplpy.core] INFO: Auto-setting vmax to 2.775e-03 [aplpy.core] Saving /lscratch/kocevski/34156816/cmap_HighResolution_806889601_807494401_4FGL_J1058.6+2817_weekly_bin939.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-03', job_status='DONE', photon_flux_upper_limit='9.04e-08', time_completed='2026-08-04 08:48:20.374898', job_id='34156816', GAL2='1.53', fit_tolerance='1e-08', EG2='0.87', EG='0.91', time_epoch_completed='1785858500.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.50', dlogl='2.04e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='939' AND source_name='4FGL J1058.6+2817' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Aug 4 08:48:20 PDT 2026