/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 = 74089 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0958.4+5042_monthly_bin219 RA = 149.606, Dec = 50.7 tmin = 804643201, tmax = 807235201 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='33900898', job_status='RUN', time_executed='2026-08-01 10:38:08.841456', time_epoch_executed='1785605888.84' WHERE source_name='4FGL J0958.4+5042' and cadence='monthly' and bin_id='219' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/33900898 Creating custom pfile directory: /lscratch/kocevski/33900898/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=804643201.0 && nMetStart<807235201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=804643201.0 && nMetStart<807235201.0' /Data/Flight/Level1/LPA Retrieving 459 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/33900898/ft1_4FGL_J0958.4+5042_monthly_bin219.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=804643201.0 && nMetStart<807235201.0' /Data/Flight/Level1/LPA Retrieving 459 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/33900898/ft2_4FGL_J0958.4+5042_monthly_bin219.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/33900898/ft1_4FGL_J0958.4+5042_monthly_bin219.fits outfile=/lscratch/kocevski/33900898/ft1_filteredMKT_4FGL_J0958.4+5042_monthly_bin219.fits ra=149.606 dec=50.7 rad=12.0 tmin=804643201.0 tmax=807235201.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 20.00 user 18.97 sys 0.48 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33900898/ft2_4FGL_J0958.4+5042_monthly_bin219.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/33900898/ft2_4FGL_J0958.4+5042_monthly_bin219.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/33900898/ft1_filteredMKT_4FGL_J0958.4+5042_monthly_bin219.fits evtable="EVENTS" outfile="/lscratch/kocevski/33900898/ft1_filtered_4FGL_J0958.4+5042_monthly_bin219.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.97 user 0.34 sys 0.14 Number of photons that the gtmktime cut: 4929 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/33900898/ft1_filtered_4FGL_J0958.4+5042_monthly_bin219.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33900898/ft2_4FGL_J0958.4+5042_monthly_bin219.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33900898/ltcube_804643201_807235201_4FGL_J0958.4+5042_monthly_bin219.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/33900898/ft2_4FGL_J0958.4+5042_monthly_bin219.fits .....................! real 75.69 user 74.29 sys 0.27 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/33900898/ft1_filtered_4FGL_J0958.4+5042_monthly_bin219.fits evtable="EVENTS" scfile=/lscratch/kocevski/33900898/ft2_4FGL_J0958.4+5042_monthly_bin219.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33900898/ltcube_804643201_807235201_4FGL_J0958.4+5042_monthly_bin219.fits outfile=/lscratch/kocevski/33900898/expmap_804643201_807235201_4FGL_J0958.4+5042_monthly_bin219.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/33900898/ltcube_804643201_807235201_4FGL_J0958.4+5042_monthly_bin219.fits .....................! real 70.40 user 65.49 sys 4.02 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 231 point sources and 0 extended sources Setting source of interest to: 4FGL J0958.4+5042 @ 149.606 50.7 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/33900898/ft1_filtered_4FGL_J0958.4+5042_monthly_bin219.fits scfile=/lscratch/kocevski/33900898/ft2_4FGL_J0958.4+5042_monthly_bin219.fits outfile=/lscratch/kocevski/33900898/cmap_804643201_807235201_4FGL_J0958.4+5042_monthly_bin219.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=149.606 yref=50.7 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.93 user 0.32 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/33900898/ft1_filtered_4FGL_J0958.4+5042_monthly_bin219.fits scfile=/lscratch/kocevski/33900898/ft2_4FGL_J0958.4+5042_monthly_bin219.fits outfile=/lscratch/kocevski/33900898/cmap_HighResolution_804643201_807235201_4FGL_J0958.4+5042_monthly_bin219.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=149.606 yref=50.7 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.82 user 0.31 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/33900898/ft1_filtered_4FGL_J0958.4+5042_monthly_bin219.fits evtable="EVENTS" scfile=/lscratch/kocevski/33900898/ft2_4FGL_J0958.4+5042_monthly_bin219.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33900898/Model_4FGL_J0958.4+5042_monthly_bin219.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/33900898/ft1_filtered_4FGL_J0958.4+5042_monthly_bin219.fits.....................! real 152.85 user 150.38 sys 0.98 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/33900898/ft1_filtered_4FGL_J0958.4+5042_monthly_bin219.fits', '/lscratch/kocevski/33900898/ft2_4FGL_J0958.4+5042_monthly_bin219.fits', expMap='/lscratch/kocevski/33900898/expmap_804643201_807235201_4FGL_J0958.4+5042_monthly_bin219.fits', expCube='/lscratch/kocevski/33900898/ltcube_804643201_807235201_4FGL_J0958.4+5042_monthly_bin219.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33900898/Model_4FGL_J0958.4+5042_monthly_bin219.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0958.4+5042' 4FGL J0958.4+5042 Spectrum: PowerLaw 369 Prefactor: 1.235e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 370 Index: 2.663e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 371 Scale: 5.744e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/33900898/ft1_filtered_4FGL_J0958.4+5042_monthly_bin219.fits Spacecraft file(s): /lscratch/kocevski/33900898/ft2_4FGL_J0958.4+5042_monthly_bin219.fits Exposure map: /lscratch/kocevski/33900898/expmap_804643201_807235201_4FGL_J0958.4+5042_monthly_bin219.fits Exposure cube: /lscratch/kocevski/33900898/ltcube_804643201_807235201_4FGL_J0958.4+5042_monthly_bin219.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/33900898/Model_4FGL_J0958.4+5042_monthly_bin219.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) = 53883.3968084 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 53881.2006322 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .16755E-05 1.0000 .0000 .10000E+07 2 'norm ' 4.9058 1.0000 .0000 .10000E+07 3 'norm ' 2.5397 1.0000 .0000 .10000E+07 4 'Prefactor ' 4.9848 1.0000 .0000 .10000E+07 5 'Prefactor ' .88099 1.0000 .0000 .10000E+07 6 'norm ' .35527E-08 1.0000 .0000 .10000E+07 7 'Prefactor ' .91422 1.0000 .0000 .10000E+07 8 'Prefactor ' 1.2692 1.0000 .0000 .10000E+07 9 'Prefactor ' 5.4018 1.0000 .0000 .10000E+07 10 'Prefactor ' .40894 1.0000 .0000 .10000E+07 11 'Prefactor ' .32746E-06 1.0000 .0000 .10000E+07 12 'norm ' 6.2207 1.0000 .0000 .10000E+07 13 'Prefactor ' .56284E-02 1.0000 .0000 .10000E+07 14 'Prefactor ' .31353E-04 1.0000 .0000 .10000E+07 15 'Prefactor ' .22310E-04 1.0000 .0000 .10000E+07 16 'norm ' .85546 1.0000 .0000 .10000E+07 17 'Prefactor ' 8.7693 1.0000 .0000 .10000E+07 18 'Prefactor ' 8.4585 1.0000 .0000 .10000E+07 19 'norm ' 1.4701 1.0000 .0000 .10000E+07 20 'norm ' 11.516 1.0000 .0000 .10000E+07 21 'Prefactor ' .67146E-06 1.0000 .0000 .10000E+07 22 'norm ' 4.8117 1.0000 .0000 .10000E+07 23 'Prefactor ' .23460E-05 1.0000 .0000 .10000E+07 24 'norm ' .93992 1.0000 .0000 .10000E+07 25 'Prefactor ' 6.2067 1.0000 .0000 .10000E+07 26 'Prefactor ' 6.3712 1.0000 .0000 .10000E+07 27 'norm ' .22908 1.0000 .0000 .10000E+07 28 'norm ' 1.0022 1.0000 .0000 .10000E+07 29 'Prefactor ' .14564E-02 1.0000 .0000 .10000E+07 30 'norm ' 1.9139 1.0000 .0000 .10000E+07 31 'Prefactor ' .12498E-02 1.0000 .0000 .10000E+07 32 'Prefactor ' .71345E-04 1.0000 .0000 .10000E+07 33 'Prefactor ' 16.510 1.0000 .0000 .10000E+07 34 'Normalizat' 1.0943 1.0000 .10000E-01 10.000 35 'Prefactor ' .89287 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7370E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 53881.20 FROM MIGRAD STATUS=CONVERGED 194 CALLS 2120 TOTAL EDM= .34E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 1.9720 -.18301E-07** at limit ** 2 norm 4.9043 1.8597 .54302E-08 -.31942E-03 3 norm 2.5400 1.6406 -.11837E-08 .11145E-03 4 Prefactor 4.9875 3.2028 -.12282E-07 .13595E-05 5 Prefactor .88108 .54405 .85970E-08 .57096E-02 6 norm .0000 .40401E-01 .97620E-08** at limit ** 7 Prefactor .91466 .78039 -.51396E-08 .77173E-03 8 Prefactor 1.2683 .65393 .96649E-08 .23260E-03 9 Prefactor 5.4003 2.8304 -.51152E-07 .49963E-03 10 Prefactor .40759 .97542 -.55512E-07 .33306E-03 11 Prefactor .0000 1.6393 -.35983E-07** at limit ** 12 norm 6.1993 4.1072 .23961E-07 .89704E-03 13 Prefactor .49960E-09 29.068 .80349E-07** at limit ** 14 Prefactor .0000 2.5960 -.12306E-06** at limit ** 15 Prefactor .55511E-10 4.2219 -.87193E-07** at limit ** 16 norm .85701 .92634 -.41751E-08 .34101E-03 17 Prefactor 8.9791 2.0481 .81010E-08 -.20087E-01 18 Prefactor 8.3768 1.3493 .99162E-08 -.50573E-02 19 norm 1.4703 .17490 -.27105E-08 .22279E-03 20 norm 11.499 3.7511 .19717E-09 -.15823E-03 21 Prefactor .0000 .46991 -.30918E-07** at limit ** 22 norm 4.8120 .86712 -.90288E-08 .53897E-03 23 Prefactor .0000 1.8199 .20294E-07** at limit ** 24 norm .94546 1.1272 -.70608E-09 -.64593E-04 25 Prefactor 6.2153 4.1276 -.62014E-08 -.17486E-03 26 Prefactor 6.3682 1.6014 .50764E-08 -.62343E-03 27 norm .22893 .34751 -.98981E-08** at limit ** 28 norm 1.0025 .36071 .20267E-07 -.33196E-02 29 Prefactor .0000 9.9898 -.17525E-06** at limit ** 30 norm 1.9141 .53789 .42090E-08 -.45888E-03 31 Prefactor .49960E-09 10.774 .84212E-07** at limit ** 32 Prefactor .11102E-09 4.3373 .97791E-07** at limit ** 33 Prefactor 16.427 1.3369 .55418E-08 -.11625E-02 34 Normalizat 1.0942 .63609E-01 -.86665E-07 -.26838E-04 35 Prefactor .89305 .76439E-01 .19624E-07 .47162E-05 ERR DEF= .500 Final values: Prefactor = 0 norm = 4.90431 norm = 2.54003 Prefactor = 4.98754 Prefactor = 0.881076 norm = 0 Prefactor = 0.914656 Prefactor = 1.26833 Prefactor = 5.40035 Prefactor = 0.407595 Prefactor = 0 norm = 6.19934 Prefactor = 4.996e-10 Prefactor = 0 Prefactor = 5.55112e-11 norm = 0.857011 Prefactor = 8.97915 Prefactor = 8.37682 norm = 1.47027 norm = 11.4992 Prefactor = 0 norm = 4.81202 Prefactor = 0 norm = 0.945459 Prefactor = 6.21533 Prefactor = 6.36823 norm = 0.228931 norm = 1.00247 Prefactor = 0 norm = 1.91407 Prefactor = 4.996e-10 Prefactor = 1.11022e-10 Prefactor = 16.4272 Normalizat = 1.09415 Prefactor = 0.893055 ********** ** 18 **HESSE ********** FCN= 53881.20 FROM HESSE STATUS=OK 870 CALLS 2990 TOTAL EDM= .35E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 1.9507 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm 4.9043 1.8655 .45387E-03 -1.5664 3 norm 2.5400 1.6582 .64056E-03 -1.5676 4 Prefactor 4.9875 3.2065 .45019E-03 -1.5663 5 Prefactor .88108 4.7730 .47084E-03 -1.5689 6 norm .0000 .29401E-01 .13844E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .91466 .87909 .44782E-03 -1.5689 8 Prefactor 1.2683 .66238 .98754E-03 -1.5685 9 Prefactor 5.4003 2.8510 .43213E-03 -1.5661 10 Prefactor .40759 1.0033 .88459E-03 -1.5695 11 Prefactor .0000 1.6469 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 6.1993 4.1698 .40225E-03 -1.5658 13 Prefactor .49960E-09 28.661 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .0000 2.5585 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .55511E-10 .58451 .55897E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .85701 .94236 .48890E-03 -1.5689 17 Prefactor 8.9791 10.102 .33824E-03 -1.5648 18 Prefactor 8.3768 7.4652 .34444E-03 -1.5650 19 norm 1.4703 .17527 .73169E-03 -1.5684 20 norm 11.499 3.7534 .29496E-03 -1.5640 21 Prefactor .0000 .46814 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 4.8120 .86628 .45839E-03 -1.5664 23 Prefactor .0000 1.8268 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm .94546 1.1285 .43038E-03 -1.5689 25 Prefactor 6.2153 4.3259 .40271E-03 -1.5658 26 Prefactor 6.3682 1.6014 .39741E-03 -1.5657 27 norm .22893 .34301 .38527E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 norm 1.0025 .36089 .43842E-03 -1.5688 29 Prefactor .0000 9.9902 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 norm 1.9141 .53797 .75103E-03 -1.5680 31 Prefactor .49960E-09 10.879 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 32 Prefactor .11102E-09 4.3611 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 33 Prefactor 16.427 15.789 .24622E-03 -1.5627 34 Normalizat 1.0942 .55691E-01 .38238E-01 -.89940 35 Prefactor .89305 .65828E-01 .66069E-01 -.96384 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.5189e-07 Minuit parameter uncertainties: 1 1.77304e-06 2 1.86548 3 1.65819 4 3.20648 5 4.10139 6 3.80513e-08 7 0.879094 8 0.662381 9 2.85102 10 1.00328 11 1.69743e-06 12 4.16983 13 0.000239763 14 6.77406e-06 15 1.29236e-05 16 0.942359 17 10.1023 18 7.46517 19 0.175273 20 3.7534 21 4.5325e-07 22 0.866276 23 1.71309e-06 24 1.12852 25 4.32593 26 1.60138 27 0.343008 28 0.360893 29 2.50924e-05 30 0.537971 31 0.000150536 32 4.75438e-05 33 15.7891 34 0.0556937 35 0.0658338 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 53881.2000588 Extracting fit parameters... 4FGL J0958.4+5042 Spectrum: PowerLaw 369 Prefactor: 0.000e+00 4.533e-07 0.000e+00 1.000e+06 ( 1.000e-12) 370 Index: 2.663e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 371 Scale: 5.744e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 734 Prefactor: 8.931e-01 6.583e-02 0.000e+00 1.000e+01 ( 1.000e+00) 735 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 736 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 733 Normalization: 1.094e+00 5.569e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 149.606 50.700 Photon Flux Upper Limit: 1.29800820017e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00101964905048 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/33900898/likelihoodResults_804643201_807235201_4FGL_J0958.4+5042_monthly_bin219.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) = 53881.2063921 delta logL = -0.00633333243604 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 53881.2000589 delta logL = -8.045026334e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .13323E-08 1.0000 .0000 .10000E+07 2 'Index ' 3.1061 1.0000 .0000 10.000 3 'Normalizat' 1.0942 1.0000 .10000E-01 10.000 4 'Prefactor ' .89307 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7370E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 53881.20 FROM MIGRAD STATUS=CONVERGED 38 CALLS 221 TOTAL EDM= .26E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .46108 .42118E-03** at limit ** 2 Index 2.4935 .93884 .16230E-05 .0000 3 Normalizat 1.0942 1.1596 -.16571E-05 .11834E-04 4 Prefactor .89305 1.2383 .33404E-05 .14073E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.49355 Normalizat = 1.09415 Prefactor = 0.893055 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 53881.20 FROM HESSE STATUS=FAILED 9 CALLS 230 TOTAL EDM= .26E-13 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .46108 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .70046 1.8528 .16230E-05 -.52509 3 Normalizat 1.0942 1.1596 -.16571E-05 -.89940 4 Prefactor .89305 1.2383 .33404E-05 -.96384 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.62247e-14 Minuit parameter uncertainties: 1 4.98224e-08 2 0.946364 3 1.18833 4 1.28095 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) = 53881.2000588 delta logL = 0.0 Extracting fit parameters... 4FGL J0958.4+5042 Spectrum: PowerLaw 369 Prefactor: 0.000e+00 4.982e-08 0.000e+00 1.000e+06 ( 1.000e-12) 370 Index: 2.494e+00 9.464e-01 0.000e+00 1.000e+01 (-1.000e+00) 371 Scale: 5.744e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 734 Prefactor: 8.931e-01 1.281e+00 0.000e+00 1.000e+01 ( 1.000e+00) 735 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 736 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 733 Normalization: 1.094e+00 1.188e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 149.606 50.700 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/33900898/cmap_HighResolution_804643201_807235201_4FGL_J0958.4+5042_monthly_bin219.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-03', job_status='DONE', photon_flux_upper_limit='1.30e-08', time_completed='2026-08-01 11:32:05.078573', job_id='33900898', GAL2='0.89', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1785609125.08', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='219' AND source_name='4FGL J0958.4+5042' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sat Aug 1 11:32:05 PDT 2026