aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 188 seconds before starting...
Proceeding.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7682
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1957.1-3231_daily_bin1764
RA = 299.286, Dec = -32.5246
tmin = 696556801, tmax = 696816001
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='460636', job_status='RUN', time_executed='2023-01-31 01:44:49.721813', time_epoch_executed='1675158289.72' WHERE source_name='4FGL J1957.1-3231' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/460636

Creating custom pfile directory:
/scratch/kocevski/460636/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=696556801.0 && nMetStart<696816001.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=696556801.0 && nMetStart<696816001.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/460636/ft1_4FGL_J1957.1-3231_daily_bin1764.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=696556801.0 && nMetStart<696816001.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/460636/ft2_4FGL_J1957.1-3231_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/460636/ft1_4FGL_J1957.1-3231_daily_bin1764.fits outfile=/scratch/kocevski/460636/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1764.fits ra=299.286 dec=-32.5246 rad=12.0 tmin=696556801.0 tmax=696816001.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 3.78
user 3.50
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/460636/ft2_4FGL_J1957.1-3231_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/460636/ft2_4FGL_J1957.1-3231_daily_bin1764.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/460636/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/460636/ft1_filtered_4FGL_J1957.1-3231_daily_bin1764.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 862

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/460636/ft1_filtered_4FGL_J1957.1-3231_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/460636/ft2_4FGL_J1957.1-3231_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/460636/ltcube_696556801_696816001_4FGL_J1957.1-3231_daily_bin1764.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 /scratch/kocevski/460636/ft2_4FGL_J1957.1-3231_daily_bin1764.fits
.....................!
real 16.03
user 15.52
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/460636/ft1_filtered_4FGL_J1957.1-3231_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/460636/ft2_4FGL_J1957.1-3231_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/460636/ltcube_696556801_696816001_4FGL_J1957.1-3231_daily_bin1764.fits outfile=/scratch/kocevski/460636/expmap_696556801_696816001_4FGL_J1957.1-3231_daily_bin1764.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 /scratch/kocevski/460636/ltcube_696556801_696816001_4FGL_J1957.1-3231_daily_bin1764.fits
.....................!
real 192.49
user 186.82
sys 4.61

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 218 point sources and 0 extended sources

Setting source of interest to:
4FGL J1957.1-3231 @ 299.286 -32.5246

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/460636/ft1_filtered_4FGL_J1957.1-3231_daily_bin1764.fits scfile=/scratch/kocevski/460636/ft2_4FGL_J1957.1-3231_daily_bin1764.fits outfile=/scratch/kocevski/460636/cmap_696556801_696816001_4FGL_J1957.1-3231_daily_bin1764.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=299.286 yref=-32.5246 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.59
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/460636/ft1_filtered_4FGL_J1957.1-3231_daily_bin1764.fits scfile=/scratch/kocevski/460636/ft2_4FGL_J1957.1-3231_daily_bin1764.fits outfile=/scratch/kocevski/460636/cmap_HighResolution_696556801_696816001_4FGL_J1957.1-3231_daily_bin1764.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=299.286 yref=-32.5246 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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/460636/ft1_filtered_4FGL_J1957.1-3231_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/460636/ft2_4FGL_J1957.1-3231_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/460636/Model_4FGL_J1957.1-3231_daily_bin1764.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...
/scratch/kocevski/460636/ft1_filtered_4FGL_J1957.1-3231_daily_bin1764.fits.....................!
real 85.68
user 84.13
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/460636/ft1_filtered_4FGL_J1957.1-3231_daily_bin1764.fits', '/scratch/kocevski/460636/ft2_4FGL_J1957.1-3231_daily_bin1764.fits', expMap='/scratch/kocevski/460636/expmap_696556801_696816001_4FGL_J1957.1-3231_daily_bin1764.fits', expCube='/scratch/kocevski/460636/ltcube_696556801_696816001_4FGL_J1957.1-3231_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/460636/Model_4FGL_J1957.1-3231_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1957.1-3231'

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  1.079e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
459        Index:  2.579e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
460        Scale:  7.441e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/460636/ft1_filtered_4FGL_J1957.1-3231_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/460636/ft2_4FGL_J1957.1-3231_daily_bin1764.fits
Exposure map: /scratch/kocevski/460636/expmap_696556801_696816001_4FGL_J1957.1-3231_daily_bin1764.fits
Exposure cube: /scratch/kocevski/460636/ltcube_696556801_696816001_4FGL_J1957.1-3231_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/460636/Model_4FGL_J1957.1-3231_daily_bin1764.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) = 9356.82949879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62728E-08   1.0000          .0000       .10000E+07
     2 'norm      '    2.5303       1.0000          .0000       .10000E+07
     3 'Prefactor '    .63838E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    18.116       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.209       1.0000          .0000       .10000E+07
     6 'norm      '    9.4422       1.0000          .0000       .10000E+07
     7 'Prefactor '    14.794       1.0000          .0000       .10000E+07
     8 'norm      '    6.9240       1.0000          .0000       .10000E+07
     9 'Prefactor '    23.252       1.0000          .0000       .10000E+07
    10 'norm      '    .13933E-07   1.0000          .0000       .10000E+07
    11 'norm      '    36.403       1.0000          .0000       .10000E+07
    12 'norm      '    9.5725       1.0000          .0000       .10000E+07
    13 'Prefactor '    .35265E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .22204E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.737       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1051       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0413       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9356.821     FROM MIGRAD    STATUS=CONVERGED     96 CALLS     1387 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.8264        .23856E-06** at limit **
   2  norm          2.5304        2.3099        .68521E-07    .28457E-03
   3  Prefactor      .0000        2.7973       -.15113E-07** at limit **
   4  Prefactor     18.115        8.2487       -.56952E-06   -.13003    
   5  Prefactor     19.207        1.8213        .12309E-06   -.31264E-01
   6  norm          9.4425        1.3668       -.88255E-07   -.11007E-01
   7  Prefactor     14.794        7.7823       -.29152E-06   -.35303E-02
   8  norm          6.9245        1.6856        .15182E-07    .15333E-03
   9  Prefactor     23.242        1.9606        .12721E-06   -.49374E-01
  10  norm          .16653E-09    4.7353       -.30201E-06** at limit **
  11  norm          36.395        8.8176        .47908E-06   -.13129    
  12  norm          9.5608        7.9801       -.81035E-06    .14395E-01
  13  Prefactor     .13711E-07    93.720        .10350E-04** at limit **
  14  norm          .11657E-08    13.159        .90571E-06** at limit **
  15  Prefactor     10.705        10.564        .16840E-07    .81558E-02
  16  Normalizat    1.1048        .35434       -.85991E-05   -.38532E-04
  17  Prefactor     1.0413        .10229       -.68524E-06   -.11259E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 2.53043
  Prefactor  = 0
  Prefactor  = 18.1151
  Prefactor  = 19.2068
  norm       = 9.44249
  Prefactor  = 14.7942
  norm       = 6.92453
  Prefactor  = 23.2416
  norm       = 1.66533e-10
  norm       = 36.3951
  norm       = 9.56078
  Prefactor  = 1.37113e-08
  norm       = 1.16573e-09
  Prefactor  = 10.705
  Normalizat = 1.10481
  Prefactor  = 1.0413
 **********
 **   18 **HESSE 
 **********

 FCN=   9356.821     FROM HESSE     STATUS=OK           259 CALLS     1646 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.8199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.5304        2.3096        .64186E-03   -1.5676    
   3  Prefactor      .0000        2.7925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.115        12.249        .23504E-03   -1.5623    
   5  Prefactor     19.207        23.609        .22824E-03   -1.5620    
   6  norm          9.4425        17.359        .32589E-03   -1.5647    
   7  Prefactor     14.794        7.8489        .26014E-03   -1.5631    
   8  norm          6.9245        1.6886        .38104E-03   -1.5655    
   9  Prefactor     23.242        29.638        .20743E-03   -1.5612    
  10  norm          .16653E-09    4.7275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          36.395        18.016        .16576E-03   -1.5587    
  12  norm          9.5608        14.941        .32366E-03   -1.5646    
  13  Prefactor     .13711E-07    93.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .11657E-08    13.178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.705        10.558        .30552E-03   -1.5643    
  16  Normalizat    1.1048        .32038        .11868       -.89597    
  17  Prefactor     1.0413        .90403E-01    .40449E-01   -.91365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28113e-07
Minuit parameter uncertainties:
  1  1.7292e-06
  2  2.30959
  3  1.86913e-06
  4  12.2495
  5  23.6088
  6  17.3589
  7  7.8489
  8  1.68865
  9  29.6383
  10  5.72519e-05
  11  18.0158
  12  14.9408
  13  0.00226663
  14  0.000247514
  15  10.5579
  16  0.320942
  17  0.0904165
Done.

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

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  1.479e+01  7.849e+00  0.000e+00  1.000e+06 ( 1.000e-12)
459        Index:  2.579e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
460        Scale:  7.441e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
752    Prefactor:  1.041e+00  9.042e-02  0.000e+00  1.000e+01 ( 1.000e+00)
753        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
754        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
751   Normalization:  1.105e+00  3.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.77
Ra Dec: 299.286 -32.525
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 1.66e-07 +/- 8.80e-08
Energy Flux (Fixed Index): 4.44e-05 +/- 2.36e-05

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) = 9356.64721518
delta logL = 0.173908892244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9356.63207857
delta logL = 0.189045501465

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9356.632     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      266 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.938        83.221        .28965E-03    .19758E-02
   2  Index         2.8972        2.9072        .16403        .16197E-03
   3  Normalizat    1.0597        .13397        .12079        .65377E-04
   4  Prefactor     1.0487        .33769E-01    .39986E-01    .17874E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.9382
  Index      = 2.89723
  Normalizat = 1.05967
  Prefactor  = 1.04874
 **********
 **   18 **HESSE 
 **********

 FCN=   9356.632     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.938        8.9285        .11586E-04   -1.5639    
   2  Index         2.8972        .57563        .57182E-02   -.43406    
   3  Normalizat    1.0597        .34887        .53582E-03   -.91057    
   4  Prefactor     1.0487        .10247        .16085E-03   -.91122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32486e-11
Minuit parameter uncertainties:
  1  8.92847
  2  0.577185
  3  0.349624
  4  0.102494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/460636': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9356.63207683
delta logL = 0.189047244599

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  1.194e+01  8.928e+00  0.000e+00  1.000e+06 ( 1.000e-12)
459        Index:  2.897e+00  5.772e-01  0.000e+00  1.000e+01 (-1.000e+00)
460        Scale:  7.441e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
752    Prefactor:  1.049e+00  1.025e-01  0.000e+00  1.000e+01 ( 1.000e+00)
753        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
754        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
751   Normalization:  1.060e+00  3.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.20
Ra Dec: 299.286 -32.525
Photon Index (Free Index): 2.90 +/- 0.58
Photon Flux (Free Index): 2.11e-07 +/- 1.18e-07
Energy Flux (Free Index): 4.45e-05 +/- 2.16e-05

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 /scratch/kocevski/460636/cmap_HighResolution_696556801_696816001_4FGL_J1957.1-3231_daily_bin1764.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/460636

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.66e-07', energy_flux2='4.45e-05', photon_flux_error='8.80e-08', dlogl='1.89e-01', energy_flux='4.44e-05', photon_flux2='2.11e-07', job_status='DONE', time_completed='2023-01-31 01:56:08.499785', photon_index_error2='0.58', photon_index2='2.90', ts='6.77', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='2.16e-05', EG='1.10', time_epoch_completed='1675158968.5', return_code='0', job_id='460636', GAL2='1.05', EG2='1.06', return_code2='0', energy_flux_error='2.36e-05', photon_flux_error2='1.18e-07', ts2='7.20', photon_index='2.58' WHERE bin_id='1764' AND source_name='4FGL J1957.1-3231' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 01:56:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 460636: <4FGL_J1957.1-3231_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1957.1-3231_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 01:40:25 2023
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:41:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:41:28 2023
Terminated at Tue Jan 31 01:56:09 2023
Results reported at Tue Jan 31 01:56:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1957.1-3231_daily_bin1764 299.286 -32.5246 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1957.1-3231 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   679.43 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             308.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            944 sec.

The output (if any) is above this job summary.

