/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_J1031.1+7442_weekly_bin909 RA = 157.792, Dec = 74.7019 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='18471323', job_status='RUN', time_executed='2026-01-06 02:00:12.711153', time_epoch_executed='1767693612.71' WHERE source_name='4FGL J1031.1+7442' and cadence='weekly' and bin_id='909' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18471323 Creating custom pfile directory: /lscratch/kocevski/18471323/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/18471323/ft1_4FGL_J1031.1+7442_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/18471323/ft2_4FGL_J1031.1+7442_weekly_bin909.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18471323/ft1_4FGL_J1031.1+7442_weekly_bin909.fits outfile=/lscratch/kocevski/18471323/ft1_filteredMKT_4FGL_J1031.1+7442_weekly_bin909.fits ra=157.792 dec=74.7019 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.97 user 5.14 sys 0.24 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18471323/ft2_4FGL_J1031.1+7442_weekly_bin909.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18471323/ft2_4FGL_J1031.1+7442_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/18471323/ft1_filteredMKT_4FGL_J1031.1+7442_weekly_bin909.fits evtable="EVENTS" outfile="/lscratch/kocevski/18471323/ft1_filtered_4FGL_J1031.1+7442_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.81 user 0.22 sys 0.13 Number of photons that the gtmktime cut: 1533 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18471323/ft1_filtered_4FGL_J1031.1+7442_weekly_bin909.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18471323/ft2_4FGL_J1031.1+7442_weekly_bin909.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18471323/ltcube_788745601_789350401_4FGL_J1031.1+7442_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/18471323/ft2_4FGL_J1031.1+7442_weekly_bin909.fits .....................! real 20.54 user 19.66 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18471323/ft1_filtered_4FGL_J1031.1+7442_weekly_bin909.fits evtable="EVENTS" scfile=/lscratch/kocevski/18471323/ft2_4FGL_J1031.1+7442_weekly_bin909.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18471323/ltcube_788745601_789350401_4FGL_J1031.1+7442_weekly_bin909.fits outfile=/lscratch/kocevski/18471323/expmap_788745601_789350401_4FGL_J1031.1+7442_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/18471323/ltcube_788745601_789350401_4FGL_J1031.1+7442_weekly_bin909.fits .....................! real 75.79 user 70.09 sys 4.16 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 220 point sources and 0 extended sources Setting source of interest to: 4FGL J1031.1+7442 @ 157.792 74.7019 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18471323/ft1_filtered_4FGL_J1031.1+7442_weekly_bin909.fits scfile=/lscratch/kocevski/18471323/ft2_4FGL_J1031.1+7442_weekly_bin909.fits outfile=/lscratch/kocevski/18471323/cmap_788745601_789350401_4FGL_J1031.1+7442_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=157.792 yref=74.7019 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 1.23 user 0.25 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18471323/ft1_filtered_4FGL_J1031.1+7442_weekly_bin909.fits scfile=/lscratch/kocevski/18471323/ft2_4FGL_J1031.1+7442_weekly_bin909.fits outfile=/lscratch/kocevski/18471323/cmap_HighResolution_788745601_789350401_4FGL_J1031.1+7442_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=157.792 yref=74.7019 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 1.08 user 0.25 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18471323/ft1_filtered_4FGL_J1031.1+7442_weekly_bin909.fits evtable="EVENTS" scfile=/lscratch/kocevski/18471323/ft2_4FGL_J1031.1+7442_weekly_bin909.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18471323/Model_4FGL_J1031.1+7442_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/18471323/ft1_filtered_4FGL_J1031.1+7442_weekly_bin909.fits.....................! real 79.40 user 77.31 sys 0.97 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18471323/ft1_filtered_4FGL_J1031.1+7442_weekly_bin909.fits', '/lscratch/kocevski/18471323/ft2_4FGL_J1031.1+7442_weekly_bin909.fits', expMap='/lscratch/kocevski/18471323/expmap_788745601_789350401_4FGL_J1031.1+7442_weekly_bin909.fits', expCube='/lscratch/kocevski/18471323/ltcube_788745601_789350401_4FGL_J1031.1+7442_weekly_bin909.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18471323/Model_4FGL_J1031.1+7442_weekly_bin909.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1031.1+7442' 4FGL J1031.1+7442 Spectrum: PowerLaw 344 Prefactor: 7.368e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 345 Index: 2.162e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 346 Scale: 2.674e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18471323/ft1_filtered_4FGL_J1031.1+7442_weekly_bin909.fits Spacecraft file(s): /lscratch/kocevski/18471323/ft2_4FGL_J1031.1+7442_weekly_bin909.fits Exposure map: /lscratch/kocevski/18471323/expmap_788745601_789350401_4FGL_J1031.1+7442_weekly_bin909.fits Exposure cube: /lscratch/kocevski/18471323/ltcube_788745601_789350401_4FGL_J1031.1+7442_weekly_bin909.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18471323/Model_4FGL_J1031.1+7442_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) = 16309.0995737 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16309.0461655 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .38722E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' 28.277 1.0000 .0000 .10000E+07 3 'Prefactor ' 2.6779 1.0000 .0000 .10000E+07 4 'norm ' 1.6898 1.0000 .0000 .10000E+07 5 'Prefactor ' .77638 1.0000 .0000 .10000E+07 6 'Prefactor ' 10.071 1.0000 .0000 .10000E+07 7 'Prefactor ' .10587E-03 1.0000 .0000 .10000E+07 8 'Prefactor ' .29279E-03 1.0000 .0000 .10000E+07 9 'norm ' 3.1608 1.0000 .0000 .10000E+07 10 'norm ' .24153E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' 28.440 1.0000 .0000 .10000E+07 12 'Prefactor ' .36581E-03 1.0000 .0000 .10000E+07 13 'Prefactor ' .95910E-04 1.0000 .0000 .10000E+07 14 'norm ' .10468E-04 1.0000 .0000 .10000E+07 15 'Prefactor ' .93294E-03 1.0000 .0000 .10000E+07 16 'Prefactor ' .54364E-05 1.0000 .0000 .10000E+07 17 'norm ' .30072 1.0000 .0000 .10000E+07 18 'norm ' 15.875 1.0000 .0000 .10000E+07 19 'Prefactor ' 10.622 1.0000 .0000 .10000E+07 20 'Prefactor ' 2.3462 1.0000 .0000 .10000E+07 21 'Prefactor ' .57110E-04 1.0000 .0000 .10000E+07 22 'Prefactor ' 3.7033 1.0000 .0000 .10000E+07 23 'Prefactor ' .44323 1.0000 .0000 .10000E+07 24 'norm ' 5.6066 1.0000 .0000 .10000E+07 25 'norm ' .78340E-01 1.0000 .0000 .10000E+07 26 'Prefactor ' .10675E-02 1.0000 .0000 .10000E+07 27 'Prefactor ' 8.3902 1.0000 .0000 .10000E+07 28 'Normalizat' 1.0202 1.0000 .10000E-01 10.000 29 'Prefactor ' .90997 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16309.05 FROM MIGRAD STATUS=CONVERGED 247 CALLS 2245 TOTAL EDM= .81E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .16653E-09 4.5311 .33597E-07** at limit ** 2 Prefactor 28.545 23.623 .27428E-06 .35538E-01 3 Prefactor 2.6752 2.0341 -.76575E-07 -.14723E-02 4 norm 1.6910 1.6299 -.71585E-07 -.18468E-02 5 Prefactor .79288E-03 908.56 -.61587E-05** at limit ** 6 Prefactor 10.026 1.9928 .65280E-07 -.40016E-02 7 Prefactor .72664E-07 8.1243 -.35669E-06** at limit ** 8 Prefactor .0000 3.4746 -.18461E-06** at limit ** 9 norm 3.1623 .85880 .34664E-08 .30519E-03 10 norm .33418E-07 11.567 .72805E-06** at limit ** 11 Prefactor 28.415 8.4765 .55814E-07 .12188E-03 12 Prefactor .22204E-09 4.4701 -.37023E-07** at limit ** 13 Prefactor .24092E-07 12.029 -.24839E-06** at limit ** 14 norm .23176E-06 8.6668 -.73435E-06** at limit ** 15 Prefactor .12373E-06 47.711 -.31910E-06** at limit ** 16 Prefactor .55511E-10 1.2300 .73325E-07** at limit ** 17 norm .30060 .37067 -.46677E-07 -.66394E-03 18 norm 15.876 2.4618 .12784E-07 .58587E-03 19 Prefactor 10.605 5.4216 .12787E-06 .45686E-02 20 Prefactor 2.3431 5.6431 .14556E-06 .15891E-03 21 Prefactor .22204E-09 1.1625 .11917E-06** at limit ** 22 Prefactor 3.8005 6.0678 .21414E-06 .97421E-03 23 Prefactor .72472E-01 144.76 -.19080E-05** at limit ** 24 norm 5.6086 2.6529 -.14580E-07 -.93553E-03 25 norm .66980E-01 10.877 -.72743E-06** at limit ** 26 Prefactor .11102E-09 5.6543 -.20450E-06** at limit ** 27 Prefactor 8.3988 7.8023 .23724E-06 .21791E-03 28 Normalizat 1.0202 .12612 -.27409E-06 -.84942E-04 29 Prefactor .91002 .99870E-01 -.21432E-05 -.84532E-04 ERR DEF= .500 Final values: norm = 1.66533e-10 Prefactor = 28.5446 Prefactor = 2.67521 norm = 1.69099 Prefactor = 0.000792879 Prefactor = 10.0258 Prefactor = 7.26641e-08 Prefactor = 0 norm = 3.16227 norm = 3.34177e-08 Prefactor = 28.4149 Prefactor = 2.22045e-10 Prefactor = 2.40918e-08 norm = 2.31759e-07 Prefactor = 1.23734e-07 Prefactor = 5.55112e-11 norm = 0.300597 norm = 15.8761 Prefactor = 10.6046 Prefactor = 2.34309 Prefactor = 2.22045e-10 Prefactor = 3.80049 Prefactor = 0.0724724 norm = 5.60864 norm = 0.0669803 Prefactor = 1.11022e-10 Prefactor = 8.39882 Normalizat = 1.02022 Prefactor = 0.91002 ********** ** 18 **HESSE ********** FCN= 16309.05 FROM HESSE STATUS=OK 633 CALLS 2878 TOTAL EDM= .98E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .16653E-09 4.5367 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 28.545 23.601 .18809E-03 -1.5601 3 Prefactor 2.6752 2.0408 .62245E-03 -1.5675 4 norm 1.6910 1.7876 .80952E-03 -1.5682 5 Prefactor .79288E-03 912.72 .54712E-03 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 10.026 15.388 .31551E-03 -1.5645 7 Prefactor .72664E-07 7.9585 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 3.4708 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 3.1623 .86084 .56984E-03 -1.5672 10 norm .33418E-07 11.628 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 28.415 8.5750 .18755E-03 -1.5601 12 Prefactor .22204E-09 4.4811 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .24092E-07 12.060 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .23176E-06 1.3963 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .12373E-06 47.904 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .55511E-10 1.2369 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .30060 .41648 .18809E-02 -1.5697 18 norm 15.876 2.5803 .25111E-03 -1.5628 19 Prefactor 10.605 6.0451 .30717E-03 -1.5643 20 Prefactor 2.3431 5.6858 .66901E-03 -1.5677 21 Prefactor .22204E-09 1.1644 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 3.8005 6.1835 .52454E-03 -1.5669 23 Prefactor .72472E-01 18.501 .14486E-01 -1.5703 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 5.6086 2.6597 .42403E-03 -1.5661 25 norm .66980E-01 .67582 .61883E-02 -1.5703 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .11102E-09 5.6694 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 8.3988 7.8095 .34585E-03 -1.5650 28 Normalizat 1.0202 .11280 .43315E-01 -.92356 29 Prefactor .91002 .88804E-01 .45132E-01 -.95792 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.80878e-07 Minuit parameter uncertainties: 1 5.1996e-05 2 23.6015 3 2.04077 4 1.7876 5 1.70165 6 15.3881 7 0.0015207 8 6.88674e-06 9 0.860836 10 0.00124638 11 8.57501 12 6.09201e-05 13 0.0010783 14 0.00113765 15 0.00486933 16 1.86317e-05 17 0.416481 18 2.58033 19 6.04511 20 5.68582 21 3.1574e-05 22 6.18355 23 2.31589 24 2.65966 25 0.425518 26 4.95451e-05 27 7.80952 28 0.112826 29 0.0888183 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16309.0451086 Extracting fit parameters... 4FGL J1031.1+7442 Spectrum: PowerLaw 344 Prefactor: 2.409e-08 1.078e-03 0.000e+00 1.000e+06 ( 1.000e-14) 345 Index: 2.162e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 346 Scale: 2.674e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 702 Prefactor: 9.100e-01 8.882e-02 0.000e+00 1.000e+01 ( 1.000e+00) 703 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 704 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 701 Normalization: 1.020e+00 1.128e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 157.792 74.702 Photon Flux Upper Limit: 3.81841182033e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0029009786703 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18471323/likelihoodResults_788745601_789350401_4FGL_J1031.1+7442_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) = 16309.0854562 delta logL = -0.0403475834664 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16309.0451086 delta logL = -6.76409399603e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .41828E-06 1.0000 .0000 .10000E+07 2 'Index ' .92586 1.0000 .0000 10.000 3 'Normalizat' 1.0202 1.0000 .10000E-01 10.000 4 'Prefactor ' .91001 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7050E+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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 16309.05 FROM MIGRAD STATUS=CONVERGED 76 CALLS 245 TOTAL EDM= .14E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 11.583 .84235E-04** at limit ** 2 Index 2.2674 3.5234 .24424E-04 .0000 3 Normalizat 1.0202 .64157E-01 .88782E-09 .29563E-04 4 Prefactor .91002 .52544E-01 .64658E-09 -.30891E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.26742 Normalizat = 1.02022 Prefactor = 0.910019 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 16309.05 FROM HESSE STATUS=FAILED 9 CALLS 254 TOTAL EDM= .14E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 11.583 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .57104 3.5234 .24424E-04 -.57820 3 Normalizat 1.0202 .64157E-01 .88782E-09 -.92356 4 Prefactor .91002 .52544E-01 .64658E-09 -.95792 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.44782e-13 Minuit parameter uncertainties: 1 6.17775e-08 2 4.18724 3 0.0641622 4 0.0525465 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) = 16309.0451086 delta logL = 9.96806193143e-10 Extracting fit parameters... 4FGL J1031.1+7442 Spectrum: PowerLaw 344 Prefactor: 0.000e+00 6.178e-08 0.000e+00 1.000e+06 ( 1.000e-14) 345 Index: 2.267e+00 4.187e+00 0.000e+00 1.000e+01 (-1.000e+00) 346 Scale: 2.674e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 702 Prefactor: 9.100e-01 5.255e-02 0.000e+00 1.000e+01 ( 1.000e+00) 703 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 704 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 701 Normalization: 1.020e+00 6.416e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 157.792 74.702 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/18471323/cmap_HighResolution_788745601_789350401_4FGL_J1031.1+7442_weekly_bin909.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-03', job_status='DONE', photon_flux_upper_limit='3.82e-08', time_completed='2026-01-06 02:18:23.387248', job_id='18471323', GAL2='0.91', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1767694703.39', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='9.97e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='909' AND source_name='4FGL J1031.1+7442' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jan 6 02:18:24 PST 2026