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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1272
RA = 207.843, Dec = 11.2502
tmin = 569030401, tmax = 569289601
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='25374', job_status='RUN', time_executed='2021-09-08 15:55:55.115726', time_epoch_executed='1631141755.12' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1272'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25374

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25374/ft1_4FGL_J1351.3+1115_daily_bin1272.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25374/ft2_4FGL_J1351.3+1115_daily_bin1272.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25374/ft1_4FGL_J1351.3+1115_daily_bin1272.fits outfile=/scratch/kocevski/25374/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1272.fits ra=207.843 dec=11.2502 rad=12.0 tmin=569030401.0 tmax=569289601.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.00
user 2.74
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/25374/ft2_4FGL_J1351.3+1115_daily_bin1272.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/25374/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1272.fits evtable="EVENTS" outfile="/scratch/kocevski/25374/ft1_filtered_4FGL_J1351.3+1115_daily_bin1272.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.78
user 0.28
sys 0.45

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25374/ft1_filtered_4FGL_J1351.3+1115_daily_bin1272.fits evtable="EVENTS" scfile=/scratch/kocevski/25374/ft2_4FGL_J1351.3+1115_daily_bin1272.fits sctable="SC_DATA" expcube=/scratch/kocevski/25374/ltcube_569030401_569289601_4FGL_J1351.3+1115_daily_bin1272.fits outfile=/scratch/kocevski/25374/expmap_569030401_569289601_4FGL_J1351.3+1115_daily_bin1272.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/25374/ltcube_569030401_569289601_4FGL_J1351.3+1115_daily_bin1272.fits
.....................!
real 160.86
user 155.68
sys 4.65

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/25374/ft1_filtered_4FGL_J1351.3+1115_daily_bin1272.fits scfile=/scratch/kocevski/25374/ft2_4FGL_J1351.3+1115_daily_bin1272.fits outfile=/scratch/kocevski/25374/cmap_569030401_569289601_4FGL_J1351.3+1115_daily_bin1272.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.48
user 0.30
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25374/ft1_filtered_4FGL_J1351.3+1115_daily_bin1272.fits scfile=/scratch/kocevski/25374/ft2_4FGL_J1351.3+1115_daily_bin1272.fits outfile=/scratch/kocevski/25374/cmap_HighResolution_569030401_569289601_4FGL_J1351.3+1115_daily_bin1272.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.49
user 0.33
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3774       1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.610       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.172       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8244       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9555       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.883       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1664       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.029       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.510       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .37046       1.0000         .10000E-03   10000.    
    13 'norm      '    38.550       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.5151       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1915       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .98369       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=   7134.188     FROM MIGRAD    STATUS=CONVERGED    332 CALLS     1626 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3773        8.2916        .20181E-05   -.11604E-03
   2  Prefactor     34.608        34.505       -.28186E-05   -.29129E-05
   3  Prefactor     14.168        35.655       -.62171E-05   -.50842E-05
   4  Prefactor     2.8243        3.1071       -.12382E-07   -.25631E-03
   5  Prefactor     .10000E-03    9.2904        .24974E-06** at limit **
   6  Prefactor     2.9555        3.6318       -.47069E-08   -.33326E-03
   7  Prefactor     .10000E-03    7.1727        .38825E-07** at limit **
   8  Prefactor     11.882        12.649        .20231E-05   -.51295E-04
   9  Prefactor     3.1665        8.3107       -.20799E-05   -.23476E-03
  10  Prefactor     10.029        12.149       -.88239E-06    .20073E-04
  11  Prefactor     29.505        23.880       -.18601E-05    .11440E-04
  12  Prefactor     .31486        11.523       -.36769E-05    .66427E-04
  13  norm          38.557        26.888        .11307E-04    .15381E-03
  14  Prefactor     .10000E-03    6.5655        .64328E-07** at limit **
  15  Prefactor     3.5144        4.2337       -.60282E-07   -.26376E-03
  16  Normalizat    1.1915        .19409       -.24712E-07    .15242E-03
  17  Prefactor     .98369        .14698       -.40551E-06    .18703E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.3773
  Prefactor  = 34.6084
  Prefactor  = 14.1685
  Prefactor  = 2.82432
  Prefactor  = 0.000100001
  Prefactor  = 2.95545
  Prefactor  = 0.0001
  Prefactor  = 11.8825
  Prefactor  = 3.16647
  Prefactor  = 10.0293
  Prefactor  = 29.5048
  Prefactor  = 0.314864
  norm       = 38.5569
  Prefactor  = 0.0001
  Prefactor  = 3.51439
  Normalizat = 1.19148
  Prefactor  = 0.983688
 **********
 **   18 **HESSE 
 **********

 FCN=   7134.188     FROM HESSE     STATUS=OK           233 CALLS     1859 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3773        8.2559        .17330E-03   -1.5244    
   2  Prefactor     34.608        34.557        .68117E-04   -1.4531    
   3  Prefactor     14.168        35.659        .10640E-03   -1.4955    
   4  Prefactor     2.8243        3.1032        .14989E-03   -1.5372    
   5  Prefactor     .10000E-03    39.904        .49957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.9555        3.6245        .17248E-03   -1.5364    
   7  Prefactor     .10000E-03    7.2492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.882        12.655        .11621E-03   -1.5018    
   9  Prefactor     3.1665        8.3343        .22776E-03   -1.5352    
  10  Prefactor     10.029        12.146        .12653E-03   -1.5074    
  11  Prefactor     29.505        23.879        .73753E-04   -1.4621    
  12  Prefactor     .31486        121.21        .54652E-02   -1.5596    
  13  norm          38.557        27.089        .64554E-04   -1.4465    
  14  Prefactor     .10000E-03    6.7790        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.5144        4.2275        .18476E-03   -1.5333    
  16  Normalizat    1.1915        .23683        .26723E-03   -.86866    
  17  Prefactor     .98369        .17933        .22380E-03   -.93275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.68818e-10
Minuit parameter uncertainties:
  1  8.25762
  2  34.5772
  3  35.7128
  4  3.10333
  5  0.000288964
  6  3.62473
  7  3.16931e-06
  8  12.6583
  9  8.3374
  10  12.1485
  11  23.8869
  12  12.3789
  13  27.0973
  14  2.18246e-05
  15  4.22784
  16  0.237043
  17  0.17944
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  2.955e+00  3.625e+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:  9.837e-01  1.794e-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.191e+00  2.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.09
Ra Dec: 207.843 11.250
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 1.60e-08 +/- 1.96e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.84e-05

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

Saving results to:
/scratch/kocevski/25374/likelihoodResults_569030401_569289601_4FGL_J1351.3+1115_daily_bin1272.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) = 7134.18740452
delta logL = 0.000907020461455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7134.18705765
delta logL = 0.00125388392098

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8438       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9186       1.0000          .0000       10.000    
     3 'Normalizat'    1.1908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98397       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=   7134.187     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      224 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8467        125.43        .60279E-02    .43875E-03
   2  Index         1.9179        5.8392        .16503        .10770E-03
   3  Normalizat    1.1908        .71514E-01    .60435E-01    .42917E-04
   4  Prefactor     .98398        .47850E-01    .46066E-01    .33430E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.8467
  Index      = 1.91793
  Normalizat = 1.19079
  Prefactor  = 0.983984
 **********
 **   18 **HESSE 
 **********

 FCN=   7134.187     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8467        4.3972        .16894E-03   -1.5371    
   2  Index         1.9179        .71805        .91416E-02   -.66418    
   3  Normalizat    1.1908        .23013        .26730E-03   -.86888    
   4  Prefactor     .98398        .17823        .22377E-03   -.93265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71732e-11
Minuit parameter uncertainties:
  1  4.39775
  2  0.722087
  3  0.230322
  4  0.178337
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25374': 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) = 7134.18705719
delta logL = 0.00125434682013

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  2.847e+00  4.398e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.918e+00  7.221e-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:  9.840e-01  1.783e-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.191e+00  2.303e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.09
Ra Dec: 207.843 11.250
Photon Index (Free Index): 1.92 +/- 0.72
Photon Flux (Free Index): 1.66e-08 +/- 2.28e-08
Energy Flux (Free Index): 1.41e-05 +/- 2.53e-05

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/25374/cmap_HighResolution_569030401_569289601_4FGL_J1351.3+1115_daily_bin1272.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', comment='SUCCESS', photon_flux='1.60e-08', energy_flux2='1.41e-05', photon_flux_error='1.96e-08', dlogl='1.25e-03', energy_flux='1.50e-05', photon_flux2='1.66e-08', job_status='DONE', time_completed='2021-09-08 16:04:14.261920', photon_index_error2='0.72', photon_index2='1.92', ts='1.09', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.72e-08', energy_flux_error2='2.53e-05', EG='1.19', time_epoch_completed='1631142254.26', return_code='0', job_id='25374', GAL2='0.98', EG2='1.19', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='2.28e-08', ts2='1.09', photon_index='1.88' WHERE bin_id='1272' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 16:04:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 25374: <4FGL_J1351.3+1115_daily_bin1272> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1272 207.843 11.2502 569030401 569289601 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 :                                   451.35 sec.
    Max Memory :                                 1119 MB
    Average Memory :                             241.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            814 sec.

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

