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


Performing analysis on: 4FGL_J1057.3-2341_daily_bin2109
RA = 164.342, Dec = -23.6889
tmin = 785980801, tmax = 786240001
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='16431035', job_status='RUN', time_executed='2025-12-01 00:29:35.234936', time_epoch_executed='1764577775.23' WHERE source_name='4FGL J1057.3-2341' and cadence='daily' and bin_id='2109'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/16431035

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/16431035/ft1_4FGL_J1057.3-2341_daily_bin2109.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/16431035/ft2_4FGL_J1057.3-2341_daily_bin2109.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/16431035/ft1_4FGL_J1057.3-2341_daily_bin2109.fits outfile=/lscratch/kocevski/16431035/ft1_filteredMKT_4FGL_J1057.3-2341_daily_bin2109.fits ra=164.342 dec=-23.6889 rad=12.0 tmin=785980801.0 tmax=786240001.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 1.84
user 1.28
sys 0.16

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

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

Number of photons that the gtmktime cut: 993

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/16431035/ft1_filtered_4FGL_J1057.3-2341_daily_bin2109.fits" evtable="EVENTS" scfile=/lscratch/kocevski/16431035/ft2_4FGL_J1057.3-2341_daily_bin2109.fits sctable="SC_DATA" outfile=/lscratch/kocevski/16431035/ltcube_785980801_786240001_4FGL_J1057.3-2341_daily_bin2109.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/16431035/ft2_4FGL_J1057.3-2341_daily_bin2109.fits
.....................!
real 7.46
user 6.98
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/16431035/ft1_filtered_4FGL_J1057.3-2341_daily_bin2109.fits evtable="EVENTS" scfile=/lscratch/kocevski/16431035/ft2_4FGL_J1057.3-2341_daily_bin2109.fits sctable="SC_DATA" expcube=/lscratch/kocevski/16431035/ltcube_785980801_786240001_4FGL_J1057.3-2341_daily_bin2109.fits outfile=/lscratch/kocevski/16431035/expmap_785980801_786240001_4FGL_J1057.3-2341_daily_bin2109.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/16431035/ltcube_785980801_786240001_4FGL_J1057.3-2341_daily_bin2109.fits
.....................!
real 59.57
user 55.70
sys 3.48

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/16431035/ft1_filtered_4FGL_J1057.3-2341_daily_bin2109.fits scfile=/lscratch/kocevski/16431035/ft2_4FGL_J1057.3-2341_daily_bin2109.fits outfile=/lscratch/kocevski/16431035/cmap_785980801_786240001_4FGL_J1057.3-2341_daily_bin2109.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.66
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/16431035/ft1_filtered_4FGL_J1057.3-2341_daily_bin2109.fits scfile=/lscratch/kocevski/16431035/ft2_4FGL_J1057.3-2341_daily_bin2109.fits outfile=/lscratch/kocevski/16431035/cmap_HighResolution_785980801_786240001_4FGL_J1057.3-2341_daily_bin2109.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.57
user 0.20
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/16431035/ft1_filtered_4FGL_J1057.3-2341_daily_bin2109.fits evtable="EVENTS" scfile=/lscratch/kocevski/16431035/ft2_4FGL_J1057.3-2341_daily_bin2109.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/16431035/Model_4FGL_J1057.3-2341_daily_bin2109.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/16431035/ft1_filtered_4FGL_J1057.3-2341_daily_bin2109.fits.....................!
real 32.88
user 31.50
sys 0.99

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .70689       1.0000          .0000       .10000E+07
     2 'norm      '    5.4673       1.0000          .0000       .10000E+07
     3 'norm      '    10.789       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.6130       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11057E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .86946       1.0000          .0000       .10000E+07
     7 'Prefactor '    .38251       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.6670       1.0000          .0000       .10000E+07
     9 'Prefactor '    .48605E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15649E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22278E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .46615E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.9396       1.0000          .0000       .10000E+07
    14 'norm      '    .26709       1.0000          .0000       .10000E+07
    15 'Prefactor '    83.353       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.4388       1.0000          .0000       .10000E+07
    17 'Normalizat'    .94223       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0700       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=   10639.00     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1072 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .70646        1.0368        .13292E-06    .66685E-02
   2  norm          5.4704        7.3712       -.10847E-06    .50704E-02
   3  norm          10.769        6.5556       -.23239E-08   -.50890E-02
   4  Prefactor     4.6208        4.0976       -.17003E-06   -.51638E-02
   5  Prefactor     .11102E-09    10.684        .18337E-06** at limit **
   6  norm          .86914        1.7721       -.66377E-07    .14378E-02
   7  Prefactor     .45539        43.706        .85613E-05   -.91486E-02
   8  Prefactor     3.6680        2.7333       -.17535E-06    .26748E-02
   9  Prefactor     .65947E-07    100.90       -.11271E-04** at limit **
  10  Prefactor      .0000        1.7919       -.33782E-06** at limit **
  11  Prefactor     .88818E-08    11.087        .14651E-05** at limit **
  12  Prefactor     .23870E-08    21.821       -.82994E-06** at limit **
  13  Prefactor     6.1431        7.5247        .16272E-06    .16471E-02
  14  norm          .26902        .63249        .95318E-07    .13207E-01
  15  Prefactor     82.790        11.369       -.81933E-06   -.10045    
  16  Prefactor     2.4378        3.5202        .34895E-06    .29240E-02
  17  Normalizat    .94303        .20316        .10705E-04    .49436E-03
  18  Prefactor     1.0695        .11961       -.86689E-05    .53495E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.706457
  norm       = 5.47042
  norm       = 10.7689
  Prefactor  = 4.62077
  Prefactor  = 1.11022e-10
  norm       = 0.869145
  Prefactor  = 0.45539
  Prefactor  = 3.668
  Prefactor  = 6.59472e-08
  Prefactor  = 0
  Prefactor  = 8.88178e-09
  Prefactor  = 2.38698e-09
  Prefactor  = 6.1431
  norm       = 0.269021
  Prefactor  = 82.79
  Prefactor  = 2.43781
  Normalizat = 0.94303
  Prefactor  = 1.06949
 **********
 **   18 **HESSE 
 **********

 FCN=   10639.00     FROM HESSE     STATUS=OK           298 CALLS     1370 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .70646        1.0574        .60151E-03   -1.5691    
   2  norm          5.4704        7.4060        .42949E-03   -1.5661    
   3  norm          10.769        6.5761        .30477E-03   -1.5642    
   4  Prefactor     4.6208        4.1065        .46839E-03   -1.5665    
   5  Prefactor     .11102E-09    10.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .86914        1.7883        .47895E-03   -1.5689    
   7  Prefactor     .45539        5.5052        .13223E-01   -1.5694    
   8  Prefactor     3.6680        2.7867        .52723E-03   -1.5670    
   9  Prefactor     .65947E-07    6.6567        .62791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88818E-08    11.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .23870E-08    21.946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.1431        7.5432        .41179E-03   -1.5658    
  14  norm          .26902        .64877        .10686E-02   -1.5698    
  15  Prefactor     82.790        16.662        .10954E-03   -1.5526    
  16  Prefactor     2.4378        3.5378        .65491E-03   -1.5677    
  17  Normalizat    .94303        .17794        .75364E-01   -.94964    
  18  Prefactor     1.0695        .10155        .38859E-01   -.90448    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62477e-08
Minuit parameter uncertainties:
  1  1.05736
  2  7.40604
  3  6.57612
  4  4.10654
  5  6.70433e-05
  6  1.78829
  7  3.1667
  8  2.7867
  9  0.00132521
  10  1.16115e-05
  11  0.00063216
  12  0.000456896
  13  7.54317
  14  0.64877
  15  16.6622
  16  3.53777
  17  0.178046
  18  0.10157
Done.

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

Extracting fit parameters...

4FGL J1057.3-2341
   Spectrum: PowerLaw
298    Prefactor:  0.000e+00  1.161e-05  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.069e+00  1.016e-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:  9.430e-01  1.780e-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: 5.5032266962e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00428180470804 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/16431035/likelihoodResults_785980801_786240001_4FGL_J1057.3-2341_daily_bin2109.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) = 10639.0033962
delta logL = -0.00167524066455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10639.0017216
delta logL = -6.41593942419e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17025E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.7527       1.0000          .0000       10.000    
     3 'Normalizat'    .94282       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0696       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10639.00     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      240 TOTAL
                     EDM=   .33E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6433        .42118E-03** at limit **
   2  Index         3.3355        1.2776       -.61300E-05     .0000    
   3  Normalizat    .94303        1.2761        .26614E-05   -.57021E-04
   4  Prefactor     1.0695        1.1715       -.34020E-05   -.12222E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.3355
  Normalizat = 0.943027
  Prefactor  = 1.06949
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10639.00     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .33E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2457        2.1521       -.61300E-05   -.33938    
   3  Normalizat    .94303        1.2761        .26614E-05   -.94964    
   4  Prefactor     1.0695        1.1715       -.34020E-05   -.90448    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.3437e-12
Minuit parameter uncertainties:
  1  2.65783e-06
  2  1.29375
  3  1.32111
  4  1.2015
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) = 10639.001721
delta logL = 1.76441972144e-10

Extracting fit parameters...

4FGL J1057.3-2341
   Spectrum: PowerLaw
298    Prefactor:  0.000e+00  2.658e-06  0.000e+00  1.000e+06 ( 1.000e-12)
299        Index:  3.335e+00  1.294e+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.069e+00  1.202e+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:  9.430e-01  1.321e+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/16431035/cmap_HighResolution_785980801_786240001_4FGL_J1057.3-2341_daily_bin2109.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.28e-03', job_status='DONE', photon_flux_upper_limit='5.50e-08', time_completed='2025-12-01 00:34:22.413828', job_id='16431035', GAL2='1.07', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1764578062.41', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.76e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='2109' AND source_name='4FGL J1057.3-2341' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  1 00:34:22 PST 2025

