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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin14
RA = 207.843, Dec = 11.2502
tmin = 242956801, tmax = 243216001
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='18841', job_status='RUN', time_executed='2021-09-08 15:34:49.666764', time_epoch_executed='1631140489.67' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='14'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18841

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18841/ft1_4FGL_J1351.3+1115_daily_bin14.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18841/ft2_4FGL_J1351.3+1115_daily_bin14.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18841/ft1_4FGL_J1351.3+1115_daily_bin14.fits outfile=/scratch/kocevski/18841/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin14.fits ra=207.843 dec=11.2502 rad=12.0 tmin=242956801.0 tmax=243216001.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.50
user 1.30
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/18841/ft1_filtered_4FGL_J1351.3+1115_daily_bin14.fits" evtable="EVENTS" scfile=/scratch/kocevski/18841/ft2_4FGL_J1351.3+1115_daily_bin14.fits sctable="SC_DATA" outfile=/scratch/kocevski/18841/ltcube_242956801_243216001_4FGL_J1351.3+1115_daily_bin14.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/18841/ft2_4FGL_J1351.3+1115_daily_bin14.fits
.....................!
real 19.50
user 19.00
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18841/ft1_filtered_4FGL_J1351.3+1115_daily_bin14.fits evtable="EVENTS" scfile=/scratch/kocevski/18841/ft2_4FGL_J1351.3+1115_daily_bin14.fits sctable="SC_DATA" expcube=/scratch/kocevski/18841/ltcube_242956801_243216001_4FGL_J1351.3+1115_daily_bin14.fits outfile=/scratch/kocevski/18841/expmap_242956801_243216001_4FGL_J1351.3+1115_daily_bin14.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/18841/ltcube_242956801_243216001_4FGL_J1351.3+1115_daily_bin14.fits
.....................!
real 191.62
user 186.40
sys 4.43

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/18841/ft1_filtered_4FGL_J1351.3+1115_daily_bin14.fits scfile=/scratch/kocevski/18841/ft2_4FGL_J1351.3+1115_daily_bin14.fits outfile=/scratch/kocevski/18841/cmap_242956801_243216001_4FGL_J1351.3+1115_daily_bin14.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/18841/ft1_filtered_4FGL_J1351.3+1115_daily_bin14.fits scfile=/scratch/kocevski/18841/ft2_4FGL_J1351.3+1115_daily_bin14.fits outfile=/scratch/kocevski/18841/cmap_HighResolution_242956801_243216001_4FGL_J1351.3+1115_daily_bin14.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=207.843 yref=11.2502 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.480       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.539       1.0000         .10000E-03   10000.    
     3 'Prefactor '    39.268       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.248       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0970       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8344       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3727       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11410       1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.8732       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.6459       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .82504       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=   9645.663     FROM MIGRAD    STATUS=CONVERGED    335 CALLS     1618 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.479        11.027        .62546E-06   -.27045E-04
   2  Prefactor     14.537        25.658        .15883E-05   -.48343E-05
   3  Prefactor     39.266        32.790        .53230E-06   -.10591E-04
   4  Prefactor     .10000E-03    1.3946        .28995E-07** at limit **
   5  Prefactor     22.250        20.486        .26033E-05    .43107E-04
   6  Prefactor     3.0968        2.6594       -.40874E-07   -.31870E-04
   7  Prefactor     1.8341        8.1307        .95136E-05   -.96936E-04
   8  Prefactor     3.3717        9.1809        .48804E-06    .10077E-04
   9  Prefactor     .10000E-03    8.2515       -.13841E-05** at limit **
  10  Prefactor     .10000E-03    9.3415        .20143E-06** at limit **
  11  Prefactor     .10000E-03    9.1960       -.24503E-07** at limit **
  12  Prefactor     .10006E-03    14.892        .16582E-06** at limit **
  13  norm          .10000E-03    8.3691        .33180E-06** at limit **
  14  Prefactor     .10000E-03    1.5032        .78059E-07** at limit **
  15  Prefactor     3.8726        5.9114        .18195E-06   -.19166E-04
  16  Normalizat    1.6460        .17849        .47241E-06   -.12033E-03
  17  Prefactor     .82500        .13174       -.20497E-05   -.31203E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.4786
  Prefactor  = 14.5367
  Prefactor  = 39.2659
  Prefactor  = 0.0001
  Prefactor  = 22.2504
  Prefactor  = 3.0968
  Prefactor  = 1.83408
  Prefactor  = 3.37168
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100059
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.87257
  Normalizat = 1.64597
  Prefactor  = 0.824998
 **********
 **   18 **HESSE 
 **********

 FCN=   9645.663     FROM HESSE     STATUS=OK           231 CALLS     1849 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.479        11.042        .93168E-04   -1.4848    
   2  Prefactor     14.537        25.662        .10504E-03   -1.4945    
   3  Prefactor     39.266        32.792        .63963E-04   -1.4454    
   4  Prefactor     .10000E-03    1.4323        .22642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.250        20.522        .84919E-04   -1.4764    
   6  Prefactor     3.0968        2.6633        .14420E-03   -1.5356    
   7  Prefactor     1.8341        8.2031        .15404E-02   -1.5437    
   8  Prefactor     3.3717        9.2010        .22034E-03   -1.5341    
   9  Prefactor     .10000E-03    8.4408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.3715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.2087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10006E-03    18.192        .10333       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.3814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.5054        .11757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.8726        5.9120        .20504E-03   -1.5314    
  16  Normalizat    1.6460        .21598        .24932E-03   -.73755    
  17  Prefactor     .82500        .15805        .25376E-03   -.98813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08349e-10
Minuit parameter uncertainties:
  1  11.0434
  2  25.6812
  3  32.8073
  4  2.46874e-06
  5  20.5289
  6  2.6634
  7  7.75918
  8  9.20482
  9  0.000181814
  10  7.88824e-06
  11  2.82856e-05
  12  0.00207716
  13  1.25848e-05
  14  5.85909e-06
  15  5.91286
  16  0.216103
  17  0.158134
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  3.097e+00  2.663e+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:  8.250e-01  1.581e-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.646e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.77
Ra Dec: 207.843 11.250
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 1.67e-08 +/- 1.44e-08
Energy Flux (Fixed Index): 1.57e-05 +/- 1.35e-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) = 9645.3536644
delta logL = 0.309691788842

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9645.35279993
delta logL = 0.310556256529

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1012       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3698       1.0000          .0000       10.000    
     3 'Normalizat'    1.6523       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82548       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=   9645.353     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      229 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1042        114.17        .57569E-02   -.26688E-03
   2  Index         1.3704        5.3257        .31493       -.19110E-04
   3  Normalizat    1.6524        .12129        .56300E-01    .20679E-05
   4  Prefactor     .82543        .64685E-01    .44048E-01    .27889E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.10415
  Index      = 1.37045
  Normalizat = 1.65236
  Prefactor  = 0.825434
 **********
 **   18 **HESSE 
 **********

 FCN=   9645.353     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1042        3.2259        .15956E-03   -1.5356    
   2  Index         1.3704        .66527        .12518E-01   -.81236    
   3  Normalizat    1.6524        .20819        .24894E-03   -.73582    
   4  Prefactor     .82543        .15779        .25375E-03   -.98797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29284e-10
Minuit parameter uncertainties:
  1  3.22612
  2  0.669494
  3  0.208298
  4  0.157875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18841': 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) = 9645.35279924
delta logL = 0.310556942188

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  3.104e+00  3.226e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.370e+00  6.695e-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:  8.254e-01  1.579e-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.652e+00  2.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.39
Ra Dec: 207.843 11.250
Photon Index (Free Index): 1.37 +/- 0.67
Photon Flux (Free Index): 6.88e-09 +/- 1.05e-08
Energy Flux (Free Index): 3.35e-05 +/- 4.62e-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/18841/cmap_HighResolution_242956801_243216001_4FGL_J1351.3+1115_daily_bin14.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.67e-08', energy_flux2='3.35e-05', photon_flux_error='1.44e-08', dlogl='3.11e-01', energy_flux='1.57e-05', photon_flux2='6.88e-09', job_status='DONE', time_completed='2021-09-08 15:44:18.292518', photon_index_error2='0.67', photon_index2='1.37', ts='7.77', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='4.62e-05', EG='1.65', time_epoch_completed='1631141058.29', return_code='0', job_id='18841', GAL2='0.83', EG2='1.65', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='1.05e-08', ts2='8.39', photon_index='1.88' WHERE bin_id='14' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:44:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 18841: <4FGL_J1351.3+1115_daily_bin14> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin14> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  8 15:31:15 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:32:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 15:32:32 2021
Terminated at Wed Sep  8 15:44:19 2021
Results reported at Wed Sep  8 15:44:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin14 207.843 11.2502 242956801 243216001 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 :                                   562.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             309.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            784 sec.

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

