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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1577
RA = 207.843, Dec = 11.2502
tmin = 648086401, tmax = 648345601
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='26905', job_status='RUN', time_executed='2021-09-08 15:56:01.077669', time_epoch_executed='1631141761.08' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1577'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26905

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26905/ft1_4FGL_J1351.3+1115_daily_bin1577.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26905/ft2_4FGL_J1351.3+1115_daily_bin1577.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26905/ft1_4FGL_J1351.3+1115_daily_bin1577.fits outfile=/scratch/kocevski/26905/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1577.fits ra=207.843 dec=11.2502 rad=12.0 tmin=648086401.0 tmax=648345601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.28
user 4.01
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/26905/ft2_4FGL_J1351.3+1115_daily_bin1577.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/26905/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1577.fits evtable="EVENTS" outfile="/scratch/kocevski/26905/ft1_filtered_4FGL_J1351.3+1115_daily_bin1577.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.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26905/ft1_filtered_4FGL_J1351.3+1115_daily_bin1577.fits" evtable="EVENTS" scfile=/scratch/kocevski/26905/ft2_4FGL_J1351.3+1115_daily_bin1577.fits sctable="SC_DATA" outfile=/scratch/kocevski/26905/ltcube_648086401_648345601_4FGL_J1351.3+1115_daily_bin1577.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/26905/ft2_4FGL_J1351.3+1115_daily_bin1577.fits
.....................!
real 16.52
user 16.06
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26905/ft1_filtered_4FGL_J1351.3+1115_daily_bin1577.fits evtable="EVENTS" scfile=/scratch/kocevski/26905/ft2_4FGL_J1351.3+1115_daily_bin1577.fits sctable="SC_DATA" expcube=/scratch/kocevski/26905/ltcube_648086401_648345601_4FGL_J1351.3+1115_daily_bin1577.fits outfile=/scratch/kocevski/26905/expmap_648086401_648345601_4FGL_J1351.3+1115_daily_bin1577.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/26905/ltcube_648086401_648345601_4FGL_J1351.3+1115_daily_bin1577.fits
.....................!
real 194.32
user 188.11
sys 5.60

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/26905/ft1_filtered_4FGL_J1351.3+1115_daily_bin1577.fits scfile=/scratch/kocevski/26905/ft2_4FGL_J1351.3+1115_daily_bin1577.fits outfile=/scratch/kocevski/26905/cmap_648086401_648345601_4FGL_J1351.3+1115_daily_bin1577.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.58
user 0.37
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    19.568       1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.483       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .37696E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.668       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.206       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8808       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4020       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.135       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10489E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .15971E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1562       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1214       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1507       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=   6786.378     FROM MIGRAD    STATUS=CONVERGED    344 CALLS     1628 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.335       -.76073E-07** at limit **
   2  Prefactor     19.553        27.755       -.11716E-05   -.79334E-04
   3  Prefactor     27.442        37.293       -.50369E-05   -.25003E-03
   4  Prefactor     .10002E-03    2.3295        .42352E-06** at limit **
   5  Prefactor     25.635        32.261       -.25099E-05   -.24058E-03
   6  Prefactor     10.210        5.6843       -.25064E-07   -.13232E-03
   7  Prefactor     .10000E-03    7.5859        .34001E-07** at limit **
   8  Prefactor     .10000E-03    6.0762        .15963E-06** at limit **
   9  Prefactor     1.8974        36.421       -.30191E-05   -.35642E-04
  10  Prefactor     3.3966        19.940        .12288E-04   -.13571E-03
  11  Prefactor     25.133        26.932       -.40231E-06   -.16632E-04
  12  Prefactor     .10000E-03    13.198        .16730E-07** at limit **
  13  norm          .10000E-03    74.063        .21050E-05** at limit **
  14  Prefactor     .10000E-03    3.1107       -.32794E-07** at limit **
  15  Prefactor     2.1551        6.0877        .87937E-06   -.74672E-04
  16  Normalizat    1.1215        .20472        .12739E-05   -.19526E-03
  17  Prefactor     1.1507        .15791       -.87096E-06   -.61880E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.5527
  Prefactor  = 27.4416
  Prefactor  = 0.000100019
  Prefactor  = 25.6346
  Prefactor  = 10.2097
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.89736
  Prefactor  = 3.39659
  Prefactor  = 25.133
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.15507
  Normalizat = 1.1215
  Prefactor  = 1.15066
 **********
 **   18 **HESSE 
 **********

 FCN=   6786.378     FROM HESSE     STATUS=OK           221 CALLS     1849 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.113        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.553        27.817        .90543E-04   -1.4823    
   3  Prefactor     27.442        38.499        .76418E-04   -1.4660    
   4  Prefactor     .10002E-03    18.769        .23667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.635        32.375        .79068E-04   -1.4695    
   6  Prefactor     10.210        5.6798        .12542E-03   -1.5069    
   7  Prefactor     .10000E-03    7.6391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.2896        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8974        35.279        .30355E-03   -1.5432    
  10  Prefactor     3.3966        20.796        .10967E-02   -1.5339    
  11  Prefactor     25.133        26.923        .79902E-04   -1.4705    
  12  Prefactor     .10000E-03    13.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    76.334        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.1246        .14179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.1551        6.0804        .28056E-03   -1.5414    
  16  Normalizat    1.1215        .24223        .27572E-03   -.89065    
  17  Prefactor     1.1507        .18888        .21581E-03   -.87863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76434e-09
Minuit parameter uncertainties:
  1  3.87931e-05
  2  27.8355
  3  38.5342
  4  0.0011883
  5  32.397
  6  5.68011
  7  4.48651e-07
  8  4.90844e-06
  9  16.3738
  10  16.8176
  11  26.9359
  12  2.56297e-05
  13  0.000107086
  14  4.74624e-06
  15  6.08216
  16  0.242469
  17  0.188995
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.021e+01  5.680e+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.151e+00  1.890e-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.121e+00  2.425e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.94
Ra Dec: 207.843 11.250
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 5.51e-08 +/- 3.07e-08
Energy Flux (Fixed Index): 5.17e-05 +/- 2.88e-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) = 6786.37740299
delta logL = 0.00029439071659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6786.37726744
delta logL = 0.000429942161645

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.298       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8667       1.0000          .0000       10.000    
     3 'Normalizat'    1.1231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1503       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6786.377     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      287 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.307        6.9266        .62429E-03   -.31741E-04
   2  Index         1.8682        .56059        .66023E-02    .54152E-03
   3  Normalizat    1.1230        .24315        .27556E-03   -.72200E-05
   4  Prefactor     1.1502        .18923        .21585E-03   -.26808E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.3073
  Index      = 1.86824
  Normalizat = 1.12301
  Prefactor  = 1.15016
 **********
 **   18 **HESSE 
 **********

 FCN=   6786.377     FROM HESSE     STATUS=OK            27 CALLS      314 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.307        6.6254        .24972E-04   -1.5066    
   2  Index         1.8682        .53545        .13205E-02   -.67687    
   3  Normalizat    1.1230        .24282        .11022E-04   -.89016    
   4  Prefactor     1.1502        .18933        .86342E-05   -.87879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98894e-12
Minuit parameter uncertainties:
  1  6.62583
  2  0.537147
  3  0.243057
  4  0.189437
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26905': 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) = 6786.37725725
delta logL = 0.000440131771029

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.031e+01  6.626e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.868e+00  5.371e-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.150e+00  1.894e-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.123e+00  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.93
Ra Dec: 207.843 11.250
Photon Index (Free Index): 1.87 +/- 0.54
Photon Flux (Free Index): 5.38e-08 +/- 5.39e-08
Energy Flux (Free Index): 5.28e-05 +/- 4.69e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/26905/cmap_HighResolution_648086401_648345601_4FGL_J1351.3+1115_daily_bin1577.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.51e-08', energy_flux2='5.28e-05', photon_flux_error='3.07e-08', dlogl='4.40e-04', energy_flux='5.17e-05', photon_flux2='5.38e-08', job_status='DONE', time_completed='2021-09-08 16:04:32.503967', photon_index_error2='0.54', photon_index2='1.87', ts='13.94', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='4.69e-05', EG='1.12', time_epoch_completed='1631142272.5', return_code='0', job_id='26905', GAL2='1.15', EG2='1.12', return_code2='0', energy_flux_error='2.88e-05', photon_flux_error2='5.39e-08', ts2='13.93', photon_index='1.88' WHERE bin_id='1577' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 16:04:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 26905: <4FGL_J1351.3+1115_daily_bin1577> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1577> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 15:55:39 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:55:44 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:55:44 2021
Terminated at Wed Sep  8 16:04:32 2021
Results reported at Wed Sep  8 16:04:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1577 207.843 11.2502 648086401 648345601 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 :                                   506.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   530 sec.
    Turnaround time :                            533 sec.

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

