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


Performing analysis on: 4FGL_J1957.1-3231_daily_bin1757
RA = 299.286, Dec = -32.5246
tmin = 694742401, tmax = 695001601
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='219325', job_status='RUN', time_executed='2023-01-10 02:12:12.909555', time_epoch_executed='1673345532.91' WHERE source_name='4FGL J1957.1-3231' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219325

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219325/ft1_4FGL_J1957.1-3231_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219325/ft2_4FGL_J1957.1-3231_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219325/ft1_4FGL_J1957.1-3231_daily_bin1757.fits outfile=/scratch/kocevski/219325/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1757.fits ra=299.286 dec=-32.5246 rad=12.0 tmin=694742401.0 tmax=695001601.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 5.31
user 4.97
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/219325/ft2_4FGL_J1957.1-3231_daily_bin1757.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/219325/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/219325/ft1_filtered_4FGL_J1957.1-3231_daily_bin1757.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.80
user 0.58
sys 0.20

Number of photons that the gtmktime cut: 84

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/219325/ft1_filtered_4FGL_J1957.1-3231_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/219325/ft2_4FGL_J1957.1-3231_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/219325/ltcube_694742401_695001601_4FGL_J1957.1-3231_daily_bin1757.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/219325/ft2_4FGL_J1957.1-3231_daily_bin1757.fits
.....................!
real 26.90
user 26.25
sys 0.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219325/ft1_filtered_4FGL_J1957.1-3231_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/219325/ft2_4FGL_J1957.1-3231_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/219325/ltcube_694742401_695001601_4FGL_J1957.1-3231_daily_bin1757.fits outfile=/scratch/kocevski/219325/expmap_694742401_695001601_4FGL_J1957.1-3231_daily_bin1757.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/219325/ltcube_694742401_695001601_4FGL_J1957.1-3231_daily_bin1757.fits
.....................!
real 353.69
user 343.10
sys 9.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/219325/ft1_filtered_4FGL_J1957.1-3231_daily_bin1757.fits scfile=/scratch/kocevski/219325/ft2_4FGL_J1957.1-3231_daily_bin1757.fits outfile=/scratch/kocevski/219325/cmap_694742401_695001601_4FGL_J1957.1-3231_daily_bin1757.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.88
user 0.66
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/219325/ft1_filtered_4FGL_J1957.1-3231_daily_bin1757.fits scfile=/scratch/kocevski/219325/ft2_4FGL_J1957.1-3231_daily_bin1757.fits outfile=/scratch/kocevski/219325/cmap_HighResolution_694742401_695001601_4FGL_J1957.1-3231_daily_bin1757.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.91
user 0.66
sys 0.21

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/219325/ft1_filtered_4FGL_J1957.1-3231_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/219325/ft2_4FGL_J1957.1-3231_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/219325/Model_4FGL_J1957.1-3231_daily_bin1757.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/219325/ft1_filtered_4FGL_J1957.1-3231_daily_bin1757.fits.....................!
real 38.24
user 36.12
sys 1.99

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/219325/ft1_filtered_4FGL_J1957.1-3231_daily_bin1757.fits', '/scratch/kocevski/219325/ft2_4FGL_J1957.1-3231_daily_bin1757.fits', expMap='/scratch/kocevski/219325/expmap_694742401_695001601_4FGL_J1957.1-3231_daily_bin1757.fits', expCube='/scratch/kocevski/219325/ltcube_694742401_695001601_4FGL_J1957.1-3231_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/219325/Model_4FGL_J1957.1-3231_daily_bin1757.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/219325/ft1_filtered_4FGL_J1957.1-3231_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/219325/ft2_4FGL_J1957.1-3231_daily_bin1757.fits
Exposure map: /scratch/kocevski/219325/expmap_694742401_695001601_4FGL_J1957.1-3231_daily_bin1757.fits
Exposure cube: /scratch/kocevski/219325/ltcube_694742401_695001601_4FGL_J1957.1-3231_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/219325/Model_4FGL_J1957.1-3231_daily_bin1757.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) = 708.765531985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90138       1.0000          .0000       .10000E+07
     2 'norm      '    .90644       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .75615       1.0000          .0000       .10000E+07
     5 'Prefactor '    1309.2       1.0000          .0000       .10000E+07
     6 'norm      '    .72278       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11411E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .82823E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .84769E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .84377E-01   1.0000          .0000       .10000E+07
    11 'norm      '    3.6132       1.0000          .0000       .10000E+07
    12 'norm      '    .28456E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .89000E-03   1.0000          .0000       .10000E+07
    14 'norm      '    12.855       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.2786       1.0000          .0000       .10000E+07
    16 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    17 'Prefactor '    .28012       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=   708.6959     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1633 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35515E-03    1039.7        .36681E-05** at limit **
   2  norm          .80745E-03    1058.3        .38968E-05** at limit **
   3  Prefactor     .10000E+07    316.93       -.16044E-05** at limit **
   4  Prefactor     .50048E-05    1367.0       -.31718E-05** at limit **
   5  Prefactor     1309.2        1.5668       -.27237E-08   -.12087E-01
   6  norm          .16653E-09    434.37       -.80575E-06** at limit **
   7  Prefactor     .27756E-09    7.7405        .37566E-06** at limit **
   8  norm          .55511E-10    1.4461       -.12531E-06** at limit **
   9  Prefactor      .0000        67.460        .42259E-07** at limit **
  10  norm          .88818E-09    25.313       -.68801E-06** at limit **
  11  norm          .54956E-08    330.56       -.18978E-05** at limit **
  12  norm          .66613E-09    6.4093       -.59273E-06** at limit **
  13  Prefactor     .12268E-07    155.45       -.22182E-05** at limit **
  14  norm          12.854        26.240       -.11608E-05    .22758E-02
  15  Prefactor     8.2225        11.576       -.19794E-06    .28430E-02
  16  Normalizat    .10000E-01    .95874E-01   -.35542E-05** at limit **
  17  Prefactor     .28253        .10323       -.10331E-04    .32114E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000355149
  norm       = 0.000807445
  Prefactor  = 1e+06
  Prefactor  = 5.00477e-06
  Prefactor  = 1309.21
  norm       = 1.66533e-10
  Prefactor  = 2.77556e-10
  norm       = 5.55112e-11
  Prefactor  = 0
  norm       = 8.88178e-10
  norm       = 5.4956e-09
  norm       = 6.66134e-10
  Prefactor  = 1.2268e-08
  norm       = 12.8544
  Prefactor  = 8.22248
  Normalizat = 0.01
  Prefactor  = 0.282526
 **********
 **   18 **HESSE 
 **********

 FCN=   708.6959     FROM HESSE     STATUS=OK           247 CALLS     1880 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35515E-03    2069.2        .45665E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .80745E-03    2291.7        .45316E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E+07    7896.3        .10063E-01    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .50048E-05    1373.1        .56262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1309.2        1507.8        .27655E-04   -1.4984    
   6  norm          .16653E-09    434.25        .58878E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    7.7389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    1.4479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        67.477        .14358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .88818E-09    25.227        .14369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .54956E-08    324.98        .53130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .66613E-09    6.4118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12268E-07    155.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.854        26.170        .27912E-03   -1.5636    
  15  Prefactor     8.2225        11.417        .34819E-03   -1.5651    
  16  Normalizat    .10000E-01    .95682E-01    .11559       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .28253        .10267        .36492E-01   -1.2330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13468e-06
Minuit parameter uncertainties:
  1  1.7151
  2  2.72163
  3  9.38317
  4  0.165835
  5  1508.24
  6  0.00052608
  7  9.1391e-05
  8  1.31028e-05
  9  2.59303e-05
  10  0.000301976
  11  0.00266956
  12  0.000131262
  13  0.00275847
  14  26.1699
  15  11.4169
  16  3.11412e-07
  17  0.102734
Done.

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

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  2.776e-10  9.139e-05  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:  2.825e-01  1.027e-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.000e-02  3.114e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 299.286 -32.525
Photon Flux Upper Limit: 5.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/219325/likelihoodResults_694742401_695001601_4FGL_J1957.1-3231_daily_bin1757.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 708.702640103
delta logL = -0.00669663073631

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 708.695943481
delta logL = -8.56266524352e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23648E-07   1.0000          .0000       .10000E+07
     2 'Index     '    3.0725       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .28253       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=   708.6959     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      270 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    6.1015        .42118E-03** at limit **
   2  Index         .96099        6.3591        .50000       -.51159E-10
   3  Normalizat    .10000E-01    .17791E-03    .11559    ** at limit **
   4  Prefactor     .28253        .40883E-02    .36528E-01    .24957E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 0.960985
  Normalizat = 0.01
  Prefactor  = 0.282526
 **********
 **   18 **HESSE 
 **********

 FCN=   708.6959     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      295 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.5642        .66038E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .96099        9.1150        .20000       -.94042    
   3  Normalizat    .10000E-01    .13671E-03    .50445E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .28253        .35340E-02    .14747E-03   -1.2330    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.21445e-11
Minuit parameter uncertainties:
  1  4.76751e-05
  2  105600
  3  7.5929e-08
  4  0.00353404
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219325': 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): 102
logL (Free Index) = 708.695943473
delta logL = 7.49196260585e-11

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  1.110e-10  4.768e-05  0.000e+00  1.000e+06 ( 1.000e-12)
459        Index:  9.610e-01  1.056e+05  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:  2.825e-01  3.534e-03  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.000e-02  7.593e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 299.286 -32.525

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/219325/cmap_HighResolution_694742401_695001601_4FGL_J1957.1-3231_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.04e-02', job_status='DONE', photon_flux_upper_limit='5.17e-07', time_completed='2023-01-10 02:23:36.525505', job_id='219325', GAL2='0.28', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1673346216.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.28', dlogl='7.49e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1757' AND source_name='4FGL J1957.1-3231' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:23:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 219325: <4FGL_J1957.1-3231_daily_bin1757> in cluster <slac> Done

Job <4FGL_J1957.1-3231_daily_bin1757> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 10 02:10:18 2023
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:11:09 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:11:09 2023
Terminated at Tue Jan 10 02:23:37 2023
Results reported at Tue Jan 10 02:23:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1957.1-3231_daily_bin1757 299.286 -32.5246 694742401 695001601 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 :                                   690.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            799 sec.

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

