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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1560
RA = 207.843, Dec = 11.2502
tmin = 643680001, tmax = 643939201
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='26879', job_status='RUN', time_executed='2021-09-08 15:59:06.257196', time_epoch_executed='1631141946.26' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1560'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26879

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26879/ft1_4FGL_J1351.3+1115_daily_bin1560.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26879/ft2_4FGL_J1351.3+1115_daily_bin1560.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26879/ft1_4FGL_J1351.3+1115_daily_bin1560.fits outfile=/scratch/kocevski/26879/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1560.fits ra=207.843 dec=11.2502 rad=12.0 tmin=643680001.0 tmax=643939201.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.59
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/26879/ft2_4FGL_J1351.3+1115_daily_bin1560.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/26879/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1560.fits evtable="EVENTS" outfile="/scratch/kocevski/26879/ft1_filtered_4FGL_J1351.3+1115_daily_bin1560.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.51
user 0.37
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26879/ft1_filtered_4FGL_J1351.3+1115_daily_bin1560.fits" evtable="EVENTS" scfile=/scratch/kocevski/26879/ft2_4FGL_J1351.3+1115_daily_bin1560.fits sctable="SC_DATA" outfile=/scratch/kocevski/26879/ltcube_643680001_643939201_4FGL_J1351.3+1115_daily_bin1560.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/26879/ft2_4FGL_J1351.3+1115_daily_bin1560.fits
.....................!
real 17.46
user 17.02
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26879/ft1_filtered_4FGL_J1351.3+1115_daily_bin1560.fits evtable="EVENTS" scfile=/scratch/kocevski/26879/ft2_4FGL_J1351.3+1115_daily_bin1560.fits sctable="SC_DATA" expcube=/scratch/kocevski/26879/ltcube_643680001_643939201_4FGL_J1351.3+1115_daily_bin1560.fits outfile=/scratch/kocevski/26879/expmap_643680001_643939201_4FGL_J1351.3+1115_daily_bin1560.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/26879/ltcube_643680001_643939201_4FGL_J1351.3+1115_daily_bin1560.fits
.....................!
real 193.22
user 187.87
sys 4.47

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/26879/ft1_filtered_4FGL_J1351.3+1115_daily_bin1560.fits scfile=/scratch/kocevski/26879/ft2_4FGL_J1351.3+1115_daily_bin1560.fits outfile=/scratch/kocevski/26879/cmap_643680001_643939201_4FGL_J1351.3+1115_daily_bin1560.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.63
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/26879/ft1_filtered_4FGL_J1351.3+1115_daily_bin1560.fits scfile=/scratch/kocevski/26879/ft2_4FGL_J1351.3+1115_daily_bin1560.fits outfile=/scratch/kocevski/26879/cmap_HighResolution_643680001_643939201_4FGL_J1351.3+1115_daily_bin1560.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.57
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3462       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.338       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .46922       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10569E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.9968       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.790       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18621       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.674       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.827       1.0000         .10000E-03   10000.    
    13 'norm      '    .10401E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1876       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10291E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1072       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .91187       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5418.308     FROM MIGRAD    STATUS=CONVERGED     97 CALLS     1611 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3458        2.3661       -.89386E-06    .20706E-02
   2  Prefactor     15.343        19.208       -.24359E-04    .24075E-03
   3  Prefactor     .10000E-03    15.286       -.69426E-05** at limit **
   4  Prefactor     .44471        7.8531       -.36320E-05    .40288E-04
   5  Prefactor     .10001E-03    19.724       -.14155E-04** at limit **
   6  Prefactor     .10000E-03    1.2904        .94667E-06** at limit **
   7  Prefactor     .10000E-03    9.7935       -.18146E-05** at limit **
   8  Prefactor     6.9984        2.5427       -.47846E-05    .15764E-02
   9  Prefactor     11.800        4.2366       -.15310E-05   -.49422E-02
  10  Prefactor     .10097E-03    6561.9       -.24285E-03** at limit **
  11  Prefactor     13.678        12.521       -.16319E-04    .19044E-02
  12  Prefactor     22.838        2.2196       -.84677E-06    .97186E-03
  13  norm          .10000E-03    17.945        .20566E-04** at limit **
  14  Prefactor     5.1746        8.0163        .20552E-04    .12770E-02
  15  Prefactor     .10000E-03    8.5901       -.46487E-05** at limit **
  16  Normalizat    1.1074        .23269        .11719E-04    .44711E-03
  17  Prefactor     .91174        .18262       -.74498E-05    .31254E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.34584
  Prefactor  = 15.3426
  Prefactor  = 0.000100002
  Prefactor  = 0.444706
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.99839
  Prefactor  = 11.7996
  Prefactor  = 0.000100973
  Prefactor  = 13.6778
  Prefactor  = 22.8383
  norm       = 0.000100003
  Prefactor  = 5.17461
  Prefactor  = 0.0001
  Normalizat = 1.10738
  Prefactor  = 0.911742
 **********
 **   18 **HESSE 
 **********

 FCN=   5418.308     FROM HESSE     STATUS=OK           273 CALLS     1884 TOTAL
                     EDM=   .77E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3458        12.903        .48303E-02   -1.5291    
   2  Prefactor     15.343        23.436        .25567E-02   -1.4924    
   3  Prefactor     .10000E-03    15.448        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44471        2.5273        .60174E-01   -1.5575    
   5  Prefactor     .10001E-03    20.004        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.2840        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.7083        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.9984        9.9450        .37916E-02   -1.5179    
   9  Prefactor     11.800        12.710        .29166E-02   -1.5021    
  10  Prefactor     .10097E-03    23.676        .11760       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.678        25.286        .27079E-02   -1.4968    
  12  Prefactor     22.838        26.067        .20959E-02   -1.4752    
  13  norm          .10000E-03    18.245        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1746        8.4864        .44124E-02   -1.5253    
  15  Prefactor     .10000E-03    8.3562        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1074        .20054        .55964E-01   -.89515    
  17  Prefactor     .91174        .15146        .45156E-01   -.95732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.65958e-08
Minuit parameter uncertainties:
  1  12.9109
  2  23.4503
  3  0.000318191
  4  2.1202
  5  0.000945591
  6  3.96161e-06
  7  5.44327e-05
  8  9.94737
  9  12.7133
  10  0.00960366
  11  25.306
  12  26.0804
  13  0.000478071
  14  8.48839
  15  8.01432e-05
  16  0.200679
  17  0.151531
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  3.962e-06  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.117e-01  1.515e-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:  1.107e+00  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/26879/likelihoodResults_643680001_643939201_4FGL_J1351.3+1115_daily_bin1560.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) = 5418.31121971
delta logL = -0.00358409758792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5418.30763506
delta logL = 5.51866833121e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8629       1.0000          .0000       10.000    
     3 'Normalizat'    1.1073       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91178       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=   5418.308     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      214 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4286        .90712E-02** at limit **
   2  Index         1.4326        5.8934        .50000        .10609E-05
   3  Normalizat    1.1074        .70610E-02    .55964E-01   -.15369E-03
   4  Prefactor     .91174        .55810E-02    .45155E-01   -.19452E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.43257
  Normalizat = 1.10737
  Prefactor  = 0.911743
 **********
 **   18 **HESSE 
 **********

 FCN=   5418.308     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      243 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.936        .90795E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4326        5.7296        .50000       -.79446    
   3  Normalizat    1.1074        .28390E-01    .24747E-03   -.89515    
   4  Prefactor     .91174        .22446E-01    .21227E-03   -.95732    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.61959e-09
Minuit parameter uncertainties:
  1  0.000488294
  2  336.88
  3  0.0283903
  4  0.0224464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26879': 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) = 5418.30762823
delta logL = 7.38023118174e-06

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  4.883e-04  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.433e+00  3.369e+02  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.117e-01  2.245e-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:  1.107e+00  2.839e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 207.843 11.250

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/26879/cmap_HighResolution_643680001_643939201_4FGL_J1351.3+1115_daily_bin1560.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.59e-03', job_status='DONE', photon_flux_upper_limit='3.48e-08', time_completed='2021-09-08 16:07:21.321663', job_id='26879', GAL2='0.91', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1631142441.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='7.38e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1560' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 16:07:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 26879: <4FGL_J1351.3+1115_daily_bin1560> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1560> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 15:55:37 2021
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:55:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 15:55:39 2021
Terminated at Wed Sep  8 16:07:22 2021
Results reported at Wed Sep  8 16:07:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1560 207.843 11.2502 643680001 643939201 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 :                                   491.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             235.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            705 sec.

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

