/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7672
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1057.3-2341_daily_bin2163
RA = 164.342, Dec = -23.6889
tmin = 799977601, tmax = 800236801
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='26503624', job_status='RUN', time_executed='2026-05-12 00:33:26.235515', time_epoch_executed='1778571206.24' WHERE source_name='4FGL J1057.3-2341' and cadence='daily' and bin_id='2163'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26503624

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26503624/ft1_4FGL_J1057.3-2341_daily_bin2163.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26503624/ft2_4FGL_J1057.3-2341_daily_bin2163.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26503624/ft1_4FGL_J1057.3-2341_daily_bin2163.fits outfile=/lscratch/kocevski/26503624/ft1_filteredMKT_4FGL_J1057.3-2341_daily_bin2163.fits ra=164.342 dec=-23.6889 rad=12.0 tmin=799977601.0 tmax=800236801.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.03
user 1.46
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26503624/ft2_4FGL_J1057.3-2341_daily_bin2163.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26503624/ft2_4FGL_J1057.3-2341_daily_bin2163.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/26503624/ft1_filteredMKT_4FGL_J1057.3-2341_daily_bin2163.fits evtable="EVENTS" outfile="/lscratch/kocevski/26503624/ft1_filtered_4FGL_J1057.3-2341_daily_bin2163.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.72
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 637

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26503624/ft1_filtered_4FGL_J1057.3-2341_daily_bin2163.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26503624/ft2_4FGL_J1057.3-2341_daily_bin2163.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26503624/ltcube_799977601_800236801_4FGL_J1057.3-2341_daily_bin2163.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/26503624/ft2_4FGL_J1057.3-2341_daily_bin2163.fits
.....................!
real 8.82
user 8.07
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26503624/ft1_filtered_4FGL_J1057.3-2341_daily_bin2163.fits evtable="EVENTS" scfile=/lscratch/kocevski/26503624/ft2_4FGL_J1057.3-2341_daily_bin2163.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26503624/ltcube_799977601_800236801_4FGL_J1057.3-2341_daily_bin2163.fits outfile=/lscratch/kocevski/26503624/expmap_799977601_800236801_4FGL_J1057.3-2341_daily_bin2163.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/26503624/ltcube_799977601_800236801_4FGL_J1057.3-2341_daily_bin2163.fits
.....................!
real 69.16
user 64.24
sys 4.16

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 191 point sources and 0 extended sources

Setting source of interest to:
4FGL J1057.3-2341 @ 164.342 -23.6889

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26503624/ft1_filtered_4FGL_J1057.3-2341_daily_bin2163.fits scfile=/lscratch/kocevski/26503624/ft2_4FGL_J1057.3-2341_daily_bin2163.fits outfile=/lscratch/kocevski/26503624/cmap_799977601_800236801_4FGL_J1057.3-2341_daily_bin2163.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=164.342 yref=-23.6889 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.68
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26503624/ft1_filtered_4FGL_J1057.3-2341_daily_bin2163.fits scfile=/lscratch/kocevski/26503624/ft2_4FGL_J1057.3-2341_daily_bin2163.fits outfile=/lscratch/kocevski/26503624/cmap_HighResolution_799977601_800236801_4FGL_J1057.3-2341_daily_bin2163.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=164.342 yref=-23.6889 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.77
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26503624/ft1_filtered_4FGL_J1057.3-2341_daily_bin2163.fits evtable="EVENTS" scfile=/lscratch/kocevski/26503624/ft2_4FGL_J1057.3-2341_daily_bin2163.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26503624/Model_4FGL_J1057.3-2341_daily_bin2163.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/26503624/ft1_filtered_4FGL_J1057.3-2341_daily_bin2163.fits.....................!
real 27.05
user 25.43
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26503624/ft1_filtered_4FGL_J1057.3-2341_daily_bin2163.fits', '/lscratch/kocevski/26503624/ft2_4FGL_J1057.3-2341_daily_bin2163.fits', expMap='/lscratch/kocevski/26503624/expmap_799977601_800236801_4FGL_J1057.3-2341_daily_bin2163.fits', expCube='/lscratch/kocevski/26503624/ltcube_799977601_800236801_4FGL_J1057.3-2341_daily_bin2163.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26503624/Model_4FGL_J1057.3-2341_daily_bin2163.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1057.3-2341'

4FGL J1057.3-2341
   Spectrum: PowerLaw
298    Prefactor:  1.450e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  6.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26503624/ft1_filtered_4FGL_J1057.3-2341_daily_bin2163.fits
Spacecraft file(s): /lscratch/kocevski/26503624/ft2_4FGL_J1057.3-2341_daily_bin2163.fits
Exposure map: /lscratch/kocevski/26503624/expmap_799977601_800236801_4FGL_J1057.3-2341_daily_bin2163.fits
Exposure cube: /lscratch/kocevski/26503624/ltcube_799977601_800236801_4FGL_J1057.3-2341_daily_bin2163.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26503624/Model_4FGL_J1057.3-2341_daily_bin2163.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) = 6966.78641376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64566       1.0000          .0000       .10000E+07
     2 'norm      '    .65054E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .16057E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13224E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    22.321       1.0000          .0000       .10000E+07
     6 'norm      '    .34650E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .86380E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .65304       1.0000          .0000       .10000E+07
     9 'Prefactor '    .49375E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20746       1.0000          .0000       .10000E+07
    11 'Prefactor '    15.943       1.0000          .0000       .10000E+07
    12 'Prefactor '    33.063       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13712E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .26368E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    22.752       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.3291       1.0000          .0000       .10000E+07
    17 'Normalizat'    .64449       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1685       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6966.762     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1362 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .64797        1.2825        .11220E-06   -.15794E-05
   2  norm          .55511E-10    2.6371       -.11152E-06** at limit **
   3  norm           .0000        2.6362       -.35005E-07** at limit **
   4  Prefactor      .0000        3.0438        .27271E-06** at limit **
   5  Prefactor     22.294        13.407       -.65872E-07   -.15539E-03
   6  norm           .0000        1.3755        .16091E-06** at limit **
   7  Prefactor     .38858E-09    4.5317        .62869E-06** at limit **
   8  Prefactor     .65092        5.8315        .95619E-06    .65483E-03
   9  Prefactor     .88818E-09    4.2176       -.43351E-06** at limit **
  10  Prefactor     .21331        .77432        .10485E-06** at limit **
  11  Prefactor     14.690        36.358       -.14501E-05    .69387E-02
  12  Prefactor     40.633        100.62       -.45867E-06    .25750E-02
  13  Prefactor     .99920E-09    11.358       -.55618E-06** at limit **
  14  norm           .0000        .31387        .10085E-06** at limit **
  15  Prefactor     22.727        1.4530        .15922E-07    .25267    
  16  Prefactor     3.2955        1.3997       -.12650E-06   -.17406E-01
  17  Normalizat    .64217        .23867       -.24928E-05    .20005E-04
  18  Prefactor     1.1692        .13964        .13973E-05    .31037E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.647966
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  Prefactor  = 22.2935
  norm       = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 0.650917
  Prefactor  = 8.88178e-10
  Prefactor  = 0.213305
  Prefactor  = 14.6904
  Prefactor  = 40.6334
  Prefactor  = 9.99201e-10
  norm       = 0
  Prefactor  = 22.7265
  Prefactor  = 3.29554
  Normalizat = 0.642168
  Prefactor  = 1.16918
 **********
 **   18 **HESSE 
 **********

 FCN=   6966.762     FROM HESSE     STATUS=OK           286 CALLS     1648 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .64797        1.2992        .65234E-03   -1.5692    
   2  norm          .55511E-10    2.6382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.6322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.0486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.294        13.748        .21172E-03   -1.5614    
   6  norm           .0000        1.3736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .38858E-09    4.5545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .65092        6.3269        .64605E-03   -1.5692    
   9  Prefactor     .88818E-09    4.2283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .21331        2.4624        .85289E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.690        36.827        .25057E-03   -1.5631    
  12  Prefactor     40.633        100.74        .17393E-03   -1.5580    
  13  Prefactor     .99920E-09    11.268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .31454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.727        14.731        .20970E-03   -1.5613    
  16  Prefactor     3.2955        7.9690        .55451E-03   -1.5672    
  17  Normalizat    .64217        .30605        .82861E-01   -2.0794    
  18  Prefactor     1.1692        .17439        .35422E-01   -2.2687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.31599e-07
Minuit parameter uncertainties:
  1  1.29917
  2  2.41582e-05
  3  2.92247e-06
  4  1.17248e-05
  5  13.7482
  6  1.40327e-06
  7  8.65407e-05
  8  4.05871
  9  0.000120804
  10  1.44948
  11  36.8277
  12  100.742
  13  0.000209424
  14  1.43177e-06
  15  14.7309
  16  7.96898
  17  0.306868
  18  0.17448
Done.

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

Extracting fit parameters...

4FGL J1057.3-2341
   Spectrum: PowerLaw
298    Prefactor:  2.133e-01  1.449e+00  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  6.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
619    Prefactor:  1.169e+00  1.745e-01  0.000e+00  1.000e+01 ( 1.000e+00)
620        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
621        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
618   Normalization:  6.422e-01  3.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 164.342 -23.689
Photon Flux Upper Limit: 1.07155216863e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00833724898835 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26503624/likelihoodResults_799977601_800236801_4FGL_J1057.3-2341_daily_bin2163.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): 102
logL (Free Index) = 6966.69188707
delta logL = 0.0705085701284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6966.67241112
delta logL = 0.089984519861

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59285       1.0000          .0000       .10000E+07
     2 'Index     '    3.5649       1.0000          .0000       10.000    
     3 'Normalizat'    .61503       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1774       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6966.672     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      250 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59416        23.139        .69871E-03    .12356E-01
   2  Index         3.5632        2.7741        .31958       -.19885E-05
   3  Normalizat    .61499        .27713E-01    .84582E-01   -.13650E-04
   4  Prefactor     1.1775        .16587E-01    .35188E-01   -.49173E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.594164
  Index      = 3.56316
  Normalizat = 0.614991
  Prefactor  = 1.17747
 **********
 **   18 **HESSE 
 **********

 FCN=   6966.672     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      283 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59416        158.97        .14319E-04   -1.5693    
   2  Index         3.5632        7.9750        .91957E-02   -.29148    
   3  Normalizat    .61499        .24179        .37462E-03   -1.0735    
   4  Prefactor     1.1775        .15060        .16554E-03   -.87027    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.59314e-10
Minuit parameter uncertainties:
  1  19.4379
  2  19.0414
  3  0.242206
  4  0.150655
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) = 6966.67241084
delta logL = 0.0899848031395

Extracting fit parameters...

4FGL J1057.3-2341
   Spectrum: PowerLaw
298    Prefactor:  5.942e-01  1.944e+01  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  3.563e+00  1.904e+01  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  6.941e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
619    Prefactor:  1.177e+00  1.507e-01  0.000e+00  1.000e+01 ( 1.000e+00)
620        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
621        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
618   Normalization:  6.150e-01  2.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 164.342 -23.689

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/26503624/cmap_HighResolution_799977601_800236801_4FGL_J1057.3-2341_daily_bin2163.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.34e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2026-05-12 00:39:03.258398', job_id='26503624', GAL2='1.18', fit_tolerance='1e-08', EG2='0.61', EG='0.64', time_epoch_completed='1778571543.26', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='9.00e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2163' AND source_name='4FGL J1057.3-2341' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue May 12 00:39:03 PDT 2026

