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


Performing analysis on: 4FGL_J1357.1+1921_daily_bin1761
RA = 209.29, Dec = 19.3608
tmin = 695779201, tmax = 696038401
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='922033', job_status='RUN', time_executed='2023-01-22 01:02:14.350815', time_epoch_executed='1674378134.35' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/922033

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/922033/ft1_4FGL_J1357.1+1921_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/922033/ft2_4FGL_J1357.1+1921_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/922033/ft1_4FGL_J1357.1+1921_daily_bin1761.fits outfile=/scratch/kocevski/922033/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1761.fits ra=209.29 dec=19.3608 rad=12.0 tmin=695779201.0 tmax=696038401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.10
user 4.82
sys 0.21

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

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

Number of photons that the gtmktime cut: 493

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/922033/ft1_filtered_4FGL_J1357.1+1921_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/922033/ft2_4FGL_J1357.1+1921_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/922033/ltcube_695779201_696038401_4FGL_J1357.1+1921_daily_bin1761.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/922033/ft2_4FGL_J1357.1+1921_daily_bin1761.fits
.....................!
real 13.46
user 12.99
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/922033/ft1_filtered_4FGL_J1357.1+1921_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/922033/ft2_4FGL_J1357.1+1921_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/922033/ltcube_695779201_696038401_4FGL_J1357.1+1921_daily_bin1761.fits outfile=/scratch/kocevski/922033/expmap_695779201_696038401_4FGL_J1357.1+1921_daily_bin1761.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/922033/ltcube_695779201_696038401_4FGL_J1357.1+1921_daily_bin1761.fits
.....................!
real 193.88
user 186.70
sys 5.92

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/922033/ft1_filtered_4FGL_J1357.1+1921_daily_bin1761.fits scfile=/scratch/kocevski/922033/ft2_4FGL_J1357.1+1921_daily_bin1761.fits outfile=/scratch/kocevski/922033/cmap_695779201_696038401_4FGL_J1357.1+1921_daily_bin1761.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/922033/ft1_filtered_4FGL_J1357.1+1921_daily_bin1761.fits scfile=/scratch/kocevski/922033/ft2_4FGL_J1357.1+1921_daily_bin1761.fits outfile=/scratch/kocevski/922033/cmap_HighResolution_695779201_696038401_4FGL_J1357.1+1921_daily_bin1761.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.455       1.0000          .0000       .10000E+07
     2 'norm      '    71.793       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.461       1.0000          .0000       .10000E+07
     4 'norm      '    .29256E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.614       1.0000          .0000       .10000E+07
     6 'Prefactor '    19.393       1.0000          .0000       .10000E+07
     7 'Prefactor '    .32747E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .43925E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.9671       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14213E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    10.460       1.0000          .0000       .10000E+07
    12 'Prefactor '    55.907       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.054       1.0000          .0000       .10000E+07
    14 'norm      '    .74413E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .12434E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .27885E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .94591       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95080       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=   5723.084     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1027 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.685        11.120        .38614E-07   -.14276E-01
   2  norm          71.553        14.395       -.27908E-07   -.45758E-02
   3  Prefactor     32.019        12.695       -.21964E-07    .34721E-01
   4  norm           .0000        33.910       -.18380E-06** at limit **
   5  Prefactor     16.669        2.4558       -.11979E-07   -.55621E-02
   6  Prefactor     18.926        4.9747       -.21200E-08    .32163E-01
   7  Prefactor     .38858E-08    16.018        .25211E-06** at limit **
   8  Prefactor      .0000        5.1783        .25229E-06** at limit **
   9  Prefactor     2.9265        4.7648        .62200E-07    .13682E-03
  10  Prefactor     .67724E-07    31.408        .34839E-06** at limit **
  11  Prefactor     10.438        13.036        .19073E-06    .75473E-02
  12  Prefactor     54.116        30.053       -.56029E-07    .23878E-01
  13  Prefactor     11.166        8.5556       -.55125E-07    .21520E-03
  14  norm           .0000        .90508       -.28267E-06** at limit **
  15  norm           .0000        .67958        .19425E-07** at limit **
  16  Prefactor     .83267E-09    14.094        .35681E-06** at limit **
  17  Normalizat    .94832        .24047       -.41049E-05   -.45972E-05
  18  Prefactor     .95029        .19701        .29867E-05   -.45295E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 32.6852
  norm       = 71.5527
  Prefactor  = 32.0191
  norm       = 0
  Prefactor  = 16.6688
  Prefactor  = 18.9262
  Prefactor  = 3.88578e-09
  Prefactor  = 0
  Prefactor  = 2.92654
  Prefactor  = 6.77236e-08
  Prefactor  = 10.4376
  Prefactor  = 54.1157
  Prefactor  = 11.1657
  norm       = 0
  norm       = 0
  Prefactor  = 8.32667e-10
  Normalizat = 0.948319
  Prefactor  = 0.950288
 **********
 **   18 **HESSE 
 **********

 FCN=   5723.084     FROM HESSE     STATUS=OK           288 CALLS     1315 TOTAL
                     EDM=   .97E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.685        28.112        .17038E-03   -1.5594    
   2  norm          71.553        15.601        .11803E-03   -1.5539    
   3  Prefactor     32.019        31.904        .18121E-03   -1.5595    
   4  norm           .0000        6.2502        .10137E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.669        22.145        .24545E-03   -1.5626    
   6  Prefactor     18.926        24.394        .22716E-03   -1.5621    
   7  Prefactor     .38858E-08    16.081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.1726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.9265        4.7791        .58923E-03   -1.5674    
  10  Prefactor     .67724E-07    38.271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.438        13.178        .30956E-03   -1.5643    
  12  Prefactor     54.116        32.889        .13375E-03   -1.5561    
  13  Prefactor     11.166        8.5679        .30109E-03   -1.5641    
  14  norm           .0000        .90307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .68041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .83267E-09    14.113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .94832        .20625        .45486E-01   -.94782    
  18  Prefactor     .95029        .16723        .45649E-01   -.94405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.65217e-08
Minuit parameter uncertainties:
  1  28.1118
  2  15.6011
  3  31.9044
  4  2.39713e-06
  5  22.1452
  6  24.3941
  7  0.000499308
  8  1.15085e-05
  9  4.77911
  10  0.00321968
  11  13.1781
  12  32.8888
  13  8.56792
  14  3.62061e-07
  15  9.81331e-07
  16  0.000213798
  17  0.206422
  18  0.167319
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  1.044e+01  1.318e+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:  9.503e-01  1.673e-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:  9.483e-01  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/922033/likelihoodResults_695779201_696038401_4FGL_J1357.1+1921_daily_bin1761.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) = 5723.01213167
delta logL = 0.0717380758861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5723.00809822
delta logL = 0.0757715191457

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.330       1.0000          .0000       .10000E+07
     2 'Index     '    2.3233       1.0000          .0000       10.000    
     3 'Normalizat'    .96486       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93994       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=   5723.008     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      208 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.319        23.629        .29738E-03    .70664E-02
   2  Index         2.3216        1.2866        .24210       -.26411E-04
   3  Normalizat    .96475        .20440        .45725E-01    .62358E-05
   4  Prefactor     .94004        .16906        .45512E-01    .18913E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3187
  Index      = 2.32163
  Normalizat = 0.964751
  Prefactor  = 0.940044
 **********
 **   18 **HESSE 
 **********

 FCN=   5723.008     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.319        14.060        .59476E-04   -1.5641    
   2  Index         2.3216        .99607        .13228E-01   -.56531    
   3  Normalizat    .96475        .23968        .27850E-03   -.94221    
   4  Prefactor     .94004        .19600        .23082E-03   -.94756    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.63102e-10
Minuit parameter uncertainties:
  1  14.06
  2  1.00555
  3  0.23995
  4  0.196145
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/922033': 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): 0
logL (Free Index) = 5723.00809638
delta logL = 0.0757733672926

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  1.132e+01  1.406e+01  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.322e+00  1.006e+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:  9.400e-01  1.961e-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:  9.648e-01  2.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.84
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/922033/cmap_HighResolution_695779201_696038401_4FGL_J1357.1+1921_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', job_status='DONE', photon_flux_upper_limit='1.55e-07', time_completed='2023-01-22 01:10:13.918993', job_id='922033', GAL2='0.94', fit_tolerance='1e-08', EG2='0.96', EG='0.95', time_epoch_completed='1674378613.92', return_code2='0', ts='0.84', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.58e-02', ts2='0.99', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1761' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:10:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 922033: <4FGL_J1357.1+1921_daily_bin1761> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin1761> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan 22 00:55:12 2023
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 00:58:46 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 00:58:46 2023
Terminated at Sun Jan 22 01:10:14 2023
Results reported at Sun Jan 22 01:10:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin1761 209.29 19.3608 695779201 696038401 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 :                                   480.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             190.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            902 sec.

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

