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


Performing analysis on: 4FGL_J1957.1-3231_daily_bin1746
RA = 299.286, Dec = -32.5246
tmin = 691891201, tmax = 692150401
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='737770', job_status='RUN', time_executed='2022-12-08 01:38:53.332052', time_epoch_executed='1670492333.33' WHERE source_name='4FGL J1957.1-3231' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/737770

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/737770/ft1_4FGL_J1957.1-3231_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/737770/ft2_4FGL_J1957.1-3231_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/737770/ft1_4FGL_J1957.1-3231_daily_bin1746.fits outfile=/scratch/kocevski/737770/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1746.fits ra=299.286 dec=-32.5246 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.75
user 4.51
sys 0.22

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

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

Number of photons that the gtmktime cut: 723

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/737770/ft1_filtered_4FGL_J1957.1-3231_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/737770/ft2_4FGL_J1957.1-3231_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/737770/ltcube_691891201_692150401_4FGL_J1957.1-3231_daily_bin1746.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/737770/ft2_4FGL_J1957.1-3231_daily_bin1746.fits
.....................!
real 12.29
user 11.90
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/737770/ft1_filtered_4FGL_J1957.1-3231_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/737770/ft2_4FGL_J1957.1-3231_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/737770/ltcube_691891201_692150401_4FGL_J1957.1-3231_daily_bin1746.fits outfile=/scratch/kocevski/737770/expmap_691891201_692150401_4FGL_J1957.1-3231_daily_bin1746.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/737770/ltcube_691891201_692150401_4FGL_J1957.1-3231_daily_bin1746.fits
.....................!
real 190.09
user 184.95
sys 4.82

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/737770/ft1_filtered_4FGL_J1957.1-3231_daily_bin1746.fits scfile=/scratch/kocevski/737770/ft2_4FGL_J1957.1-3231_daily_bin1746.fits outfile=/scratch/kocevski/737770/cmap_691891201_692150401_4FGL_J1957.1-3231_daily_bin1746.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/737770/ft1_filtered_4FGL_J1957.1-3231_daily_bin1746.fits scfile=/scratch/kocevski/737770/ft2_4FGL_J1957.1-3231_daily_bin1746.fits outfile=/scratch/kocevski/737770/cmap_HighResolution_691891201_692150401_4FGL_J1957.1-3231_daily_bin1746.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/737770/ft1_filtered_4FGL_J1957.1-3231_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/737770/ft2_4FGL_J1957.1-3231_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/737770/Model_4FGL_J1957.1-3231_daily_bin1746.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/737770/ft1_filtered_4FGL_J1957.1-3231_daily_bin1746.fits.....................!
real 76.22
user 74.86
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.522       1.0000          .0000       .10000E+07
     2 'norm      '    .11267E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.0892       1.0000          .0000       .10000E+07
     4 'Prefactor '    .31483E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19866       1.0000          .0000       .10000E+07
     6 'norm      '    13.053       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.6766       1.0000          .0000       .10000E+07
     8 'norm      '    13.547       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25948       1.0000          .0000       .10000E+07
    10 'norm      '    4.3269       1.0000          .0000       .10000E+07
    11 'norm      '    .12654E-03   1.0000          .0000       .10000E+07
    12 'norm      '    10.046       1.0000          .0000       .10000E+07
    13 'Prefactor '    37.819       1.0000          .0000       .10000E+07
    14 'norm      '    .92946E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10841E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2848       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .89997       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=   7950.342     FROM MIGRAD    STATUS=CONVERGED     86 CALLS     1134 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.698        10.273       -.18065E-05   -.50516E-01
   2  norm           .0000        .97932        .20601E-06** at limit **
   3  Prefactor     5.0840        4.7740       -.24361E-06   -.70594E-04
   4  Prefactor     .41467E-07    4.3056       -.10112E-05** at limit **
   5  Prefactor     .81213E-07    3.2772        .58061E-06** at limit **
   6  norm          13.066        1.2605        .52599E-07   -.29380E-02
   7  Prefactor     4.7462        8.2325        .51267E-06   -.80273E-03
   8  norm          13.547        2.3448       -.50961E-07    .61156E-03
   9  Prefactor     .51570E-07    2.8792       -.62179E-07** at limit **
  10  norm          4.4287        9.3994        .12170E-05    .31057E-02
  11  norm          .47184E-08    12.550       -.16612E-05** at limit **
  12  norm          10.114        1.2969        .48181E-07   -.20103E-02
  13  Prefactor     37.716        4.2225       -.55499E-06    .14013    
  14  norm          .52458E-07    4.9759        .10320E-05** at limit **
  15  Prefactor     .46074E-08    10.133        .20940E-05** at limit **
  16  Normalizat    1.2840        .34764        .58952E-05    .13899E-04
  17  Prefactor     .89991        .10209        .10608E-05    .29403E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 20.6976
  norm       = 0
  Prefactor  = 5.08398
  Prefactor  = 4.14668e-08
  Prefactor  = 8.12128e-08
  norm       = 13.0656
  Prefactor  = 4.74622
  norm       = 13.5468
  Prefactor  = 5.15699e-08
  norm       = 4.42872
  norm       = 4.71845e-09
  norm       = 10.1142
  Prefactor  = 37.7156
  norm       = 5.2458e-08
  Prefactor  = 4.60743e-09
  Normalizat = 1.284
  Prefactor  = 0.899908
 **********
 **   18 **HESSE 
 **********

 FCN=   7950.342     FROM HESSE     STATUS=OK           257 CALLS     1391 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.698        11.266        .22081E-03   -1.5617    
   2  norm           .0000        .97884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.0840        4.7866        .44546E-03   -1.5663    
   4  Prefactor     .41467E-07    7.9294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .81213E-07    77.149        .11800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.066        14.021        .27699E-03   -1.5636    
   7  Prefactor     4.7462        8.2526        .46512E-03   -1.5664    
   8  norm          13.547        2.3510        .27188E-03   -1.5634    
   9  Prefactor     .51570E-07    80.314        .10800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.4287        9.4411        .48403E-03   -1.5666    
  11  norm          .47184E-08    12.972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.114        15.556        .31590E-03   -1.5644    
  13  Prefactor     37.716        86.566        .16263E-03   -1.5585    
  14  norm          .52458E-07    7.4654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .46074E-08    10.904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2840        .31636        .10648       -.84045    
  17  Prefactor     .89991        .88357E-01    .45005E-01   -.96144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03043e-06
Minuit parameter uncertainties:
  1  11.2664
  2  6.55299e-07
  3  4.78656
  4  0.00114674
  5  0.00500712
  6  14.0214
  7  8.25257
  8  2.35098
  9  0.00406956
  10  9.44116
  11  0.000496193
  12  15.556
  13  86.5693
  14  0.0012515
  15  0.00044917
  16  0.316834
  17  0.088371
Done.

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

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  4.746e+00  8.253e+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:  8.999e-01  8.837e-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.284e+00  3.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/737770/likelihoodResults_691891201_692150401_4FGL_J1957.1-3231_daily_bin1746.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) = 7948.7201538
delta logL = 1.62135999498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7948.38410504
delta logL = 1.95740875463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13730E-02   1.0000          .0000       .10000E+07
     2 'Index     '    8.0826       1.0000          .0000       10.000    
     3 'Normalizat'    1.1206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93351       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=   7948.384     FROM MIGRAD    STATUS=CONVERGED    186 CALLS      479 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13426E-02    .24589E-01    .42118E-04** at limit **
   2  Index         8.0953        7.4777        .15156        .88854E-04
   3  Normalizat    1.1204        .28928        .11262        .72990E-04
   4  Prefactor     .93369        .75733E-01    .45431E-01   -.72959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00134258
  Index      = 8.09525
  Normalizat = 1.12043
  Prefactor  = 0.933694
 **********
 **   18 **HESSE 
 **********

 FCN=   7948.384     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      512 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13426E-02    .23891E-01    .18787E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.0953        7.6797        .62244E-02   -24.465    
   3  Normalizat    1.1204        .34628        .49937E-03   -.89099    
   4  Prefactor     .93369        .10119        .15999E-03   -.94973    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.08101e-10
Minuit parameter uncertainties:
  1  0.0113271
  2  4.46662
  3  0.346981
  4  0.101206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/737770': 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) = 7948.38409099
delta logL = 1.95742280575

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  1.343e-03  1.133e-02  0.000e+00  1.000e+06 ( 1.000e-12)
459        Index:  8.095e+00  4.467e+00  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:  9.337e-01  1.012e-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.120e+00  3.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.56
Ra Dec: 299.286 -32.525
Photon Index (Free Index): 8.10 +/- 4.47
Photon Flux (Free Index): 2.20e-07 +/- 3.61e-06
Energy Flux (Free Index): 2.54e-05 +/- 4.18e-04

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/737770/cmap_HighResolution_691891201_692150401_4FGL_J1957.1-3231_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.91e-02', comment='SUCCESS', energy_flux2='2.54e-05', dlogl='1.96e+00', photon_flux2='2.20e-07', job_status='DONE', time_completed='2022-12-08 01:50:06.091494', photon_index_error2='4.47', photon_index2='8.10', ts='0.37', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='2.44e-07', energy_flux_error2='4.18e-04', EG='1.28', time_epoch_completed='1670493006.09', return_code='0', job_id='737770', GAL2='0.93', EG2='1.12', return_code2='102', photon_flux_error2='3.61e-06', ts2='4.56', photon_index='2.58' WHERE bin_id='1746' AND source_name='4FGL J1957.1-3231' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:50:06 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 737770: <4FGL_J1957.1-3231_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1957.1-3231_daily_bin1746> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Dec  8 01:35:18 2022
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:35:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:35:19 2022
Terminated at Thu Dec  8 01:50:06 2022
Results reported at Thu Dec  8 01:50:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1957.1-3231_daily_bin1746 299.286 -32.5246 691891201 692150401 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 :                                   675.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             278.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            888 sec.

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

