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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin28
RA = 207.843, Dec = 11.2502
tmin = 246585601, tmax = 246844801
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='18862', job_status='RUN', time_executed='2021-09-08 15:32:51.162099', time_epoch_executed='1631140371.16' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='28'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18862

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18862/ft1_4FGL_J1351.3+1115_daily_bin28.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18862/ft2_4FGL_J1351.3+1115_daily_bin28.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18862/ft1_4FGL_J1351.3+1115_daily_bin28.fits outfile=/scratch/kocevski/18862/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin28.fits ra=207.843 dec=11.2502 rad=12.0 tmin=246585601.0 tmax=246844801.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.47
user 1.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/18862/ft2_4FGL_J1351.3+1115_daily_bin28.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/18862/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin28.fits evtable="EVENTS" outfile="/scratch/kocevski/18862/ft1_filtered_4FGL_J1351.3+1115_daily_bin28.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/18862/ft1_filtered_4FGL_J1351.3+1115_daily_bin28.fits" evtable="EVENTS" scfile=/scratch/kocevski/18862/ft2_4FGL_J1351.3+1115_daily_bin28.fits sctable="SC_DATA" outfile=/scratch/kocevski/18862/ltcube_246585601_246844801_4FGL_J1351.3+1115_daily_bin28.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/18862/ft2_4FGL_J1351.3+1115_daily_bin28.fits
.....................!
real 16.87
user 16.43
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18862/ft1_filtered_4FGL_J1351.3+1115_daily_bin28.fits evtable="EVENTS" scfile=/scratch/kocevski/18862/ft2_4FGL_J1351.3+1115_daily_bin28.fits sctable="SC_DATA" expcube=/scratch/kocevski/18862/ltcube_246585601_246844801_4FGL_J1351.3+1115_daily_bin28.fits outfile=/scratch/kocevski/18862/expmap_246585601_246844801_4FGL_J1351.3+1115_daily_bin28.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/18862/ltcube_246585601_246844801_4FGL_J1351.3+1115_daily_bin28.fits
.....................!
real 192.05
user 186.50
sys 5.05

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/18862/ft1_filtered_4FGL_J1351.3+1115_daily_bin28.fits scfile=/scratch/kocevski/18862/ft2_4FGL_J1351.3+1115_daily_bin28.fits outfile=/scratch/kocevski/18862/cmap_246585601_246844801_4FGL_J1351.3+1115_daily_bin28.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.59
user 0.38
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1656       1.0000         .10000E-03   10000.    
     2 'Prefactor '    43.415       1.0000         .10000E-03   10000.    
     3 'Prefactor '    54.017       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10596E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.8625       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5910       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6093       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1621       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6049       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.9050       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .71363E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.8210       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16429E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.6192       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0003       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0737       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=   9438.177     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1642 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1326        9.2926        .39563E-06    .19344E-04
   2  Prefactor     43.474        30.372       -.12496E-05   -.17227E-03
   3  Prefactor     54.055        40.528        .54523E-06    .29111E-04
   4  Prefactor     .10000E-03    2.6370        .10180E-06** at limit **
   5  Prefactor     4.8373        13.286        .65336E-06    .33507E-04
   6  Prefactor     1.5853        3.1730        .72996E-06    .32435E-05
   7  Prefactor     .10000E-03    4.9756        .78155E-08** at limit **
   8  Prefactor     1.6202        6.6544        .18826E-05   -.12208E-04
   9  Prefactor     1.1775        13.932        .37257E-05   -.26201E-04
  10  Prefactor     2.5720        14.867       -.70551E-06   -.69243E-04
  11  Prefactor     5.9256        12.303        .55556E-06    .44382E-04
  12  Prefactor     .10000E-03    12.704        .64641E-08** at limit **
  13  norm          3.8111        13.621        .11183E-05    .28573E-04
  14  Prefactor     .13336E-03    2.6809       -.38469E-06** at limit **
  15  Prefactor     8.6272        5.3036        .10915E-06    .10143E-03
  16  Normalizat    1.0003        .16176       -.24150E-06   -.10488E-03
  17  Prefactor     1.0736        .12694       -.56171E-06   -.72338E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.1326
  Prefactor  = 43.4737
  Prefactor  = 54.0547
  Prefactor  = 0.0001
  Prefactor  = 4.83726
  Prefactor  = 1.5853
  Prefactor  = 0.0001
  Prefactor  = 1.6202
  Prefactor  = 1.17753
  Prefactor  = 2.57201
  Prefactor  = 5.92561
  Prefactor  = 0.0001
  norm       = 3.81106
  Prefactor  = 0.000133361
  Prefactor  = 8.62719
  Normalizat = 1.0003
  Prefactor  = 1.07358
 **********
 **   18 **HESSE 
 **********

 FCN=   9438.177     FROM HESSE     STATUS=OK           237 CALLS     1879 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1326        9.2981        .14030E-03   -1.5138    
   2  Prefactor     43.474        31.067        .60843E-04   -1.4388    
   3  Prefactor     54.055        40.587        .54574E-04   -1.4236    
   4  Prefactor     .10000E-03    2.7519        .30770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.8373        13.267        .18242E-03   -1.5268    
   6  Prefactor     1.5853        3.1559        .23624E-03   -1.5456    
   7  Prefactor     .10000E-03    4.9929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6202        6.7261        .33394E-03   -1.5453    
   9  Prefactor     1.1775        14.126        .42716E-03   -1.5491    
  10  Prefactor     2.5720        14.929        .25276E-03   -1.5387    
  11  Prefactor     5.9256        12.302        .16526E-03   -1.5221    
  12  Prefactor     .10000E-03    12.807        .20969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8111        13.634        .20648E-03   -1.5318    
  14  Prefactor     .13336E-03    2.7100        .52238E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.6272        5.3031        .13654E-03   -1.5120    
  16  Normalizat    1.0003        .19115        .27249E-03   -.93020    
  17  Prefactor     1.0736        .14986        .20763E-03   -.90315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07991e-10
Minuit parameter uncertainties:
  1  9.29978
  2  31.0785
  3  40.6073
  4  8.67905e-07
  5  13.2748
  6  3.15624
  7  8.89639e-07
  8  6.60338
  9  8.15891
  10  12.3977
  11  12.3071
  12  4.49273e-06
  13  13.6454
  14  0.0190174
  15  5.30337
  16  0.191282
  17  0.149921
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.585e+00  3.156e+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.074e+00  1.499e-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.000e+00  1.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/18862/likelihoodResults_246585601_246844801_4FGL_J1351.3+1115_daily_bin28.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) = 9436.95341688
delta logL = 1.22330497282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9436.88844374
delta logL = 1.28827811335

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17643       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5719       1.0000          .0000       10.000    
     3 'Normalizat'    .90362       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1168       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=   9436.888     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      237 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17651        1.3105        .55587E-02    .33848E-02
   2  Index         3.5718        1.5932        .74488E-01    .35898E-03
   3  Normalizat    .90367        .37224E-01    .64493E-01    .26912E-04
   4  Prefactor     1.1167        .28962E-01    .36982E-01    .37685E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.176505
  Index      = 3.57184
  Normalizat = 0.903672
  Prefactor  = 1.11672
 **********
 **   18 **HESSE 
 **********

 FCN=   9436.888     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17651        3.2132        .25131E-04   -1.5624    
   2  Index         3.5718        2.9401        .37176E-02   -.28967    
   3  Normalizat    .90367        .18528        .28527E-03   -.96331    
   4  Prefactor     1.1167        .13609        .20393E-03   -.88934    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.47873e-09
Minuit parameter uncertainties:
  1  1.50585
  2  3.16531
  3  0.185414
  4  0.136128
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18862': 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) = 9436.88844362
delta logL = 1.2882782341

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.765e-01  1.506e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  3.572e+00  3.165e+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.117e+00  1.361e-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.037e-01  1.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.10
Ra Dec: 207.843 11.250
Photon Index (Free Index): 3.57 +/- 3.17
Photon Flux (Free Index): 8.28e-08 +/- 7.40e-08
Energy Flux (Free Index): 1.35e-05 +/- 8.87e-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/18862/cmap_HighResolution_246585601_246844801_4FGL_J1351.3+1115_daily_bin28.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.05e-03', comment='SUCCESS', energy_flux2='1.35e-05', dlogl='1.29e+00', photon_flux2='8.28e-08', job_status='DONE', time_completed='2021-09-08 15:43:00.735760', photon_index_error2='3.17', photon_index2='3.57', ts='0.33', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='5.46e-08', energy_flux_error2='8.87e-06', EG='1.00', time_epoch_completed='1631140980.74', return_code='0', job_id='18862', GAL2='1.12', EG2='0.90', return_code2='102', photon_flux_error2='7.40e-08', ts2='3.10', photon_index='1.88' WHERE bin_id='28' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:43:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0143>
Subject: Job 18862: <4FGL_J1351.3+1115_daily_bin28> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin28 207.843 11.2502 246585601 246844801 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 :                                   605.49 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   628 sec.
    Turnaround time :                            704 sec.

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

