/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 74 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 = 7477
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1351.3+1115_daily_bin7
RA = 207.843, Dec = 11.2502
tmin = 241142401, tmax = 241401601
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='18829', job_status='RUN', time_executed='2021-09-08 15:33:55.362393', time_epoch_executed='1631140435.36' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='7'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18829

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18829/ft1_4FGL_J1351.3+1115_daily_bin7.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18829/ft2_4FGL_J1351.3+1115_daily_bin7.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18829/ft1_4FGL_J1351.3+1115_daily_bin7.fits outfile=/scratch/kocevski/18829/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin7.fits ra=207.843 dec=11.2502 rad=12.0 tmin=241142401.0 tmax=241401601.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 1.53
user 1.33
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18829/ft1_filtered_4FGL_J1351.3+1115_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/18829/ft2_4FGL_J1351.3+1115_daily_bin7.fits sctable="SC_DATA" expcube=/scratch/kocevski/18829/ltcube_241142401_241401601_4FGL_J1351.3+1115_daily_bin7.fits outfile=/scratch/kocevski/18829/expmap_241142401_241401601_4FGL_J1351.3+1115_daily_bin7.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/18829/ltcube_241142401_241401601_4FGL_J1351.3+1115_daily_bin7.fits
.....................!
real 191.27
user 186.06
sys 4.75

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/18829/ft1_filtered_4FGL_J1351.3+1115_daily_bin7.fits scfile=/scratch/kocevski/18829/ft2_4FGL_J1351.3+1115_daily_bin7.fits outfile=/scratch/kocevski/18829/cmap_241142401_241401601_4FGL_J1351.3+1115_daily_bin7.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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/18829/ft1_filtered_4FGL_J1351.3+1115_daily_bin7.fits scfile=/scratch/kocevski/18829/ft2_4FGL_J1351.3+1115_daily_bin7.fits outfile=/scratch/kocevski/18829/cmap_HighResolution_241142401_241401601_4FGL_J1351.3+1115_daily_bin7.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.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    28.964       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8023       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10631E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .41639E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3660       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.732       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.6166       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.6556       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14073E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.6008       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4908       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .72772       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=   9159.563     FROM MIGRAD    STATUS=CONVERGED    334 CALLS     1601 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.3685        .14836E-07** at limit **
   2  Prefactor     28.969        31.470        .19281E-05    .17708E-03
   3  Prefactor     .10002E-03    40.933       -.81647E-05** at limit **
   4  Prefactor     2.8022        3.5361        .15909E-06   -.27156E-03
   5  Prefactor     .10001E-03    38.496        .77903E-05** at limit **
   6  Prefactor     .10000E-03    1.5838       -.16805E-06** at limit **
   7  Prefactor     5.3659        5.1826        .31378E-07    .98750E-04
   8  Prefactor     12.733        8.4216        .10663E-06    .20269E-04
   9  Prefactor     .10000E-03    8.6778        .31855E-07** at limit **
  10  Prefactor     .10000E-03    3.8872        .53670E-08** at limit **
  11  Prefactor     3.6162        24.411        .38586E-06   -.26067E-04
  12  Prefactor     .10000E-03    6.2296        .23524E-08** at limit **
  13  norm          3.6556        7.3177        .31362E-05   -.93954E-03
  14  Prefactor     .10000E-03    3.0797        .12448E-06** at limit **
  15  Prefactor     7.6003        5.1907       -.58464E-06   -.73184E-03
  16  Normalizat    1.4907        .16632       -.61481E-07   -.37983E-04
  17  Prefactor     .72773        .12361       -.10408E-06   -.47703E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 28.9688
  Prefactor  = 0.000100015
  Prefactor  = 2.80219
  Prefactor  = 0.000100011
  Prefactor  = 0.000100004
  Prefactor  = 5.36589
  Prefactor  = 12.7334
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.61616
  Prefactor  = 0.0001
  norm       = 3.65561
  Prefactor  = 0.000100002
  Prefactor  = 7.60032
  Normalizat = 1.4907
  Prefactor  = 0.727731
 **********
 **   18 **HESSE 
 **********

 FCN=   9159.563     FROM HESSE     STATUS=OK           223 CALLS     1824 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3811        .17152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     28.969        31.753        .74443E-04   -1.4631    
   3  Prefactor     .10002E-03    43.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.8022        3.5408        .19110E-03   -1.5373    
   5  Prefactor     .10001E-03    40.988        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.223        .23214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.3659        5.1882        .17349E-03   -1.5245    
   8  Prefactor     12.733        8.4350        .11226E-03   -1.4994    
   9  Prefactor     .10000E-03    8.8550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.8914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.6162        24.228        .21245E-03   -1.5328    
  12  Prefactor     .10000E-03    6.2427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.6556        8.7196        .10564E-02   -1.5326    
  14  Prefactor     .10000E-03    14.886        .31884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.6003        5.1940        .14546E-03   -1.5157    
  16  Normalizat    1.4907        .20211        .23466E-03   -.78040    
  17  Prefactor     .72773        .14934        .24291E-03   -1.0245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17384e-09
Minuit parameter uncertainties:
  1  1.83237e-07
  2  31.7712
  3  0.00162989
  4  3.5411
  5  0.00135921
  6  0.000427385
  7  5.18867
  8  8.43582
  9  6.67689e-06
  10  2.30062e-08
  11  18.7312
  12  2.35012e-07
  13  8.72263
  14  0.000301013
  15  5.19433
  16  0.202218
  17  0.149427
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  4.274e-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:  7.277e-01  1.494e-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.491e+00  2.022e-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: 4.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/18829/likelihoodResults_241142401_241401601_4FGL_J1351.3+1115_daily_bin7.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) = 9159.5637771
delta logL = -0.000387865062294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9159.56339589
delta logL = -6.64996878186e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72693E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0002       1.0000          .0000       10.000    
     3 'Normalizat'    1.4902       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72811       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=   9158.318     FROM MIGRAD    STATUS=CONVERGED    233 CALLS      416 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .17472E-02    .33185E-03** at limit **
   2  Index         6.0107        1.4207        .92803E-01    .28537E-03
   3  Normalizat    1.3902        .37090E-01    .54584E-01   -.14708E-03
   4  Prefactor     .77884        .27626E-01    .42774E-01   -.34151E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 6.01068
  Normalizat = 1.39021
  Prefactor  = 0.778839
 **********
 **   18 **HESSE 
 **********

 FCN=   9158.318     FROM HESSE     STATUS=OK            33 CALLS      449 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .60830E-03    .93558E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.0107        .23488        .32925E-02    .20354    
   3  Normalizat    1.3902        .20705        .24136E-03   -.80912    
   4  Prefactor     .77884        .15352        .23554E-03   -1.0051    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68957e-09
Minuit parameter uncertainties:
  1  1.1715e-08
  2  0.234968
  3  0.207179
  4  0.153607
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18829': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9158.31755416
delta logL = 1.2458350746

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  1.172e-08  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  6.011e+00  2.350e-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:  7.788e-01  1.536e-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.390e+00  2.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.67
Ra Dec: 207.843 11.250
Photon Index (Free Index): 6.01 +/- 0.23
Photon Flux (Free Index): 7.14e-08 +/- 5.11e-08
Energy Flux (Free Index): 8.89e-06 +/- 6.28e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/18829/cmap_HighResolution_241142401_241401601_4FGL_J1351.3+1115_daily_bin7.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.28e-03', comment='SUCCESS', energy_flux2='8.89e-06', dlogl='1.25e+00', photon_flux2='7.14e-08', job_status='DONE', time_completed='2021-09-08 15:44:04.190469', photon_index_error2='0.23', photon_index2='6.01', ts='-0.00', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', photon_flux_upper_limit='4.41e-08', energy_flux_error2='6.28e-06', EG='1.49', time_epoch_completed='1631141044.19', return_code='0', job_id='18829', GAL2='0.78', EG2='1.39', return_code2='0', photon_flux_error2='5.11e-08', ts2='2.67', photon_index='1.88' WHERE bin_id='7' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:44:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 18829: <4FGL_J1351.3+1115_daily_bin7> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin7> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  8 15:31:14 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:32:32 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:32:32 2021
Terminated at Wed Sep  8 15:44:05 2021
Results reported at Wed Sep  8 15:44:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin7 207.843 11.2502 241142401 241401601 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 :                                   608.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            771 sec.

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

