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


Performing analysis on: 4FGL_J1351.3+1115_weekly_bin608
RA = 207.843, Dec = 11.2502
tmin = 606700801, tmax = 607305601
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='109347', job_status='RUN', time_executed='2021-07-21 03:58:59.289692', time_epoch_executed='1626865139.29' WHERE source_name='4FGL J1351.3+1115' and cadence='weekly' and bin_id='608'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/109347

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/109347/ft1_4FGL_J1351.3+1115_weekly_bin608.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/109347/ft2_4FGL_J1351.3+1115_weekly_bin608.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/109347/ft1_4FGL_J1351.3+1115_weekly_bin608.fits outfile=/scratch/kocevski/109347/ft1_filteredMKT_4FGL_J1351.3+1115_weekly_bin608.fits ra=207.843 dec=11.2502 rad=12.0 tmin=606700801.0 tmax=607305601.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 11.88
user 11.35
sys 0.36

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/109347/ft2_4FGL_J1351.3+1115_weekly_bin608.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/109347/ft1_filteredMKT_4FGL_J1351.3+1115_weekly_bin608.fits evtable="EVENTS" outfile="/scratch/kocevski/109347/ft1_filtered_4FGL_J1351.3+1115_weekly_bin608.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.56
user 0.38
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/109347/ft1_filtered_4FGL_J1351.3+1115_weekly_bin608.fits" evtable="EVENTS" scfile=/scratch/kocevski/109347/ft2_4FGL_J1351.3+1115_weekly_bin608.fits sctable="SC_DATA" outfile=/scratch/kocevski/109347/ltcube_606700801_607305601_4FGL_J1351.3+1115_weekly_bin608.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/109347/ft2_4FGL_J1351.3+1115_weekly_bin608.fits
.....................!
real 30.81
user 30.06
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/109347/ft1_filtered_4FGL_J1351.3+1115_weekly_bin608.fits evtable="EVENTS" scfile=/scratch/kocevski/109347/ft2_4FGL_J1351.3+1115_weekly_bin608.fits sctable="SC_DATA" expcube=/scratch/kocevski/109347/ltcube_606700801_607305601_4FGL_J1351.3+1115_weekly_bin608.fits outfile=/scratch/kocevski/109347/expmap_606700801_607305601_4FGL_J1351.3+1115_weekly_bin608.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/109347/ltcube_606700801_607305601_4FGL_J1351.3+1115_weekly_bin608.fits
.....................!
real 194.56
user 187.07
sys 5.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 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/109347/ft1_filtered_4FGL_J1351.3+1115_weekly_bin608.fits scfile=/scratch/kocevski/109347/ft2_4FGL_J1351.3+1115_weekly_bin608.fits outfile=/scratch/kocevski/109347/cmap_606700801_607305601_4FGL_J1351.3+1115_weekly_bin608.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.62
user 0.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/109347/ft1_filtered_4FGL_J1351.3+1115_weekly_bin608.fits scfile=/scratch/kocevski/109347/ft2_4FGL_J1351.3+1115_weekly_bin608.fits outfile=/scratch/kocevski/109347/cmap_HighResolution_606700801_607305601_4FGL_J1351.3+1115_weekly_bin608.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.59
user 0.43
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/109347/ft1_filtered_4FGL_J1351.3+1115_weekly_bin608.fits', '/scratch/kocevski/109347/ft2_4FGL_J1351.3+1115_weekly_bin608.fits', expMap='/scratch/kocevski/109347/expmap_606700801_607305601_4FGL_J1351.3+1115_weekly_bin608.fits', expCube='/scratch/kocevski/109347/ltcube_606700801_607305601_4FGL_J1351.3+1115_weekly_bin608.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/109347/Model_4FGL_J1351.3+1115_weekly_bin608.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/109347/ft1_filtered_4FGL_J1351.3+1115_weekly_bin608.fits
Spacecraft file(s): /scratch/kocevski/109347/ft2_4FGL_J1351.3+1115_weekly_bin608.fits
Exposure map: /scratch/kocevski/109347/expmap_606700801_607305601_4FGL_J1351.3+1115_weekly_bin608.fits
Exposure cube: /scratch/kocevski/109347/ltcube_606700801_607305601_4FGL_J1351.3+1115_weekly_bin608.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/109347/Model_4FGL_J1351.3+1115_weekly_bin608.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) = 12269.8403302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5702       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.3635       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.649       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .51443       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8462       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.4375       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.7554       1.0000         .10000E-03   10000.    
    11 'Prefactor '    165.71       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.102       1.0000         .10000E-03   10000.    
    13 'norm      '    5.3160       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .94927       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99018       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=   12269.82     FROM MIGRAD    STATUS=CONVERGED    296 CALLS     1355 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5699        7.4087        .47074E-02    .11948E-02
   2  Prefactor     9.3634        15.038        .32742E-02    .50290E-03
   3  Prefactor     28.649        23.740        .18713E-02    .95292E-03
   4  Prefactor     .51450        1.9842        .11330E-01    .33156E-02
   5  Prefactor     .10000E-03    3.7634        .90712E-02** at limit **
   6  Prefactor     1.8461        1.6693        .76727E-02   -.23010E-03
   7  Prefactor     .10000E-03    1.6999        .90712E-02** at limit **
   8  Prefactor     5.4372        7.2363        .43081E-02    .12794E-02
   9  Prefactor     .10000E-03    2.1042        .90712E-02** at limit **
  10  Prefactor     9.7551        10.634        .32075E-02    .12204E-02
  11  Prefactor     165.71        27.831        .78336E-03   -.28213E-03
  12  Prefactor     19.102        13.969        .22910E-02    .38525E-03
  13  norm          5.3162        13.950        .43579E-02   -.58901E-03
  14  Prefactor     .10000E-03    1.8187        .90712E-02** at limit **
  15  Prefactor     .10000E-03    1.0478        .90712E-02** at limit **
  16  Normalizat    .94934        .13921        .45528E-01    .38620E-04
  17  Prefactor     .99013        .10673        .46144E-01    .13419E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.56992
  Prefactor  = 9.36342
  Prefactor  = 28.649
  Prefactor  = 0.514495
  Prefactor  = 0.0001
  Prefactor  = 1.84608
  Prefactor  = 0.0001
  Prefactor  = 5.43716
  Prefactor  = 0.0001
  Prefactor  = 9.75508
  Prefactor  = 165.707
  Prefactor  = 19.1022
  norm       = 5.31623
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.949342
  Prefactor  = 0.990129
 **********
 **   18 **HESSE 
 **********

 FCN=   12269.82     FROM HESSE     STATUS=OK           219 CALLS     1574 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5699        7.4099        .18830E-03   -1.5280    
   2  Prefactor     9.3634        15.033        .13097E-03   -1.5096    
   3  Prefactor     28.649        23.742        .74850E-04   -1.4637    
   4  Prefactor     .51450        1.9930        .29072E-03   -1.5565    
   5  Prefactor     .10000E-03    3.7689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8461        1.6827        .13247E-03   -1.5436    
   7  Prefactor     .10000E-03    1.7028        .14104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.4372        7.2502        .17232E-03   -1.5242    
   9  Prefactor     .10000E-03    2.1095        .15691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7551        10.631        .12830E-03   -1.5083    
  11  Prefactor     165.71        27.828        .31334E-04   -1.3126    
  12  Prefactor     19.102        13.963        .91640E-04   -1.4834    
  13  norm          5.3162        13.943        .17432E-03   -1.5247    
  14  Prefactor     .10000E-03    1.8544        .14584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.0559        .11071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .94934        .16820        .26795E-03   -.94747    
  17  Prefactor     .99013        .12964        .20821E-03   -.93059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.272e-09
Minuit parameter uncertainties:
  1  7.41135
  2  15.039
  3  23.7494
  4  1.99329
  5  4.15652e-06
  6  1.68276
  7  6.06517e-06
  8  7.25138
  9  9.91882e-06
  10  10.6335
  11  27.8303
  12  13.9651
  13  13.9514
  14  1.48906e-05
  15  9.1668e-07
  16  0.168291
  17  0.129677
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.846e+00  1.683e+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:  9.901e-01  1.297e-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:  9.493e-01  1.683e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.56
Ra Dec: 207.843 11.250
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 9.97e-09 +/- 9.09e-09
Energy Flux (Fixed Index): 9.35e-06 +/- 8.52e-06

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) = 12267.8388572
delta logL = 1.98043100942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12267.2404161
delta logL = 2.57887212724

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15823       1.0000         .10000E-03   10000.    
     2 'Index     '    .12067E-03   1.0000          .0000       10.000    
     3 'Normalizat'    .95064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99410       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12267.24     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      293 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15807        .21655        .50198E-03   -.12874E-02
   2  Index         .15175E-07    .80782        .40219    ** at limit **
   3  Normalizat    .95076        .16140        .26776E-03    .11039E-05
   4  Prefactor     .99401        .12852        .20785E-03    .14221E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.158072
  Index      = 1.51746e-08
  Normalizat = 0.95076
  Prefactor  = 0.99401
 **********
 **   18 **HESSE 
 **********

 FCN=   12267.24     FROM HESSE     STATUS=OK            31 CALLS      324 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15807        .20037        .20079E-04   -1.5628    
   2  Index         .15175E-07    .60145        .45490       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .95076        .16160        .10710E-04   -.94699    
   4  Prefactor     .99401        .12868        .83139E-05   -.92929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73331e-11
Minuit parameter uncertainties:
  1  0.200371
  2  0.000193037
  3  0.161688
  4  0.128723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/109347': 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) = 12267.2404109
delta logL = 2.57887735984

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.581e-01  2.004e-01  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.517e-08  1.930e-04  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:  9.940e-01  1.287e-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:  9.508e-01  1.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.72
Ra Dec: 207.843 11.250
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 1.58e-09 +/- 2.00e-09
Energy Flux (Free Index): 7.92e-05 +/- 1.00e-04

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/109347/cmap_HighResolution_606700801_607305601_4FGL_J1351.3+1115_weekly_bin608.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.97e-09', energy_flux2='7.92e-05', photon_flux_error='9.09e-09', dlogl='2.58e+00', energy_flux='9.35e-06', photon_flux2='1.58e-09', job_status='DONE', time_completed='2021-07-21 04:10:42.192893', photon_index_error2='0.00', photon_index2='0.00', ts='11.56', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.00e-04', EG='0.95', time_epoch_completed='1626865842.19', return_code='0', job_id='109347', GAL2='0.99', EG2='0.95', return_code2='0', energy_flux_error='8.52e-06', photon_flux_error2='2.00e-09', ts2='16.72', photon_index='1.88' WHERE bin_id='608' AND source_name='4FGL J1351.3+1115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul 21 04:10:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 109347: <4FGL_J1351.3+1115_weekly_bin608> in cluster <slac> Done

Job <4FGL_J1351.3+1115_weekly_bin608> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Jul 21 03:55:37 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 21 03:58:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 21 03:58:45 2021
Terminated at Wed Jul 21 04:10:43 2021
Results reported at Wed Jul 21 04:10:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_weekly_bin608 207.843 11.2502 606700801 607305601 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 :                                   680.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             362.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            906 sec.

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

