/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 37 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 = 7479
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1345.8+0706_daily_bin69
RA = 206.465, Dec = 7.1072
tmin = 257212801, tmax = 257472001
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='940379', job_status='RUN', time_executed='2021-09-08 11:11:49.201880', time_epoch_executed='1631124709.2' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='69'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/940379

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/940379/ft1_4FGL_J1345.8+0706_daily_bin69.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/940379/ft2_4FGL_J1345.8+0706_daily_bin69.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/940379/ft1_4FGL_J1345.8+0706_daily_bin69.fits outfile=/scratch/kocevski/940379/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin69.fits ra=206.465 dec=7.1072 rad=12.0 tmin=257212801.0 tmax=257472001.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 2.32
user 2.14
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/940379/ft1_filtered_4FGL_J1345.8+0706_daily_bin69.fits" evtable="EVENTS" scfile=/scratch/kocevski/940379/ft2_4FGL_J1345.8+0706_daily_bin69.fits sctable="SC_DATA" outfile=/scratch/kocevski/940379/ltcube_257212801_257472001_4FGL_J1345.8+0706_daily_bin69.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/940379/ft2_4FGL_J1345.8+0706_daily_bin69.fits
.....................!
real 17.09
user 16.66
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/940379/ft1_filtered_4FGL_J1345.8+0706_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/940379/ft2_4FGL_J1345.8+0706_daily_bin69.fits sctable="SC_DATA" expcube=/scratch/kocevski/940379/ltcube_257212801_257472001_4FGL_J1345.8+0706_daily_bin69.fits outfile=/scratch/kocevski/940379/expmap_257212801_257472001_4FGL_J1345.8+0706_daily_bin69.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/940379/ltcube_257212801_257472001_4FGL_J1345.8+0706_daily_bin69.fits
.....................!
real 192.47
user 186.52
sys 5.16

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/940379/ft1_filtered_4FGL_J1345.8+0706_daily_bin69.fits scfile=/scratch/kocevski/940379/ft2_4FGL_J1345.8+0706_daily_bin69.fits outfile=/scratch/kocevski/940379/cmap_257212801_257472001_4FGL_J1345.8+0706_daily_bin69.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/940379/ft1_filtered_4FGL_J1345.8+0706_daily_bin69.fits scfile=/scratch/kocevski/940379/ft2_4FGL_J1345.8+0706_daily_bin69.fits outfile=/scratch/kocevski/940379/cmap_HighResolution_257212801_257472001_4FGL_J1345.8+0706_daily_bin69.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11527E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .23039E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .46526E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23412E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    20.610       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.730       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10563E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.904       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12284E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.408       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .42209E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    10.861       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0072       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0087       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=   7425.451     FROM MIGRAD    STATUS=CONVERGED    337 CALLS     1306 TOTAL
                     EDM=   .81E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.0046       -.82648E-08** at limit **
   2  Prefactor     .10000E-03    3.3894       -.12953E-06** at limit **
   3  Prefactor     .10000E-03    11.907        .65012E-05** at limit **
   4  Prefactor     .10000E-03    20.181       -.32721E-07** at limit **
   5  norm          20.505        19.936       -.46009E-07    .11299E-05
   6  Prefactor     10.729        4.2340        .83404E-07   -.95685E-04
   7  Prefactor     .10000E-03    7.4696        .19678E-06** at limit **
   8  Prefactor     .10000E-03    1.9836        .19025E-08** at limit **
   9  Prefactor     .10000E-03    6.0309       -.12656E-07** at limit **
  10  Prefactor     10.904        11.706        .16497E-05   -.49365E-04
  11  Prefactor     .10000E-03    9.2633       -.31210E-06** at limit **
  12  Prefactor     21.393        28.983        .14533E-04   -.74204E-05
  13  Prefactor     .10155E-03    15.083       -.62883E-06** at limit **
  14  norm          10.913        14.073        .22798E-06    .20968E-05
  15  Normalizat    1.0073        .17820       -.19339E-05    .53212E-04
  16  Prefactor     1.0087        .13346       -.90533E-08   -.45982E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.5045
  Prefactor  = 10.7293
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9035
  Prefactor  = 0.0001
  Prefactor  = 21.393
  Prefactor  = 0.000101548
  norm       = 10.913
  Normalizat = 1.00734
  Prefactor  = 1.00868
 **********
 **   18 **HESSE 
 **********

 FCN=   7425.451     FROM HESSE     STATUS=OK           211 CALLS     1517 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.0266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.3171        .30814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.937        .21193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          20.505        19.945        .88227E-04   -1.4802    
   6  Prefactor     10.729        4.2396        .10628E-03   -1.5053    
   7  Prefactor     .10000E-03    7.4824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.9974        .11849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.0611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.904        11.687        .12133E-03   -1.5047    
  11  Prefactor     .10000E-03    9.2936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.393        28.972        .86569E-04   -1.4783    
  13  Prefactor     .10155E-03    19.478        .96563E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.913        14.072        .12157E-03   -1.5047    
  15  Normalizat    1.0073        .21062        .27059E-03   -.92785    
  16  Prefactor     1.0087        .15838        .20640E-03   -.92441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74465e-10
Minuit parameter uncertainties:
  1  1.08138e-05
  2  0.000191921
  3  8.79057e-06
  4  1.27348e-05
  5  19.9517
  6  4.23975
  7  1.11235e-06
  8  1.29121e-06
  9  3.03224e-06
  10  11.6893
  11  4.18647e-07
  12  28.9906
  13  0.0109866
  14  14.0762
  15  0.21079
  16  0.158458
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.073e+01  4.240e+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:  1.009e+00  1.585e-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.007e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.24
Ra Dec: 206.465 7.107
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 4.18e-08
Energy Flux (Fixed Index): 3.28e-05 +/- 1.30e-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) = 7424.60513499
delta logL = 0.845598091978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7424.59261228
delta logL = 0.858120798063

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.087       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9773       1.0000          .0000       10.000    
     3 'Normalizat'    1.0521       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98922       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=   7424.593     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      238 TOTAL
                     EDM=   .48E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.087        6.4220        .28805E-02    .42148E-04
   2  Index         1.9768        .38028        .16039       -.12617E-04
   3  Normalizat    1.0523        .17249        .60080E-01    .33180E-04
   4  Prefactor     .98914        .13059        .46132E-01    .31276E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0866
  Index      = 1.97677
  Normalizat = 1.05228
  Prefactor  = 0.989139
 **********
 **   18 **HESSE 
 **********

 FCN=   7424.593     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .59E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.087        5.2316        .11522E-03   -1.5013    
   2  Index         1.9768        .34586        .63016E-02   -.64932    
   3  Normalizat    1.0523        .20855        .26571E-03   -.91299    
   4  Prefactor     .98914        .15805        .20824E-03   -.93092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85498e-13
Minuit parameter uncertainties:
  1  5.23177
  2  0.346293
  3  0.208713
  4  0.158123
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/940379': 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) = 7424.59261076
delta logL = 0.85812231986

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.209e+01  5.232e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  1.977e+00  3.463e-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.891e-01  1.581e-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.052e+00  2.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.95
Ra Dec: 206.465 7.107
Photon Index (Free Index): 1.98 +/- 0.35
Photon Flux (Free Index): 6.82e-08 +/- 4.09e-08
Energy Flux (Free Index): 5.00e-05 +/- 3.13e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/940379/cmap_HighResolution_257212801_257472001_4FGL_J1345.8+0706_daily_bin69.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='5.00e-05', photon_flux_error='4.18e-08', dlogl='8.58e-01', energy_flux='3.28e-05', photon_flux2='6.82e-08', job_status='DONE', time_completed='2021-09-08 11:19:58.000770', photon_index_error2='0.35', photon_index2='1.98', ts='17.24', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='3.13e-05', EG='1.01', time_epoch_completed='1631125198.0', return_code='0', job_id='940379', GAL2='0.99', EG2='1.05', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='4.09e-08', ts2='18.95', photon_index='2.44' WHERE bin_id='69' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:19:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0182>
Subject: Job 940379: <4FGL_J1345.8+0706_daily_bin69> in cluster <slac> Done

Job <4FGL_J1345.8+0706_daily_bin69> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep  8 11:10:40 2021
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 11:11:03 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:11:03 2021
Terminated at Wed Sep  8 11:19:58 2021
Results reported at Wed Sep  8 11:19:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin69 206.465 7.1072 257212801 257472001 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 :                                   487.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   535 sec.
    Turnaround time :                            558 sec.

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

