/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 = 17392 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1401.7-3217_weekly_bin936 RA = 210.446, Dec = -32.2877 tmin = 805075201, tmax = 805680001 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='31656646', job_status='RUN', time_executed='2026-07-14 11:28:20.622447', time_epoch_executed='1784053700.62' WHERE source_name='4FGL J1401.7-3217' and cadence='weekly' and bin_id='936' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/31656646 Creating custom pfile directory: /lscratch/kocevski/31656646/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/31656646/ft1_4FGL_J1401.7-3217_weekly_bin936.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=805075201.0 && nMetStart<805680001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/31656646/ft2_4FGL_J1401.7-3217_weekly_bin936.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/31656646/ft1_4FGL_J1401.7-3217_weekly_bin936.fits outfile=/lscratch/kocevski/31656646/ft1_filteredMKT_4FGL_J1401.7-3217_weekly_bin936.fits ra=210.446 dec=-32.2877 rad=12.0 tmin=805075201.0 tmax=805680001.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.46 user 3.81 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31656646/ft2_4FGL_J1401.7-3217_weekly_bin936.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/31656646/ft2_4FGL_J1401.7-3217_weekly_bin936.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/31656646/ft1_filteredMKT_4FGL_J1401.7-3217_weekly_bin936.fits evtable="EVENTS" outfile="/lscratch/kocevski/31656646/ft1_filtered_4FGL_J1401.7-3217_weekly_bin936.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.20 sys 0.13 Number of photons that the gtmktime cut: 2719 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/31656646/ft1_filtered_4FGL_J1401.7-3217_weekly_bin936.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31656646/ft2_4FGL_J1401.7-3217_weekly_bin936.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31656646/ltcube_805075201_805680001_4FGL_J1401.7-3217_weekly_bin936.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/31656646/ft2_4FGL_J1401.7-3217_weekly_bin936.fits .....................! real 15.94 user 15.15 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/31656646/ft1_filtered_4FGL_J1401.7-3217_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31656646/ft2_4FGL_J1401.7-3217_weekly_bin936.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31656646/ltcube_805075201_805680001_4FGL_J1401.7-3217_weekly_bin936.fits outfile=/lscratch/kocevski/31656646/expmap_805075201_805680001_4FGL_J1401.7-3217_weekly_bin936.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/31656646/ltcube_805075201_805680001_4FGL_J1401.7-3217_weekly_bin936.fits .....................! real 59.75 user 55.66 sys 3.32 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/31656646/ft1_filtered_4FGL_J1401.7-3217_weekly_bin936.fits scfile=/lscratch/kocevski/31656646/ft2_4FGL_J1401.7-3217_weekly_bin936.fits outfile=/lscratch/kocevski/31656646/cmap_805075201_805680001_4FGL_J1401.7-3217_weekly_bin936.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 0.84 user 0.21 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/31656646/ft1_filtered_4FGL_J1401.7-3217_weekly_bin936.fits scfile=/lscratch/kocevski/31656646/ft2_4FGL_J1401.7-3217_weekly_bin936.fits outfile=/lscratch/kocevski/31656646/cmap_HighResolution_805075201_805680001_4FGL_J1401.7-3217_weekly_bin936.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 0.89 user 0.20 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/31656646/ft1_filtered_4FGL_J1401.7-3217_weekly_bin936.fits evtable="EVENTS" scfile=/lscratch/kocevski/31656646/ft2_4FGL_J1401.7-3217_weekly_bin936.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31656646/Model_4FGL_J1401.7-3217_weekly_bin936.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/31656646/ft1_filtered_4FGL_J1401.7-3217_weekly_bin936.fits.....................! real 152.70 user 150.64 sys 0.91 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/31656646/ft1_filtered_4FGL_J1401.7-3217_weekly_bin936.fits', '/lscratch/kocevski/31656646/ft2_4FGL_J1401.7-3217_weekly_bin936.fits', expMap='/lscratch/kocevski/31656646/expmap_805075201_805680001_4FGL_J1401.7-3217_weekly_bin936.fits', expCube='/lscratch/kocevski/31656646/ltcube_805075201_805680001_4FGL_J1401.7-3217_weekly_bin936.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31656646/Model_4FGL_J1401.7-3217_weekly_bin936.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/31656646/ft1_filtered_4FGL_J1401.7-3217_weekly_bin936.fits Spacecraft file(s): /lscratch/kocevski/31656646/ft2_4FGL_J1401.7-3217_weekly_bin936.fits Exposure map: /lscratch/kocevski/31656646/expmap_805075201_805680001_4FGL_J1401.7-3217_weekly_bin936.fits Exposure cube: /lscratch/kocevski/31656646/ltcube_805075201_805680001_4FGL_J1401.7-3217_weekly_bin936.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/31656646/Model_4FGL_J1401.7-3217_weekly_bin936.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) = 27538.3038699 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27538.3091282 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 23.178 1.0000 .0000 .10000E+07 2 'Prefactor ' .30009 1.0000 .0000 .10000E+07 3 'Prefactor ' 16.652 1.0000 .0000 .10000E+07 4 'Prefactor ' .26886E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .19991E-02 1.0000 .0000 .10000E+07 6 'norm ' .37892E-04 1.0000 .0000 .10000E+07 7 'norm ' .20816E-02 1.0000 .0000 .10000E+07 8 'norm ' .66068E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .47740E-08 1.0000 .0000 .10000E+07 10 'Prefactor ' 76.061 1.0000 .0000 .10000E+07 11 'Prefactor ' 10.771 1.0000 .0000 .10000E+07 12 'Prefactor ' .64853E-03 1.0000 .0000 .10000E+07 13 'Prefactor ' .58474 1.0000 .0000 .10000E+07 14 'Prefactor ' .77247E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' .55924E-03 1.0000 .0000 .10000E+07 16 'norm ' .59813E-06 1.0000 .0000 .10000E+07 17 'Prefactor ' .53570E-03 1.0000 .0000 .10000E+07 18 'norm ' 1.0755 1.0000 .0000 .10000E+07 19 'Prefactor ' .16156E-02 1.0000 .0000 .10000E+07 20 'Prefactor ' 43.706 1.0000 .0000 .10000E+07 21 'norm ' 32.203 1.0000 .0000 .10000E+07 22 'Prefactor ' 150.00 1.0000 .0000 .10000E+07 23 'Normalizat' 1.1990 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.0204 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6880E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 27538.30 FROM MIGRAD STATUS=CONVERGED 163 CALLS 2054 TOTAL EDM= .71E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 23.186 4.5585 -.16021E-07 .12703E-02 2 Prefactor .11158E-07 3.7440 -.13825E-05** at limit ** 3 Prefactor 16.639 5.4210 .87216E-06 .11585 4 Prefactor .89928E-08 7.0751 .16604E-05** at limit ** 5 Prefactor .21372E-07 6.1166 -.18821E-05** at limit ** 6 norm .41633E-08 5.8310 -.89350E-06** at limit ** 7 norm .63283E-08 6.7772 .10804E-05** at limit ** 8 norm .0000 3.4706 -.13103E-05** at limit ** 9 Prefactor .0000 .84871 -.39189E-06** at limit ** 10 Prefactor 75.230 31.742 .16700E-05 -.13414E-01 11 Prefactor 10.719 2.7483 .87155E-08 -.49796E-01 12 Prefactor .12212E-08 12.373 .31360E-06** at limit ** 13 Prefactor .40246E-07 97.251 -.55051E-05** at limit ** 14 Prefactor .25663E-06 5.4971 .10978E-05** at limit ** 15 Prefactor .0000 3.5756 .12042E-05** at limit ** 16 norm .0000 1.0608 -.71113E-06** at limit ** 17 Prefactor .26901E-06 5.8213 -.21321E-06** at limit ** 18 norm 1.0755 .11873 .49651E-07 .77872E-02 19 Prefactor .11102E-09 5.0789 .63867E-06** at limit ** 20 Prefactor 43.800 5.1683 .10638E-06 -.16870E-01 21 norm 32.185 8.9676 .22855E-06 -.20621E-04 22 Prefactor 147.94 92.179 -.54092E-06 .84690E-03 23 Normalizat 1.1991 .18142 -.12330E-04 .56558E-05 24 Prefactor 1.0206 .70145E-01 .58105E-07 .28054E-04 ERR DEF= .500 Final values: norm = 23.1857 Prefactor = 1.11577e-08 Prefactor = 16.6392 Prefactor = 8.99281e-09 Prefactor = 2.13718e-08 norm = 4.16334e-09 norm = 6.32827e-09 norm = 0 Prefactor = 0 Prefactor = 75.2295 Prefactor = 10.7187 Prefactor = 1.22125e-09 Prefactor = 4.02456e-08 Prefactor = 2.56628e-07 Prefactor = 0 norm = 0 Prefactor = 2.69007e-07 norm = 1.07548 Prefactor = 1.11022e-10 Prefactor = 43.8004 norm = 32.1855 Prefactor = 147.936 Normalizat = 1.19914 Prefactor = 1.02065 ********** ** 18 **HESSE ********** FCN= 27538.30 FROM HESSE STATUS=OK 439 CALLS 2493 TOTAL EDM= .27E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 23.186 4.5598 .20776E-03 -1.5612 2 Prefactor .11158E-07 43.562 .10212E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 16.639 10.959 .24517E-03 -1.5626 4 Prefactor .89928E-08 7.1334 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .21372E-07 7.7677 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .41633E-08 5.8704 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .63283E-08 8.2104 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 3.4578 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .0000 .84435 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 75.230 31.838 .11467E-03 -1.5534 11 Prefactor 10.719 22.081 .30503E-03 -1.5642 12 Prefactor .12212E-08 12.400 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .40246E-07 97.412 .70606E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .25663E-06 10.012 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .0000 3.5742 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .0000 1.0557 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .26901E-06 10.284 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 1.0755 .11862 .41440E-03 -1.5687 19 Prefactor .11102E-09 5.0794 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 43.800 17.075 .15127E-03 -1.5576 21 norm 32.185 8.9617 .17624E-03 -1.5594 22 Prefactor 147.94 92.326 .81656E-04 -1.5465 23 Normalizat 1.1991 .15485 .96412E-01 -.86629 24 Prefactor 1.0206 .59011E-01 .42104E-01 -.92044 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.6882e-07 Minuit parameter uncertainties: 1 4.55984 2 0.00139539 3 10.9586 4 0.0005063 5 0.000814697 6 0.000311814 7 0.000455866 8 1.34649e-05 9 2.71975e-07 10 31.8381 11 22.0808 12 0.000243752 13 0.00396062 14 0.00320586 15 2.71434e-06 16 2.80749e-07 17 0.00332641 18 0.118618 19 4.25449e-05 20 17.0753 21 8.96175 22 92.327 23 0.154912 24 0.0590152 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27538.3014124 Extracting fit parameters... 4FGL J1401.7-3217 Spectrum: PowerLaw 317 Prefactor: 1.072e+01 2.208e+01 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: 1.021e+00 5.902e-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.199e+00 1.549e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.30 Ra Dec: 210.446 -32.288 Photon Flux Upper Limit: 3.98603973497e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00303380400249 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/31656646/likelihoodResults_805075201_805680001_4FGL_J1401.7-3217_weekly_bin936.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) = 27538.2743206 delta logL = 0.0270918483984 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 27538.2643142 delta logL = 0.0370982354361 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 14.606 1.0000 .0000 .10000E+07 2 'Index ' 1.9212 1.0000 .0000 10.000 3 'Normalizat' 1.2014 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0200 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 27538.26 FROM MIGRAD STATUS=CONVERGED 89 CALLS 263 TOTAL EDM= .78E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 14.603 29.017 .10473E-04 .99872E-04 2 Index 1.9214 .91507 .61687E-02 .22617E-04 3 Normalizat 1.2014 .17947 .42677E-03 -.59000E-03 4 Prefactor 1.0200 .69354E-01 .17600E-03 -.27904E-03 ERR DEF= .500 Final values: Prefactor = 14.6033 Index = 1.92135 Normalizat = 1.20141 Prefactor = 1.02005 ********** ** 18 **HESSE ********** FCN= 27538.26 FROM HESSE STATUS=OK 25 CALLS 288 TOTAL EDM= .78E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 14.603 28.709 .41890E-06 -1.5632 2 Index 1.9214 .90634 .24675E-03 -.66331 3 Normalizat 1.2014 .17959 .17071E-04 -.86559 4 Prefactor 1.0200 .69407E-01 .35201E-04 -.92064 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.79987e-10 Minuit parameter uncertainties: 1 28.709 2 0.914528 3 0.179687 4 0.0694126 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 27538.2643141 delta logL = 0.0370982720633 Extracting fit parameters... 4FGL J1401.7-3217 Spectrum: PowerLaw 317 Prefactor: 1.460e+01 2.871e+01 0.000e+00 1.000e+06 ( 1.000e-14) 318 Index: 1.921e+00 9.145e-01 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: 1.020e+00 6.941e-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.201e+00 1.797e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.30 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/31656646/cmap_HighResolution_805075201_805680001_4FGL_J1401.7-3217_weekly_bin936.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-03', job_status='DONE', photon_flux_upper_limit='3.99e-08', time_completed='2026-07-14 11:46:36.000104', job_id='31656646', GAL2='1.02', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1784054796.0', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.71e-02', ts2='0.37', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='936' AND source_name='4FGL J1401.7-3217' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 14 11:46:36 PDT 2026