/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 232 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 = 7567
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1345.8+0706_daily_bin179
RA = 206.465, Dec = 7.1072
tmin = 285724801, tmax = 285984001
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='944216', job_status='RUN', time_executed='2021-09-08 11:20:35.807303', time_epoch_executed='1631125235.81' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='179'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/944216

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/944216/ft1_4FGL_J1345.8+0706_daily_bin179.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/944216/ft2_4FGL_J1345.8+0706_daily_bin179.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/944216/ft1_4FGL_J1345.8+0706_daily_bin179.fits outfile=/scratch/kocevski/944216/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin179.fits ra=206.465 dec=7.1072 rad=12.0 tmin=285724801.0 tmax=285984001.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.83
user 3.26
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/944216/ft2_4FGL_J1345.8+0706_daily_bin179.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/944216/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin179.fits evtable="EVENTS" outfile="/scratch/kocevski/944216/ft1_filtered_4FGL_J1345.8+0706_daily_bin179.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.49
user 0.29
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/944216/ft1_filtered_4FGL_J1345.8+0706_daily_bin179.fits" evtable="EVENTS" scfile=/scratch/kocevski/944216/ft2_4FGL_J1345.8+0706_daily_bin179.fits sctable="SC_DATA" outfile=/scratch/kocevski/944216/ltcube_285724801_285984001_4FGL_J1345.8+0706_daily_bin179.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/944216/ft2_4FGL_J1345.8+0706_daily_bin179.fits
.....................!
real 13.27
user 12.90
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/944216/ft1_filtered_4FGL_J1345.8+0706_daily_bin179.fits evtable="EVENTS" scfile=/scratch/kocevski/944216/ft2_4FGL_J1345.8+0706_daily_bin179.fits sctable="SC_DATA" expcube=/scratch/kocevski/944216/ltcube_285724801_285984001_4FGL_J1345.8+0706_daily_bin179.fits outfile=/scratch/kocevski/944216/expmap_285724801_285984001_4FGL_J1345.8+0706_daily_bin179.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/944216/ltcube_285724801_285984001_4FGL_J1345.8+0706_daily_bin179.fits
.....................!
real 157.46
user 152.84
sys 3.80

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/944216/ft1_filtered_4FGL_J1345.8+0706_daily_bin179.fits scfile=/scratch/kocevski/944216/ft2_4FGL_J1345.8+0706_daily_bin179.fits outfile=/scratch/kocevski/944216/cmap_285724801_285984001_4FGL_J1345.8+0706_daily_bin179.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.49
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/944216/ft1_filtered_4FGL_J1345.8+0706_daily_bin179.fits scfile=/scratch/kocevski/944216/ft2_4FGL_J1345.8+0706_daily_bin179.fits outfile=/scratch/kocevski/944216/cmap_HighResolution_285724801_285984001_4FGL_J1345.8+0706_daily_bin179.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.50
user 0.33
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7681       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.9151       1.0000         .10000E-03   10000.    
     5 'norm      '    17.712       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6110       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.379       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .43969       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.540       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0307       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1234       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=   4931.432     FROM MIGRAD    STATUS=CONVERGED    295 CALLS     1694 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7672        24.189        .35968E-02    .48855E-03
   2  Prefactor     .10000E-03    9.2492        .90712E-02** at limit **
   3  Prefactor     .10000E-03    13.051        .90712E-02** at limit **
   4  Prefactor     6.9157        48.243        .38142E-02   -.23619E-03
   5  norm          17.712        18.820        .23792E-02   -.16444E-03
   6  Prefactor     3.6111        3.3465        .53156E-02    .18790E-03
   7  Prefactor     22.378        19.715        .21168E-02    .35627E-03
   8  Prefactor     .43985        3.2538        .11022E-01    .13463E-02
   9  Prefactor     .10000E-03    5.6836        .90712E-02** at limit **
  10  Prefactor     .10000E-03    3.5563        .90712E-02** at limit **
  11  Prefactor     15.537        26.572        .25401E-02    .14357E-02
  12  Prefactor     .10000E-03    22.700        .90712E-02** at limit **
  13  Prefactor     .10000E-03    27.966        .90712E-02** at limit **
  14  norm          .10000E-03    21.889        .90712E-02** at limit **
  15  Normalizat    1.0307        .22090        .62533E-01   -.10891E-04
  16  Prefactor     1.1234        .17078        .36758E-01   -.22325E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.76723
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.91568
  norm       = 17.712
  Prefactor  = 3.61108
  Prefactor  = 22.3784
  Prefactor  = 0.439853
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.5372
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.000100003
  Normalizat = 1.03071
  Prefactor  = 1.12336
 **********
 **   18 **HESSE 
 **********

 FCN=   4931.432     FROM HESSE     STATUS=OK           195 CALLS     1889 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7672        24.249        .14387E-03   -1.5150    
   2  Prefactor     .10000E-03    9.3059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.9157        48.226        .15257E-03   -1.5182    
   5  norm          17.712        18.821        .47583E-03   -1.4866    
   6  Prefactor     3.6111        3.3494        .59755E-03   -1.5328    
   7  Prefactor     22.378        19.716        .84671E-04   -1.4761    
   8  Prefactor     .43985        3.1842        .24599E-03   -1.5575    
   9  Prefactor     .10000E-03    5.7005        .16350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.5582        .12933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.537        26.581        .10160E-03   -1.4919    
  12  Prefactor     .10000E-03    22.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    28.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    21.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.0307        .26125        .27657E-03   -.92009    
  16  Prefactor     1.1234        .20204        .20816E-03   -.88723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26404e-08
Minuit parameter uncertainties:
  1  24.2793
  2  4.61002e-06
  3  4.06593e-05
  4  36.5665
  5  18.8274
  6  3.34956
  7  19.7217
  8  2.36685
  9  4.70234e-06
  10  5.8153e-06
  11  26.6014
  12  0.000525221
  13  0.000146352
  14  0.000546665
  15  0.261573
  16  0.20218
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  3.611e+00  3.350e+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.123e+00  2.022e-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.031e+00  2.616e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.04
Ra Dec: 206.465 7.107
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 3.56e-08 +/- 3.30e-08
Energy Flux (Fixed Index): 1.10e-05 +/- 1.02e-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) = 4930.3687939
delta logL = 1.06362301798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4930.35560706
delta logL = 1.07680986349

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2088       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5222       1.0000          .0000       10.000    
     3 'Normalizat'    1.0552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1109       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=   4930.356     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      204 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2088        3.7650        .49108E-02    .51990E-02
   2  Index         1.5221        .40092        .19720       -.53365E-04
   3  Normalizat    1.0552        .21613        .61869E-01    .60790E-05
   4  Prefactor     1.1109        .16979        .37187E-01    .64551E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20877
  Index      = 1.52208
  Normalizat = 1.05521
  Prefactor  = 1.11089
 **********
 **   18 **HESSE 
 **********

 FCN=   4930.356     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2088        4.3276        .12555E-03   -1.5298    
   2  Index         1.5221        .52427        .76604E-02   -.76923    
   3  Normalizat    1.0552        .25564        .27364E-03   -.91203    
   4  Prefactor     1.1109        .20109        .20909E-03   -.89119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21317e-08
Minuit parameter uncertainties:
  1  4.32795
  2  0.526145
  3  0.255941
  4  0.201231
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/944216': 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) = 4930.35560703
delta logL = 1.07680988591

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  4.209e+00  4.328e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  1.522e+00  5.261e-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.111e+00  2.012e-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.055e+00  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.20
Ra Dec: 206.465 7.107
Photon Index (Free Index): 1.52 +/- 0.53
Photon Flux (Free Index): 1.72e-08 +/- 1.92e-08
Energy Flux (Free Index): 5.05e-05 +/- 7.16e-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/944216/cmap_HighResolution_285724801_285984001_4FGL_J1345.8+0706_daily_bin179.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.56e-08', energy_flux2='5.05e-05', photon_flux_error='3.30e-08', dlogl='1.08e+00', energy_flux='1.10e-05', photon_flux2='1.72e-08', job_status='DONE', time_completed='2021-09-08 11:26:51.920773', photon_index_error2='0.53', photon_index2='1.52', ts='4.04', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='7.16e-05', EG='1.03', time_epoch_completed='1631125611.92', return_code='0', job_id='944216', GAL2='1.11', EG2='1.06', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='1.92e-08', ts2='6.20', photon_index='2.44' WHERE bin_id='179' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:26:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 944216: <4FGL_J1345.8+0706_daily_bin179> in cluster <slac> Done

Job <4FGL_J1345.8+0706_daily_bin179> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  8 11:15:23 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 11:16:34 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:16:34 2021
Terminated at Wed Sep  8 11:26:52 2021
Results reported at Wed Sep  8 11:26:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin179 206.465 7.1072 285724801 285984001 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 :                                   374.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             225.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            689 sec.

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

