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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1368
RA = 207.843, Dec = 11.2502
tmin = 593913601, tmax = 594172801
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='25507', job_status='RUN', time_executed='2021-09-08 15:56:03.118362', time_epoch_executed='1631141763.12' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1368'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25507

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25507/ft1_4FGL_J1351.3+1115_daily_bin1368.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25507/ft2_4FGL_J1351.3+1115_daily_bin1368.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25507/ft1_4FGL_J1351.3+1115_daily_bin1368.fits outfile=/scratch/kocevski/25507/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1368.fits ra=207.843 dec=11.2502 rad=12.0 tmin=593913601.0 tmax=594172801.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.71
user 3.39
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25507/ft1_filtered_4FGL_J1351.3+1115_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/25507/ft2_4FGL_J1351.3+1115_daily_bin1368.fits sctable="SC_DATA" expcube=/scratch/kocevski/25507/ltcube_593913601_594172801_4FGL_J1351.3+1115_daily_bin1368.fits outfile=/scratch/kocevski/25507/expmap_593913601_594172801_4FGL_J1351.3+1115_daily_bin1368.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/25507/ltcube_593913601_594172801_4FGL_J1351.3+1115_daily_bin1368.fits
.....................!
real 192.87
user 187.19
sys 5.02

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/25507/ft1_filtered_4FGL_J1351.3+1115_daily_bin1368.fits scfile=/scratch/kocevski/25507/ft2_4FGL_J1351.3+1115_daily_bin1368.fits outfile=/scratch/kocevski/25507/cmap_593913601_594172801_4FGL_J1351.3+1115_daily_bin1368.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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25507/ft1_filtered_4FGL_J1351.3+1115_daily_bin1368.fits scfile=/scratch/kocevski/25507/ft2_4FGL_J1351.3+1115_daily_bin1368.fits outfile=/scratch/kocevski/25507/cmap_HighResolution_593913601_594172801_4FGL_J1351.3+1115_daily_bin1368.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.58
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8901       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.642       1.0000         .10000E-03   10000.    
     3 'Prefactor '    98.174       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2451       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4383       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.0443       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3127       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.9916       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    307.45       1.0000         .10000E-03   10000.    
    12 'Prefactor '    74.851       1.0000         .10000E-03   10000.    
    13 'norm      '    28.796       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .96230E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .91538       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0603       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=   6223.044     FROM MIGRAD    STATUS=CONVERGED    358 CALLS     1678 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8944        10.710        .11905E-05   -.76934E-04
   2  Prefactor     12.636        26.761       -.78330E-05   -.90730E-05
   3  Prefactor     98.197        63.760        .50150E-05   -.68471E-05
   4  Prefactor     3.2467        4.5834       -.49275E-06   -.48558E-03
   5  Prefactor     2.4328        59.794       -.15895E-04   -.27452E-04
   6  Prefactor     4.0457        5.3234       -.15466E-05   -.50339E-03
   7  Prefactor     3.3168        10.566        .19219E-04   -.13748E-03
   8  Prefactor     .10000E-03    4.0052       -.63156E-07** at limit **
   9  Prefactor     9.9947        16.463       -.44263E-05    .37056E-04
  10  Prefactor     .10000E-03    15.759        .43650E-06** at limit **
  11  Prefactor     307.33        56.840       -.76874E-05   -.11801E-03
  12  Prefactor     74.869        41.967       -.77495E-05    .12537E-04
  13  norm          28.798        26.681       -.13587E-04    .49348E-05
  14  Prefactor     .19783        6.5201        .14799E-06   -.70894E-04
  15  Prefactor     .10000E-03    6.4553        .88807E-06** at limit **
  16  Normalizat    .91527        .21894        .14856E-05   -.68584E-04
  17  Prefactor     1.0601        .16527        .21320E-05   -.14109E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.89439
  Prefactor  = 12.6357
  Prefactor  = 98.1966
  Prefactor  = 3.24674
  Prefactor  = 2.43284
  Prefactor  = 4.04569
  Prefactor  = 3.3168
  Prefactor  = 0.0001
  Prefactor  = 9.99466
  Prefactor  = 0.0001
  Prefactor  = 307.333
  Prefactor  = 74.8687
  norm       = 28.7976
  Prefactor  = 0.197825
  Prefactor  = 0.000100001
  Normalizat = 0.915274
  Prefactor  = 1.06009
 **********
 **   18 **HESSE 
 **********

 FCN=   6223.044     FROM HESSE     STATUS=OK           231 CALLS     1909 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8944        10.702        .15285E-03   -1.5183    
   2  Prefactor     12.636        26.767        .11266E-03   -1.4997    
   3  Prefactor     98.197        63.797        .40570E-04   -1.3723    
   4  Prefactor     3.2467        4.5746        .18962E-03   -1.5348    
   5  Prefactor     2.4328        59.413        .26203E-03   -1.5396    
   6  Prefactor     4.0457        5.3196        .19979E-03   -1.5306    
   7  Prefactor     3.3168        10.473        .22242E-03   -1.5344    
   8  Prefactor     .10000E-03    4.0266        .15416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9947        16.347        .12677E-03   -1.5076    
  10  Prefactor     .10000E-03    15.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     307.33        56.733        .11586E-03   -1.2184    
  12  Prefactor     74.869        42.008        .46409E-04   -1.3975    
  13  norm          28.798        26.697        .74660E-04   -1.4634    
  14  Prefactor     .19783        50.816        .36419E-02   -1.5619    
  15  Prefactor     .10000E-03    29.591        .36225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .91527        .25772        .30503E-03   -.95925    
  17  Prefactor     1.0601        .19668        .22320E-03   -.90752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9871e-08
Minuit parameter uncertainties:
  1  10.7049
  2  26.7926
  3  63.8416
  4  4.57507
  5  24.0715
  6  5.32022
  7  10.4785
  8  2.13885e-05
  9  16.3542
  10  8.20515e-05
  11  56.7435
  12  42.0247
  13  26.708
  14  6.34501
  15  0.000270149
  16  0.258069
  17  0.196809
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  4.046e+00  5.320e+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.060e+00  1.968e-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.153e-01  2.581e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/25507/likelihoodResults_593913601_594172801_4FGL_J1351.3+1115_daily_bin1368.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): 0
logL (Free Index) = 6221.7866177
delta logL = 1.25707127008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6221.77755657
delta logL = 1.26613240297

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46602       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3583       1.0000          .0000       10.000    
     3 'Normalizat'    .79359       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1162       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=   6221.778     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      304 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46533        3.6518        .70003E-02    .12876E-02
   2  Index         3.3589        1.6538        .78903E-01    .22796E-03
   3  Normalizat    .79360        .54626E-01    .73345E-01    .24020E-04
   4  Prefactor     1.1161        .42081E-01    .37002E-01    .20370E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.465328
  Index      = 3.35889
  Normalizat = 0.793601
  Prefactor  = 1.11615
 **********
 **   18 **HESSE 
 **********

 FCN=   6221.778     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46533        7.8753        .31543E-04   -1.5572    
   2  Index         3.3589        2.8518        .29496E-02   -.33442    
   3  Normalizat    .79360        .25536        .32461E-03   -1.0031    
   4  Prefactor     1.1161        .19270        .21789E-03   -.88952    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.28459e-10
Minuit parameter uncertainties:
  1  3.8288
  2  3.06177
  3  0.255745
  4  0.192822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25507': 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) = 6221.77755641
delta logL = 1.26613256506

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  4.653e-01  3.829e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  3.359e+00  3.062e+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.116e+00  1.928e-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:  7.936e-01  2.557e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.48
Ra Dec: 207.843 11.250
Photon Index (Free Index): 3.36 +/- 3.06
Photon Flux (Free Index): 1.18e-07 +/- 9.51e-08
Energy Flux (Free Index): 2.05e-05 +/- 1.53e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/25507/cmap_HighResolution_593913601_594172801_4FGL_J1351.3+1115_daily_bin1368.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.77e-03', comment='SUCCESS', energy_flux2='2.05e-05', dlogl='1.27e+00', photon_flux2='1.18e-07', job_status='DONE', time_completed='2021-09-08 16:05:33.606535', photon_index_error2='3.06', photon_index2='3.36', ts='0.78', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='9.12e-08', energy_flux_error2='1.53e-05', EG='0.92', time_epoch_completed='1631142333.61', return_code='0', job_id='25507', GAL2='1.12', EG2='0.79', return_code2='102', photon_flux_error2='9.51e-08', ts2='3.48', photon_index='1.88' WHERE bin_id='1368' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 16:05:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 25507: <4FGL_J1351.3+1115_daily_bin1368> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1368> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 15:50:51 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:52:13 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:52:13 2021
Terminated at Wed Sep  8 16:05:34 2021
Results reported at Wed Sep  8 16:05:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1368 207.843 11.2502 593913601 594172801 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 :                                   523.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             197.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            883 sec.

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

