/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 = 17570 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1401.7-3217_weekly_bin914 RA = 210.446, Dec = -32.2877 tmin = 791769601, tmax = 792374401 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='20612182', job_status='RUN', time_executed='2026-02-10 01:05:08.515790', time_epoch_executed='1770714308.52' WHERE source_name='4FGL J1401.7-3217' and cadence='weekly' and bin_id='914' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/20612182 Creating custom pfile directory: /lscratch/kocevski/20612182/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=791769601.0 && nMetStart<792374401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=791769601.0 && nMetStart<792374401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/20612182/ft1_4FGL_J1401.7-3217_weekly_bin914.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=791769601.0 && nMetStart<792374401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/20612182/ft2_4FGL_J1401.7-3217_weekly_bin914.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/20612182/ft1_4FGL_J1401.7-3217_weekly_bin914.fits outfile=/lscratch/kocevski/20612182/ft1_filteredMKT_4FGL_J1401.7-3217_weekly_bin914.fits ra=210.446 dec=-32.2877 rad=12.0 tmin=791769601.0 tmax=792374401.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 4.72 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/20612182/ft2_4FGL_J1401.7-3217_weekly_bin914.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/20612182/ft2_4FGL_J1401.7-3217_weekly_bin914.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/20612182/ft1_filteredMKT_4FGL_J1401.7-3217_weekly_bin914.fits evtable="EVENTS" outfile="/lscratch/kocevski/20612182/ft1_filtered_4FGL_J1401.7-3217_weekly_bin914.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 1.24 user 0.24 sys 0.11 Number of photons that the gtmktime cut: 2610 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/20612182/ft1_filtered_4FGL_J1401.7-3217_weekly_bin914.fits" evtable="EVENTS" scfile=/lscratch/kocevski/20612182/ft2_4FGL_J1401.7-3217_weekly_bin914.fits sctable="SC_DATA" outfile=/lscratch/kocevski/20612182/ltcube_791769601_792374401_4FGL_J1401.7-3217_weekly_bin914.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/20612182/ft2_4FGL_J1401.7-3217_weekly_bin914.fits .....................! real 21.06 user 19.59 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/20612182/ft1_filtered_4FGL_J1401.7-3217_weekly_bin914.fits evtable="EVENTS" scfile=/lscratch/kocevski/20612182/ft2_4FGL_J1401.7-3217_weekly_bin914.fits sctable="SC_DATA" expcube=/lscratch/kocevski/20612182/ltcube_791769601_792374401_4FGL_J1401.7-3217_weekly_bin914.fits outfile=/lscratch/kocevski/20612182/expmap_791769601_792374401_4FGL_J1401.7-3217_weekly_bin914.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/20612182/ltcube_791769601_792374401_4FGL_J1401.7-3217_weekly_bin914.fits .....................! real 76.78 user 71.56 sys 4.26 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 Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template. Added 206 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J1401.7-3217 @ 210.446 -32.2877 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/20612182/ft1_filtered_4FGL_J1401.7-3217_weekly_bin914.fits scfile=/lscratch/kocevski/20612182/ft2_4FGL_J1401.7-3217_weekly_bin914.fits outfile=/lscratch/kocevski/20612182/cmap_791769601_792374401_4FGL_J1401.7-3217_weekly_bin914.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=210.446 yref=-32.2877 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.48 user 0.23 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/20612182/ft1_filtered_4FGL_J1401.7-3217_weekly_bin914.fits scfile=/lscratch/kocevski/20612182/ft2_4FGL_J1401.7-3217_weekly_bin914.fits outfile=/lscratch/kocevski/20612182/cmap_HighResolution_791769601_792374401_4FGL_J1401.7-3217_weekly_bin914.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=210.446 yref=-32.2877 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.27 user 0.24 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/20612182/ft1_filtered_4FGL_J1401.7-3217_weekly_bin914.fits evtable="EVENTS" scfile=/lscratch/kocevski/20612182/ft2_4FGL_J1401.7-3217_weekly_bin914.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/20612182/Model_4FGL_J1401.7-3217_weekly_bin914.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 CenA Lobes adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/20612182/ft1_filtered_4FGL_J1401.7-3217_weekly_bin914.fits.....................! real 185.55 user 182.36 sys 1.00 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/20612182/ft1_filtered_4FGL_J1401.7-3217_weekly_bin914.fits', '/lscratch/kocevski/20612182/ft2_4FGL_J1401.7-3217_weekly_bin914.fits', expMap='/lscratch/kocevski/20612182/expmap_791769601_792374401_4FGL_J1401.7-3217_weekly_bin914.fits', expCube='/lscratch/kocevski/20612182/ltcube_791769601_792374401_4FGL_J1401.7-3217_weekly_bin914.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/20612182/Model_4FGL_J1401.7-3217_weekly_bin914.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1401.7-3217' 4FGL J1401.7-3217 Spectrum: PowerLaw 317 Prefactor: 5.798e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 318 Index: 2.186e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 319 Scale: 1.969e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/20612182/ft1_filtered_4FGL_J1401.7-3217_weekly_bin914.fits Spacecraft file(s): /lscratch/kocevski/20612182/ft2_4FGL_J1401.7-3217_weekly_bin914.fits Exposure map: /lscratch/kocevski/20612182/expmap_791769601_792374401_4FGL_J1401.7-3217_weekly_bin914.fits Exposure cube: /lscratch/kocevski/20612182/ltcube_791769601_792374401_4FGL_J1401.7-3217_weekly_bin914.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/20612182/Model_4FGL_J1401.7-3217_weekly_bin914.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) = 27074.910293 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27074.7800206 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 8.0208 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.5132 1.0000 .0000 .10000E+07 3 'Prefactor ' 27.198 1.0000 .0000 .10000E+07 4 'Prefactor ' .21824E-05 1.0000 .0000 .10000E+07 5 'Prefactor ' .32078E-04 1.0000 .0000 .10000E+07 6 'norm ' 8.3746 1.0000 .0000 .10000E+07 7 'norm ' .59677E-03 1.0000 .0000 .10000E+07 8 'norm ' .21806E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' 1.0550 1.0000 .0000 .10000E+07 10 'Prefactor ' 14.104 1.0000 .0000 .10000E+07 11 'Prefactor ' .14302E-01 1.0000 .0000 .10000E+07 12 'Prefactor ' .35606E-03 1.0000 .0000 .10000E+07 13 'Prefactor ' .98935E-01 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.7160 1.0000 .0000 .10000E+07 15 'Prefactor ' .21060E-02 1.0000 .0000 .10000E+07 16 'norm ' .29821E-05 1.0000 .0000 .10000E+07 17 'Prefactor ' .11905E-04 1.0000 .0000 .10000E+07 18 'norm ' .22504 1.0000 .0000 .10000E+07 19 'Prefactor ' 48.592 1.0000 .0000 .10000E+07 20 'Prefactor ' 4.6373 1.0000 .0000 .10000E+07 21 'norm ' 26.434 1.0000 .0000 .10000E+07 22 'Prefactor ' 126.55 1.0000 .0000 .10000E+07 23 'Normalizat' 1.2301 1.0000 .10000E-01 10.000 24 'Prefactor ' .98532 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6880E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 27074.77 FROM MIGRAD STATUS=CONVERGED 673 CALLS 2119 TOTAL EDM= .81E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 8.0052 2.1278 -.87022E-08 -.72658E-02 2 Prefactor .98810E-08 978.22 .10549E-07** at limit ** 3 Prefactor 26.966 13.967 -.18874E-09 .31435E-03 4 Prefactor .0000 1.5004 .32909E-10** at limit ** 5 Prefactor .55511E-10 41.231 .75435E-09** at limit ** 6 norm 8.3334 7.9123 .46270E-09 -.94800E-04 7 norm .0000 8.9001 .76721E-10** at limit ** 8 norm .0000 6.2778 .69343E-09** at limit ** 9 Prefactor 1.0437 1.6283 -.14292E-07 -.33417E-02 10 Prefactor 14.114 13.686 -.94060E-09 .13058E-03 11 Prefactor .55511E-10 55.145 .59347E-09** at limit ** 12 Prefactor .0000 10.335 .22235E-10** at limit ** 13 Prefactor .0000 241.93 .19197E-09** at limit ** 14 Prefactor 3.7440 50.468 -.41773E-07 .26927E-02 15 Prefactor .0000 6.8561 .51026E-10** at limit ** 16 norm .0000 3.9093 -.14865E-09** at limit ** 17 Prefactor .0000 11.103 -.18591E-09** at limit ** 18 norm .22481 .70936E-01 -.71964E-10** at limit ** 19 Prefactor 47.590 25.488 -.28314E-08 .17177E-02 20 Prefactor 4.6445 6.6288 -.11902E-08 .11510E-03 21 norm 26.398 8.3039 -.32039E-09 .13160E-03 22 Prefactor 116.57 68.070 -.13964E-08 -.29053E-03 23 Normalizat 1.2311 .14589 .95859E-07 -.75840E-05 24 Prefactor .98602 .55687E-01 -.38131E-09 .27786E-05 ERR DEF= .500 Final values: norm = 8.00516 Prefactor = 9.88098e-09 Prefactor = 26.966 Prefactor = 0 Prefactor = 5.55112e-11 norm = 8.33341 norm = 0 norm = 0 Prefactor = 1.04367 Prefactor = 14.1143 Prefactor = 5.55112e-11 Prefactor = 0 Prefactor = 0 Prefactor = 3.74396 Prefactor = 0 norm = 0 Prefactor = 0 norm = 0.224808 Prefactor = 47.5901 Prefactor = 4.64455 norm = 26.3983 Prefactor = 116.567 Normalizat = 1.23115 Prefactor = 0.986018 ********** ** 18 **HESSE ********** FCN= 27074.77 FROM HESSE STATUS=OK 393 CALLS 2512 TOTAL EDM= .16E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 8.0052 3.1800 .70757E-04 -1.5651 2 Prefactor .98810E-08 989.37 .12885E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 26.966 13.972 .76714E-05 -1.5604 4 Prefactor .0000 1.5018 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .55511E-10 41.297 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 8.3334 7.9152 .13847E-04 -1.5650 7 norm .0000 8.9060 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 6.3112 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 1.0437 2.1428 .31912E-04 -1.5688 10 Prefactor 14.114 13.690 .10658E-04 -1.5633 11 Prefactor .55511E-10 55.400 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .0000 10.338 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .0000 242.86 .27916E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 3.7440 50.602 .20944E-04 -1.5669 15 Prefactor .0000 6.8770 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .0000 4.0057 .16847E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .0000 11.107 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm .22481 .70191E-01 .23775E-05 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 47.590 25.471 .57386E-05 -1.5570 20 Prefactor 4.6445 6.6172 .18685E-04 -1.5665 21 norm 26.398 8.3137 .77815E-05 -1.5605 22 Prefactor 116.57 68.088 .35560E-05 -1.5492 23 Normalizat 1.2311 .17973 .39896E-03 -.85646 24 Prefactor .98602 .68162E-01 .16804E-03 -.93197 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.62718e-09 Minuit parameter uncertainties: 1 3.18002 2 0.00624806 3 13.9716 4 9.11479e-07 5 8.97378e-05 6 7.91526 7 7.1277e-06 8 9.22137e-06 9 2.1428 10 13.6905 11 7.91116e-05 12 9.08256e-08 13 0.000116786 14 27.5287 15 5.04579e-06 16 2.74196e-06 17 7.66595e-06 18 0.0701906 19 25.4709 20 6.61717 21 8.31373 22 68.0882 23 0.179817 24 0.0681674 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27074.7660469 Extracting fit parameters... 4FGL J1401.7-3217 Spectrum: PowerLaw 317 Prefactor: 5.551e-11 7.911e-05 0.000e+00 1.000e+06 ( 1.000e-14) 318 Index: 2.186e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 319 Scale: 1.969e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 685 Prefactor: 9.860e-01 6.817e-02 0.000e+00 1.000e+01 ( 1.000e+00) 686 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 687 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 684 Normalization: 1.231e+00 1.798e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 210.446 -32.288 Photon Flux Upper Limit: 3.56277963859e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00271165764674 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/20612182/likelihoodResults_791769601_792374401_4FGL_J1401.7-3217_weekly_bin914.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) = 27074.7755276 delta logL = -0.00948063617034 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 27074.7660478 delta logL = -8.82442691363e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .33472E-04 1.0000 .0000 .10000E+07 2 'Index ' 1.8560 1.0000 .0000 10.000 3 'Normalizat' 1.2313 1.0000 .10000E-01 10.000 4 'Prefactor ' .98596 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6880E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 27074.77 FROM MIGRAD STATUS=CONVERGED 46 CALLS 223 TOTAL EDM= .15E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 64.158 .42118E-03** at limit ** 2 Index 2.4968 1.1415 .18653E-03 .0000 3 Normalizat 1.2311 1.0964 -.13676E-04 -.43011E-03 4 Prefactor .98602 1.3260 .15598E-04 -.35258E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.49677 Normalizat = 1.23115 Prefactor = 0.986018 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 27074.77 FROM HESSE STATUS=FAILED 9 CALLS 232 TOTAL EDM= .15E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 64.158 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .70236 1.8830 .18653E-03 -.52434 3 Normalizat 1.2311 1.0964 -.13676E-04 -.85646 4 Prefactor .98602 1.3260 .15598E-04 -.93197 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.53806e-10 Minuit parameter uncertainties: 1 3.52266e-05 2 1.15521 3 1.11798 4 1.37411 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) = 27074.7660469 delta logL = -1.30967237055e-10 Extracting fit parameters... 4FGL J1401.7-3217 Spectrum: PowerLaw 317 Prefactor: 0.000e+00 3.523e-05 0.000e+00 1.000e+06 ( 1.000e-14) 318 Index: 2.497e+00 1.155e+00 0.000e+00 1.000e+01 (-1.000e+00) 319 Scale: 1.969e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 685 Prefactor: 9.860e-01 1.374e+00 0.000e+00 1.000e+01 ( 1.000e+00) 686 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 687 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 684 Normalization: 1.231e+00 1.118e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 210.446 -32.288 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/20612182/cmap_HighResolution_791769601_792374401_4FGL_J1401.7-3217_weekly_bin914.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.71e-03', job_status='DONE', photon_flux_upper_limit='3.56e-08', time_completed='2026-02-10 01:25:39.422983', job_id='20612182', GAL2='0.99', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1770715539.42', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='-1.31e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='914' AND source_name='4FGL J1401.7-3217' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Feb 10 01:25:39 PST 2026