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


Performing analysis on: 4FGL_J1357.1+1921_daily_bin1776
RA = 209.29, Dec = 19.3608
tmin = 699667201, tmax = 699926401
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='833920', job_status='RUN', time_executed='2023-03-08 00:42:35.646562', time_epoch_executed='1678264955.65' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833920

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833920/ft1_4FGL_J1357.1+1921_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833920/ft2_4FGL_J1357.1+1921_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833920/ft1_4FGL_J1357.1+1921_daily_bin1776.fits outfile=/scratch/kocevski/833920/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1776.fits ra=209.29 dec=19.3608 rad=12.0 tmin=699667201.0 tmax=699926401.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.92
user 3.68
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833920/ft2_4FGL_J1357.1+1921_daily_bin1776.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/833920/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/833920/ft1_filtered_4FGL_J1357.1+1921_daily_bin1776.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.48
user 0.34
sys 0.13

Number of photons that the gtmktime cut: 575

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833920/ft1_filtered_4FGL_J1357.1+1921_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/833920/ft2_4FGL_J1357.1+1921_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/833920/ltcube_699667201_699926401_4FGL_J1357.1+1921_daily_bin1776.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/833920/ft2_4FGL_J1357.1+1921_daily_bin1776.fits
.....................!
real 12.50
user 12.13
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833920/ft1_filtered_4FGL_J1357.1+1921_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/833920/ft2_4FGL_J1357.1+1921_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/833920/ltcube_699667201_699926401_4FGL_J1357.1+1921_daily_bin1776.fits outfile=/scratch/kocevski/833920/expmap_699667201_699926401_4FGL_J1357.1+1921_daily_bin1776.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/833920/ltcube_699667201_699926401_4FGL_J1357.1+1921_daily_bin1776.fits
.....................!
real 190.09
user 185.33
sys 4.36

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/833920/ft1_filtered_4FGL_J1357.1+1921_daily_bin1776.fits scfile=/scratch/kocevski/833920/ft2_4FGL_J1357.1+1921_daily_bin1776.fits outfile=/scratch/kocevski/833920/cmap_699667201_699926401_4FGL_J1357.1+1921_daily_bin1776.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833920/ft1_filtered_4FGL_J1357.1+1921_daily_bin1776.fits scfile=/scratch/kocevski/833920/ft2_4FGL_J1357.1+1921_daily_bin1776.fits outfile=/scratch/kocevski/833920/cmap_HighResolution_699667201_699926401_4FGL_J1357.1+1921_daily_bin1776.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.55
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/833920/ft1_filtered_4FGL_J1357.1+1921_daily_bin1776.fits', '/scratch/kocevski/833920/ft2_4FGL_J1357.1+1921_daily_bin1776.fits', expMap='/scratch/kocevski/833920/expmap_699667201_699926401_4FGL_J1357.1+1921_daily_bin1776.fits', expCube='/scratch/kocevski/833920/ltcube_699667201_699926401_4FGL_J1357.1+1921_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/833920/Model_4FGL_J1357.1+1921_daily_bin1776.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/833920/ft1_filtered_4FGL_J1357.1+1921_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/833920/ft2_4FGL_J1357.1+1921_daily_bin1776.fits
Exposure map: /scratch/kocevski/833920/expmap_699667201_699926401_4FGL_J1357.1+1921_daily_bin1776.fits
Exposure cube: /scratch/kocevski/833920/ltcube_699667201_699926401_4FGL_J1357.1+1921_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/833920/Model_4FGL_J1357.1+1921_daily_bin1776.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) = 6475.07433005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33489       1.0000          .0000       .10000E+07
     2 'norm      '    8.7724       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10290E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .26375E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    30.996       1.0000          .0000       .10000E+07
     6 'Prefactor '    .57083E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.7968       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14801E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.7060       1.0000          .0000       .10000E+07
    10 'Prefactor '    14.794       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.8446       1.0000          .0000       .10000E+07
    12 'Prefactor '    60.667       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.0545       1.0000          .0000       .10000E+07
    14 'norm      '    3.6605       1.0000          .0000       .10000E+07
    15 'norm      '    .15191E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    33.926       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.6303       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .47573       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=   6475.028     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1294 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .52736E-08    83.253       -.24815E-04** at limit **
   2  norm          8.8933        6.6100        .30505E-05    .35188E-02
   3  Prefactor     .23637E-06    70.059       -.13172E-04** at limit **
   4  norm          .55511E-10    8.2059        .47897E-06** at limit **
   5  Prefactor     31.379        17.560       -.72302E-05   -.24410E-01
   6  Prefactor     .63283E-08    9.5945        .16399E-05** at limit **
   7  Prefactor     5.0767        8.3985       -.86239E-05    .31429E-02
   8  Prefactor     .55511E-10    1.2156        .16982E-05** at limit **
   9  Prefactor     2.7087        3.7699        .73500E-06    .48711E-02
  10  Prefactor     14.876        8.1818       -.14509E-05    .17292E-01
  11  Prefactor     8.2316        10.245       -.36670E-05   -.16298E-01
  12  Prefactor     61.249        11.293       -.32381E-05    .18444    
  13  Prefactor     6.0526        6.0570        .68652E-07    .38897E-03
  14  norm          3.6645        2.0501       -.33446E-07    .47590E-02
  15  norm          .55511E-10    1.3545        .20964E-05** at limit **
  16  Prefactor     34.339        16.667       -.65282E-05   -.68822E-01
  17  Normalizat    1.6276        .23101        .69110E-04   -.38541E-03
  18  Prefactor     .47617        .17596       -.46675E-04   -.19680E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.27356e-09
  norm       = 8.89332
  Prefactor  = 2.36366e-07
  norm       = 5.55112e-11
  Prefactor  = 31.3791
  Prefactor  = 6.32827e-09
  Prefactor  = 5.07665
  Prefactor  = 5.55112e-11
  Prefactor  = 2.70872
  Prefactor  = 14.8758
  Prefactor  = 8.23163
  Prefactor  = 61.2494
  Prefactor  = 6.05258
  norm       = 3.66454
  norm       = 5.55112e-11
  Prefactor  = 34.3393
  Normalizat = 1.62755
  Prefactor  = 0.476168
 **********
 **   18 **HESSE 
 **********

 FCN=   6475.028     FROM HESSE     STATUS=OK           284 CALLS     1578 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .52736E-08    80.230        .97454E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.8933        6.5869        .33818E-03   -1.5648    
   3  Prefactor     .23637E-06    70.361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    8.1684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     31.379        26.674        .17964E-03   -1.5596    
   6  Prefactor     .63283E-08    9.6529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.0767        38.546        .45912E-03   -1.5663    
   8  Prefactor     .55511E-10    1.2145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7087        3.7964        .61896E-03   -1.5675    
  10  Prefactor     14.876        13.343        .26014E-03   -1.5631    
  11  Prefactor     8.2316        13.339        .35777E-03   -1.5651    
  12  Prefactor     61.249        32.166        .12840E-03   -1.5551    
  13  Prefactor     6.0526        6.1154        .40781E-03   -1.5659    
  14  norm          3.6645        2.0468        .52772E-03   -1.5670    
  15  norm          .55511E-10    1.3484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.339        26.118        .17171E-03   -1.5591    
  17  Normalizat    1.6276        .19573        .49836E-01   -.74255    
  18  Prefactor     .47617        .15136        .68118E-01   -1.1308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91563e-07
Minuit parameter uncertainties:
  1  0.00129806
  2  6.58691
  3  0.00815658
  4  4.4259e-05
  5  26.6746
  6  0.000493502
  7  27.9778
  8  2.00549e-05
  9  3.79645
  10  13.3435
  11  13.3387
  12  32.1662
  13  6.11541
  14  2.04675
  15  1.26663e-05
  16  26.1177
  17  0.195825
  18  0.151485
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  8.232e+00  1.334e+01  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:  4.762e-01  1.515e-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:  1.628e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/833920/likelihoodResults_699667201_699926401_4FGL_J1357.1+1921_daily_bin1776.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) = 6473.64264399
delta logL = 1.38526580406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6473.6079775
delta logL = 1.41993229033

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6473.608     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      261 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3773        24.269        .66358E-03    .50485E-02
   2  Index         4.9469        3.7378        .16621        .11042E-03
   3  Normalizat    1.5317        .57965E-01    .50994E-01   -.95976E-05
   4  Prefactor     .52665        .45797E-01    .64964E-01    .26170E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.37729
  Index      = 4.94692
  Normalizat = 1.53172
  Prefactor  = 0.526654
 **********
 **   18 **HESSE 
 **********

 FCN=   6473.608     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      294 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3773        45.026        .73329E-05   -1.5677    
   2  Index         4.9469        7.4177        .62833E-02   -.10616E-01
   3  Normalizat    1.5317        .21194        .22544E-03   -.76891    
   4  Prefactor     .52665        .16629        .28750E-03   -1.1077    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.63872e-07
Minuit parameter uncertainties:
  1  20.6923
  2  6.74257
  3  0.212058
  4  0.166446
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833920': 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) = 6473.60796643
delta logL = 1.41994335818

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  2.377e+00  2.069e+01  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  4.947e+00  6.743e+00  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:  5.267e-01  1.664e-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:  1.532e+00  2.121e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.46
Ra Dec: 209.290 19.361
Photon Index (Free Index): 4.95 +/- 6.74
Photon Flux (Free Index): 1.18e-07 +/- 7.44e-08
Energy Flux (Free Index): 1.58e-05 +/- 1.42e-05

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/833920/cmap_HighResolution_699667201_699926401_4FGL_J1357.1+1921_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', comment='SUCCESS', energy_flux2='1.58e-05', dlogl='1.42e+00', photon_flux2='1.18e-07', job_status='DONE', time_completed='2023-03-08 00:51:03.688217', photon_index_error2='6.74', photon_index2='4.95', ts='0.44', fit_tolerance='1e-08', GAL='0.48', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='1.42e-05', EG='1.63', time_epoch_completed='1678265463.69', return_code='0', job_id='833920', GAL2='0.53', EG2='1.53', return_code2='102', photon_flux_error2='7.44e-08', ts2='3.46', photon_index='2.76' WHERE bin_id='1776' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:51:03 PST 2023


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

Job <4FGL_J1357.1+1921_daily_bin1776> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Mar  8 00:40:26 2023
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:40:52 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:40:52 2023
Terminated at Wed Mar  8 00:51:04 2023
Results reported at Wed Mar  8 00:51:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin1776 209.29 19.3608 699667201 699926401 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 :                                   510.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             280.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   611 sec.
    Turnaround time :                            638 sec.

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

