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


Performing analysis on: 4FGL_J1345.8+0706_daily_bin591
RA = 206.465, Dec = 7.1072
tmin = 392515201, tmax = 392774401
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='948691', job_status='RUN', time_executed='2021-09-08 11:29:51.652410', time_epoch_executed='1631125791.65' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='591'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/948691

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/948691/ft1_4FGL_J1345.8+0706_daily_bin591.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/948691/ft2_4FGL_J1345.8+0706_daily_bin591.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/948691/ft1_4FGL_J1345.8+0706_daily_bin591.fits outfile=/scratch/kocevski/948691/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin591.fits ra=206.465 dec=7.1072 rad=12.0 tmin=392515201.0 tmax=392774401.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.41
user 3.18
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/948691/ft2_4FGL_J1345.8+0706_daily_bin591.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/948691/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin591.fits evtable="EVENTS" outfile="/scratch/kocevski/948691/ft1_filtered_4FGL_J1345.8+0706_daily_bin591.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/948691/ft1_filtered_4FGL_J1345.8+0706_daily_bin591.fits" evtable="EVENTS" scfile=/scratch/kocevski/948691/ft2_4FGL_J1345.8+0706_daily_bin591.fits sctable="SC_DATA" outfile=/scratch/kocevski/948691/ltcube_392515201_392774401_4FGL_J1345.8+0706_daily_bin591.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/948691/ft2_4FGL_J1345.8+0706_daily_bin591.fits
.....................!
real 15.85
user 15.42
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/948691/ft1_filtered_4FGL_J1345.8+0706_daily_bin591.fits evtable="EVENTS" scfile=/scratch/kocevski/948691/ft2_4FGL_J1345.8+0706_daily_bin591.fits sctable="SC_DATA" expcube=/scratch/kocevski/948691/ltcube_392515201_392774401_4FGL_J1345.8+0706_daily_bin591.fits outfile=/scratch/kocevski/948691/expmap_392515201_392774401_4FGL_J1345.8+0706_daily_bin591.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/948691/ltcube_392515201_392774401_4FGL_J1345.8+0706_daily_bin591.fits
.....................!
real 192.23
user 186.40
sys 5.40

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/948691/ft1_filtered_4FGL_J1345.8+0706_daily_bin591.fits scfile=/scratch/kocevski/948691/ft2_4FGL_J1345.8+0706_daily_bin591.fits outfile=/scratch/kocevski/948691/cmap_392515201_392774401_4FGL_J1345.8+0706_daily_bin591.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/948691/ft1_filtered_4FGL_J1345.8+0706_daily_bin591.fits scfile=/scratch/kocevski/948691/ft2_4FGL_J1345.8+0706_daily_bin591.fits outfile=/scratch/kocevski/948691/cmap_HighResolution_392515201_392774401_4FGL_J1345.8+0706_daily_bin591.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1687       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.9371       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1517       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.3237       1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.932       1.0000         .10000E-03   10000.    
    12 'Prefactor '    53.093       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    29.113       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3720       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .91751       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=   6662.884     FROM MIGRAD    STATUS=CONVERGED    298 CALLS     1416 TOTAL
                     EDM=   .83E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1696        13.969       -.13732E-06   -.54637E-04
   2  Prefactor     .10000E-03    4.5437        .39488E-07** at limit **
   3  Prefactor     .10000E-03    55.735       -.17311E-04** at limit **
   4  Prefactor     .10000E-03    41.645        .28281E-04** at limit **
   5  norm          .10000E-03    18.020        .43454E-06** at limit **
   6  Prefactor     6.9373        3.9246       -.78212E-07   -.87886E-04
   7  Prefactor     .10000E-03    5.1297       -.40894E-07** at limit **
   8  Prefactor     2.1516        2.5608        .79769E-09   -.10436E-04
   9  Prefactor     .10000E-03    4.2486       -.13226E-07** at limit **
  10  Prefactor     7.3247        9.5458       -.92387E-07   -.48912E-04
  11  Prefactor     34.933        21.418        .27429E-06    .18540E-04
  12  Prefactor     53.096        35.984        .20729E-05    .46468E-05
  13  Prefactor     .10000E-03    33.651       -.13351E-04** at limit **
  14  norm          29.108        23.361       -.18834E-05    .75201E-04
  15  Normalizat    1.3720        .20391        .66974E-06    .17977E-04
  16  Prefactor     .91744        .15285       -.79741E-06   -.19736E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.16964
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.93729
  Prefactor  = 0.0001
  Prefactor  = 2.15164
  Prefactor  = 0.0001
  Prefactor  = 7.32474
  Prefactor  = 34.9326
  Prefactor  = 53.0959
  Prefactor  = 0.0001
  norm       = 29.1075
  Normalizat = 1.37196
  Prefactor  = 0.917438
 **********
 **   18 **HESSE 
 **********

 FCN=   6662.884     FROM HESSE     STATUS=OK           201 CALLS     1617 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1696        13.964        .16164E-03   -1.5211    
   2  Prefactor     .10000E-03    4.5599        .16991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    56.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    41.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    18.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9373        3.9342        .11687E-03   -1.5181    
   7  Prefactor     .10000E-03    5.1317        .18056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1516        2.5564        .13877E-03   -1.5415    
   9  Prefactor     .10000E-03    4.2537        .16431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.3247        9.5389        .14821E-03   -1.5167    
  11  Prefactor     34.933        21.418        .67804E-04   -1.4525    
  12  Prefactor     53.096        36.022        .55045E-04   -1.4249    
  13  Prefactor     .10000E-03    33.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          29.108        23.316        .74254E-04   -1.4628    
  15  Normalizat    1.3720        .24543        .26414E-03   -.81443    
  16  Prefactor     .91744        .18378        .11862E-02   -.95534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27522e-10
Minuit parameter uncertainties:
  1  13.9717
  2  5.05104e-07
  3  0.00012573
  4  6.70297e-05
  5  2.36824e-06
  6  3.93438
  7  1.87117e-07
  8  2.55653
  9  9.69239e-07
  10  9.54083
  11  21.4225
  12  36.0368
  13  0.000180113
  14  23.3231
  15  0.245636
  16  0.183901
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  6.937e+00  3.934e+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:  9.174e-01  1.839e-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.372e+00  2.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.87
Ra Dec: 206.465 7.107
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 3.88e-08
Energy Flux (Fixed Index): 2.12e-05 +/- 1.20e-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) = 6662.87709311
delta logL = 0.00707003125808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6662.87511457
delta logL = 0.00904856487705

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7164       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5223       1.0000          .0000       10.000    
     3 'Normalizat'    1.3658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91990       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=   6662.875     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      203 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7163        83.055        .38708E-02    .97770E-03
   2  Index         2.5214        6.2118        .14941        .80231E-04
   3  Normalizat    1.3655        .13924        .59837E-01    .27322E-06
   4  Prefactor     .92026        .72654E-01    .45258E-01    .23540E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.7163
  Index      = 2.52138
  Normalizat = 1.36555
  Prefactor  = 0.920257
 **********
 **   18 **HESSE 
 **********

 FCN=   6662.875     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7163        4.2764        .11237E-03   -1.5190    
   2  Index         2.5214        .59463        .76152E-02   -.51867    
   3  Normalizat    1.3655        .24936        .26464E-03   -.81630    
   4  Prefactor     .92026        .18486        .23690E-03   -.95437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11773e-09
Minuit parameter uncertainties:
  1  4.27661
  2  0.596506
  3  0.249577
  4  0.184987
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/948691': 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) = 6662.87511003
delta logL = 0.00905311305269

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  6.716e+00  4.277e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.521e+00  5.965e-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:  9.203e-01  1.850e-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.366e+00  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.88
Ra Dec: 206.465 7.107
Photon Index (Free Index): 2.52 +/- 0.60
Photon Flux (Free Index): 7.36e-08 +/- 5.52e-08
Energy Flux (Free Index): 2.09e-05 +/- 1.19e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/948691/cmap_HighResolution_392515201_392774401_4FGL_J1345.8+0706_daily_bin591.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='2.09e-05', photon_flux_error='3.88e-08', dlogl='9.05e-03', energy_flux='2.12e-05', photon_flux2='7.36e-08', job_status='DONE', time_completed='2021-09-08 11:37:53.596144', photon_index_error2='0.60', photon_index2='2.52', ts='8.87', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.19e-05', EG='1.37', time_epoch_completed='1631126273.6', return_code='0', job_id='948691', GAL2='0.92', EG2='1.37', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='5.52e-08', ts2='8.88', photon_index='2.44' WHERE bin_id='591' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:37:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 948691: <4FGL_J1345.8+0706_daily_bin591> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin591 206.465 7.1072 392515201 392774401 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 :                                   480.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            752 sec.

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

