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


Performing analysis on: 4FGL_J1357.1+1921_daily_bin1710
RA = 209.29, Dec = 19.3608
tmin = 682560001, tmax = 682819201
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='140827', job_status='RUN', time_executed='2022-09-16 18:08:51.691840', time_epoch_executed='1663376931.69' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/140827

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/140827/ft1_4FGL_J1357.1+1921_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/140827/ft2_4FGL_J1357.1+1921_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/140827/ft1_4FGL_J1357.1+1921_daily_bin1710.fits outfile=/scratch/kocevski/140827/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1710.fits ra=209.29 dec=19.3608 rad=12.0 tmin=682560001.0 tmax=682819201.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 2.98
user 2.75
sys 0.21

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

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

Number of photons that the gtmktime cut: 554

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/140827/ft1_filtered_4FGL_J1357.1+1921_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/140827/ft2_4FGL_J1357.1+1921_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/140827/ltcube_682560001_682819201_4FGL_J1357.1+1921_daily_bin1710.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/140827/ft2_4FGL_J1357.1+1921_daily_bin1710.fits
.....................!
real 10.16
user 9.79
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/140827/ft1_filtered_4FGL_J1357.1+1921_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/140827/ft2_4FGL_J1357.1+1921_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/140827/ltcube_682560001_682819201_4FGL_J1357.1+1921_daily_bin1710.fits outfile=/scratch/kocevski/140827/expmap_682560001_682819201_4FGL_J1357.1+1921_daily_bin1710.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/140827/ltcube_682560001_682819201_4FGL_J1357.1+1921_daily_bin1710.fits
.....................!
real 156.26
user 150.68
sys 5.15

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/140827/ft1_filtered_4FGL_J1357.1+1921_daily_bin1710.fits scfile=/scratch/kocevski/140827/ft2_4FGL_J1357.1+1921_daily_bin1710.fits outfile=/scratch/kocevski/140827/cmap_682560001_682819201_4FGL_J1357.1+1921_daily_bin1710.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.47
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/140827/ft1_filtered_4FGL_J1357.1+1921_daily_bin1710.fits scfile=/scratch/kocevski/140827/ft2_4FGL_J1357.1+1921_daily_bin1710.fits outfile=/scratch/kocevski/140827/cmap_HighResolution_682560001_682819201_4FGL_J1357.1+1921_daily_bin1710.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.48
user 0.34
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39117E-05   1.0000          .0000       .10000E+07
     2 'norm      '    7.6483       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28824       1.0000          .0000       .10000E+07
     4 'norm      '    5.6644       1.0000          .0000       .10000E+07
     5 'Prefactor '    .71060E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40060E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .10623E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.3565       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29826E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11193       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9448       1.0000          .0000       .10000E+07
    12 'Prefactor '    91.620       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.1098       1.0000          .0000       .10000E+07
    14 'norm      '    4.4046       1.0000          .0000       .10000E+07
    15 'norm      '    2.1148       1.0000          .0000       .10000E+07
    16 'Prefactor '    19.030       1.0000          .0000       .10000E+07
    17 'Normalizat'    .94245       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0569       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=   6453.881     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1044 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        8.1391       -.14032E-06** at limit **
   2  norm          7.6370        7.3834       -.35933E-06   -.37132E-02
   3  Prefactor     .64017E-05    103.61        .10607E-04** at limit **
   4  norm          5.6698        7.0250        .18681E-06    .21699E-02
   5  Prefactor     .22204E-09    9.3502        .14538E-06** at limit **
   6  Prefactor     .33917E-07    67.796       -.11443E-05** at limit **
   7  Prefactor     .38414E-07    23.988       -.10779E-05** at limit **
   8  Prefactor     5.3178        3.9361       -.33342E-07    .13575E-02
   9  Prefactor      .0000        3.2193        .13510E-07** at limit **
  10  Prefactor     .76774E-01    10.737        .40045E-05** at limit **
  11  Prefactor     2.8992        12.106       -.50545E-05   -.91995E-02
  12  Prefactor     87.884        39.352       -.16289E-06    .25115E-02
  13  Prefactor     8.2089        7.4196       -.96800E-07   -.27029E-04
  14  norm          4.3970        2.7020       -.53000E-07   -.37952E-02
  15  norm          2.1078        2.3067        .12280E-06    .18490E-01
  16  Prefactor     19.227        12.541        .77182E-06    .66512E-01
  17  Normalizat    .94392        .21553        .55778E-05    .69767E-04
  18  Prefactor     1.0578        .18056        .17005E-05    .18992E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 7.63697
  Prefactor  = 6.40171e-06
  norm       = 5.66979
  Prefactor  = 2.22045e-10
  Prefactor  = 3.39173e-08
  Prefactor  = 3.84137e-08
  Prefactor  = 5.31778
  Prefactor  = 0
  Prefactor  = 0.0767739
  Prefactor  = 2.89918
  Prefactor  = 87.8844
  Prefactor  = 8.20887
  norm       = 4.39699
  norm       = 2.10784
  Prefactor  = 19.2275
  Normalizat = 0.943918
  Prefactor  = 1.05784
 **********
 **   18 **HESSE 
 **********

 FCN=   6453.881     FROM HESSE     STATUS=OK           294 CALLS     1338 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        8.1461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.6370        7.3999        .36237E-03   -1.5653    
   3  Prefactor     .64017E-05    162.40        .10378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.6698        7.0476        .42183E-03   -1.5660    
   5  Prefactor     .22204E-09    9.3612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33917E-07    16.745        .12086E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .38414E-07    24.511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.3178        3.9366        .43399E-03   -1.5662    
   9  Prefactor      .0000        3.1903        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .76774E-01    11.100        .87026E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8992        12.647        .59159E-03   -1.5674    
  12  Prefactor     87.884        39.434        .10448E-03   -1.5520    
  13  Prefactor     8.2089        7.4281        .35183E-03   -1.5651    
  14  norm          4.3970        2.7039        .47962E-03   -1.5666    
  15  norm          2.1078        2.3213        .70905E-03   -1.5679    
  16  Prefactor     19.227        19.357        .22932E-03   -1.5620    
  17  Normalizat    .94392        .18983        .45442E-01   -.94934    
  18  Prefactor     1.0578        .15628        .39521E-01   -.90826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30451e-07
Minuit parameter uncertainties:
  1  1.68726e-05
  2  7.39986
  3  0.0644895
  4  7.04762
  5  8.66816e-05
  6  0.00150727
  7  0.00194107
  8  3.93664
  9  1.43687e-05
  10  1.84632
  11  12.1108
  12  39.4344
  13  7.42815
  14  2.70392
  15  2.32126
  16  19.3568
  17  0.189965
  18  0.156349
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  2.899e+00  1.211e+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:  1.058e+00  1.563e-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.439e-01  1.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 209.290 19.361
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/140827/likelihoodResults_682560001_682819201_4FGL_J1357.1+1921_daily_bin1710.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) = 6453.87316466
delta logL = 0.00825864413491

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6453.8720332
delta logL = 0.00939010777347

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5146       1.0000          .0000       .10000E+07
     2 'Index     '    2.5530       1.0000          .0000       10.000    
     3 'Normalizat'    .94519       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0564       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=   6453.872     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      219 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4849        847.20        .53901E-03    .15918E-02
   2  Index         2.5511        5.9294        .45434       -.23047E-05
   3  Normalizat    .94507        .45604E-01    .45476E-01   -.16554E-05
   4  Prefactor     1.0565        .41828E-01    .39550E-01   -.62684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48489
  Index      = 2.55109
  Normalizat = 0.945066
  Prefactor  = 1.05654
 **********
 **   18 **HESSE 
 **********

 FCN=   6453.872     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4849        12.943        .21560E-04   -1.5671    
   2  Index         2.5511        1.4027        .14224E-01   -.51184    
   3  Normalizat    .94507        .21061        .27552E-03   -.94894    
   4  Prefactor     1.0565        .17841        .22086E-03   -.90868    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11769e-11
Minuit parameter uncertainties:
  1  12.9436
  2  1.42807
  3  0.210797
  4  0.178512
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/140827': 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) = 6453.87202898
delta logL = 0.00939432902578

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  3.485e+00  1.294e+01  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.551e+00  1.428e+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:  1.057e+00  1.785e-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.451e-01  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/140827/cmap_HighResolution_682560001_682819201_4FGL_J1357.1+1921_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.77e-03', job_status='DONE', photon_flux_upper_limit='1.24e-07', time_completed='2022-09-16 18:15:29.892471', job_id='140827', GAL2='1.06', fit_tolerance='1e-08', EG2='0.95', EG='0.94', time_epoch_completed='1663377329.89', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='9.39e-03', ts2='0.09', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1710' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:15:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 140827: <4FGL_J1357.1+1921_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin1710> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 18:00:27 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:08:38 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:38 2022
Terminated at Fri Sep 16 18:15:30 2022
Results reported at Fri Sep 16 18:15:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin1710 209.29 19.3608 682560001 682819201 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 :                                   399.17 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             295.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   412 sec.
    Turnaround time :                            903 sec.

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

