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


Performing analysis on: 4FGL_J1357.1+1921_daily_bin1772
RA = 209.29, Dec = 19.3608
tmin = 698630401, tmax = 698889601
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='635701', job_status='RUN', time_executed='2023-02-24 01:52:50.175376', time_epoch_executed='1677232370.18' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/635701

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/635701/ft1_4FGL_J1357.1+1921_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/635701/ft2_4FGL_J1357.1+1921_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/635701/ft1_4FGL_J1357.1+1921_daily_bin1772.fits outfile=/scratch/kocevski/635701/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1772.fits ra=209.29 dec=19.3608 rad=12.0 tmin=698630401.0 tmax=698889601.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.99
user 2.77
sys 0.20

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

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

Number of photons that the gtmktime cut: 474

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/635701/ft1_filtered_4FGL_J1357.1+1921_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/635701/ft2_4FGL_J1357.1+1921_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/635701/ltcube_698630401_698889601_4FGL_J1357.1+1921_daily_bin1772.fits outfile=/scratch/kocevski/635701/expmap_698630401_698889601_4FGL_J1357.1+1921_daily_bin1772.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/635701/ltcube_698630401_698889601_4FGL_J1357.1+1921_daily_bin1772.fits
.....................!
real 190.39
user 185.90
sys 4.18

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/635701/ft1_filtered_4FGL_J1357.1+1921_daily_bin1772.fits scfile=/scratch/kocevski/635701/ft2_4FGL_J1357.1+1921_daily_bin1772.fits outfile=/scratch/kocevski/635701/cmap_698630401_698889601_4FGL_J1357.1+1921_daily_bin1772.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.53
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41884E-02   1.0000          .0000       .10000E+07
     2 'norm      '    26.773       1.0000          .0000       .10000E+07
     3 'Prefactor '    .54773E-01   1.0000          .0000       .10000E+07
     4 'norm      '    6.5857       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12363       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23504E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    28.939       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13691E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12503E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.2297       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.5000       1.0000          .0000       .10000E+07
    12 'Prefactor '    86.086       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.8947       1.0000          .0000       .10000E+07
    14 'norm      '    3.0829       1.0000          .0000       .10000E+07
    15 'norm      '    .40562E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.137       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1042       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96486       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=   5223.629     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1064 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22204E-09    29.994        .21755E-06** at limit **
   2  norm          26.986        13.492        .80930E-07    .44708E-03
   3  Prefactor      .0000        18.778        .31107E-07** at limit **
   4  norm          6.2860        14.073        .19071E-07   -.57341E-03
   5  Prefactor     .92266E-01    .75563       -.50375E-07** at limit **
   6  Prefactor      .0000        7.0190        .19869E-06** at limit **
   7  Prefactor     32.804        54.270        .55537E-06   -.14701E-03
   8  Prefactor      .0000        4.1317       -.25884E-07** at limit **
   9  Prefactor      .0000        1.3638       -.67433E-08** at limit **
  10  Prefactor     9.2313        9.0742        .43139E-08   -.19230E-03
  11  Prefactor     4.3076        18.693       -.34619E-06   -.50582E-03
  12  Prefactor     83.381        35.923       -.34817E-08    .16859E-02
  13  Prefactor     4.9353        5.3441        .79881E-08   -.21726E-05
  14  norm          3.0807        2.4090       -.46740E-08    .15117E-06
  15  norm           .0000        1.2015       -.23656E-07** at limit **
  16  Prefactor     10.184        1.9292        .23172E-07   -.17353E-01
  17  Normalizat    1.1062        .25151       -.10935E-05   -.57191E-05
  18  Prefactor     .96416        .20628        .32875E-06   -.65539E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.22045e-10
  norm       = 26.9859
  Prefactor  = 0
  norm       = 6.28605
  Prefactor  = 0.0922655
  Prefactor  = 0
  Prefactor  = 32.804
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.23132
  Prefactor  = 4.30758
  Prefactor  = 83.3813
  Prefactor  = 4.93528
  norm       = 3.08072
  norm       = 0
  Prefactor  = 10.1842
  Normalizat = 1.10616
  Prefactor  = 0.964156
 **********
 **   18 **HESSE 
 **********

 FCN=   5223.629     FROM HESSE     STATUS=OK           286 CALLS     1350 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22204E-09    29.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          26.986        13.538        .19330E-03   -1.5604    
   3  Prefactor      .0000        18.724        .15355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.2860        14.149        .39081E-03   -1.5658    
   5  Prefactor     .92266E-01    14.929        .13333E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        7.0189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.804        54.210        .18592E-03   -1.5593    
   8  Prefactor      .0000        4.1053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.3603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.2313        9.0808        .32965E-03   -1.5647    
  11  Prefactor     4.3076        18.630        .47438E-03   -1.5666    
  12  Prefactor     83.381        35.896        .10779E-03   -1.5525    
  13  Prefactor     4.9353        5.3451        .45440E-03   -1.5664    
  14  norm          3.0807        2.4117        .57740E-03   -1.5673    
  15  norm           .0000        1.1937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.184        30.640        .31447E-03   -1.5644    
  17  Normalizat    1.1062        .21146        .58563E-01   -.89554    
  18  Prefactor     .96416        .17252        .45826E-01   -.93934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.29729e-08
Minuit parameter uncertainties:
  1  0.000159574
  2  13.5379
  3  1.84174e-06
  4  14.1492
  5  2.34729
  6  4.84628e-06
  7  54.2105
  8  1.96874e-06
  9  1.00062e-07
  10  9.08083
  11  17.9166
  12  35.8965
  13  5.34508
  14  2.41168
  15  1.24021e-07
  16  30.6408
  17  0.211623
  18  0.172621
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  4.308e+00  1.792e+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.642e-01  1.726e-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.106e+00  2.116e-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.59e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.26e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/635701/likelihoodResults_698630401_698889601_4FGL_J1357.1+1921_daily_bin1772.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) = 5223.45733222
delta logL = 0.171720927491

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5223.44913586
delta logL = 0.179917293483

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9822       1.0000          .0000       .10000E+07
     2 'Index     '    3.6554       1.0000          .0000       10.000    
     3 'Normalizat'    1.0695       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97979       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5223.449     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      249 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9848        12.799        .18012E-04   -.11803E-03
   2  Index         3.6551        1.6764        .41909E-02    .24496E-05
   3  Normalizat    1.0695        .25320        .26283E-03   -.21238E-04
   4  Prefactor     .97981        .20622        .22972E-03   -.39196E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.98481
  Index      = 3.65512
  Normalizat = 1.0695
  Prefactor  = 0.979811
 **********
 **   18 **HESSE 
 **********

 FCN=   5223.449     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9848        11.884        .72050E-06   -1.5663    
   2  Index         3.6551        1.5599        .16764E-03   -.27233    
   3  Normalizat    1.0695        .25363        .10513E-04   -.90737    
   4  Prefactor     .97981        .20650        .91887E-05   -.93406    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70263e-12
Minuit parameter uncertainties:
  1  11.8836
  2  1.58858
  3  0.253917
  4  0.206668
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/635701': 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) = 5223.44913583
delta logL = 0.179917322738

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  4.985e+00  1.188e+01  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  3.655e+00  1.589e+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.798e-01  2.067e-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.070e+00  2.539e-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/635701/cmap_HighResolution_698630401_698889601_4FGL_J1357.1+1921_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', job_status='DONE', photon_flux_upper_limit='1.59e-07', time_completed='2023-02-24 02:00:14.587572', job_id='635701', GAL2='0.98', fit_tolerance='1e-08', EG2='1.07', EG='1.11', time_epoch_completed='1677232814.59', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.80e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1772' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 02:00:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 635701: <4FGL_J1357.1+1921_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin1772> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb 24 01:50:14 2023
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:50:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:50:16 2023
Terminated at Fri Feb 24 02:00:15 2023
Results reported at Fri Feb 24 02:00:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin1772 209.29 19.3608 698630401 698889601 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 :                                   444.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   598 sec.
    Turnaround time :                            601 sec.

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

