/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).

 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
/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).

outfile=/lscratch/kocevski/31447219/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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/31447219/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
.....................!
real 9.31
user 8.62
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31447219/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31447219/ft2_4FGL_J1401.7-3217_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31447219/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447219/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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/31447219/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
.....................!
real 73.28
user 68.40
sys 4.09

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/31447219/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits scfile=/lscratch/kocevski/31447219/ft2_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447219/cmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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.79
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31447219/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits scfile=/lscratch/kocevski/31447219/ft2_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447219/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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.70
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31447219/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31447219/ft2_4FGL_J1401.7-3217_daily_bin217Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31446761/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
 outfile=/lscratch/kocevski/31447331/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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/31447331/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
.....................!
real 9.20
user 8.53
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31447331/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31447331/ft2_4FGL_J1401.7-3217_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31447331/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447331/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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/31447331/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
.....................!
real 72.29
user 67.20
sys 4.25

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/31447331/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits scfile=/lscratch/kocevski/31447331/ft2_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447331/cmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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.67
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31447331/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits scfile=/lscratch/kocevski/31447331/ft2_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447331/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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.79
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31447331/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31447331/ft2_4FGL_J1401.7-3217_daily_bin21 outfile=/lscratch/kocevski/31447318/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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/31447318/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
.....................!
real 9.74
user 8.97
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31447318/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31447318/ft2_4FGL_J1401.7-3217_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31447318/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447318/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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/31447318/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
.....................!
real 72.88
user 67.84
sys 4.28

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/31447318/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits scfile=/lscratch/kocevski/31447318/ft2_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447318/cmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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.70
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31447318/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits scfile=/lscratch/kocevski/31447318/ft2_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447318/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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.81
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31447318/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31447318/ft2_4FGL_J1401.7-3217_daily_bin21shell-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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31446761/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:17:40.069876', job_id='31446761', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873060.07', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:17:40 PDT 2026

000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
78.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31446933/Model_4FGL_J1401.7-3217_daily_bin2178.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/31446933/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 74.36
user 72.06
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31446933/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31446933/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31446933/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31446933/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31446933/Model_4FGL_J1401.7-3217_daily_bin2178.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/31446933/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31446933/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31446933/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31446933/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31446933/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          .78.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31446934/Model_4FGL_J1401.7-3217_daily_bin2178.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/31446934/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 74.36
user 72.07
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31446934/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31446934/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31446934/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31446934/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31446934/Model_4FGL_J1401.7-3217_daily_bin2178.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/31446934/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31446934/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31446934/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31446934/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31446934/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          . **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
78.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31446916/Model_4FGL_J1401.7-3217_daily_bin2178.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/31446916/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 75.17
user 73.25
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31446916/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31446916/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31446916/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31446916/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31446916/Model_4FGL_J1401.7-3217_daily_bin2178.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/31446916/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31446916/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31446916/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31446916/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31446916/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          . outfile=/lscratch/kocevski/31447343/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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/31447343/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
.....................!
real 8.65
user 8.04
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31447343/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31447343/ft2_4FGL_J1401.7-3217_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31447343/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447343/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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/31447343/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
.....................!
real 68.75
user 63.99
sys 4.07

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/31447343/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits scfile=/lscratch/kocevski/31447343/ft2_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447343/cmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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.76
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31447343/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits scfile=/lscratch/kocevski/31447343/ft2_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447343/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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.81
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31447343/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31447343/ft2_4FGL_J1401.7-3217_daily_bin21outfile=/lscratch/kocevski/31447352/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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/31447352/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
.....................!
real 10.20
user 9.47
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31447352/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31447352/ft2_4FGL_J1401.7-3217_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31447352/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447352/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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/31447352/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
.....................!
real 73.01
user 67.75
sys 4.31

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/31447352/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits scfile=/lscratch/kocevski/31447352/ft2_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447352/cmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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.88
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31447352/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits scfile=/lscratch/kocevski/31447352/ft2_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447352/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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.94
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31447352/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31447352/ft2_4FGL_J1401.7-3217_daily_bin210000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
0000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31446830/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
78.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31447098/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447098/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 73.89
user 71.90
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31447098/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31447098/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31447098/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31447098/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31447098/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447098/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31447098/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31447098/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31447098/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31447098/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          . **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
0000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31446830/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:18:57.508270', job_id='31446830', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873137.51', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:18:57 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31446912/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31446912/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:19:31.041204', job_id='31446912', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873171.04', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:19:31 PDT 2026

0000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
number of points = 7456
number of fields = 31
RA_SUN column already exists. File will not be modified.
78.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31447144/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447144/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 74.94
user 72.84
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31447144/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31447144/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31447144/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31447144/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31447144/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447144/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31447144/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31447144/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31447144/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31447144/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          .Done.


Performing analysis on: 4FGL_J1401.7-3217_daily_bin2178
RA = 210.446, Dec = -32.2877
tmin = 803865601, tmax = 804124801
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='31447547', job_status='RUN', time_executed='2026-07-12 09:17:33.980441', time_epoch_executed='1783873053.98' WHERE source_name='4FGL J1401.7-3217' and cadence='daily' and bin_id='2178'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31447547

Creating custom pfile directory:
/lscratch/kocevski/31447547/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=803865601.0 && nMetStart<804124801.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=803865601.0 && nMetStart<804124801.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31447547/ft1_4FGL_J1401.7-3217_daily_bin2178.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=803865601.0 && nMetStart<804124801.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31447547/ft2_4FGL_J1401.7-3217_daily_bin2178.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31447547/ft1_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447547/ft1_filteredMKT_4FGL_J1401.7-3217_daily_bin2178.fits ra=210.446 dec=-32.2877 rad=12.0 tmin=803865601.0 tmax=804124801.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 2.12
user 1.47
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31447547/ft2_4FGL_J1401.7-3217_daily_bin2178.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31447547/ft2_4FGL_J1401.7-3217_daily_bin2178.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/31447547/ft1_filteredMKT_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31447547/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.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.76
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 1082

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31447547/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31447547/ft2_4FGL_J1401.7-3217_daily_bin2178.fits sctable="SC_DATA"78.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31447171/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447171/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 77.42
user 75.54
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31447171/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31447171/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31447171/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31447171/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31447171/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447171/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31447171/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31447171/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31447171/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31447171/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          . **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
78.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31447169/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447169/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 77.75
user 75.78
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31447169/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31447169/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31447169/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31447169/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31447169/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447169/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31447169/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31447169/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31447169/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31447169/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          .Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31446934/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31446933/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31446934/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:20:33.479736', job_id='31446934', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873233.48', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:20:33 PDT 2026

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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31446933/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:20:34.714280', job_id='31446933', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873234.71', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:20:35 PDT 2026

178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31447185/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447185/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 82.38
user 80.30
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31447185/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31447185/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31447185/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31447185/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31447185/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447185/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31447185/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31447185/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31447185/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31447185/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          0000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
0000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31446916/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31446916/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:20:55.834349', job_id='31446916', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873255.83', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:20:56 PDT 2026

0000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
8.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31447219/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447219/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 76.56
user 74.81
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31447219/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31447219/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31447219/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31447219/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31447219/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447219/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31447219/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31447219/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31447219/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31447219/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          .078.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31447331/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447331/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 76.35
user 74.55
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31447331/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31447331/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31447331/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31447331/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31447331/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447331/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31447331/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31447331/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31447331/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31447331/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          . **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
78.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31447318/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447318/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 76.83
user 75.22
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31447318/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31447318/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31447318/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31447318/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31447318/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447318/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31447318/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31447318/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31447318/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31447318/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          . **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
 outfile=/lscratch/kocevski/31447547/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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/31447547/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
.....................!
real 9.07
user 8.39
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31447547/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31447547/ft2_4FGL_J1401.7-3217_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31447547/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447547/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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/31447547/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
.....................!
real 71.68
user 66.62
sys 4.28

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/31447547/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits scfile=/lscratch/kocevski/31447547/ft2_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447547/cmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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.76
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31447547/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits scfile=/lscratch/kocevski/31447547/ft2_4FGL_J1401.7-3217_daily_bin2178.fits outfile=/lscratch/kocevski/31447547/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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.86
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31447547/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31447547/ft2_4FGL_J1401.7-3217_daily_bin21 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
.0000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31447098/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31447098/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:21:37.399113', job_id='31447098', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873297.4', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:21:37 PDT 2026

78.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31447343/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447343/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 74.02
user 72.08
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31447343/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31447343/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31447343/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31447343/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31447343/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447343/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31447343/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31447343/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31447343/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31447343/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          .000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
0000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
0000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
78.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31447352/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447352/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 79.41
user 77.23
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31447352/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31447352/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31447352/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31447352/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31447352/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447352/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31447352/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31447352/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31447352/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31447352/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          . **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
0000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31447144/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31447171/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31447144/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:22:41.416029', job_id='31447144', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873361.42', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:22:41 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31447171/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:22:45.079806', job_id='31447171', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873365.08', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:22:45 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31447169/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
0000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31447169/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:22:57.490653', job_id='31447169', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873377.49', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:22:57 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31447185/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31447185/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:23:33.346147', job_id='31447185', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873413.35', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:23:33 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31447331/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31447219/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31447331/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:23:56.371351', job_id='31447331', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873436.37', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:23:56 PDT 2026

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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31447219/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:23:57.350728', job_id='31447219', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873437.35', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:23:57 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31447318/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31447318/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:24:09.532626', job_id='31447318', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873449.53', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:24:09 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31447343/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31447343/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:24:27.930662', job_id='31447343', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873467.93', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:24:28 PDT 2026

78.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31447547/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447547/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits.....................!
real 75.49
user 73.15
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31447547/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits', '/lscratch/kocevski/31447547/ft2_4FGL_J1401.7-3217_daily_bin2178.fits', expMap='/lscratch/kocevski/31447547/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', expCube='/lscratch/kocevski/31447547/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31447547/Model_4FGL_J1401.7-3217_daily_bin2178.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/31447547/ft1_filtered_4FGL_J1401.7-3217_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31447547/ft2_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31447547/expmap_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31447547/ltcube_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31447547/Model_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.2950038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1595581

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.175       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46598E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.001       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5744       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     6 'norm      '    5.9627       1.0000          .0000       .10000E+07
     7 'norm      '    .40088E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16603E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86646       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25466E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31971E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    47.220       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23119E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.916       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3900       1.0000          .0000       .10000E+07
    16 'norm      '    .89007E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    24.502       1.0000          .0000       .10000E+07
    18 'norm      '    1.0866       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25701E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    129.01       1.0000          .0000       .10000E+07
    21 'norm      '    21.957       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61168E-01   1.0000          .Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31447352/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31447352/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:24:57.063932', job_id='31447352', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873497.06', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:24:57 PDT 2026

0000       .10000E+07
    23 'Normalizat'    1.1149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99509       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=   11206.16     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2030 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.164        7.0169        .18290E-07    .23751E-03
   2  Prefactor     .22204E-09    59.311       -.12781E-06** at limit **
   3  Prefactor     39.042        21.673       -.12680E-06    .56548E-03
   4  Prefactor     1.5540        8.4243        .15019E-05   -.55846E-03
   5  Prefactor     23.823        41.159       -.17646E-07    .23387E-03
   6  norm          6.2251        20.760       -.24713E-06   -.51670E-03
   7  norm           .0000        9.2008        .63852E-08** at limit **
   8  norm           .0000        3.4031       -.20566E-08** at limit **
   9  Prefactor     .86465        2.5868        .59404E-06   -.10561E-03
  10  Prefactor     .22204E-09    37.849       -.53623E-07** at limit **
  11  Prefactor     .55511E-10    52.313        .46563E-07** at limit **
  12  Prefactor     46.826        41.469       -.21870E-07   -.40611E-04
  13  Prefactor     .22204E-09    133.53        .82260E-07** at limit **
  14  Prefactor     39.298        44.060        .23243E-06   -.10161E-02
  15  Prefactor     4.2468        10.858        .63793E-07   -.33353E-03
  16  norm          .22204E-09    1.5262        .53175E-07** at limit **
  17  Prefactor     24.596        26.953       -.50786E-06   -.10363E-02
  18  norm          1.0869        .21159        .17442E-08    .19787E-02
  19  Prefactor     .43188E-07    19.366        .11493E-05** at limit **
  20  Prefactor     128.97        37.088       -.10740E-06   -.97865E-02
  21  norm          21.692        14.637       -.37313E-07    .11680E-02
  22  Prefactor     .36637E-08    99.305       -.13649E-06** at limit **
  23  Normalizat    1.1155        .24433       -.42527E-05   -.31873E-03
  24  Prefactor     .99531        .92441E-01    .32604E-06   -.81035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.164
  Prefactor  = 2.22045e-10
  Prefactor  = 39.0424
  Prefactor  = 1.55399
  Prefactor  = 23.8226
  norm       = 6.22508
  norm       = 0
  norm       = 0
  Prefactor  = 0.864649
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 46.8256
  Prefactor  = 2.22045e-10
  Prefactor  = 39.2981
  Prefactor  = 4.2468
  norm       = 2.22045e-10
  Prefactor  = 24.596
  norm       = 1.08687
  Prefactor  = 4.31877e-08
  Prefactor  = 128.973
  norm       = 21.6917
  Prefactor  = 3.66374e-09
  Normalizat = 1.11547
  Prefactor  = 0.995315
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=OK           395 CALLS     2425 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.164        7.0242        .74067E-05   -1.5600    
   2  Prefactor     .22204E-09    59.306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.042        21.703        .64057E-05   -1.5583    
   4  Prefactor     1.5540        8.4326        .16932E-03   -1.5683    
   5  Prefactor     23.823        41.167        .80580E-05   -1.5610    
   6  norm          6.2251        20.778        .16439E-04   -1.5658    
   7  norm           .0000        9.2028        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.4050        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86465        2.5746        .96214E-04   -1.5689    
  10  Prefactor     .22204E-09    38.581        .33401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    52.684        .32696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.826        41.472        .58215E-05   -1.5571    
  13  Prefactor     .22204E-09    133.53        .33679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.298        44.050        .31270E-04   -1.5583    
  15  Prefactor     4.2468        10.843        .19218E-04   -1.5667    
  16  norm          .22204E-09    1.5312        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.596        27.009        .40413E-04   -1.5609    
  18  norm          1.0869        .21182        .20714E-05   -1.5687    
  19  Prefactor     .43188E-07    67.629        .85252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     128.97        36.794        .17610E-04   -1.5481    
  21  norm          21.692        14.645        .85386E-05   -1.5615    
  22  Prefactor     .36637E-08    99.329        .30241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1155        .28893        .43874E-03   -.89257    
  24  Prefactor     .99531        .11043        .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85815e-09
Minuit parameter uncertainties:
  1  7.02421
  2  0.000235428
  3  21.7026
  4  7.23996
  5  41.1671
  6  20.7787
  7  1.23643e-05
  8  5.02934e-06
  9  2.57461
  10  0.0001793
  11  8.98327e-05
  12  41.4719
  13  0.000362033
  14  44.0506
  15  10.8433
  16  3.82145e-05
  17  27.0093
  18  0.211825
  19  0.00341884
  20  36.7937
  21  14.6454
  22  0.00120344
  23  0.289344
  24  0.110457
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 11206.1570701

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  8.983e-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.953e-01  1.105e-01  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.115e+00  2.893e-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: 7.23058925526e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00550325437815 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31447547/likelihoodResults_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.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) = 11206.1662144
delta logL = -0.00914422864298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11206.1570712
delta logL = -1.08112726593e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50516E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .68645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99521       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.

 FCN=   11206.16     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      245 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    31.217        .42118E-03** at limit **
   2  Index         1.2321        8.3123        .42221       -.80781E-09
   3  Normalizat    1.1155        .60577E-02    .99018E-01    .74895E-05
   4  Prefactor     .99531        .23491E-02    .46207E-01   -.74820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  Index      = 1.23213
  Normalizat = 1.11547
  Prefactor  = 0.995312
 **********
 **   18 **HESSE 
 **********

 FCN=   11206.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    58.064        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2321        8.8254        .50000       -.85348    
   3  Normalizat    1.1155        .82439E-02    .43875E-03   -.89257    
   4  Prefactor     .99531        .32049E-02    .17810E-03   -.92886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26308e-09
Minuit parameter uncertainties:
  1  0.00144468
  2  46394.1
  3  0.00824391
  4  0.00320486
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) = 11206.1570701
delta logL = -3.61978891306e-10

Extracting fit parameters...

4FGL J1401.7-3217
   Spectrum: PowerLaw
317    Prefactor:  8.993e-09  1.445e-03  0.000e+00  1.000e+06 ( 1.000e-14)
318        Index:  1.232e+00  4.639e+04  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.953e-01  3.205e-03  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.115e+00  8.244e-03  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/31447547/cmap_HighResolution_803865601_804124801_4FGL_J1401.7-3217_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2026-07-12 09:27:24.400888', job_id='31447547', GAL2='1.00', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1783873644.4', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-3.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2178' AND source_name='4FGL J1401.7-3217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 09:27:24 PDT 2026

