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


Performing analysis on: 4FGL_J1357.1+1921_daily_bin1778
RA = 209.29, Dec = 19.3608
tmin = 700185601, tmax = 700444801
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='965784', job_status='RUN', time_executed='2023-03-14 01:10:31.610235', time_epoch_executed='1678781431.61' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/965784

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/965784/ft1_4FGL_J1357.1+1921_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/965784/ft2_4FGL_J1357.1+1921_daily_bin1778.fits


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

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

Done.
real 3.92
user 3.70
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/965784/ft2_4FGL_J1357.1+1921_daily_bin1778.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/965784/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/965784/ft1_filtered_4FGL_J1357.1+1921_daily_bin1778.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.16

Number of photons that the gtmktime cut: 579

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/965784/ft1_filtered_4FGL_J1357.1+1921_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/965784/ft2_4FGL_J1357.1+1921_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/965784/ltcube_700185601_700444801_4FGL_J1357.1+1921_daily_bin1778.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/965784/ft2_4FGL_J1357.1+1921_daily_bin1778.fits
.....................!
real 12.66
user 12.34
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/965784/ft1_filtered_4FGL_J1357.1+1921_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/965784/ft2_4FGL_J1357.1+1921_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/965784/ltcube_700185601_700444801_4FGL_J1357.1+1921_daily_bin1778.fits outfile=/scratch/kocevski/965784/expmap_700185601_700444801_4FGL_J1357.1+1921_daily_bin1778.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/965784/ltcube_700185601_700444801_4FGL_J1357.1+1921_daily_bin1778.fits
.....................!
real 190.22
user 185.35
sys 4.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/965784/ft1_filtered_4FGL_J1357.1+1921_daily_bin1778.fits scfile=/scratch/kocevski/965784/ft2_4FGL_J1357.1+1921_daily_bin1778.fits outfile=/scratch/kocevski/965784/cmap_700185601_700444801_4FGL_J1357.1+1921_daily_bin1778.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/965784/ft1_filtered_4FGL_J1357.1+1921_daily_bin1778.fits scfile=/scratch/kocevski/965784/ft2_4FGL_J1357.1+1921_daily_bin1778.fits outfile=/scratch/kocevski/965784/cmap_HighResolution_700185601_700444801_4FGL_J1357.1+1921_daily_bin1778.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=209.29 yref=19.3608 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20828E-06   1.0000          .0000       .10000E+07
     2 'norm      '    33.129       1.0000          .0000       .10000E+07
     3 'Prefactor '    .96433E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .61751E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    34.754       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.1291       1.0000          .0000       .10000E+07
     7 'Prefactor '    .72576E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.0202       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13210E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    16.691       1.0000          .0000       .10000E+07
    11 'Prefactor '    28.385       1.0000          .0000       .10000E+07
    12 'Prefactor '    96.487       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.0355       1.0000          .0000       .10000E+07
    14 'norm      '    5.2812       1.0000          .0000       .10000E+07
    15 'norm      '    1.5440       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32450       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1186       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .73850       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=   6582.142     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1285 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24425E-08    6.7170        .28952E-06** at limit **
   2  norm          32.818        9.4029       -.41485E-07    .19743E-02
   3  Prefactor     .55511E-10    20.083       -.49470E-06** at limit **
   4  norm          .13323E-08    5.0167        .79306E-06** at limit **
   5  Prefactor     34.789        1.3177       -.20205E-07    .18919E-01
   6  Prefactor     8.2293        1.5428        .68320E-07   -.12949E-01
   7  Prefactor     .28311E-08    46.496        .43773E-06** at limit **
   8  Prefactor     2.0154        5.2875       -.19650E-06    .29141E-03
   9  Prefactor     .30753E-07    6.2915        .48444E-06** at limit **
  10  Prefactor     16.546        9.3320       -.36427E-06   -.69436E-02
  11  Prefactor     28.257        9.0254        .28520E-06    .11156E-01
  12  Prefactor     96.666        2.0074        .22715E-07   -.50716E-01
  13  Prefactor     3.9580        7.5408        .56350E-06    .42586E-03
  14  norm          5.2783        2.4725       -.18770E-06    .69551E-03
  15  norm          1.5433        2.3936       -.11742E-06   -.12515E-02
  16  Prefactor     .91427E-07    37.570       -.12164E-05** at limit **
  17  Normalizat    1.1199        .21494       -.49642E-05    .35893E-04
  18  Prefactor     .73850        .17196       -.12846E-05    .31183E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.44249e-09
  norm       = 32.8185
  Prefactor  = 5.55112e-11
  norm       = 1.33227e-09
  Prefactor  = 34.7888
  Prefactor  = 8.22926
  Prefactor  = 2.83107e-09
  Prefactor  = 2.01536
  Prefactor  = 3.07532e-08
  Prefactor  = 16.546
  Prefactor  = 28.2572
  Prefactor  = 96.6659
  Prefactor  = 3.95803
  norm       = 5.27832
  norm       = 1.54333
  Prefactor  = 9.14269e-08
  Normalizat = 1.1199
  Prefactor  = 0.738504
 **********
 **   18 **HESSE 
 **********

 FCN=   6582.142     FROM HESSE     STATUS=OK           284 CALLS     1569 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24425E-08    7.1276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          32.818        9.4022        .17376E-03   -1.5593    
   3  Prefactor     .55511E-10    20.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .13323E-08    5.1541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     34.789        38.016        .16965E-03   -1.5590    
   6  Prefactor     8.2293        30.860        .35140E-03   -1.5651    
   7  Prefactor     .28311E-08    46.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.0154        5.3834        .72782E-03   -1.5680    
   9  Prefactor     .30753E-07    11.376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.546        13.494        .24488E-03   -1.5627    
  11  Prefactor     28.257        13.431        .18773E-03   -1.5602    
  12  Prefactor     96.666        36.412        .10181E-03   -1.5511    
  13  Prefactor     3.9580        7.7957        .50172E-03   -1.5668    
  14  norm          5.2783        2.4764        .43713E-03   -1.5662    
  15  norm          1.5433        2.4272        .85742E-03   -1.5683    
  16  Prefactor     .91427E-07    56.981        .98813E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1199        .18566        .56685E-01   -.89115    
  18  Prefactor     .73850        .14564        .42911E-01   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.42264e-08
Minuit parameter uncertainties:
  1  0.000265098
  2  9.40224
  3  6.0496e-05
  4  0.000166412
  5  38.0167
  6  30.861
  7  0.000725851
  8  5.38341
  9  0.00118332
  10  13.4938
  11  13.4308
  12  36.4124
  13  7.79577
  14  2.47639
  15  2.42722
  16  0.00456549
  17  0.185773
  18  0.145715
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  2.826e+01  1.343e+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:  7.385e-01  1.457e-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.120e+00  1.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.24
Ra Dec: 209.290 19.361
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 5.22e-08
Energy Flux (Fixed Index): 2.53e-05 +/- 1.20e-05

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) = 6581.78199277
delta logL = 0.360335545769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6581.75342693
delta logL = 0.388901380526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.955       1.0000          .0000       .10000E+07
     2 'Index     '    2.3203       1.0000          .0000       10.000    
     3 'Normalizat'    1.1554       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71630       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=   6581.753     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      216 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.936        24.714        .17693E-03    .21492E-02
   2  Index         2.3202        .61196        .18802       -.23909E-04
   3  Normalizat    1.1555        .17918        .55937E-01    .72711E-05
   4  Prefactor     .71623        .14547        .42618E-01    .18710E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.9361
  Index      = 2.32019
  Normalizat = 1.15553
  Prefactor  = 0.716232
 **********
 **   18 **HESSE 
 **********

 FCN=   6581.753     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.936        15.710        .35385E-04   -1.5595    
   2  Index         2.3202        .45251        .71475E-02   -.56565    
   3  Normalizat    1.1555        .21079        .24735E-03   -.87988    
   4  Prefactor     .71623        .16885        .24765E-03   -1.0289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70351e-13
Minuit parameter uncertainties:
  1  15.7102
  2  0.453377
  3  0.210943
  4  0.168967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/965784': 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) = 6581.75342607
delta logL = 0.388902241617

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  3.194e+01  1.571e+01  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.320e+00  4.534e-01  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:  7.162e-01  1.690e-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.156e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.97
Ra Dec: 209.290 19.361
Photon Index (Free Index): 2.32 +/- 0.45
Photon Flux (Free Index): 8.45e-08 +/- 5.26e-08
Energy Flux (Free Index): 3.10e-05 +/- 1.79e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/965784/cmap_HighResolution_700185601_700444801_4FGL_J1357.1+1921_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='3.10e-05', photon_flux_error='5.22e-08', dlogl='3.89e-01', energy_flux='2.53e-05', photon_flux2='8.45e-08', job_status='DONE', time_completed='2023-03-14 01:18:24.305558', photon_index_error2='0.45', photon_index2='2.32', ts='7.24', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='1.79e-05', EG='1.12', time_epoch_completed='1678781904.31', return_code='0', job_id='965784', GAL2='0.72', EG2='1.16', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='5.26e-08', ts2='7.97', photon_index='2.76' WHERE bin_id='1778' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:18:24 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 965784: <4FGL_J1357.1+1921_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin1778> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Mar 14 01:10:14 2023
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 01:10:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 01:10:14 2023
Terminated at Tue Mar 14 01:18:25 2023
Results reported at Tue Mar 14 01:18:25 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin1778 209.29 19.3608 700185601 700444801 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 :                                   475.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             294.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   490 sec.
    Turnaround time :                            491 sec.

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

