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


Performing analysis on: 4FGL_J1345.8+0706_daily_bin579
RA = 206.465, Dec = 7.1072
tmin = 389404801, tmax = 389664001
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='948673', job_status='RUN', time_executed='2021-09-08 11:25:52.988074', time_epoch_executed='1631125552.99' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='579'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/948673

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/948673/ft1_4FGL_J1345.8+0706_daily_bin579.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/948673/ft2_4FGL_J1345.8+0706_daily_bin579.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/948673/ft1_4FGL_J1345.8+0706_daily_bin579.fits outfile=/scratch/kocevski/948673/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin579.fits ra=206.465 dec=7.1072 rad=12.0 tmin=389404801.0 tmax=389664001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.96
user 3.85
sys 0.32

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/948673/ft1_filtered_4FGL_J1345.8+0706_daily_bin579.fits" evtable="EVENTS" scfile=/scratch/kocevski/948673/ft2_4FGL_J1345.8+0706_daily_bin579.fits sctable="SC_DATA" outfile=/scratch/kocevski/948673/ltcube_389404801_389664001_4FGL_J1345.8+0706_daily_bin579.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/948673/ft2_4FGL_J1345.8+0706_daily_bin579.fits
.....................!
real 16.12
user 15.66
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/948673/ft1_filtered_4FGL_J1345.8+0706_daily_bin579.fits evtable="EVENTS" scfile=/scratch/kocevski/948673/ft2_4FGL_J1345.8+0706_daily_bin579.fits sctable="SC_DATA" expcube=/scratch/kocevski/948673/ltcube_389404801_389664001_4FGL_J1345.8+0706_daily_bin579.fits outfile=/scratch/kocevski/948673/expmap_389404801_389664001_4FGL_J1345.8+0706_daily_bin579.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/948673/ltcube_389404801_389664001_4FGL_J1345.8+0706_daily_bin579.fits
.....................!
real 192.98
user 187.17
sys 5.23

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/948673/ft1_filtered_4FGL_J1345.8+0706_daily_bin579.fits scfile=/scratch/kocevski/948673/ft2_4FGL_J1345.8+0706_daily_bin579.fits outfile=/scratch/kocevski/948673/cmap_389404801_389664001_4FGL_J1345.8+0706_daily_bin579.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/948673/ft1_filtered_4FGL_J1345.8+0706_daily_bin579.fits scfile=/scratch/kocevski/948673/ft2_4FGL_J1345.8+0706_daily_bin579.fits outfile=/scratch/kocevski/948673/cmap_HighResolution_389404801_389664001_4FGL_J1345.8+0706_daily_bin579.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/948673/ft1_filtered_4FGL_J1345.8+0706_daily_bin579.fits evtable="EVENTS" scfile=/scratch/kocevski/948673/ft2_4FGL_J1345.8+0706_daily_bin579.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/948673/Model_4FGL_J1345.8+0706_daily_bin579.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/948673/ft1_filtered_4FGL_J1345.8+0706_daily_bin579.fits.....................!
real 49.41
user 47.92
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7693       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12639E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.877       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.114       1.0000         .10000E-03   10000.    
     5 'norm      '    30.229       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.5483       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12910E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7896       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11449E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.8532       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11491E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    1.4391       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3239       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .60464       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=   6048.246     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1446 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7236        20.064        .12195E-04   -.11195E-03
   2  Prefactor     .10000E-03    4.6120        .18687E-07** at limit **
   3  Prefactor     23.779        23.360        .68187E-05   -.52178E-05
   4  Prefactor     18.236        33.699        .16543E-04   -.41932E-05
   5  norm          30.195        31.753       -.28261E-05   -.70183E-05
   6  Prefactor     6.5470        3.5355       -.31881E-08   -.11158E-03
   7  Prefactor     .10000E-03    3.8749        .55042E-08** at limit **
   8  Prefactor     1.7904        3.5542       -.74587E-06   -.66198E-03
   9  Prefactor     .10000E-03    6.4491       -.18625E-07** at limit **
  10  Prefactor     .10000E-03    6.0850       -.11113E-06** at limit **
  11  Prefactor     .10000E-03    6.0822        .14759E-06** at limit **
  12  Prefactor     9.6785        29.689        .51209E-05   -.13989E-04
  13  Prefactor     .10000E-03    31.299        .26636E-06** at limit **
  14  norm          1.3857        49.460       -.31837E-04   -.86676E-04
  15  Normalizat    1.3241        .18329       -.14846E-05    .15584E-03
  16  Prefactor     .60465        .13355        .44932E-06   -.19774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72357
  Prefactor  = 0.0001
  Prefactor  = 23.7788
  Prefactor  = 18.2364
  norm       = 30.1945
  Prefactor  = 6.54697
  Prefactor  = 0.0001
  Prefactor  = 1.79043
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.67854
  Prefactor  = 0.000100001
  norm       = 1.38571
  Normalizat = 1.32414
  Prefactor  = 0.60465
 **********
 **   18 **HESSE 
 **********

 FCN=   6048.246     FROM HESSE     STATUS=OK           201 CALLS     1647 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7236        19.609        .24457E-03   -1.5378    
   2  Prefactor     .10000E-03    4.6412        .16309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.779        23.313        .81976E-04   -1.4732    
   4  Prefactor     18.236        33.598        .94106E-04   -1.4854    
   5  norm          30.195        31.809        .72873E-04   -1.4608    
   6  Prefactor     6.5470        3.5417        .10333E-03   -1.5196    
   7  Prefactor     .10000E-03    3.8777        .14951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7904        3.5409        .20012E-03   -1.5440    
   9  Prefactor     .10000E-03    6.4646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.1580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.0933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.6785        29.690        .12766E-03   -1.5086    
  13  Prefactor     .10000E-03    31.772        .20668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3857        52.298        .35969E-03   -1.5473    
  15  Normalizat    1.3241        .21957        .22400E-03   -.82849    
  16  Prefactor     .60465        .15945        .23271E-03   -1.0739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.97917e-10
Minuit parameter uncertainties:
  1  14.6223
  2  2.85217e-06
  3  23.3214
  4  33.6328
  5  31.8268
  6  3.54182
  7  2.2075e-06
  8  3.54133
  9  5.32161e-06
  10  1.16133e-05
  11  1.08977e-05
  12  29.7352
  13  0.000430877
  14  17.0414
  15  0.219728
  16  0.159565
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  6.547e+00  3.542e+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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  6.046e-01  1.596e-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:  1.324e+00  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.49
Ra Dec: 206.465 7.107
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 6.46e-08 +/- 3.49e-08
Energy Flux (Fixed Index): 2.00e-05 +/- 1.08e-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) = 6047.96636742
delta logL = 0.279208353691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6047.9619998
delta logL = 0.283575979793

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8937       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9744       1.0000          .0000       10.000    
     3 'Normalizat'    1.3597       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58798       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=   6047.962     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      211 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8918        4.9211        .38201E-02    .21142E-04
   2  Index         1.9732        .58386        .17915       -.40610E-04
   3  Normalizat    1.3598        .18312        .50122E-01   -.78805E-06
   4  Prefactor     .58797        .13233        .40890E-01    .21531E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.89182
  Index      = 1.97317
  Normalizat = 1.35979
  Prefactor  = 0.587974
 **********
 **   18 **HESSE 
 **********

 FCN=   6047.962     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8918        4.1955        .11639E-03   -1.5183    
   2  Index         1.9732        .58287        .89627E-02   -.65023    
   3  Normalizat    1.3598        .21797        .22159E-03   -.81799    
   4  Prefactor     .58797        .15756        .23569E-03   -1.0810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31012e-12
Minuit parameter uncertainties:
  1  4.19571
  2  0.584976
  3  0.218114
  4  0.157683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/948673': 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) = 6047.96199721
delta logL = 0.283578568521

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  6.892e+00  4.196e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  1.973e+00  5.850e-01  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:  5.880e-01  1.577e-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:  1.360e+00  2.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.05
Ra Dec: 206.465 7.107
Photon Index (Free Index): 1.97 +/- 0.58
Photon Flux (Free Index): 3.88e-08 +/- 3.69e-08
Energy Flux (Free Index): 2.87e-05 +/- 2.70e-05

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/948673/cmap_HighResolution_389404801_389664001_4FGL_J1345.8+0706_daily_bin579.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.46e-08', energy_flux2='2.87e-05', photon_flux_error='3.49e-08', dlogl='2.84e-01', energy_flux='2.00e-05', photon_flux2='3.88e-08', job_status='DONE', time_completed='2021-09-08 11:33:47.263036', photon_index_error2='0.58', photon_index2='1.97', ts='7.49', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', energy_flux_error2='2.70e-05', EG='1.32', time_epoch_completed='1631126027.26', return_code='0', job_id='948673', GAL2='0.59', EG2='1.36', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='3.69e-08', ts2='8.05', photon_index='2.44' WHERE bin_id='579' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:33:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 948673: <4FGL_J1345.8+0706_daily_bin579> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin579 206.465 7.1072 389404801 389664001 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 :                                   472.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   492 sec.
    Turnaround time :                            507 sec.

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

