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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1448
RA = 207.843, Dec = 11.2502
tmin = 614649601, tmax = 614908801
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='26700', job_status='RUN', time_executed='2021-09-08 15:58:26.550104', time_epoch_executed='1631141906.55' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1448'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26700

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26700/ft1_4FGL_J1351.3+1115_daily_bin1448.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26700/ft2_4FGL_J1351.3+1115_daily_bin1448.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26700/ft1_4FGL_J1351.3+1115_daily_bin1448.fits outfile=/scratch/kocevski/26700/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1448.fits ra=207.843 dec=11.2502 rad=12.0 tmin=614649601.0 tmax=614908801.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.62
user 3.38
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26700/ft1_filtered_4FGL_J1351.3+1115_daily_bin1448.fits" evtable="EVENTS" scfile=/scratch/kocevski/26700/ft2_4FGL_J1351.3+1115_daily_bin1448.fits sctable="SC_DATA" outfile=/scratch/kocevski/26700/ltcube_614649601_614908801_4FGL_J1351.3+1115_daily_bin1448.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/26700/ft2_4FGL_J1351.3+1115_daily_bin1448.fits
.....................!
real 17.14
user 16.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26700/ft1_filtered_4FGL_J1351.3+1115_daily_bin1448.fits evtable="EVENTS" scfile=/scratch/kocevski/26700/ft2_4FGL_J1351.3+1115_daily_bin1448.fits sctable="SC_DATA" expcube=/scratch/kocevski/26700/ltcube_614649601_614908801_4FGL_J1351.3+1115_daily_bin1448.fits outfile=/scratch/kocevski/26700/expmap_614649601_614908801_4FGL_J1351.3+1115_daily_bin1448.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/26700/ltcube_614649601_614908801_4FGL_J1351.3+1115_daily_bin1448.fits
.....................!
real 191.67
user 186.84
sys 4.35

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/26700/ft1_filtered_4FGL_J1351.3+1115_daily_bin1448.fits scfile=/scratch/kocevski/26700/ft2_4FGL_J1351.3+1115_daily_bin1448.fits outfile=/scratch/kocevski/26700/cmap_614649601_614908801_4FGL_J1351.3+1115_daily_bin1448.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.58
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/26700/ft1_filtered_4FGL_J1351.3+1115_daily_bin1448.fits scfile=/scratch/kocevski/26700/ft2_4FGL_J1351.3+1115_daily_bin1448.fits outfile=/scratch/kocevski/26700/cmap_HighResolution_614649601_614908801_4FGL_J1351.3+1115_daily_bin1448.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.56
user 0.41
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3204       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.148       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10438E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10334E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.6880       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12297E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14504E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.950       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.122       1.0000         .10000E-03   10000.    
    11 'Prefactor '    107.66       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.636       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.5197       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11323E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1776       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0910       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=   6591.205     FROM MIGRAD    STATUS=CONVERGED    335 CALLS     1414 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3178        8.5475       -.25011E-05   -.50653E-04
   2  Prefactor     17.161        29.238        .83026E-05   -.66283E-05
   3  Prefactor     .10000E-03    87.271       -.37710E-05** at limit **
   4  Prefactor     .10000E-03    1.9963       -.15342E-06** at limit **
   5  Prefactor     8.6911        27.269        .10474E-05    .14139E-05
   6  Prefactor     .10001E-03    3.2103        .12402E-05** at limit **
   7  Prefactor     .10000E-03    51.553        .40158E-05** at limit **
   8  Prefactor     33.945        17.717        .41586E-06   -.50536E-04
   9  Prefactor     .10000E-03    10.306       -.31301E-05** at limit **
  10  Prefactor     30.118        23.530       -.99317E-06    .16956E-04
  11  Prefactor     107.63        51.445       -.19011E-04   -.72813E-04
  12  Prefactor     .10000E-03    9.9622        .12108E-05** at limit **
  13  norm          11.635        13.268       -.60658E-06    .72561E-05
  14  Prefactor     9.5301        13.094        .15165E-04   -.37445E-05
  15  Prefactor     .10000E-03    4.1887       -.17543E-06** at limit **
  16  Normalizat    1.1777        .22998        .10172E-05   -.19043E-03
  17  Prefactor     1.0907        .16915       -.84937E-06   -.98678E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.31776
  Prefactor  = 17.1609
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 8.69106
  Prefactor  = 0.000100015
  Prefactor  = 0.0001
  Prefactor  = 33.9446
  Prefactor  = 0.0001
  Prefactor  = 30.1183
  Prefactor  = 107.635
  Prefactor  = 0.0001
  norm       = 11.6355
  Prefactor  = 9.53008
  Prefactor  = 0.0001
  Normalizat = 1.17772
  Prefactor  = 1.0907
 **********
 **   18 **HESSE 
 **********

 FCN=   6591.205     FROM HESSE     STATUS=OK           227 CALLS     1641 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3178        8.5558        .14824E-03   -1.5167    
   2  Prefactor     17.161        29.236        .96720E-04   -1.4879    
   3  Prefactor     .10000E-03    87.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.500        .22012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.6911        27.269        .13599E-03   -1.5118    
   6  Prefactor     .10001E-03    11.188        .28099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    53.238        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.945        17.826        .68775E-04   -1.4542    
   9  Prefactor     .10000E-03    10.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.118        23.523        .73002E-04   -1.4610    
  11  Prefactor     107.63        51.485        .38760E-04   -1.3629    
  12  Prefactor     .10000E-03    9.9741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.635        13.268        .11744E-03   -1.5026    
  14  Prefactor     9.5301        13.060        .12988E-03   -1.5090    
  15  Prefactor     .10000E-03    4.2096        .16217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1777        .27910        .29451E-03   -.87294    
  17  Prefactor     1.0907        .20526        .23055E-03   -.89764    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8915e-09
Minuit parameter uncertainties:
  1  8.55724
  2  29.26
  3  2.7536e-05
  4  0.000469923
  5  27.3085
  6  0.000807461
  7  0.000199771
  8  17.8285
  9  1.67853e-05
  10  23.5303
  11  51.5069
  12  1.07774e-05
  13  13.2711
  14  13.0641
  15  7.85297e-05
  16  0.27945
  17  0.205408
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  8.075e-04  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.091e+00  2.054e-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.178e+00  2.794e-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: 5.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/26700/likelihoodResults_614649601_614908801_4FGL_J1351.3+1115_daily_bin1448.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) = 6591.20544375
delta logL = -0.000423056154432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6591.18488015
delta logL = 0.0201405469634

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23876       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6687       1.0000          .0000       10.000    
     3 'Normalizat'    1.1712       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0910       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=   6591.185     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      258 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23915        7.4116        .26363E-01    .15535E-02
   2  Index         2.6685        1.8245        .22984        .30648E-04
   3  Normalizat    1.1711        .16139E-01    .66739E-01    .61668E-05
   4  Prefactor     1.0910        .12267E-01    .37939E-01    .21698E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.239154
  Index      = 2.66852
  Normalizat = 1.17115
  Prefactor  = 1.09101
 **********
 **   18 **HESSE 
 **********

 FCN=   6591.185     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      293 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23915        295.58        .14391E-02   -1.5610    
   2  Index         2.6685        6.8786        .11237E-01   -.48510    
   3  Normalizat    1.1711        .19244        .29526E-03   -.87499    
   4  Prefactor     1.0910        .16318        .23053E-03   -.89754    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.05766e-06
Minuit parameter uncertainties:
  1  16.8959
  2  24.3668
  3  0.19256
  4  0.163253
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26700': 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) = 6591.18488011
delta logL = 0.0201405861244

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  2.392e-01  1.690e+01  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.669e+00  2.437e+01  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.091e+00  1.633e-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.171e+00  1.926e-01  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/26700/cmap_HighResolution_614649601_614908801_4FGL_J1351.3+1115_daily_bin1448.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.39e-03', job_status='DONE', photon_flux_upper_limit='5.92e-08', time_completed='2021-09-08 16:07:04.917097', job_id='26700', GAL2='1.09', fit_tolerance='1e-08', EG2='1.17', EG='1.18', time_epoch_completed='1631142424.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.01e-02', ts2='0.04', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1448' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 16:07:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 26700: <4FGL_J1351.3+1115_daily_bin1448> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1448> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 15:55:20 2021
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:55:22 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:22 2021
Terminated at Wed Sep  8 16:07:05 2021
Results reported at Wed Sep  8 16:07:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1448 207.843 11.2502 614649601 614908801 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 :                                   508.12 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             298.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            705 sec.

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

