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


Performing analysis on: 4FGL_J1357.1+1921_weekly_bin744
RA = 209.29, Dec = 19.3608
tmin = 688953601, tmax = 689558401
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='973040', job_status='RUN', time_executed='2022-11-08 01:17:35.347007', time_epoch_executed='1667899055.35' WHERE source_name='4FGL J1357.1+1921' and cadence='weekly' and bin_id='744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/973040

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/973040/ft1_4FGL_J1357.1+1921_weekly_bin744.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/973040/ft2_4FGL_J1357.1+1921_weekly_bin744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/973040/ft1_4FGL_J1357.1+1921_weekly_bin744.fits outfile=/scratch/kocevski/973040/ft1_filteredMKT_4FGL_J1357.1+1921_weekly_bin744.fits ra=209.29 dec=19.3608 rad=12.0 tmin=688953601.0 tmax=689558401.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 7.68
user 7.38
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/973040/ft2_4FGL_J1357.1+1921_weekly_bin744.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/973040/ft1_filteredMKT_4FGL_J1357.1+1921_weekly_bin744.fits evtable="EVENTS" outfile="/scratch/kocevski/973040/ft1_filtered_4FGL_J1357.1+1921_weekly_bin744.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.54
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 1278

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/973040/ft1_filtered_4FGL_J1357.1+1921_weekly_bin744.fits evtable="EVENTS" scfile=/scratch/kocevski/973040/ft2_4FGL_J1357.1+1921_weekly_bin744.fits sctable="SC_DATA" expcube=/scratch/kocevski/973040/ltcube_688953601_689558401_4FGL_J1357.1+1921_weekly_bin744.fits outfile=/scratch/kocevski/973040/expmap_688953601_689558401_4FGL_J1357.1+1921_weekly_bin744.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/973040/ltcube_688953601_689558401_4FGL_J1357.1+1921_weekly_bin744.fits
.....................!
real 191.63
user 185.81
sys 5.46

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/973040/ft1_filtered_4FGL_J1357.1+1921_weekly_bin744.fits scfile=/scratch/kocevski/973040/ft2_4FGL_J1357.1+1921_weekly_bin744.fits outfile=/scratch/kocevski/973040/cmap_688953601_689558401_4FGL_J1357.1+1921_weekly_bin744.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.59
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/973040/ft1_filtered_4FGL_J1357.1+1921_weekly_bin744.fits scfile=/scratch/kocevski/973040/ft2_4FGL_J1357.1+1921_weekly_bin744.fits outfile=/scratch/kocevski/973040/cmap_HighResolution_688953601_689558401_4FGL_J1357.1+1921_weekly_bin744.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.60
user 0.41
sys 0.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.841       1.0000          .0000       .10000E+07
     2 'norm      '    7.9265       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34528E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .43172E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .23492E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9365       1.0000          .0000       .10000E+07
     7 'Prefactor '    .33307E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.0699       1.0000          .0000       .10000E+07
     9 'Prefactor '    .99534       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.5303       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2386       1.0000          .0000       .10000E+07
    12 'Prefactor '    68.530       1.0000          .0000       .10000E+07
    13 'Prefactor '    .54645E-05   1.0000          .0000       .10000E+07
    14 'norm      '    1.4770       1.0000          .0000       .10000E+07
    15 'norm      '    1.3999       1.0000          .0000       .10000E+07
    16 'Prefactor '    22.007       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1669       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0185       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=   13762.82     FROM MIGRAD    STATUS=CONVERGED     81 CALLS     1003 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.817        2.8609       -.32813E-06    .70787E-01
   2  norm          7.8825        4.3248        .25585E-07    .19427E-02
   3  Prefactor     .78271E-08    16.161       -.47862E-06** at limit **
   4  norm           .0000        1.9462       -.31203E-07** at limit **
   5  Prefactor     .49960E-09    2.8543       -.11791E-06** at limit **
   6  Prefactor     4.9391        4.9527       -.10923E-05   -.14454E-01
   7  Prefactor     .67168E-08    8.5056       -.32614E-06** at limit **
   8  Prefactor     3.0696        2.3690       -.14691E-07    .71644E-02
   9  Prefactor     .95347        2.4354        .35887E-06    .20441E-02
  10  Prefactor     3.5301        1.6169       -.25272E-06   -.28275E-02
  11  Prefactor     2.2412        4.2058        .13008E-05    .12117E-01
  12  Prefactor     68.557        1.2048        .37241E-07   -.47260E-01
  13  Prefactor     .16653E-09    1.5511       -.37996E-07** at limit **
  14  norm          1.4761        1.0794        .33909E-08    .25854E-02
  15  norm          1.3992        1.2720       -.19708E-07    .11771E-01
  16  Prefactor     22.090        1.3657        .94507E-07   -.40107E-01
  17  Normalizat    1.1670        .14494       -.22287E-07    .52349E-03
  18  Prefactor     1.0187        .12718       -.19113E-05    .65052E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.8167
  norm       = 7.88251
  Prefactor  = 7.82707e-09
  norm       = 0
  Prefactor  = 4.996e-10
  Prefactor  = 4.93912
  Prefactor  = 6.71685e-09
  Prefactor  = 3.06964
  Prefactor  = 0.953468
  Prefactor  = 3.53011
  Prefactor  = 2.24124
  Prefactor  = 68.5573
  Prefactor  = 1.66533e-10
  norm       = 1.4761
  norm       = 1.3992
  Prefactor  = 22.0904
  Normalizat = 1.16695
  Prefactor  = 1.01867
 **********
 **   18 **HESSE 
 **********

 FCN=   13762.82     FROM HESSE     STATUS=OK           282 CALLS     1285 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.817        10.999        .24379E-03   -1.5626    
   2  norm          7.8825        4.3683        .35590E-03   -1.5652    
   3  Prefactor     .78271E-08    16.165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.9534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    2.8645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.9391        6.7548        .45243E-03   -1.5664    
   7  Prefactor     .67168E-08    8.5399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0696        2.3782        .57869E-03   -1.5673    
   9  Prefactor     .95347        2.4771        .43600E-03   -1.5688    
  10  Prefactor     3.5301        6.3629        .53776E-03   -1.5670    
  11  Prefactor     2.2412        6.7550        .68669E-03   -1.5678    
  12  Prefactor     68.557        21.004        .12081E-03   -1.5542    
  13  Prefactor     .16653E-09    1.5508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.4761        1.0804        .88321E-04   -1.5684    
  15  norm          1.3992        1.2976        .91677E-03   -1.5684    
  16  Prefactor     22.090        21.994        .21322E-03   -1.5614    
  17  Normalizat    1.1670        .12350        .56168E-01   -.87630    
  18  Prefactor     1.0187        .10791        .42294E-01   -.92110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75757e-07
Minuit parameter uncertainties:
  1  10.9992
  2  4.36833
  3  0.000710218
  4  1.11248e-05
  5  7.55726e-05
  6  6.75477
  7  0.000478031
  8  2.37824
  9  2.47711
  10  6.36289
  11  6.75503
  12  21.0038
  13  3.30676e-05
  14  1.08035
  15  1.29762
  16  21.9939
  17  0.123528
  18  0.107937
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  2.241e+00  6.755e+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

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  1.019e+00  1.079e-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.167e+00  1.235e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 209.290 19.361
Photon Flux Upper Limit: 6.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/973040/likelihoodResults_688953601_689558401_4FGL_J1357.1+1921_weekly_bin744.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) = 13762.7687716
delta logL = 0.0544035789317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13762.7617751
delta logL = 0.0614000321129

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0267       1.0000          .0000       .10000E+07
     2 'Index     '    2.2357       1.0000          .0000       10.000    
     3 'Normalizat'    1.1716       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0148       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=   13762.76     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      275 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0235        6.8803        .23322E-04    .37048E-04
   2  Index         2.2335        1.1771        .12464E-01   -.56280E-05
   3  Normalizat    1.1714        .14296        .24796E-03    .16505E-05
   4  Prefactor     1.0149        .12557        .23079E-03    .24630E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.02354
  Index      = 2.23347
  Normalizat = 1.17138
  Prefactor  = 1.01493
 **********
 **   18 **HESSE 
 **********

 FCN=   13762.76     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .50E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0235        6.9664        .93286E-06   -1.5673    
   2  Index         2.2335        1.1922        .49854E-03   -.58633    
   3  Normalizat    1.1714        .14311        .99185E-05   -.87492    
   4  Prefactor     1.0149        .12568        .92317E-05   -.92233    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.98913e-14
Minuit parameter uncertainties:
  1  6.96642
  2  1.20908
  3  0.143155
  4  0.125718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/973040': 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) = 13762.7617722
delta logL = 0.0614030294855

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  3.024e+00  6.966e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.233e+00  1.209e+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.015e+00  1.257e-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.171e+00  1.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 209.290 19.361

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/973040/cmap_HighResolution_688953601_689558401_4FGL_J1357.1+1921_weekly_bin744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.30e-03', job_status='DONE', photon_flux_upper_limit='6.71e-08', time_completed='2022-11-08 01:29:29.952162', job_id='973040', GAL2='1.01', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1667899769.95', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='6.14e-02', ts2='0.25', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='744' AND source_name='4FGL J1357.1+1921' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov  8 01:29:29 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 973040: <4FGL_J1357.1+1921_weekly_bin744> in cluster <slac> Done

Job <4FGL_J1357.1+1921_weekly_bin744> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov  8 01:15:29 2022
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 01:15:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 01:15:31 2022
Terminated at Tue Nov  8 01:29:30 2022
Results reported at Tue Nov  8 01:29:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_weekly_bin744 209.29 19.3608 688953601 689558401 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 :                                   715.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            841 sec.

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

