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


Performing analysis on: 4FGL_J1345.8+0706_daily_bin473
RA = 206.465, Dec = 7.1072
tmin = 361929601, tmax = 362188801
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='947454', job_status='RUN', time_executed='2021-09-08 11:24:35.709015', time_epoch_executed='1631125475.71' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/947454

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/947454/ft1_4FGL_J1345.8+0706_daily_bin473.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/947454/ft2_4FGL_J1345.8+0706_daily_bin473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/947454/ft1_4FGL_J1345.8+0706_daily_bin473.fits outfile=/scratch/kocevski/947454/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin473.fits ra=206.465 dec=7.1072 rad=12.0 tmin=361929601.0 tmax=362188801.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 5.83
user 5.33
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/947454/ft1_filtered_4FGL_J1345.8+0706_daily_bin473.fits evtable="EVENTS" scfile=/scratch/kocevski/947454/ft2_4FGL_J1345.8+0706_daily_bin473.fits sctable="SC_DATA" expcube=/scratch/kocevski/947454/ltcube_361929601_362188801_4FGL_J1345.8+0706_daily_bin473.fits outfile=/scratch/kocevski/947454/expmap_361929601_362188801_4FGL_J1345.8+0706_daily_bin473.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/947454/ltcube_361929601_362188801_4FGL_J1345.8+0706_daily_bin473.fits
.....................!
real 192.15
user 187.53
sys 4.06

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/947454/ft1_filtered_4FGL_J1345.8+0706_daily_bin473.fits scfile=/scratch/kocevski/947454/ft2_4FGL_J1345.8+0706_daily_bin473.fits outfile=/scratch/kocevski/947454/cmap_361929601_362188801_4FGL_J1345.8+0706_daily_bin473.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.309       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.5657       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.650       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9110       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1411       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5375       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .92412       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0476       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=   6379.647     FROM MIGRAD    STATUS=CONVERGED    286 CALLS     1394 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.167        .12842E-05** at limit **
   2  Prefactor     .10000E-03    8.5890        .54407E-05** at limit **
   3  Prefactor     27.308        31.014       -.60914E-06   -.17642E-04
   4  Prefactor     .10000E-03    70.720       -.63398E-06** at limit **
   5  norm          7.5619        33.491       -.53678E-05   -.37866E-04
   6  Prefactor     18.650        5.7976       -.19632E-07   -.11948E-04
   7  Prefactor     .10000E-03    7.4151       -.27144E-05** at limit **
   8  Prefactor     .10000E-03    1.3287        .28318E-07** at limit **
   9  Prefactor     .10000E-03    5.4759        .25292E-07** at limit **
  10  Prefactor     2.9112        4.3435        .17059E-05   -.18340E-02
  11  Prefactor     .10000E-03    7.5498        .18470E-05** at limit **
  12  Prefactor     3.1340        75.193       -.13873E-04   -.49147E-04
  13  Prefactor     2.5373        30.459       -.41494E-06   -.97243E-05
  14  norm          .10000E-03    9.1983       -.59655E-05** at limit **
  15  Normalizat    .92414        .19509       -.68726E-07    .22869E-04
  16  Prefactor     1.0476        .14771        .72191E-06   -.20772E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 27.3077
  Prefactor  = 0.0001
  norm       = 7.5619
  Prefactor  = 18.6498
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.91116
  Prefactor  = 0.0001
  Prefactor  = 3.13402
  Prefactor  = 2.53733
  norm       = 0.000100001
  Normalizat = 0.924137
  Prefactor  = 1.04759
 **********
 **   18 **HESSE 
 **********

 FCN=   6379.647     FROM HESSE     STATUS=OK           201 CALLS     1595 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.6722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.308        31.030        .76662E-04   -1.4662    
   4  Prefactor     .10000E-03    71.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.5619        33.716        .14580E-03   -1.5158    
   6  Prefactor     18.650        5.8064        .92743E-04   -1.4844    
   7  Prefactor     .10000E-03    7.4483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.3336        .89907E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.4947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.9112        7.6841        .11907E-02   -1.5367    
  11  Prefactor     .10000E-03    7.5701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1340        76.310        .22873E-03   -1.5354    
  13  Prefactor     2.5373        30.434        .25638E-03   -1.5389    
  14  norm          .10000E-03    9.3154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .92414        .23020        .28227E-03   -.95617    
  16  Prefactor     1.0476        .17471        .20241E-03   -.91160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1027e-09
Minuit parameter uncertainties:
  1  3.21149e-05
  2  0.000132664
  3  31.0485
  4  0.000109633
  5  31.9648
  6  5.80659
  7  7.5521e-05
  8  2.39703e-07
  9  4.7489e-08
  10  7.68668
  11  4.5346e-05
  12  30.9733
  13  17.586
  14  0.000182938
  15  0.230451
  16  0.174805
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.865e+01  5.807e+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.048e+00  1.748e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  9.241e-01  2.305e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.08
Ra Dec: 206.465 7.107
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 1.84e-07 +/- 5.72e-08
Energy Flux (Fixed Index): 5.70e-05 +/- 1.78e-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) = 6379.57424865
delta logL = 0.0724065061586

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6379.56980742
delta logL = 0.0768477316415

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.849       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5684       1.0000          .0000       10.000    
     3 'Normalizat'    .90623       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0575       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=   6379.570     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      231 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.849        67.989        .24393E-02    .17616E-03
   2  Index         2.5685        2.7020        .90356E-01    .12198E-03
   3  Normalizat    .90627        .13851        .64402E-01    .17954E-04
   4  Prefactor     1.0574        .92414E-01    .39492E-01    .31086E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8489
  Index      = 2.5685
  Normalizat = 0.906266
  Prefactor  = 1.05743
 **********
 **   18 **HESSE 
 **********

 FCN=   6379.570     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.849        7.3913        .94483E-04   -1.4887    
   2  Index         2.5685        .33844        .37854E-02   -.50785    
   3  Normalizat    .90627        .23353        .28486E-03   -.96240    
   4  Prefactor     1.0574        .17485        .20158E-03   -.90839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46574e-12
Minuit parameter uncertainties:
  1  7.39174
  2  0.338781
  3  0.233789
  4  0.174941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/947454': 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) = 6379.56980735
delta logL = 0.0768478022383

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  1.685e+01  7.392e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.569e+00  3.388e-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:  1.057e+00  1.749e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  9.063e-01  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.28
Ra Dec: 206.465 7.107
Photon Index (Free Index): 2.57 +/- 0.34
Photon Flux (Free Index): 1.97e-07 +/- 6.75e-08
Energy Flux (Free Index): 5.33e-05 +/- 1.88e-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/947454/cmap_HighResolution_361929601_362188801_4FGL_J1345.8+0706_daily_bin473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.84e-07', energy_flux2='5.33e-05', photon_flux_error='5.72e-08', dlogl='7.68e-02', energy_flux='5.70e-05', photon_flux2='1.97e-07', job_status='DONE', time_completed='2021-09-08 11:32:41.962600', photon_index_error2='0.34', photon_index2='2.57', ts='22.08', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.88e-05', EG='0.92', time_epoch_completed='1631125961.96', return_code='0', job_id='947454', GAL2='1.06', EG2='0.91', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='6.75e-08', ts2='22.28', photon_index='2.44' WHERE bin_id='473' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:32:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 947454: <4FGL_J1345.8+0706_daily_bin473> in cluster <slac> Done

Job <4FGL_J1345.8+0706_daily_bin473> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  8 11:20:31 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 11:21:10 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:21:10 2021
Terminated at Wed Sep  8 11:32:42 2021
Results reported at Wed Sep  8 11:32:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin473 206.465 7.1072 361929601 362188801 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 :                                   484.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             299.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            731 sec.

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

