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


Performing analysis on: 4FGL_J1357.1+1921_daily_bin1718
RA = 209.29, Dec = 19.3608
tmin = 684633601, tmax = 684892801
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='140839', job_status='RUN', time_executed='2022-09-16 18:10:00.617521', time_epoch_executed='1663377000.62' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/140839

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/140839/ft1_4FGL_J1357.1+1921_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/140839/ft2_4FGL_J1357.1+1921_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/140839/ft1_4FGL_J1357.1+1921_daily_bin1718.fits outfile=/scratch/kocevski/140839/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1718.fits ra=209.29 dec=19.3608 rad=12.0 tmin=684633601.0 tmax=684892801.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.21
user 3.01
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/140839/ft2_4FGL_J1357.1+1921_daily_bin1718.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/140839/ft2_4FGL_J1357.1+1921_daily_bin1718.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/140839/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1718.fits evtable="EVENTS" outfile="/scratch/kocevski/140839/ft1_filtered_4FGL_J1357.1+1921_daily_bin1718.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 328

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/140839/ft1_filtered_4FGL_J1357.1+1921_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/140839/ft2_4FGL_J1357.1+1921_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/140839/ltcube_684633601_684892801_4FGL_J1357.1+1921_daily_bin1718.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/140839/ft2_4FGL_J1357.1+1921_daily_bin1718.fits
.....................!
real 16.59
user 16.04
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/140839/ft1_filtered_4FGL_J1357.1+1921_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/140839/ft2_4FGL_J1357.1+1921_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/140839/ltcube_684633601_684892801_4FGL_J1357.1+1921_daily_bin1718.fits outfile=/scratch/kocevski/140839/expmap_684633601_684892801_4FGL_J1357.1+1921_daily_bin1718.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/140839/ltcube_684633601_684892801_4FGL_J1357.1+1921_daily_bin1718.fits
.....................!
real 194.13
user 187.23
sys 5.58

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

Setting source of interest to:
4FGL J1357.1+1921 @ 209.29 19.3608

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/140839/ft1_filtered_4FGL_J1357.1+1921_daily_bin1718.fits scfile=/scratch/kocevski/140839/ft2_4FGL_J1357.1+1921_daily_bin1718.fits outfile=/scratch/kocevski/140839/cmap_684633601_684892801_4FGL_J1357.1+1921_daily_bin1718.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=209.29 yref=19.3608 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.60
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/140839/ft1_filtered_4FGL_J1357.1+1921_daily_bin1718.fits scfile=/scratch/kocevski/140839/ft2_4FGL_J1357.1+1921_daily_bin1718.fits outfile=/scratch/kocevski/140839/cmap_HighResolution_684633601_684892801_4FGL_J1357.1+1921_daily_bin1718.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=209.29 yref=19.3608 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/140839/ft1_filtered_4FGL_J1357.1+1921_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/140839/ft2_4FGL_J1357.1+1921_daily_bin1718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/140839/Model_4FGL_J1357.1+1921_daily_bin1718.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/140839/ft1_filtered_4FGL_J1357.1+1921_daily_bin1718.fits.....................!
real 35.47
user 33.97
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/140839/ft1_filtered_4FGL_J1357.1+1921_daily_bin1718.fits', '/scratch/kocevski/140839/ft2_4FGL_J1357.1+1921_daily_bin1718.fits', expMap='/scratch/kocevski/140839/expmap_684633601_684892801_4FGL_J1357.1+1921_daily_bin1718.fits', expCube='/scratch/kocevski/140839/ltcube_684633601_684892801_4FGL_J1357.1+1921_daily_bin1718.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/140839/Model_4FGL_J1357.1+1921_daily_bin1718.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1357.1+1921'

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  2.782e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  4.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/140839/ft1_filtered_4FGL_J1357.1+1921_daily_bin1718.fits
Spacecraft file(s): /scratch/kocevski/140839/ft2_4FGL_J1357.1+1921_daily_bin1718.fits
Exposure map: /scratch/kocevski/140839/expmap_684633601_684892801_4FGL_J1357.1+1921_daily_bin1718.fits
Exposure cube: /scratch/kocevski/140839/ltcube_684633601_684892801_4FGL_J1357.1+1921_daily_bin1718.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/140839/Model_4FGL_J1357.1+1921_daily_bin1718.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) = 3689.33006245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    41.002       1.0000          .0000       .10000E+07
     2 'norm      '    .25341E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12095E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .54034       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.581       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.3204       1.0000          .0000       .10000E+07
     7 'Prefactor '    .81032E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    34.551       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.1957       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.474       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11056E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    71.237       1.0000          .0000       .10000E+07
    13 'Prefactor '    .56954E-07   1.0000          .0000       .10000E+07
    14 'norm      '    2.3126       1.0000          .0000       .10000E+07
    15 'norm      '    7.6263       1.0000          .0000       .10000E+07
    16 'Prefactor '    .66931E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .89351       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.3530       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3689.324     FROM MIGRAD    STATUS=CONVERGED    101 CALLS     1282 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          41.564        49.107        .28220E-04   -.52581E-01
   2  norm          .11102E-09    12.469        .92914E-06** at limit **
   3  Prefactor     .10019E-04    15.351        .12802E-04** at limit **
   4  norm          .33389        5.0685       -.44850E-05    .17598E-01
   5  Prefactor     24.645        6.1325        .47694E-05   -.15164E-01
   6  Prefactor     7.1654        8.5061       -.10521E-04   -.16075E-01
   7  Prefactor     .23166E-05    28.167       -.66416E-05** at limit **
   8  Prefactor     34.555        12.225        .30030E-06    .87020E-02
   9  Prefactor     4.1265        4.2017        .17431E-06   -.22516E-02
  10  Prefactor     12.445        1.1306       -.19101E-06   -.34015E-02
  11  Prefactor     .12189E-05    38.075        .16971E-04** at limit **
  12  Prefactor     71.470        14.299        .61548E-05    .19236E-01
  13  Prefactor     .33307E-09    3.7946       -.77982E-06** at limit **
  14  norm          2.3127        2.5335       -.11331E-06   -.26708E-02
  15  norm          7.6140        4.0331       -.88129E-07    .34365E-02
  16  Prefactor     .15353E-04    12.347       -.99309E-05** at limit **
  17  Normalizat    .89458        .34370       -.21988E-04   -.28669E-03
  18  Prefactor     1.3524        .28491       -.48796E-05   -.41946E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 41.5636
  norm       = 1.11022e-10
  Prefactor  = 1.00185e-05
  norm       = 0.33389
  Prefactor  = 24.645
  Prefactor  = 7.16543
  Prefactor  = 2.31665e-06
  Prefactor  = 34.555
  Prefactor  = 4.12647
  Prefactor  = 12.4451
  Prefactor  = 1.21891e-06
  Prefactor  = 71.4701
  Prefactor  = 3.33067e-10
  norm       = 2.3127
  norm       = 7.61397
  Prefactor  = 1.53534e-05
  Normalizat = 0.894584
  Prefactor  = 1.35244
 **********
 **   18 **HESSE 
 **********

 FCN=   3689.324     FROM HESSE     STATUS=OK           288 CALLS     1570 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          41.564        55.622        .15618E-03   -1.5579    
   2  norm          .11102E-09    12.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10019E-04    22.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .33389        11.283        .11113E-01   -1.5696    
   5  Prefactor     24.645        45.439        .20174E-03   -1.5609    
   6  Prefactor     7.1654        59.857        .37047E-03   -1.5654    
   7  Prefactor     .23166E-05    31.089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     34.555        12.250        .17015E-03   -1.5590    
   9  Prefactor     4.1265        4.1978        .49176E-03   -1.5667    
  10  Prefactor     12.445        23.169        .28337E-03   -1.5637    
  11  Prefactor     .12189E-05    40.519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     71.470        48.969        .11849E-03   -1.5539    
  13  Prefactor     .33307E-09    3.7951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.3127        2.5432        .67437E-03   -1.5678    
  15  norm          7.6140        4.0371        .36290E-03   -1.5653    
  16  Prefactor     .15353E-04    23.353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .89458        .29225        .74647E-01   -.96651    
  18  Prefactor     1.3524        .23641        .51347E-01   -.81761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50564e-06
Minuit parameter uncertainties:
  1  55.6229
  2  7.9073e-05
  3  0.030107
  4  3.88185
  5  45.4398
  6  41.4205
  7  0.0169732
  8  12.2497
  9  4.19783
  10  23.1691
  11  0.0140556
  12  48.9695
  13  7.25693e-05
  14  2.54324
  15  4.03709
  16  0.0378709
  17  0.292767
  18  0.236594
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  1.219e-06  1.406e-02  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  4.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  1.352e+00  2.366e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  8.946e-01  2.928e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.290 19.361
Photon Flux Upper Limit: 1.82e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.44e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/140839/likelihoodResults_684633601_684892801_4FGL_J1357.1+1921_daily_bin1718.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) = 3689.33667199
delta logL = -0.0127486750544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3689.32392332
delta logL = -4.04452293878e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3689.324     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      204 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    34.256       -.12455E-04** at limit **
   2  Index         2.5013        6.2488       -.42100E-03   -.39367E-11
   3  Normalizat    .89460        .33807       -.68104E-06    .31548E-03
   4  Prefactor     1.3524        .28088        .48628E-05   -.39309E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.50134
  Normalizat = 0.894599
  Prefactor  = 1.35243
 **********
 **   18 **HESSE 
 **********

 FCN=   3689.324     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      241 TOTAL
                     EDM=   .20E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .41580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5013        5.5859        .50000       -.52329    
   3  Normalizat    .89460        .78052E-03    .74647E-01   -.96650    
   4  Prefactor     1.3524        .64628E-03    .51347E-01   -.81761    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.96682e-14
Minuit parameter uncertainties:
  1  9.53405e-06
  2  30886.7
  3  0.000780523
  4  0.000646283
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/140839': 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) = 3689.3239233
delta logL = 1.42836142913e-08

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  5.551e-11  9.534e-06  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.501e+00  3.089e+04  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  4.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  1.352e+00  6.463e-04  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  8.946e-01  7.805e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 209.290 19.361

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/140839/cmap_HighResolution_684633601_684892801_4FGL_J1357.1+1921_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-02', job_status='DONE', photon_flux_upper_limit='1.82e-07', time_completed='2022-09-16 18:17:04.606251', job_id='140839', GAL2='1.35', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1663377424.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='1.43e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1718' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:17:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 140839: <4FGL_J1357.1+1921_daily_bin1718> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin1718> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 18:00:28 2022
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:08:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:08:43 2022
Terminated at Fri Sep 16 18:17:05 2022
Results reported at Fri Sep 16 18:17:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin1718 209.29 19.3608 684633601 684892801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1357.1+1921 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   423.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   501 sec.
    Turnaround time :                            997 sec.

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

