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


Performing analysis on: 4FGL_J1957.1-3231_daily_bin1748
RA = 299.286, Dec = -32.5246
tmin = 692409601, tmax = 692668801
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='894084', job_status='RUN', time_executed='2022-12-14 01:08:30.661313', time_epoch_executed='1671008910.66' WHERE source_name='4FGL J1957.1-3231' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/894084

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/894084/ft1_4FGL_J1957.1-3231_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/894084/ft2_4FGL_J1957.1-3231_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/894084/ft1_4FGL_J1957.1-3231_daily_bin1748.fits outfile=/scratch/kocevski/894084/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1748.fits ra=299.286 dec=-32.5246 rad=12.0 tmin=692409601.0 tmax=692668801.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.66
user 3.32
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/894084/ft2_4FGL_J1957.1-3231_daily_bin1748.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/894084/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/894084/ft1_filtered_4FGL_J1957.1-3231_daily_bin1748.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.57
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 744

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/894084/ft1_filtered_4FGL_J1957.1-3231_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/894084/ft2_4FGL_J1957.1-3231_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/894084/ltcube_692409601_692668801_4FGL_J1957.1-3231_daily_bin1748.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/894084/ft2_4FGL_J1957.1-3231_daily_bin1748.fits
.....................!
real 11.69
user 11.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/894084/ft1_filtered_4FGL_J1957.1-3231_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/894084/ft2_4FGL_J1957.1-3231_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/894084/ltcube_692409601_692668801_4FGL_J1957.1-3231_daily_bin1748.fits outfile=/scratch/kocevski/894084/expmap_692409601_692668801_4FGL_J1957.1-3231_daily_bin1748.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/894084/ltcube_692409601_692668801_4FGL_J1957.1-3231_daily_bin1748.fits
.....................!
real 191.04
user 185.76
sys 4.94

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/894084/ft1_filtered_4FGL_J1957.1-3231_daily_bin1748.fits scfile=/scratch/kocevski/894084/ft2_4FGL_J1957.1-3231_daily_bin1748.fits outfile=/scratch/kocevski/894084/cmap_692409601_692668801_4FGL_J1957.1-3231_daily_bin1748.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/894084/ft1_filtered_4FGL_J1957.1-3231_daily_bin1748.fits scfile=/scratch/kocevski/894084/ft2_4FGL_J1957.1-3231_daily_bin1748.fits outfile=/scratch/kocevski/894084/cmap_HighResolution_692409601_692668801_4FGL_J1957.1-3231_daily_bin1748.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/894084/ft1_filtered_4FGL_J1957.1-3231_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/894084/ft2_4FGL_J1957.1-3231_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/894084/Model_4FGL_J1957.1-3231_daily_bin1748.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/894084/ft1_filtered_4FGL_J1957.1-3231_daily_bin1748.fits.....................!
real 74.29
user 72.87
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66783E-02   1.0000          .0000       .10000E+07
     2 'norm      '    1.4349       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.440       1.0000          .0000       .10000E+07
     4 'Prefactor '    18.688       1.0000          .0000       .10000E+07
     5 'Prefactor '    22.723       1.0000          .0000       .10000E+07
     6 'norm      '    29.389       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55822E-06   1.0000          .0000       .10000E+07
     8 'norm      '    16.149       1.0000          .0000       .10000E+07
     9 'Prefactor '    .38725E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .16971E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .20006E-06   1.0000          .0000       .10000E+07
    12 'norm      '    17.005       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.269       1.0000          .0000       .10000E+07
    14 'norm      '    .48299E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .20900E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2462       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .86110       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=   8098.734     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      957 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67236E-05    42.072       -.14099E-04** at limit **
   2  norm          1.4356        1.6369        .42962E-06   -.10468E-02
   3  Prefactor     12.465        6.8842        .82138E-07    .52517E-02
   4  Prefactor     18.292        15.428       -.25826E-05   -.32671E-01
   5  Prefactor     19.960        15.889       -.29764E-05   -.97610E-01
   6  norm          29.223        5.0056       -.90153E-06    .85117E-01
   7  Prefactor     .33307E-09    7.6117        .21855E-06** at limit **
   8  norm          16.152        2.4367        .28948E-07   -.39633E-02
   9  Prefactor     .91593E-08    11.145        .26919E-06** at limit **
  10  norm          .55511E-10    3.3999        .46074E-07** at limit **
  11  norm           .0000        5.8133        .18729E-06** at limit **
  12  norm          17.061        2.1798        .21345E-06    .97333E-01
  13  Prefactor     13.877        6.0062        .39119E-06    .53123E-01
  14  norm          .10579E-05    69.757        .60010E-06** at limit **
  15  Prefactor     .55511E-10    2.7239        .26665E-06** at limit **
  16  Normalizat    1.2471        .35495        .15641E-04    .67665E-04
  17  Prefactor     .86152        .10450        .14711E-05   -.20061E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.72362e-06
  norm       = 1.43561
  Prefactor  = 12.4646
  Prefactor  = 18.2918
  Prefactor  = 19.9601
  norm       = 29.2228
  Prefactor  = 3.33067e-10
  norm       = 16.152
  Prefactor  = 9.15934e-09
  norm       = 5.55112e-11
  norm       = 0
  norm       = 17.061
  Prefactor  = 13.877
  norm       = 1.05793e-06
  Prefactor  = 5.55112e-11
  Normalizat = 1.24712
  Prefactor  = 0.861519
 **********
 **   18 **HESSE 
 **********

 FCN=   8098.734     FROM HESSE     STATUS=OK           257 CALLS     1214 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67236E-05    51.974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4356        1.6367        .90095E-03   -1.5684    
   3  Prefactor     12.465        6.9022        .28375E-03   -1.5637    
   4  Prefactor     18.292        16.554        .23141E-03   -1.5622    
   5  Prefactor     19.960        31.088        .20984E-03   -1.5619    
   6  norm          29.223        25.592        .18449E-03   -1.5600    
   7  Prefactor     .33307E-09    7.5617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          16.152        2.4392        .24897E-03   -1.5628    
   9  Prefactor     .91593E-08    11.189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    3.4006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        5.7935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          17.061        12.681        .24260E-03   -1.5625    
  13  Prefactor     13.877        43.962        .26489E-03   -1.5633    
  14  norm          .10579E-05    74.600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    2.7225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2471        .30757        .10584       -.85159    
  17  Prefactor     .86152        .88666E-01    .44507E-01   -.97499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24804e-06
Minuit parameter uncertainties:
  1  0.0373878
  2  1.63668
  3  6.9022
  4  16.554
  5  31.0882
  6  25.5923
  7  0.000102255
  8  2.43924
  9  0.000639673
  10  2.32949e-05
  11  2.36286e-05
  12  12.6808
  13  43.9631
  14  0.0177677
  15  2.29859e-05
  16  0.308016
  17  0.0886808
Done.

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

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  3.331e-10  1.023e-04  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:  8.615e-01  8.868e-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.247e+00  3.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/894084/likelihoodResults_692409601_692668801_4FGL_J1957.1-3231_daily_bin1748.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) = 8098.81020257
delta logL = -0.0764476280629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8098.73375495
delta logL = -5.1277311286e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24980E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.8075       1.0000          .0000       10.000    
     3 'Normalizat'    1.2472       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86151       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=   8098.734     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      230 TOTAL
                     EDM=   .21E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44409E-09    .51895E-01    .42118E-03** at limit **
   2  Index         2.5957        5.4681        .50000        .25011E-09
   3  Normalizat    1.2471        .66037E-03    .10584        .14114E-03
   4  Prefactor     .86152        .19479E-03    .44513E-01    .22375E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44089e-10
  Index      = 2.59572
  Normalizat = 1.24712
  Prefactor  = 0.86152
 **********
 **   18 **HESSE 
 **********

 FCN=   8098.734     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      261 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44409E-09    .27016        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5957        5.8351        .50000       -.50163    
   3  Normalizat    1.2471        .14936E-02    .46914E-03   -.85159    
   4  Prefactor     .86152        .44181E-03    .16229E-03   -.97499    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.09437e-12
Minuit parameter uncertainties:
  1  2.1244e-05
  2  6811.13
  3  0.00149365
  4  0.000441812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/894084': 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) = 8098.73375495
delta logL = 6.8212102633e-11

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  4.441e-10  2.124e-05  0.000e+00  1.000e+06 ( 1.000e-12)
459        Index:  2.596e+00  6.811e+03  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:  8.615e-01  4.418e-04  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.247e+00  1.494e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/894084/cmap_HighResolution_692409601_692668801_4FGL_J1957.1-3231_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.41e-07', time_completed='2022-12-14 01:18:29.240695', job_id='894084', GAL2='0.86', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1671009509.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='6.82e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1748' AND source_name='4FGL J1957.1-3231' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:18:29 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 894084: <4FGL_J1957.1-3231_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1957.1-3231_daily_bin1748> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Dec 14 01:05:30 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:05:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:05:32 2022
Terminated at Wed Dec 14 01:18:30 2022
Results reported at Wed Dec 14 01:18:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1957.1-3231_daily_bin1748 299.286 -32.5246 692409601 692668801 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 :                                   600.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            780 sec.

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

