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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1403
RA = 207.843, Dec = 11.2502
tmin = 602985601, tmax = 603244801
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='25557', job_status='RUN', time_executed='2021-09-08 15:55:34.173757', time_epoch_executed='1631141734.17' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1403'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25557

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25557/ft1_4FGL_J1351.3+1115_daily_bin1403.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25557/ft2_4FGL_J1351.3+1115_daily_bin1403.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25557/ft1_4FGL_J1351.3+1115_daily_bin1403.fits outfile=/scratch/kocevski/25557/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1403.fits ra=207.843 dec=11.2502 rad=12.0 tmin=602985601.0 tmax=603244801.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.03
user 2.79
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25557/ft1_filtered_4FGL_J1351.3+1115_daily_bin1403.fits" evtable="EVENTS" scfile=/scratch/kocevski/25557/ft2_4FGL_J1351.3+1115_daily_bin1403.fits sctable="SC_DATA" outfile=/scratch/kocevski/25557/ltcube_602985601_603244801_4FGL_J1351.3+1115_daily_bin1403.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/25557/ft2_4FGL_J1351.3+1115_daily_bin1403.fits
.....................!
real 15.72
user 15.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25557/ft1_filtered_4FGL_J1351.3+1115_daily_bin1403.fits evtable="EVENTS" scfile=/scratch/kocevski/25557/ft2_4FGL_J1351.3+1115_daily_bin1403.fits sctable="SC_DATA" expcube=/scratch/kocevski/25557/ltcube_602985601_603244801_4FGL_J1351.3+1115_daily_bin1403.fits outfile=/scratch/kocevski/25557/expmap_602985601_603244801_4FGL_J1351.3+1115_daily_bin1403.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/25557/ltcube_602985601_603244801_4FGL_J1351.3+1115_daily_bin1403.fits
.....................!
real 192.32
user 187.10
sys 4.80

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/25557/ft1_filtered_4FGL_J1351.3+1115_daily_bin1403.fits scfile=/scratch/kocevski/25557/ft2_4FGL_J1351.3+1115_daily_bin1403.fits outfile=/scratch/kocevski/25557/cmap_602985601_603244801_4FGL_J1351.3+1115_daily_bin1403.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25557/ft1_filtered_4FGL_J1351.3+1115_daily_bin1403.fits scfile=/scratch/kocevski/25557/ft2_4FGL_J1351.3+1115_daily_bin1403.fits outfile=/scratch/kocevski/25557/cmap_HighResolution_602985601_603244801_4FGL_J1351.3+1115_daily_bin1403.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.054       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .44095       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.1995       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2858       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.753       1.0000         .10000E-03   10000.    
    11 'Prefactor '    87.022       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13760E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    15.773       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .56845       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.513       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .76940       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1878       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=   6082.895     FROM MIGRAD    STATUS=CONVERGED    342 CALLS     1636 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.055        11.150        .16783E-06   -.10310E-04
   2  Prefactor     .10000E-03    57.781        .46986E-05** at limit **
   3  Prefactor     .10000E-03    14.278       -.12001E-06** at limit **
   4  Prefactor     .10000E-03    1.9951        .14786E-06** at limit **
   5  Prefactor     .10000E-03    26.154        .89839E-06** at limit **
   6  Prefactor     .43635        3.4538        .63646E-06   -.13286E-03
   7  Prefactor     9.2005        10.438       -.91481E-07   -.14790E-04
   8  Prefactor     2.2889        12.011        .88835E-05   -.40402E-04
   9  Prefactor     .10000E-03    6.9749       -.13741E-06** at limit **
  10  Prefactor     29.749        23.510        .52702E-06    .45146E-04
  11  Prefactor     87.032        38.260       -.85822E-06   -.10678E-03
  12  Prefactor     .10000E-03    44.360       -.63094E-05** at limit **
  13  norm          15.754        23.683        .29107E-05    .13757E-03
  14  Prefactor     .56909        4.8752        .67367E-06   -.10724E-03
  15  Prefactor     17.516        8.4120       -.14387E-06   -.37207E-03
  16  Normalizat    .76935        .21978       -.29130E-05    .21666E-04
  17  Prefactor     1.1877        .16450        .10045E-05    .24350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0552
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.43635
  Prefactor  = 9.20052
  Prefactor  = 2.28888
  Prefactor  = 0.0001
  Prefactor  = 29.7489
  Prefactor  = 87.032
  Prefactor  = 0.0001
  norm       = 15.7538
  Prefactor  = 0.56909
  Prefactor  = 17.5158
  Normalizat = 0.769353
  Prefactor  = 1.1877
 **********
 **   18 **HESSE 
 **********

 FCN=   6082.895     FROM HESSE     STATUS=OK           229 CALLS     1865 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.055        11.156        .11538E-03   -1.5013    
   2  Prefactor     .10000E-03    57.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.5855        .21114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    26.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .43635        7.7259        .27541E-02   -1.5576    
   7  Prefactor     9.2005        10.427        .13214E-03   -1.5101    
   8  Prefactor     2.2889        12.084        .13577E-02   -1.5405    
   9  Prefactor     .10000E-03    7.0036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.749        23.517        .73452E-04   -1.4617    
  11  Prefactor     87.032        37.824        .43068E-04   -1.3839    
  12  Prefactor     .10000E-03    45.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          15.754        23.946        .10085E-03   -1.4914    
  14  Prefactor     .56909        17.756        .29696E-02   -1.5557    
  15  Prefactor     17.516        8.2482        .95706E-04   -1.4871    
  16  Normalizat    .76935        .25723        .30986E-03   -1.0122    
  17  Prefactor     1.1877        .19629        .19988E-03   -.86711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57625e-08
Minuit parameter uncertainties:
  1  11.1574
  2  0.000275876
  3  1.42956e-06
  4  1.16496e-05
  5  7.02362e-05
  6  3.67229
  7  10.4286
  8  10.5216
  9  1.21901e-05
  10  23.5247
  11  37.8348
  12  0.000148764
  13  23.9608
  14  6.3591
  15  8.24875
  16  0.25764
  17  0.196409
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  4.364e-01  3.672e+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.188e+00  1.964e-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:  7.694e-01  2.576e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/25557/likelihoodResults_602985601_603244801_4FGL_J1351.3+1115_daily_bin1403.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) = 6082.85883566
delta logL = 0.0366088151322

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6082.85660095
delta logL = 0.0388435189898

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58914       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2903       1.0000          .0000       10.000    
     3 'Normalizat'    .76683       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1863       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=   6082.857     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      257 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58949        3.1566        .19709E-03    .35763E-05
   2  Index         2.2901        1.4183        .84727E-02    .16309E-03
   3  Normalizat    .76687        .24465        .31033E-03    .89388E-06
   4  Prefactor     1.1863        .19338        .19997E-03    .11370E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.589491
  Index      = 2.29015
  Normalizat = 0.76687
  Prefactor  = 1.18627
 **********
 **   18 **HESSE 
 **********

 FCN=   6082.857     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58949        2.5993        .78837E-05   -1.5554    
   2  Index         2.2901        1.2925        .16945E-02   -.57278    
   3  Normalizat    .76687        .24484        .62065E-04   -1.0131    
   4  Prefactor     1.1863        .19349        .39995E-04   -.86755    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56636e-12
Minuit parameter uncertainties:
  1  2.47565
  2  1.31379
  3  0.245193
  4  0.193611
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25557': 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) = 6082.85660089
delta logL = 0.0388435826317

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  5.895e-01  2.476e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.290e+00  1.314e+00  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.186e+00  1.936e-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:  7.669e-01  2.452e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 207.843 11.250

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/25557/cmap_HighResolution_602985601_603244801_4FGL_J1351.3+1115_daily_bin1403.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-03', job_status='DONE', photon_flux_upper_limit='5.92e-08', time_completed='2021-09-08 16:04:41.552151', job_id='25557', GAL2='1.19', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1631142281.55', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='3.88e-02', ts2='0.09', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1403' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 16:04:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 25557: <4FGL_J1351.3+1115_daily_bin1403> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1403 207.843 11.2502 602985601 603244801 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 :                                   504.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             219.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            828 sec.

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

