aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1351.3+1115_weekly_bin650
RA = 207.843, Dec = 11.2502
tmin = 632102401, tmax = 632707201
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='110575', job_status='RUN', time_executed='2021-07-21 04:00:50.976168', time_epoch_executed='1626865250.98' WHERE source_name='4FGL J1351.3+1115' and cadence='weekly' and bin_id='650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110575

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110575/ft1_4FGL_J1351.3+1115_weekly_bin650.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110575/ft2_4FGL_J1351.3+1115_weekly_bin650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110575/ft1_4FGL_J1351.3+1115_weekly_bin650.fits outfile=/scratch/kocevski/110575/ft1_filteredMKT_4FGL_J1351.3+1115_weekly_bin650.fits ra=207.843 dec=11.2502 rad=12.0 tmin=632102401.0 tmax=632707201.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.33
user 7.04
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/110575/ft2_4FGL_J1351.3+1115_weekly_bin650.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/110575/ft2_4FGL_J1351.3+1115_weekly_bin650.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/110575/ft1_filteredMKT_4FGL_J1351.3+1115_weekly_bin650.fits evtable="EVENTS" outfile="/scratch/kocevski/110575/ft1_filtered_4FGL_J1351.3+1115_weekly_bin650.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110575/ft1_filtered_4FGL_J1351.3+1115_weekly_bin650.fits" evtable="EVENTS" scfile=/scratch/kocevski/110575/ft2_4FGL_J1351.3+1115_weekly_bin650.fits sctable="SC_DATA" outfile=/scratch/kocevski/110575/ltcube_632102401_632707201_4FGL_J1351.3+1115_weekly_bin650.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/110575/ft2_4FGL_J1351.3+1115_weekly_bin650.fits
.....................!
real 26.88
user 26.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110575/ft1_filtered_4FGL_J1351.3+1115_weekly_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/110575/ft2_4FGL_J1351.3+1115_weekly_bin650.fits sctable="SC_DATA" expcube=/scratch/kocevski/110575/ltcube_632102401_632707201_4FGL_J1351.3+1115_weekly_bin650.fits outfile=/scratch/kocevski/110575/expmap_632102401_632707201_4FGL_J1351.3+1115_weekly_bin650.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/110575/ltcube_632102401_632707201_4FGL_J1351.3+1115_weekly_bin650.fits
.....................!
real 156.71
user 152.55
sys 3.67

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 150 point sources and 0 extended sources

Setting source of interest to:
4FGL J1351.3+1115 @ 207.843 11.2502

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/110575/ft1_filtered_4FGL_J1351.3+1115_weekly_bin650.fits scfile=/scratch/kocevski/110575/ft2_4FGL_J1351.3+1115_weekly_bin650.fits outfile=/scratch/kocevski/110575/cmap_632102401_632707201_4FGL_J1351.3+1115_weekly_bin650.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=207.843 yref=11.2502 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.50
user 0.34
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110575/ft1_filtered_4FGL_J1351.3+1115_weekly_bin650.fits scfile=/scratch/kocevski/110575/ft2_4FGL_J1351.3+1115_weekly_bin650.fits outfile=/scratch/kocevski/110575/cmap_HighResolution_632102401_632707201_4FGL_J1351.3+1115_weekly_bin650.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=207.843 yref=11.2502 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.51
user 0.35
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/110575/ft1_filtered_4FGL_J1351.3+1115_weekly_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/110575/ft2_4FGL_J1351.3+1115_weekly_bin650.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/110575/Model_4FGL_J1351.3+1115_weekly_bin650.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/110575/ft1_filtered_4FGL_J1351.3+1115_weekly_bin650.fits.....................!
real 90.63
user 89.34
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/110575/ft1_filtered_4FGL_J1351.3+1115_weekly_bin650.fits', '/scratch/kocevski/110575/ft2_4FGL_J1351.3+1115_weekly_bin650.fits', expMap='/scratch/kocevski/110575/expmap_632102401_632707201_4FGL_J1351.3+1115_weekly_bin650.fits', expCube='/scratch/kocevski/110575/ltcube_632102401_632707201_4FGL_J1351.3+1115_weekly_bin650.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/110575/Model_4FGL_J1351.3+1115_weekly_bin650.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1351.3+1115'

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.085e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.884e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/110575/ft1_filtered_4FGL_J1351.3+1115_weekly_bin650.fits
Spacecraft file(s): /scratch/kocevski/110575/ft2_4FGL_J1351.3+1115_weekly_bin650.fits
Exposure map: /scratch/kocevski/110575/expmap_632102401_632707201_4FGL_J1351.3+1115_weekly_bin650.fits
Exposure cube: /scratch/kocevski/110575/ltcube_632102401_632707201_4FGL_J1351.3+1115_weekly_bin650.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/110575/Model_4FGL_J1351.3+1115_weekly_bin650.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) = 17247.9481375

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.500       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.738       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13109E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .64068       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .58294       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .20918E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.7236       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.004       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.8004       1.0000         .10000E-03   10000.    
    13 'norm      '    7.9031       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.7760       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .89123       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1430       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17247.85     FROM MIGRAD    STATUS=CONVERGED    333 CALLS     1426 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3736        .98177E-07** at limit **
   2  Prefactor     19.501        13.223        .14645E-06    .15691E-04
   3  Prefactor     11.737        25.956        .25230E-05    .72745E-04
   4  Prefactor     .10000E-03    .70517       -.41397E-06** at limit **
   5  Prefactor     .10000E-03    2.2881       -.38587E-07** at limit **
   6  Prefactor     .64075        1.5853       -.63488E-07    .17711E-02
   7  Prefactor     .10000E-03    3.7497       -.14500E-06** at limit **
   8  Prefactor     .56847        16.556        .99052E-05   -.26051E-03
   9  Prefactor     .10001E-03    2.2976       -.19662E-05** at limit **
  10  Prefactor     8.7150        12.007        .48330E-05    .63815E-03
  11  Prefactor     23.005        16.498       -.83404E-07    .66309E-05
  12  Prefactor     3.8003        8.2592       -.17212E-07    .10941E-03
  13  norm          7.9036        9.6056        .18442E-07    .49163E-04
  14  Prefactor     4.7759        3.7791        .25355E-06    .34093E-03
  15  Prefactor     .10000E-03    2.2270       -.68396E-07** at limit **
  16  Normalizat    .89123        .11966       -.14998E-06    .65637E-03
  17  Prefactor     1.1430        .92073E-01   -.35342E-07    .85711E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.5006
  Prefactor  = 11.7366
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.640753
  Prefactor  = 0.0001
  Prefactor  = 0.568469
  Prefactor  = 0.000100013
  Prefactor  = 8.71496
  Prefactor  = 23.0054
  Prefactor  = 3.8003
  norm       = 7.90359
  Prefactor  = 4.77591
  Prefactor  = 0.0001
  Normalizat = 0.891228
  Prefactor  = 1.14299
 **********
 **   18 **HESSE 
 **********

 FCN=   17247.85     FROM HESSE     STATUS=OK           231 CALLS     1657 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.501        13.219        .90700E-04   -1.4824    
   3  Prefactor     11.737        25.930        .11693E-03   -1.5023    
   4  Prefactor     .10000E-03    4.4855        .20760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.2922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .64075        1.7089        .27506E-03   -1.5548    
   7  Prefactor     .10000E-03    3.7795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .56847        17.924        .44837E-02   -1.5557    
   9  Prefactor     .10001E-03    21.646        .35681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.7150        12.356        .13571E-03   -1.5117    
  11  Prefactor     23.005        16.487        .83514E-04   -1.4748    
  12  Prefactor     3.8003        8.2425        .20706E-03   -1.5318    
  13  norm          7.9036        9.6013        .14263E-03   -1.5146    
  14  Prefactor     4.7759        3.7770        .18410E-03   -1.5271    
  15  Prefactor     .10000E-03    2.2934        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .89123        .13765        .28180E-03   -.96769    
  17  Prefactor     1.1430        .10814        .19883E-03   -.88104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.22444e-08
Minuit parameter uncertainties:
  1  1.33271e-06
  2  13.2215
  3  25.9544
  4  3.83359e-05
  5  2.74091e-06
  6  1.70906
  7  7.32644e-06
  8  6.38567
  9  0.00105395
  10  12.3593
  11  16.4903
  12  8.245
  13  9.60314
  14  3.77723
  15  8.30541e-06
  16  0.137701
  17  0.108156
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  6.408e-01  1.709e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.884e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.143e+00  1.082e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  8.912e-01  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 207.843 11.250
Photon Flux Upper Limit: 2.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/110575/likelihoodResults_632102401_632707201_4FGL_J1351.3+1115_weekly_bin650.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): 102
logL (Free Index) = 17247.1804842
delta logL = 0.666927833408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17247.1580229
delta logL = 0.68938908237

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89807E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    5.1327       1.0000          .0000       10.000    
     3 'Normalizat'    .83257       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1737       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17247.16     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      293 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88071E-03    .53704E-02    .71233E-03** at limit **
   2  Index         5.1395        .93120        .12145        .41059E-03
   3  Normalizat    .83295        .16605E-01    .65764E-01    .97267E-04
   4  Prefactor     1.1736        .13143E-01    .35284E-01    .60671E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000880707
  Index      = 5.13951
  Normalizat = 0.832949
  Prefactor  = 1.17361
 **********
 **   18 **HESSE 
 **********

 FCN=   17247.16     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      324 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88071E-03    .32518E-01    .32719E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.1395        3.4219        .41839E-02    .27906E-01
   3  Normalizat    .83295        .10647        .29093E-03   -.98858    
   4  Prefactor     1.1736        .82179E-01    .19656E-03   -.87147    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.94335e-09
Minuit parameter uncertainties:
  1  0.0100771
  2  3.76907
  3  0.106498
  4  0.082188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110575': 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): 102
logL (Free Index) = 17247.1580075
delta logL = 0.689404521541

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  8.807e-04  1.008e-02  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  5.140e+00  3.769e+00  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.174e+00  8.219e-02  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  8.329e-01  1.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.69
Ra Dec: 207.843 11.250
Photon Index (Free Index): 5.14 +/- 3.77
Photon Flux (Free Index): 4.38e-08 +/- 3.53e-08
Energy Flux (Free Index): 5.75e-06 +/- 4.90e-06

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/110575/cmap_HighResolution_632102401_632707201_4FGL_J1351.3+1115_weekly_bin650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.12e-03', comment='SUCCESS', energy_flux2='5.75e-06', dlogl='6.89e-01', photon_flux2='4.38e-08', job_status='DONE', time_completed='2021-07-21 04:13:58.465524', photon_index_error2='3.77', photon_index2='5.14', ts='0.16', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='2.85e-08', energy_flux_error2='4.90e-06', EG='0.89', time_epoch_completed='1626866038.47', return_code='0', job_id='110575', GAL2='1.17', EG2='0.83', return_code2='102', photon_flux_error2='3.53e-08', ts2='1.69', photon_index='1.88' WHERE bin_id='650' AND source_name='4FGL J1351.3+1115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul 21 04:13:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 110575: <4FGL_J1351.3+1115_weekly_bin650> in cluster <slac> Done

Job <4FGL_J1351.3+1115_weekly_bin650> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Jul 21 04:00:26 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 21 04:00:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 21 04:00:44 2021
Terminated at Wed Jul 21 04:13:58 2021
Results reported at Wed Jul 21 04:13:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_weekly_bin650 207.843 11.2502 632102401 632707201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1351.3+1115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   720.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             282.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            812 sec.

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

