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


Performing analysis on: 4FGL_J1537.7-7957_daily_bin2156
RA = 234.439, Dec = -79.9575
tmin = 798163201, tmax = 798422401
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='25589582', job_status='RUN', time_executed='2026-04-21 00:46:48.977606', time_epoch_executed='1776757608.98' WHERE source_name='4FGL J1537.7-7957' and cadence='daily' and bin_id='2156'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/25589582

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/25589582/ft1_4FGL_J1537.7-7957_daily_bin2156.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/25589582/ft2_4FGL_J1537.7-7957_daily_bin2156.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/25589582/ft1_4FGL_J1537.7-7957_daily_bin2156.fits outfile=/lscratch/kocevski/25589582/ft1_filteredMKT_4FGL_J1537.7-7957_daily_bin2156.fits ra=234.439 dec=-79.9575 rad=12.0 tmin=798163201.0 tmax=798422401.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.77
user 1.88
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/25589582/ft2_4FGL_J1537.7-7957_daily_bin2156.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/25589582/ft2_4FGL_J1537.7-7957_daily_bin2156.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/25589582/ft1_filteredMKT_4FGL_J1537.7-7957_daily_bin2156.fits evtable="EVENTS" outfile="/lscratch/kocevski/25589582/ft1_filtered_4FGL_J1537.7-7957_daily_bin2156.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.75
user 0.18
sys 0.12

Number of photons that the gtmktime cut: 1292

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/25589582/ft1_filtered_4FGL_J1537.7-7957_daily_bin2156.fits" evtable="EVENTS" scfile=/lscratch/kocevski/25589582/ft2_4FGL_J1537.7-7957_daily_bin2156.fits sctable="SC_DATA" outfile=/lscratch/kocevski/25589582/ltcube_798163201_798422401_4FGL_J1537.7-7957_daily_bin2156.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/25589582/ft2_4FGL_J1537.7-7957_daily_bin2156.fits
.....................!
real 11.67
user 10.93
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/25589582/ft1_filtered_4FGL_J1537.7-7957_daily_bin2156.fits evtable="EVENTS" scfile=/lscratch/kocevski/25589582/ft2_4FGL_J1537.7-7957_daily_bin2156.fits sctable="SC_DATA" expcube=/lscratch/kocevski/25589582/ltcube_798163201_798422401_4FGL_J1537.7-7957_daily_bin2156.fits outfile=/lscratch/kocevski/25589582/expmap_798163201_798422401_4FGL_J1537.7-7957_daily_bin2156.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/25589582/ltcube_798163201_798422401_4FGL_J1537.7-7957_daily_bin2156.fits
.....................!
real 64.13
user 59.56
sys 3.79

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 HESS J1356-645 in ROI with RadialDisk spatial model.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source HESS J1303-631 in ROI with RadialGaussian spatial model.
Extended source FGES J1409.1-6121 in ROI with RadialDisk spatial model.
Extended source HESS J1420-607 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RCW86.fits is the correct path to the extended template.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Added 262 point sources and 8 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 J1537.7-7957 @ 234.439 -79.9575

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/25589582/ft1_filtered_4FGL_J1537.7-7957_daily_bin2156.fits scfile=/lscratch/kocevski/25589582/ft2_4FGL_J1537.7-7957_daily_bin2156.fits outfile=/lscratch/kocevski/25589582/cmap_798163201_798422401_4FGL_J1537.7-7957_daily_bin2156.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=234.439 yref=-79.9575 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.65
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/25589582/ft1_filtered_4FGL_J1537.7-7957_daily_bin2156.fits scfile=/lscratch/kocevski/25589582/ft2_4FGL_J1537.7-7957_daily_bin2156.fits outfile=/lscratch/kocevski/25589582/cmap_HighResolution_798163201_798422401_4FGL_J1537.7-7957_daily_bin2156.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=234.439 yref=-79.9575 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.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/25589582/ft1_filtered_4FGL_J1537.7-7957_daily_bin2156.fits evtable="EVENTS" scfile=/lscratch/kocevski/25589582/ft2_4FGL_J1537.7-7957_daily_bin2156.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/25589582/Model_4FGL_J1537.7-7957_daily_bin2156.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 FGES J1409.1-6121
adding source FHES J1501.0-6310
adding source GAL_V02
adding source HESS J1303-631
adding source HESS J1356-645
adding source HESS J1420-607
adding source HESS J1507-622
adding source MSH 15-52
adding source RCW 86
Working on...
/lscratch/kocevski/25589582/ft1_filtered_4FGL_J1537.7-7957_daily_bin2156.fits.....................!
real 71.15
user 69.16
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/25589582/ft1_filtered_4FGL_J1537.7-7957_daily_bin2156.fits', '/lscratch/kocevski/25589582/ft2_4FGL_J1537.7-7957_daily_bin2156.fits', expMap='/lscratch/kocevski/25589582/expmap_798163201_798422401_4FGL_J1537.7-7957_daily_bin2156.fits', expCube='/lscratch/kocevski/25589582/ltcube_798163201_798422401_4FGL_J1537.7-7957_daily_bin2156.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/25589582/Model_4FGL_J1537.7-7957_daily_bin2156.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1537.7-7957'

4FGL J1537.7-7957
   Spectrum: PowerLaw
582    Prefactor:  3.145e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
583        Index:  2.248e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
584        Scale:  1.620e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/25589582/ft1_filtered_4FGL_J1537.7-7957_daily_bin2156.fits
Spacecraft file(s): /lscratch/kocevski/25589582/ft2_4FGL_J1537.7-7957_daily_bin2156.fits
Exposure map: /lscratch/kocevski/25589582/expmap_798163201_798422401_4FGL_J1537.7-7957_daily_bin2156.fits
Exposure cube: /lscratch/kocevski/25589582/ltcube_798163201_798422401_4FGL_J1537.7-7957_daily_bin2156.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/25589582/Model_4FGL_J1537.7-7957_daily_bin2156.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) = 13036.7437134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47705E-02   1.0000          .0000       .10000E+07
     2 'norm      '    1.1338       1.0000          .0000       .10000E+07
     3 'Prefactor '    20.856       1.0000          .0000       .10000E+07
     4 'Prefactor '    57.684       1.0000          .0000       .10000E+07
     5 'norm      '    .95391E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19314       1.0000          .0000       .10000E+07
     7 'norm      '    4.3441       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10960E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .92004E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.8245       1.0000          .0000       .10000E+07
    11 'norm      '    13.496       1.0000          .0000       .10000E+07
    12 'norm      '    64.674       1.0000          .0000       .10000E+07
    13 'norm      '    .78542E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1181       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95562       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13036.69     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1069 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23315E-08    12.092       -.59870E-06** at limit **
   2  norm          1.1299        4.3563       -.10859E-06    .24780E-03
   3  Prefactor     20.894        7.1908        .72511E-07    .13535E-02
   4  Prefactor     59.293        37.452        .21014E-06    .24324E-02
   5  norm          .53846E-08    16.275       -.68772E-06** at limit **
   6  Prefactor     .19041        7.8162        .10088E-05** at limit **
   7  norm          4.3299        9.3488        .42999E-07    .40961E-03
   8  Prefactor      .0000        3.3416       -.11153E-06** at limit **
   9  norm           .0000        .35390       -.79952E-07** at limit **
  10  Prefactor     2.8526        3.0407        .49711E-07    .81067E-01
  11  norm          13.473        6.3000        .14669E-06   -.34534E-02
  12  norm          65.493        57.540        .23887E-06   -.19374E-01
  13  norm          .55511E-10    8.1533        .28170E-06** at limit **
  14  Normalizat    1.1144        .29411        .92715E-05   -.82736E-05
  15  Prefactor     .95620        .76667E-01   -.29293E-05    .65863E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.33147e-09
  norm       = 1.12985
  Prefactor  = 20.8941
  Prefactor  = 59.2928
  norm       = 5.38458e-09
  Prefactor  = 0.19041
  norm       = 4.32994
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.85256
  norm       = 13.4734
  norm       = 65.4933
  norm       = 5.55112e-11
  Normalizat = 1.11442
  Prefactor  = 0.956201
 **********
 **   18 **HESSE 
 **********

 FCN=   13036.69     FROM HESSE     STATUS=OK           222 CALLS     1291 TOTAL
                     EDM=   .66E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23315E-08    12.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1299        4.3117        .10949E-02   -1.5687    
   3  Prefactor     20.894        7.2148        .21903E-03   -1.5617    
   4  Prefactor     59.293        37.428        .13167E-03   -1.5554    
   5  norm          .53846E-08    16.333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .19041        1.2715        .69887E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.3299        9.3831        .48305E-03   -1.5666    
   8  Prefactor      .0000        3.3434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .35173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.8526        28.947        .60489E-03   -1.5674    
  11  norm          13.473        6.2972        .27239E-03   -1.5635    
  12  norm          65.493        58.240        .12435E-03   -1.5546    
  13  norm          .55511E-10    8.1143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1144        .26088        .11178       -.89290    
  15  Prefactor     .95620        .67204E-01    .31905E-01   -.94204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.5588e-06
Minuit parameter uncertainties:
  1  0.000337555
  2  4.31168
  3  7.21481
  4  37.4277
  5  0.000592618
  6  0.984076
  7  9.38318
  8  5.39707e-06
  9  1.91339e-06
  10  18.1742
  11  6.29724
  12  58.2404
  13  4.13079e-05
  14  0.261183
  15  0.06721
Done.

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

Extracting fit parameters...

4FGL J1537.7-7957
   Spectrum: PowerLaw
582    Prefactor:  0.000e+00  5.397e-06  0.000e+00  1.000e+06 ( 1.000e-13)
583        Index:  2.248e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
584        Scale:  1.620e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
912    Prefactor:  9.562e-01  6.721e-02  0.000e+00  1.000e+01 ( 1.000e+00)
913        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
914        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
903   Normalization:  1.114e+00  2.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 234.439 -79.957
Photon Flux Upper Limit: 6.25696719026e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00478398753086 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/25589582/likelihoodResults_798163201_798422401_4FGL_J1537.7-7957_daily_bin2156.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) = 13036.6943771
delta logL = -0.000435449819634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13036.6939419
delta logL = -3.28558598994e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30403E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .41267       1.0000          .0000       10.000    
     3 'Normalizat'    1.1144       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95621       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13036.69     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      264 TOTAL
                     EDM=   .66E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .12893        .15559E-02** at limit **
   2  Index         3.8864        1.8277        .23317E-04     .0000    
   3  Normalizat    1.1144        1.1458        .78104E-05   -.45361E-05
   4  Prefactor     .95620        1.2981       -.11432E-05   -.10593E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.88636
  Normalizat = 1.11442
  Prefactor  = 0.956201
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13036.69     FROM HESSE     STATUS=FAILED         9 CALLS      273 TOTAL
                     EDM=   .66E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .12893        .15559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6485        2.3191        .23317E-04   -.22461    
   3  Normalizat    1.1144        1.1458        .78104E-05   -.89290    
   4  Prefactor     .95620        1.2981       -.11432E-05   -.94204    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.58961e-12
Minuit parameter uncertainties:
  1  2.87599e-07
  2  1.87344
  3  1.17298
  4  1.34441
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) = 13036.6939416
delta logL = 0.0

Extracting fit parameters...

4FGL J1537.7-7957
   Spectrum: PowerLaw
582    Prefactor:  0.000e+00  2.876e-07  0.000e+00  1.000e+06 ( 1.000e-13)
583        Index:  3.886e+00  1.873e+00  0.000e+00  1.000e+01 (-1.000e+00)
584        Scale:  1.620e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
912    Prefactor:  9.562e-01  1.344e+00  0.000e+00  1.000e+01 ( 1.000e+00)
913        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
914        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
903   Normalization:  1.114e+00  1.173e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 234.439 -79.957

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/25589582/cmap_HighResolution_798163201_798422401_4FGL_J1537.7-7957_daily_bin2156.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-03', job_status='DONE', photon_flux_upper_limit='6.26e-08', time_completed='2026-04-21 00:55:54.962662', job_id='25589582', GAL2='0.96', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1776758154.96', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='2156' AND source_name='4FGL J1537.7-7957' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 21 00:55:55 PDT 2026

