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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1311
RA = 207.843, Dec = 11.2502
tmin = 579139201, tmax = 579398401
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='25427', job_status='RUN', time_executed='2021-09-08 15:55:07.903282', time_epoch_executed='1631141707.9' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25427

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25427/ft1_4FGL_J1351.3+1115_daily_bin1311.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25427/ft2_4FGL_J1351.3+1115_daily_bin1311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25427/ft1_4FGL_J1351.3+1115_daily_bin1311.fits outfile=/scratch/kocevski/25427/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1311.fits ra=207.843 dec=11.2502 rad=12.0 tmin=579139201.0 tmax=579398401.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.47
user 3.28
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/25427/ft2_4FGL_J1351.3+1115_daily_bin1311.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/25427/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1311.fits evtable="EVENTS" outfile="/scratch/kocevski/25427/ft1_filtered_4FGL_J1351.3+1115_daily_bin1311.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25427/ft1_filtered_4FGL_J1351.3+1115_daily_bin1311.fits" evtable="EVENTS" scfile=/scratch/kocevski/25427/ft2_4FGL_J1351.3+1115_daily_bin1311.fits sctable="SC_DATA" outfile=/scratch/kocevski/25427/ltcube_579139201_579398401_4FGL_J1351.3+1115_daily_bin1311.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/25427/ft2_4FGL_J1351.3+1115_daily_bin1311.fits
.....................!
real 12.73
user 12.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25427/ft1_filtered_4FGL_J1351.3+1115_daily_bin1311.fits evtable="EVENTS" scfile=/scratch/kocevski/25427/ft2_4FGL_J1351.3+1115_daily_bin1311.fits sctable="SC_DATA" expcube=/scratch/kocevski/25427/ltcube_579139201_579398401_4FGL_J1351.3+1115_daily_bin1311.fits outfile=/scratch/kocevski/25427/expmap_579139201_579398401_4FGL_J1351.3+1115_daily_bin1311.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/25427/ltcube_579139201_579398401_4FGL_J1351.3+1115_daily_bin1311.fits
.....................!
real 190.99
user 185.81
sys 4.66

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/25427/ft1_filtered_4FGL_J1351.3+1115_daily_bin1311.fits scfile=/scratch/kocevski/25427/ft2_4FGL_J1351.3+1115_daily_bin1311.fits outfile=/scratch/kocevski/25427/cmap_579139201_579398401_4FGL_J1351.3+1115_daily_bin1311.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25427/ft1_filtered_4FGL_J1351.3+1115_daily_bin1311.fits scfile=/scratch/kocevski/25427/ft2_4FGL_J1351.3+1115_daily_bin1311.fits outfile=/scratch/kocevski/25427/cmap_HighResolution_579139201_579398401_4FGL_J1351.3+1115_daily_bin1311.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    21.782       1.0000         .10000E-03   10000.    
     3 'Prefactor '    53.295       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3117       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.064       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    49.722       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.639       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.1047       1.0000         .10000E-03   10000.    
    13 'norm      '    22.410       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.546       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2851       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0334       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0104       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=   5709.894     FROM MIGRAD    STATUS=CONVERGED    306 CALLS     1537 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.3698       -.10308E-06** at limit **
   2  Prefactor     21.781        26.601       -.19203E-05    .71608E-04
   3  Prefactor     53.295        49.352       -.10157E-06    .11491E-04
   4  Prefactor     .10000E-03    2.1660       -.25872E-07** at limit **
   5  Prefactor     .10000E-03    7.4360       -.14720E-05** at limit **
   6  Prefactor     4.3119        3.9866        .12685E-06    .52174E-04
   7  Prefactor     11.063        18.302       -.39645E-05    .13689E-03
   8  Prefactor     .10000E-03    4.1416        .26536E-06** at limit **
   9  Prefactor     .10000E-03    9.6976        .23205E-05** at limit **
  10  Prefactor     49.719        29.208       -.35778E-05    .23742E-03
  11  Prefactor     24.640        28.838        .49961E-06   -.87924E-04
  12  Prefactor     9.1040        18.771       -.17512E-05    .40365E-04
  13  norm          22.409        19.943       -.10100E-05    .88123E-04
  14  Prefactor     20.557        11.470        .88674E-05   -.10905E-02
  15  Prefactor     2.2752        7.6553       -.13378E-04   -.49078E-03
  16  Normalizat    1.0333        .20559        .19289E-05    .53339E-04
  17  Prefactor     1.0105        .15864       -.69269E-06    .21584E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 21.7811
  Prefactor  = 53.2953
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.31187
  Prefactor  = 11.0627
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 49.719
  Prefactor  = 24.6402
  Prefactor  = 9.10403
  norm       = 22.4095
  Prefactor  = 20.5572
  Prefactor  = 2.27525
  Normalizat = 1.03328
  Prefactor  = 1.01049
 **********
 **   18 **HESSE 
 **********

 FCN=   5709.894     FROM HESSE     STATUS=OK           217 CALLS     1754 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3758        .13547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.781        26.606        .85822E-04   -1.4774    
   3  Prefactor     53.295        49.378        .54941E-04   -1.4247    
   4  Prefactor     .10000E-03    2.2025        .10855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.4433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.3119        3.9869        .14004E-03   -1.5293    
   7  Prefactor     11.063        18.345        .12044E-03   -1.5043    
   8  Prefactor     .10000E-03    4.1586        .15016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.7638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     49.719        29.183        .56871E-04   -1.4297    
  11  Prefactor     24.640        28.830        .80700E-04   -1.4715    
  12  Prefactor     9.1040        18.769        .13283E-03   -1.5104    
  13  norm          22.409        19.945        .84612E-04   -1.4761    
  14  Prefactor     20.557        11.542        .88363E-04   -1.4801    
  15  Prefactor     2.2752        7.9601        .27158E-03   -1.5406    
  16  Normalizat    1.0333        .24816        .26923E-03   -.91924    
  17  Prefactor     1.0105        .19139        .21519E-03   -.92381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10289e-09
Minuit parameter uncertainties:
  1  3.20775e-07
  2  26.6201
  3  49.4162
  4  1.66678e-06
  5  5.29557e-05
  6  3.98712
  7  18.3546
  8  5.76964e-06
  9  4.90204e-05
  10  29.1913
  11  28.8459
  12  18.781
  13  19.9508
  14  11.5434
  15  7.96378
  16  0.24844
  17  0.191518
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  4.312e+00  3.987e+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.010e+00  1.915e-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.033e+00  2.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.95
Ra Dec: 207.843 11.250
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 2.33e-08 +/- 2.15e-08
Energy Flux (Fixed Index): 2.18e-05 +/- 2.02e-05

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) = 5709.89092057
delta logL = 0.00325233352123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5709.89015615
delta logL = 0.00401675377452

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1602       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9487       1.0000          .0000       10.000    
     3 'Normalizat'    1.0310       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0109       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5709.890     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      288 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1616        4.3614        .13485E-03    .21701E-03
   2  Index         1.9494        .74484        .89218E-02    .44028E-04
   3  Normalizat    1.0309        .24077        .26949E-03   -.40203E-04
   4  Prefactor     1.0109        .19019        .21513E-03   -.16711E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.16159
  Index      = 1.94936
  Normalizat = 1.03095
  Prefactor  = 1.01094
 **********
 **   18 **HESSE 
 **********

 FCN=   5709.890     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1616        4.2101        .53940E-05   -1.5300    
   2  Index         1.9494        .71871        .35687E-03   -.65622    
   3  Normalizat    1.0309        .24076        .10780E-04   -.92001    
   4  Prefactor     1.0109        .19035        .43027E-04   -.92366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.13792e-11
Minuit parameter uncertainties:
  1  4.21036
  2  0.722716
  3  0.241019
  4  0.19048
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25427': 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) = 5709.8901553
delta logL = 0.00401759963734

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  4.162e+00  4.210e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.949e+00  7.227e-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.011e+00  1.905e-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.031e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.96
Ra Dec: 207.843 11.250
Photon Index (Free Index): 1.95 +/- 0.72
Photon Flux (Free Index): 2.59e-08 +/- 3.81e-08
Energy Flux (Free Index): 2.04e-05 +/- 2.37e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-08', energy_flux2='2.04e-05', photon_flux_error='2.15e-08', dlogl='4.02e-03', energy_flux='2.18e-05', photon_flux2='2.59e-08', job_status='DONE', time_completed='2021-09-08 16:03:32.145297', photon_index_error2='0.72', photon_index2='1.95', ts='4.95', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='2.37e-05', EG='1.03', time_epoch_completed='1631142212.15', return_code='0', job_id='25427', GAL2='1.01', EG2='1.03', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='3.81e-08', ts2='4.96', photon_index='1.88' WHERE bin_id='1311' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 16:03:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 25427: <4FGL_J1351.3+1115_daily_bin1311> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1311> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 15:50:45 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:52:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 15:52:03 2021
Terminated at Wed Sep  8 16:03:32 2021
Results reported at Wed Sep  8 16:03:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1311 207.843 11.2502 579139201 579398401 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 :                                   455.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            767 sec.

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

