/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 = 7437
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1057.3-2341_daily_bin2169
RA = 164.342, Dec = -23.6889
tmin = 801532801, tmax = 801792001
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='27454950', job_status='RUN', time_executed='2026-05-30 08:36:20.765237', time_epoch_executed='1780155380.77' WHERE source_name='4FGL J1057.3-2341' and cadence='daily' and bin_id='2169'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27454950

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27454950/ft1_4FGL_J1057.3-2341_daily_bin2169.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27454950/ft2_4FGL_J1057.3-2341_daily_bin2169.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27454950/ft1_4FGL_J1057.3-2341_daily_bin2169.fits outfile=/lscratch/kocevski/27454950/ft1_filteredMKT_4FGL_J1057.3-2341_daily_bin2169.fits ra=164.342 dec=-23.6889 rad=12.0 tmin=801532801.0 tmax=801792001.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.21
user 1.71
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27454950/ft2_4FGL_J1057.3-2341_daily_bin2169.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/27454950/ft1_filteredMKT_4FGL_J1057.3-2341_daily_bin2169.fits evtable="EVENTS" outfile="/lscratch/kocevski/27454950/ft1_filtered_4FGL_J1057.3-2341_daily_bin2169.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.64
user 0.17
sys 0.14

Number of photons that the gtmktime cut: 666

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27454950/ft1_filtered_4FGL_J1057.3-2341_daily_bin2169.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27454950/ft2_4FGL_J1057.3-2341_daily_bin2169.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27454950/ltcube_801532801_801792001_4FGL_J1057.3-2341_daily_bin2169.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/27454950/ft2_4FGL_J1057.3-2341_daily_bin2169.fits
.....................!
real 7.29
user 6.76
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27454950/ft1_filtered_4FGL_J1057.3-2341_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27454950/ft2_4FGL_J1057.3-2341_daily_bin2169.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27454950/ltcube_801532801_801792001_4FGL_J1057.3-2341_daily_bin2169.fits outfile=/lscratch/kocevski/27454950/expmap_801532801_801792001_4FGL_J1057.3-2341_daily_bin2169.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/27454950/ltcube_801532801_801792001_4FGL_J1057.3-2341_daily_bin2169.fits
.....................!
real 59.74
user 55.64
sys 3.51

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/27454950/ft1_filtered_4FGL_J1057.3-2341_daily_bin2169.fits scfile=/lscratch/kocevski/27454950/ft2_4FGL_J1057.3-2341_daily_bin2169.fits outfile=/lscratch/kocevski/27454950/cmap_801532801_801792001_4FGL_J1057.3-2341_daily_bin2169.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.55
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27454950/ft1_filtered_4FGL_J1057.3-2341_daily_bin2169.fits scfile=/lscratch/kocevski/27454950/ft2_4FGL_J1057.3-2341_daily_bin2169.fits outfile=/lscratch/kocevski/27454950/cmap_HighResolution_801532801_801792001_4FGL_J1057.3-2341_daily_bin2169.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.55
user 0.19
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27454950/ft1_filtered_4FGL_J1057.3-2341_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27454950/ft2_4FGL_J1057.3-2341_daily_bin2169.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27454950/Model_4FGL_J1057.3-2341_daily_bin2169.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/27454950/ft1_filtered_4FGL_J1057.3-2341_daily_bin2169.fits.....................!
real 24.58
user 23.08
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27454950/ft1_filtered_4FGL_J1057.3-2341_daily_bin2169.fits', '/lscratch/kocevski/27454950/ft2_4FGL_J1057.3-2341_daily_bin2169.fits', expMap='/lscratch/kocevski/27454950/expmap_801532801_801792001_4FGL_J1057.3-2341_daily_bin2169.fits', expCube='/lscratch/kocevski/27454950/ltcube_801532801_801792001_4FGL_J1057.3-2341_daily_bin2169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27454950/Model_4FGL_J1057.3-2341_daily_bin2169.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/27454950/ft1_filtered_4FGL_J1057.3-2341_daily_bin2169.fits
Spacecraft file(s): /lscratch/kocevski/27454950/ft2_4FGL_J1057.3-2341_daily_bin2169.fits
Exposure map: /lscratch/kocevski/27454950/expmap_801532801_801792001_4FGL_J1057.3-2341_daily_bin2169.fits
Exposure cube: /lscratch/kocevski/27454950/ltcube_801532801_801792001_4FGL_J1057.3-2341_daily_bin2169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27454950/Model_4FGL_J1057.3-2341_daily_bin2169.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) = 7209.93950952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25739E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .35736E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .70840E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.5876       1.0000          .0000       .10000E+07
     5 'Prefactor '    .59633E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .92237E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13920E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.1611       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.2790       1.0000          .0000       .10000E+07
    10 'Prefactor '    .44706E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .93500E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .46362E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .54866E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .93966       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31234       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.510       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2054       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0325       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=   7209.890     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1052 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .53679        .65511E-07** at limit **
   2  norm          .44409E-09    4.7008       -.17704E-08** at limit **
   3  norm          .83267E-09    4.1292        .38549E-08** at limit **
   4  Prefactor     3.5865        4.6715        .37578E-07   -.12008E-03
   5  Prefactor     .13323E-08    15.028        .24356E-07** at limit **
   6  norm          .72164E-09    8.0776        .24631E-07** at limit **
   7  Prefactor     .16653E-09    6.1177       -.25812E-07** at limit **
   8  Prefactor     1.1527        3.6053        .10938E-06   -.14867E-03
   9  Prefactor     8.3144        8.9821        .12496E-07    .50122E-03
  10  Prefactor      .0000        2.4837       -.35463E-08** at limit **
  11  Prefactor     .74940E-08    21.584        .17917E-07** at limit **
  12  Prefactor     .12645E-06    1.9342       -.14514E-07** at limit **
  13  Prefactor      .0000        3.9640        .43909E-08** at limit **
  14  norm          .94153        .86374        .18876E-07   -.29341E-03
  15  Prefactor     .15403E-05    4.8052        .26853E-07** at limit **
  16  Prefactor     10.509        7.8016       -.27407E-08    .11607E-03
  17  Normalizat    1.2065        .26225        .26223E-05   -.77407E-05
  18  Prefactor     1.0323        .15029       -.13817E-05   -.20062E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 4.44089e-10
  norm       = 8.32667e-10
  Prefactor  = 3.58653
  Prefactor  = 1.33227e-09
  norm       = 7.21645e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 1.15265
  Prefactor  = 8.31444
  Prefactor  = 0
  Prefactor  = 7.49401e-09
  Prefactor  = 1.26454e-07
  Prefactor  = 0
  norm       = 0.941529
  Prefactor  = 1.54032e-06
  Prefactor  = 10.5094
  Normalizat = 1.20645
  Prefactor  = 1.03231
 **********
 **   18 **HESSE 
 **********

 FCN=   7209.890     FROM HESSE     STATUS=OK           280 CALLS     1332 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .53383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .44409E-09    8.6981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .83267E-09    8.6157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5865        4.6832        .53327E-03   -1.5670    
   5  Prefactor     .13323E-08    15.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .72164E-09    8.0113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    6.1356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1527        3.6488        .10687E-02   -1.5686    
   9  Prefactor     8.3144        9.0610        .34818E-03   -1.5650    
  10  Prefactor      .0000        2.4739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .74940E-08    22.161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12645E-06    142.26        .15688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.9663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .94153        .86630        .43056E-03   -1.5689    
  15  Prefactor     .15403E-05    8.6727        .10044E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.509        7.8028        .30881E-03   -1.5643    
  17  Normalizat    1.2065        .21939        .70113E-01   -.86404    
  18  Prefactor     1.0323        .12435        .41063E-01   -.91660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.27261e-09
Minuit parameter uncertainties:
  1  4.96365e-07
  2  0.000122472
  3  0.000167828
  4  4.68318
  5  0.000284653
  6  0.000154628
  7  5.97268e-05
  8  3.64877
  9  9.061
  10  7.00458e-06
  11  0.000814237
  12  0.00848332
  13  1.13536e-05
  14  0.866299
  15  0.00730994
  16  7.80284
  17  0.219559
  18  0.124388
Done.

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

Extracting fit parameters...

4FGL J1057.3-2341
   Spectrum: PowerLaw
298    Prefactor:  0.000e+00  7.005e-06  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.032e+00  1.244e-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:  1.206e+00  2.196e-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: 7.49698885578e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00583305830396 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27454950/likelihoodResults_801532801_801792001_4FGL_J1057.3-2341_daily_bin2169.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) = 7209.89150071
delta logL = -0.00104518386343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7209.89045554
delta logL = -8.60291038407e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44409E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.3221       1.0000          .0000       10.000    
     3 'Normalizat'    1.2064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0323       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=   7209.890     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      242 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6114       -.11352E-06** at limit **
   2  Index         3.6510        2.5536        .17917E-04     .0000    
   3  Normalizat    1.2065        .26005       -.79514E-05    .12950E-04
   4  Prefactor     1.0323        .14966        .55260E-05    .33715E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.65097
  Normalizat = 1.20645
  Prefactor  = 1.03231
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7209.890     FROM HESSE     STATUS=FAILED        11 CALLS      253 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4723        2.2482        .17917E-04   -.27319    
   3  Normalizat    1.2065        1.1042       -.79514E-05   -.86404    
   4  Prefactor     1.0323        1.2150        .55260E-05   -.91660    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.19486e-12
Minuit parameter uncertainties:
  1  5.80652e-06
  2  1.55203
  3  1.12668
  4  1.24987
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7209.89045553
delta logL = 0.0

Extracting fit parameters...

4FGL J1057.3-2341
   Spectrum: PowerLaw
298    Prefactor:  0.000e+00  5.807e-06  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  3.651e+00  1.552e+00  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.032e+00  1.250e+00  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:  1.206e+00  1.127e+00  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/27454950/cmap_HighResolution_801532801_801792001_4FGL_J1057.3-2341_daily_bin2169.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.50e-08', time_completed='2026-05-30 08:40:16.753363', job_id='27454950', GAL2='1.03', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1780155616.75', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2169' AND source_name='4FGL J1057.3-2341' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 30 08:40:16 PDT 2026

