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


Performing analysis on: 4FGL_J1345.8+0706_daily_bin574
RA = 206.465, Dec = 7.1072
tmin = 388108801, tmax = 388368001
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='948664', job_status='RUN', time_executed='2021-09-08 11:29:19.705595', time_epoch_executed='1631125759.71' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='574'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/948664

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/948664/ft1_4FGL_J1345.8+0706_daily_bin574.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/948664/ft2_4FGL_J1345.8+0706_daily_bin574.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/948664/ft1_4FGL_J1345.8+0706_daily_bin574.fits outfile=/scratch/kocevski/948664/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin574.fits ra=206.465 dec=7.1072 rad=12.0 tmin=388108801.0 tmax=388368001.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.38
user 3.14
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/948664/ft2_4FGL_J1345.8+0706_daily_bin574.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/948664/ft2_4FGL_J1345.8+0706_daily_bin574.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/948664/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin574.fits evtable="EVENTS" outfile="/scratch/kocevski/948664/ft1_filtered_4FGL_J1345.8+0706_daily_bin574.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/948664/ft1_filtered_4FGL_J1345.8+0706_daily_bin574.fits" evtable="EVENTS" scfile=/scratch/kocevski/948664/ft2_4FGL_J1345.8+0706_daily_bin574.fits sctable="SC_DATA" outfile=/scratch/kocevski/948664/ltcube_388108801_388368001_4FGL_J1345.8+0706_daily_bin574.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/948664/ft2_4FGL_J1345.8+0706_daily_bin574.fits
.....................!
real 16.26
user 15.88
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/948664/ft1_filtered_4FGL_J1345.8+0706_daily_bin574.fits evtable="EVENTS" scfile=/scratch/kocevski/948664/ft2_4FGL_J1345.8+0706_daily_bin574.fits sctable="SC_DATA" expcube=/scratch/kocevski/948664/ltcube_388108801_388368001_4FGL_J1345.8+0706_daily_bin574.fits outfile=/scratch/kocevski/948664/expmap_388108801_388368001_4FGL_J1345.8+0706_daily_bin574.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/948664/ltcube_388108801_388368001_4FGL_J1345.8+0706_daily_bin574.fits
.....................!
real 192.98
user 187.97
sys 4.48

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1345.8+0706 @ 206.465 7.1072

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/948664/ft1_filtered_4FGL_J1345.8+0706_daily_bin574.fits scfile=/scratch/kocevski/948664/ft2_4FGL_J1345.8+0706_daily_bin574.fits outfile=/scratch/kocevski/948664/cmap_388108801_388368001_4FGL_J1345.8+0706_daily_bin574.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=206.465 yref=7.1072 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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/948664/ft1_filtered_4FGL_J1345.8+0706_daily_bin574.fits scfile=/scratch/kocevski/948664/ft2_4FGL_J1345.8+0706_daily_bin574.fits outfile=/scratch/kocevski/948664/cmap_HighResolution_388108801_388368001_4FGL_J1345.8+0706_daily_bin574.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=206.465 yref=7.1072 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/948664/ft1_filtered_4FGL_J1345.8+0706_daily_bin574.fits evtable="EVENTS" scfile=/scratch/kocevski/948664/ft2_4FGL_J1345.8+0706_daily_bin574.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/948664/Model_4FGL_J1345.8+0706_daily_bin574.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/948664/ft1_filtered_4FGL_J1345.8+0706_daily_bin574.fits.....................!
real 46.76
user 45.44
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/948664/ft1_filtered_4FGL_J1345.8+0706_daily_bin574.fits', '/scratch/kocevski/948664/ft2_4FGL_J1345.8+0706_daily_bin574.fits', expMap='/scratch/kocevski/948664/expmap_388108801_388368001_4FGL_J1345.8+0706_daily_bin574.fits', expCube='/scratch/kocevski/948664/ltcube_388108801_388368001_4FGL_J1345.8+0706_daily_bin574.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/948664/Model_4FGL_J1345.8+0706_daily_bin574.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1345.8+0706'

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.852e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.443e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  7.607e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/948664/ft1_filtered_4FGL_J1345.8+0706_daily_bin574.fits
Spacecraft file(s): /scratch/kocevski/948664/ft2_4FGL_J1345.8+0706_daily_bin574.fits
Exposure map: /scratch/kocevski/948664/expmap_388108801_388368001_4FGL_J1345.8+0706_daily_bin574.fits
Exposure cube: /scratch/kocevski/948664/ltcube_388108801_388368001_4FGL_J1345.8+0706_daily_bin574.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/948664/Model_4FGL_J1345.8+0706_daily_bin574.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) = 5737.11783962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.504       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    43.057       1.0000         .10000E-03   10000.    
     4 'Prefactor '    70.961       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .33243E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.1782       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2276       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.157       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.041       1.0000         .10000E-03   10000.    
    12 'Prefactor '    94.639       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.559       1.0000         .10000E-03   10000.    
    14 'norm      '    13.700       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .98860       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0008       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5737.111     FROM MIGRAD    STATUS=CONVERGED    275 CALLS     1413 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.492        20.492       -.24941E-04    .37923E-05
   2  Prefactor     .10000E-03    3.9700       -.76013E-07** at limit **
   3  Prefactor     43.056        34.749       -.18685E-05    .22716E-04
   4  Prefactor     70.959        67.530       -.21817E-05    .97268E-04
   5  norm          .10000E-03    12.055       -.13838E-05** at limit **
   6  Prefactor     .10137E-03    2.4977       -.25586E-05** at limit **
   7  Prefactor     .10000E-03    15.674        .37756E-05** at limit **
   8  Prefactor     6.1781        3.7763       -.42956E-06    .35085E-03
   9  Prefactor     6.2273        14.392       -.17173E-05   -.26616E-04
  10  Prefactor     23.159        17.310        .14727E-05    .14413E-03
  11  Prefactor     19.041        19.036       -.26377E-06    .41360E-04
  12  Prefactor     94.638        41.207       -.15581E-05    .41347E-04
  13  Prefactor     23.558        21.839       -.14351E-05    .39536E-04
  14  norm          13.699        15.852       -.15783E-05    .88336E-05
  15  Normalizat    .98843        .22021        .28874E-05    .52533E-03
  16  Prefactor     1.0010        .16125        .13308E-05    .68686E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4922
  Prefactor  = 0.0001
  Prefactor  = 43.0557
  Prefactor  = 70.9588
  norm       = 0.0001
  Prefactor  = 0.000101367
  Prefactor  = 0.0001
  Prefactor  = 6.17814
  Prefactor  = 6.22726
  Prefactor  = 23.1587
  Prefactor  = 19.0407
  Prefactor  = 94.6376
  Prefactor  = 23.5584
  norm       = 13.6991
  Normalizat = 0.988429
  Prefactor  = 1.00098
 **********
 **   18 **HESSE 
 **********

 FCN=   5737.111     FROM HESSE     STATUS=OK           197 CALLS     1610 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.492        20.567        .12362E-03   -1.5060    
   2  Prefactor     .10000E-03    3.9769        .14738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     43.056        34.748        .61095E-04   -1.4395    
   4  Prefactor     70.959        67.550        .47655E-04   -1.4021    
   5  norm          .10000E-03    12.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10137E-03    28.835        .22219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.1781        3.7742        .11169E-03   -1.5211    
   9  Prefactor     6.2273        14.389        .16086E-03   -1.5209    
  10  Prefactor     23.159        17.314        .83238E-04   -1.4745    
  11  Prefactor     19.041        19.029        .91788E-04   -1.4835    
  12  Prefactor     94.638        41.222        .41314E-04   -1.3759    
  13  Prefactor     23.558        21.840        .82526E-04   -1.4737    
  14  norm          13.699        15.858        .10821E-03   -1.4968    
  15  Normalizat    .98843        .25828        .28865E-03   -.93419    
  16  Prefactor     1.0010        .19027        .21642E-03   -.92697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62319e-08
Minuit parameter uncertainties:
  1  20.5809
  2  4.96112e-06
  3  34.7648
  4  67.6235
  5  1.40776e-06
  6  0.012562
  7  4.45723e-05
  8  3.7743
  9  14.397
  10  17.3181
  11  19.0351
  12  41.2342
  13  21.8475
  14  15.863
  15  0.258608
  16  0.190402
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.014e-04  1.256e-02  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.443e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  7.607e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.001e+00  1.904e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  9.884e-01  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 206.465 7.107
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/948664/likelihoodResults_388108801_388368001_4FGL_J1345.8+0706_daily_bin574.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): 102
logL (Free Index) = 5737.11103871
delta logL = -0.000164622621014

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5737.11087821
delta logL = -4.1198964027e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34780E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3353       1.0000          .0000       10.000    
     3 'Normalizat'    .98898       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0006       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5737.111     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      236 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    .26488        .78813E-01** at limit **
   2  Index         2.3325        7.1198        .50000        .18382E-04
   3  Normalizat    .98843        .16831E-02    .46029E-01    .57022E-03
   4  Prefactor     1.0010        .12755E-02    .45596E-01    .71803E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100029
  Index      = 2.33246
  Normalizat = 0.98843
  Prefactor  = 1.00098
 **********
 **   18 **HESSE 
 **********

 FCN=   5737.111     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    138.48        .23427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3325        5.8819        .50000       -.56274    
   3  Normalizat    .98843        .85957E-02    .28865E-03   -.93419    
   4  Prefactor     1.0010        .65151E-02    .21642E-03   -.92697    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.18806e-07
Minuit parameter uncertainties:
  1  0.00399847
  2  116.423
  3  0.00859568
  4  0.00651509
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/948664': 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): 102
logL (Free Index) = 5737.11087332
delta logL = 7.70120095694e-07

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  3.998e-03  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.332e+00  1.164e+02  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  7.607e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.001e+00  6.515e-03  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  9.884e-01  8.596e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 206.465 7.107

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/948664/cmap_HighResolution_388108801_388368001_4FGL_J1345.8+0706_daily_bin574.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.67e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-09-08 11:37:22.406502', job_id='948664', GAL2='1.00', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1631126242.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='7.70e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='574' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:37:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 948664: <4FGL_J1345.8+0706_daily_bin574> in cluster <slac> Done

Job <4FGL_J1345.8+0706_daily_bin574> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 11:25:20 2021
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 11:25:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 11:25:33 2021
Terminated at Wed Sep  8 11:37:23 2021
Results reported at Wed Sep  8 11:37:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin574 206.465 7.1072 388108801 388368001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1345.8+0706 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   483.04 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             254.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            723 sec.

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

