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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1615
RA = 207.843, Dec = 11.2502
tmin = 657936001, tmax = 658195201
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='359452', job_status='RUN', time_executed='2021-12-08 00:46:13.985287', time_epoch_executed='1638953173.99' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359452

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359452/ft1_4FGL_J1351.3+1115_daily_bin1615.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359452/ft2_4FGL_J1351.3+1115_daily_bin1615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359452/ft1_4FGL_J1351.3+1115_daily_bin1615.fits outfile=/scratch/kocevski/359452/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1615.fits ra=207.843 dec=11.2502 rad=12.0 tmin=657936001.0 tmax=658195201.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 4.11
user 3.87
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/359452/ft2_4FGL_J1351.3+1115_daily_bin1615.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/359452/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1615.fits evtable="EVENTS" outfile="/scratch/kocevski/359452/ft1_filtered_4FGL_J1351.3+1115_daily_bin1615.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359452/ft1_filtered_4FGL_J1351.3+1115_daily_bin1615.fits" evtable="EVENTS" scfile=/scratch/kocevski/359452/ft2_4FGL_J1351.3+1115_daily_bin1615.fits sctable="SC_DATA" outfile=/scratch/kocevski/359452/ltcube_657936001_658195201_4FGL_J1351.3+1115_daily_bin1615.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/359452/ft2_4FGL_J1351.3+1115_daily_bin1615.fits
.....................!
real 12.92
user 12.53
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359452/ft1_filtered_4FGL_J1351.3+1115_daily_bin1615.fits evtable="EVENTS" scfile=/scratch/kocevski/359452/ft2_4FGL_J1351.3+1115_daily_bin1615.fits sctable="SC_DATA" expcube=/scratch/kocevski/359452/ltcube_657936001_658195201_4FGL_J1351.3+1115_daily_bin1615.fits outfile=/scratch/kocevski/359452/expmap_657936001_658195201_4FGL_J1351.3+1115_daily_bin1615.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/359452/ltcube_657936001_658195201_4FGL_J1351.3+1115_daily_bin1615.fits
.....................!
real 192.44
user 186.08
sys 5.87

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/359452/ft1_filtered_4FGL_J1351.3+1115_daily_bin1615.fits scfile=/scratch/kocevski/359452/ft2_4FGL_J1351.3+1115_daily_bin1615.fits outfile=/scratch/kocevski/359452/cmap_657936001_658195201_4FGL_J1351.3+1115_daily_bin1615.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359452/ft1_filtered_4FGL_J1351.3+1115_daily_bin1615.fits scfile=/scratch/kocevski/359452/ft2_4FGL_J1351.3+1115_daily_bin1615.fits outfile=/scratch/kocevski/359452/cmap_HighResolution_657936001_658195201_4FGL_J1351.3+1115_daily_bin1615.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.397       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12506E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.3010       1.0000         .10000E-03   10000.    
     5 'Prefactor '    44.471       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.625       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.3651       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    66.626       1.0000         .10000E-03   10000.    
    12 'Prefactor '    59.627       1.0000         .10000E-03   10000.    
    13 'norm      '    6.5312       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6916       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .89799       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1920       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=   5996.909     FROM MIGRAD    STATUS=CONVERGED    321 CALLS     1613 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.8672        .90712E-02** at limit **
   2  Prefactor     31.398        26.931        .17877E-02    .10912E-03
   3  Prefactor     .10004E-03    243.30        .90712E-02** at limit **
   4  Prefactor     7.3012        4.9100        .37111E-02    .53887E-03
   5  Prefactor     44.473        27.981        .15030E-02    .61791E-03
   6  Prefactor     .10000E-03    2.5787        .90712E-02** at limit **
   7  Prefactor     19.622        16.825        .22603E-02   -.27057E-02
   8  Prefactor     7.3660        10.951        .36947E-02   -.13210E-02
   9  Prefactor     .10000E-03    6.5954        .90712E-02** at limit **
  10  Prefactor     .10000E-03    27.424        .90712E-02** at limit **
  11  Prefactor     66.632        39.759        .12293E-02   -.66644E-03
  12  Prefactor     59.632        33.205        .12990E-02    .37985E-03
  13  norm          6.5295        28.122        .39258E-02    .84458E-04
  14  Prefactor     3.6923        7.1983        .52550E-02    .27498E-03
  15  Prefactor     .10000E-03    5.0270        .90712E-02** at limit **
  16  Normalizat    .89787        .22265        .69205E-01    .42897E-04
  17  Prefactor     1.1920        .17122        .34823E-01    .91544E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 31.398
  Prefactor  = 0.00010004
  Prefactor  = 7.30119
  Prefactor  = 44.4725
  Prefactor  = 0.0001
  Prefactor  = 19.6217
  Prefactor  = 7.36603
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 66.6322
  Prefactor  = 59.6319
  norm       = 6.52951
  Prefactor  = 3.69229
  Prefactor  = 0.0001
  Normalizat = 0.897869
  Prefactor  = 1.19203
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.909     FROM HESSE     STATUS=OK           215 CALLS     1828 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9165        .16684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.398        26.937        .71508E-04   -1.4587    
   3  Prefactor     .10004E-03    248.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.3012        4.9143        .13384E-03   -1.5167    
   5  Prefactor     44.473        27.979        .60120E-04   -1.4373    
   6  Prefactor     .10000E-03    2.5996        .12141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.622        16.838        .90412E-04   -1.4822    
   8  Prefactor     7.3660        10.954        .14779E-03   -1.5165    
   9  Prefactor     .10000E-03    6.6070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     66.632        39.773        .49170E-04   -1.4074    
  12  Prefactor     59.632        33.195        .51958E-04   -1.4162    
  13  norm          6.5295        28.141        .15703E-03   -1.5197    
  14  Prefactor     3.6923        7.1706        .21020E-03   -1.5324    
  15  Prefactor     .10000E-03    5.0792        .16937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .89787        .26295        .30618E-03   -.96535    
  17  Prefactor     1.1920        .20246        .21242E-03   -.86577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5512e-08
Minuit parameter uncertainties:
  1  6.0277e-05
  2  26.9472
  3  0.00635698
  4  4.91452
  5  27.9877
  6  5.29299e-06
  7  16.8424
  8  10.9571
  9  3.808e-05
  10  0.000277346
  11  39.7891
  12  33.2052
  13  27.1321
  14  7.17222
  15  5.44704e-05
  16  0.263329
  17  0.202596
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  5.293e-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:  1.192e+00  2.026e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  8.979e-01  2.633e-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.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/359452/likelihoodResults_657936001_658195201_4FGL_J1351.3+1115_daily_bin1615.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) = 5996.91084704
delta logL = -0.00182600616154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5996.90902103
delta logL = 5.40694600204e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8930       1.0000          .0000       10.000    
     3 'Normalizat'    .89789       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1920       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=   5996.909     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.171        .90712E-02** at limit **
   2  Index         1.9023        5.5839        .50000       -.28932E-04
   3  Normalizat    .89787        .10721E-01    .69205E-01    .49718E-04
   4  Prefactor     1.1920        .84814E-02    .34822E-01    .46959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.90233
  Normalizat = 0.89787
  Prefactor  = 1.19203
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.909     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      233 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    154.06        .12178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9023        5.6330        .50000       -.66815    
   3  Normalizat    .89787        .42343E-01    .30618E-03   -.96535    
   4  Prefactor     1.1920        .33550E-01    .21242E-03   -.86577    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.41565e-08
Minuit parameter uncertainties:
  1  6.57234e-05
  2  30.205
  3  0.0423449
  4  0.0335502
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359452': 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) = 5996.9090209
delta logL = 1.30440639623e-07

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  6.572e-05  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.902e+00  3.020e+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.192e+00  3.355e-02  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  8.979e-01  4.234e-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/359452/cmap_HighResolution_657936001_658195201_4FGL_J1351.3+1115_daily_bin1615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.15e-03', job_status='DONE', photon_flux_upper_limit='5.59e-08', time_completed='2021-12-08 00:54:33.551443', job_id='359452', GAL2='1.19', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1638953673.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='1.30e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1615' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 00:54:33 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 359452: <4FGL_J1351.3+1115_daily_bin1615> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1615> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Dec  8 00:45:23 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 00:46:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 00:46:07 2021
Terminated at Wed Dec  8 00:54:34 2021
Results reported at Wed Dec  8 00:54:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1615 207.843 11.2502 657936001 658195201 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 :                                   499.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   506 sec.
    Turnaround time :                            551 sec.

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

