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


Performing analysis on: 4FGL_J1345.8+0706_daily_bin668
RA = 206.465, Dec = 7.1072
tmin = 412473601, tmax = 412732801
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='948814', job_status='RUN', time_executed='2021-09-08 11:28:29.155702', time_epoch_executed='1631125709.16' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/948814

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/948814/ft1_4FGL_J1345.8+0706_daily_bin668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/948814/ft2_4FGL_J1345.8+0706_daily_bin668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/948814/ft1_4FGL_J1345.8+0706_daily_bin668.fits outfile=/scratch/kocevski/948814/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin668.fits ra=206.465 dec=7.1072 rad=12.0 tmin=412473601.0 tmax=412732801.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.45
user 3.20
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/948814/ft2_4FGL_J1345.8+0706_daily_bin668.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/948814/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin668.fits evtable="EVENTS" outfile="/scratch/kocevski/948814/ft1_filtered_4FGL_J1345.8+0706_daily_bin668.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/948814/ft1_filtered_4FGL_J1345.8+0706_daily_bin668.fits" evtable="EVENTS" scfile=/scratch/kocevski/948814/ft2_4FGL_J1345.8+0706_daily_bin668.fits sctable="SC_DATA" outfile=/scratch/kocevski/948814/ltcube_412473601_412732801_4FGL_J1345.8+0706_daily_bin668.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/948814/ft2_4FGL_J1345.8+0706_daily_bin668.fits
.....................!
real 14.85
user 14.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/948814/ft1_filtered_4FGL_J1345.8+0706_daily_bin668.fits evtable="EVENTS" scfile=/scratch/kocevski/948814/ft2_4FGL_J1345.8+0706_daily_bin668.fits sctable="SC_DATA" expcube=/scratch/kocevski/948814/ltcube_412473601_412732801_4FGL_J1345.8+0706_daily_bin668.fits outfile=/scratch/kocevski/948814/expmap_412473601_412732801_4FGL_J1345.8+0706_daily_bin668.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/948814/ltcube_412473601_412732801_4FGL_J1345.8+0706_daily_bin668.fits
.....................!
real 191.49
user 186.54
sys 4.29

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/948814/ft1_filtered_4FGL_J1345.8+0706_daily_bin668.fits scfile=/scratch/kocevski/948814/ft2_4FGL_J1345.8+0706_daily_bin668.fits outfile=/scratch/kocevski/948814/cmap_412473601_412732801_4FGL_J1345.8+0706_daily_bin668.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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/948814/ft1_filtered_4FGL_J1345.8+0706_daily_bin668.fits scfile=/scratch/kocevski/948814/ft2_4FGL_J1345.8+0706_daily_bin668.fits outfile=/scratch/kocevski/948814/cmap_HighResolution_412473601_412732801_4FGL_J1345.8+0706_daily_bin668.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.56
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/948814/ft1_filtered_4FGL_J1345.8+0706_daily_bin668.fits', '/scratch/kocevski/948814/ft2_4FGL_J1345.8+0706_daily_bin668.fits', expMap='/scratch/kocevski/948814/expmap_412473601_412732801_4FGL_J1345.8+0706_daily_bin668.fits', expCube='/scratch/kocevski/948814/ltcube_412473601_412732801_4FGL_J1345.8+0706_daily_bin668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/948814/Model_4FGL_J1345.8+0706_daily_bin668.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/948814/ft1_filtered_4FGL_J1345.8+0706_daily_bin668.fits
Spacecraft file(s): /scratch/kocevski/948814/ft2_4FGL_J1345.8+0706_daily_bin668.fits
Exposure map: /scratch/kocevski/948814/expmap_412473601_412732801_4FGL_J1345.8+0706_daily_bin668.fits
Exposure cube: /scratch/kocevski/948814/ltcube_412473601_412732801_4FGL_J1345.8+0706_daily_bin668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/948814/Model_4FGL_J1345.8+0706_daily_bin668.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) = 1441.56874646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    25.074       1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.944       1.0000         .10000E-03   10000.    
     4 'Prefactor '    45.663       1.0000         .10000E-03   10000.    
     5 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4852       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14549E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .91828E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.776       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.771       1.0000         .10000E-03   10000.    
    13 'Prefactor '    91.092       1.0000         .10000E-03   10000.    
    14 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .56897       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .98957       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=   1441.555     FROM MIGRAD    STATUS=CONVERGED    303 CALLS     1429 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    77.161        .12082E-05** at limit **
   2  Prefactor     25.076        29.871       -.61970E-06   -.21280E-04
   3  Prefactor     46.945        46.362       -.46383E-06   -.17946E-04
   4  Prefactor     45.772        114.47       -.70154E-05   -.52902E-04
   5  norm          .10004E-03    297.92        .12283E-04** at limit **
   6  Prefactor     5.4856        12.615       -.15563E-05   -.72674E-04
   7  Prefactor     .10000E-03    195.70        .41544E-05** at limit **
   8  Prefactor     .10000E-03    7.7440       -.52036E-05** at limit **
   9  Prefactor     .10002E-03    193.11        .34575E-04** at limit **
  10  Prefactor     31.746        76.942       -.31766E-05   -.20131E-04
  11  Prefactor     .10000E-03    55.011        .44156E-06** at limit **
  12  Prefactor     32.768        46.708       -.53368E-06   -.37105E-05
  13  Prefactor     91.112        95.445       -.12726E-05    .32145E-06
  14  norm          .10000E-03    49.401       -.81827E-06** at limit **
  15  Normalizat    .56916        .41436       -.55798E-05    .33302E-04
  16  Prefactor     .98933        .31817        .48982E-05   -.28017E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 25.0758
  Prefactor  = 46.9453
  Prefactor  = 45.772
  norm       = 0.00010004
  Prefactor  = 5.4856
  Prefactor  = 0.000100002
  Prefactor  = 0.000100003
  Prefactor  = 0.000100023
  Prefactor  = 31.746
  Prefactor  = 0.0001
  Prefactor  = 32.7676
  Prefactor  = 91.1124
  norm       = 0.0001
  Normalizat = 0.569157
  Prefactor  = 0.989326
 **********
 **   18 **HESSE 
 **********

 FCN=   1441.555     FROM HESSE     STATUS=OK           197 CALLS     1626 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    77.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.076        29.823        .79997E-04   -1.4706    
   3  Prefactor     46.945        46.347        .58521E-04   -1.4337    
   4  Prefactor     45.772        114.25        .29667E-03   -1.4354    
   5  norm          .10004E-03    301.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.4856        12.549        .17156E-03   -1.5239    
   7  Prefactor     .10000E-03    196.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.1367        .10526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10002E-03    192.74        .35579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     31.746        76.979        .71081E-04   -1.4580    
  11  Prefactor     .10000E-03    55.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     32.768        46.717        .69997E-04   -1.4562    
  13  Prefactor     91.112        95.350        .42103E-04   -1.3796    
  14  norm          .10000E-03    49.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .56916        .44267        .33228E-03   -1.0931    
  16  Prefactor     .98933        .34520        .19315E-03   -.93086    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09225e-09
Minuit parameter uncertainties:
  1  0.000351984
  2  29.8405
  3  46.3829
  4  114.804
  5  0.00699671
  6  12.5554
  7  0.00129825
  8  0.00033065
  9  0.00425771
  10  77.2213
  11  6.79264e-05
  12  46.7696
  13  95.5108
  14  0.000120684
  15  0.445458
  16  0.345978
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  5.486e+00  1.256e+01  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:  9.893e-01  3.460e-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:  5.692e-01  4.455e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 206.465 7.107
Photon Flux Upper Limit: 3.78e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.93e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/948814/likelihoodResults_412473601_412732801_4FGL_J1345.8+0706_daily_bin668.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) = 1441.54762943
delta logL = 0.00754574952612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1441.54626005
delta logL = 0.00891513221995

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1441.546     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      235 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1725        14.152        .16160E-03   -.53721E-03
   2  Index         2.2644        1.2687        .88414E-02   -.11391E-03
   3  Normalizat    .57516        .44052        .33063E-03    .58480E-04
   4  Prefactor     .98515        .33752        .19351E-03    .15819E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.17248
  Index      = 2.26445
  Normalizat = 0.575157
  Prefactor  = 0.985149
 **********
 **   18 **HESSE 
 **********

 FCN=   1441.546     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1725        14.009        .64639E-05   -1.5211    
   2  Index         2.2644        1.2562        .35365E-03   -.57891    
   3  Normalizat    .57516        .44066        .13225E-04   -1.0905    
   4  Prefactor     .98515        .33759        .38702E-04   -.93226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90351e-09
Minuit parameter uncertainties:
  1  14.0163
  2  1.27584
  3  0.443383
  4  0.338315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/948814': 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) = 1441.54626001
delta logL = 0.00891517331479

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  6.172e+00  1.402e+01  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.264e+00  1.276e+00  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:  9.851e-01  3.383e-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:  5.752e-01  4.434e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
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/948814/cmap_HighResolution_412473601_412732801_4FGL_J1345.8+0706_daily_bin668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.93e-02', job_status='DONE', photon_flux_upper_limit='3.78e-07', time_completed='2021-09-08 11:34:24.210059', job_id='948814', GAL2='0.99', fit_tolerance='1e-08', EG2='0.58', EG='0.57', time_epoch_completed='1631126064.21', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='8.92e-03', ts2='0.25', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='668' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:34:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 948814: <4FGL_J1345.8+0706_daily_bin668> in cluster <slac> Done

Job <4FGL_J1345.8+0706_daily_bin668> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 11:25:32 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 11:26:25 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:26:25 2021
Terminated at Wed Sep  8 11:34:25 2021
Results reported at Wed Sep  8 11:34:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin668 206.465 7.1072 412473601 412732801 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 :                                   355.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   479 sec.
    Turnaround time :                            533 sec.

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

