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


Performing analysis on: 4FGL_J1345.8+0706_daily_bin712
RA = 206.465, Dec = 7.1072
tmin = 423878401, tmax = 424137601
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='948884', job_status='RUN', time_executed='2021-09-08 11:29:14.654270', time_epoch_executed='1631125754.65' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/948884

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/948884/ft1_4FGL_J1345.8+0706_daily_bin712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/948884/ft2_4FGL_J1345.8+0706_daily_bin712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/948884/ft1_4FGL_J1345.8+0706_daily_bin712.fits outfile=/scratch/kocevski/948884/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin712.fits ra=206.465 dec=7.1072 rad=12.0 tmin=423878401.0 tmax=424137601.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.38
user 5.10
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/948884/ft1_filtered_4FGL_J1345.8+0706_daily_bin712.fits evtable="EVENTS" scfile=/scratch/kocevski/948884/ft2_4FGL_J1345.8+0706_daily_bin712.fits sctable="SC_DATA" expcube=/scratch/kocevski/948884/ltcube_423878401_424137601_4FGL_J1345.8+0706_daily_bin712.fits outfile=/scratch/kocevski/948884/expmap_423878401_424137601_4FGL_J1345.8+0706_daily_bin712.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/948884/ltcube_423878401_424137601_4FGL_J1345.8+0706_daily_bin712.fits
.....................!
real 192.62
user 187.49
sys 4.71

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/948884/ft1_filtered_4FGL_J1345.8+0706_daily_bin712.fits scfile=/scratch/kocevski/948884/ft2_4FGL_J1345.8+0706_daily_bin712.fits outfile=/scratch/kocevski/948884/cmap_423878401_424137601_4FGL_J1345.8+0706_daily_bin712.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/948884/ft1_filtered_4FGL_J1345.8+0706_daily_bin712.fits scfile=/scratch/kocevski/948884/ft2_4FGL_J1345.8+0706_daily_bin712.fits outfile=/scratch/kocevski/948884/cmap_HighResolution_423878401_424137601_4FGL_J1345.8+0706_daily_bin712.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    7.5656       1.0000         .10000E-03   10000.    
     3 'Prefactor '    51.831       1.0000         .10000E-03   10000.    
     4 'Prefactor '    77.571       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.1687       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.166       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.1907       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.7175       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.538       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    23.161       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .97970       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89587       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=   4946.021     FROM MIGRAD    STATUS=CONVERGED    281 CALLS     1420 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.383       -.15487E-05** at limit **
   2  Prefactor     7.5654        12.559        .93538E-07   -.25778E-04
   3  Prefactor     51.833        53.301        .20891E-06    .10371E-04
   4  Prefactor     77.571        68.763       -.43613E-06    .38939E-06
   5  norm          .10000E-03    14.551        .33896E-06** at limit **
   6  Prefactor     4.1688        5.1497        .64662E-06    .35256E-03
   7  Prefactor     21.165        19.308       -.28048E-07   -.47667E-04
   8  Prefactor     8.1905        7.1848        .14073E-05   -.41834E-03
   9  Prefactor     7.7173        11.510       -.41132E-07   -.89317E-05
  10  Prefactor     .10000E-03    5.7093       -.73274E-07** at limit **
  11  Prefactor     .10000E-03    21.643        .19574E-05** at limit **
  12  Prefactor     25.537        31.982       -.16282E-06   -.22526E-04
  13  Prefactor     .10000E-03    15.449       -.64677E-06** at limit **
  14  norm          23.162        22.167        .20137E-06    .32476E-04
  15  Normalizat    .97971        .22434       -.23858E-06   -.15343E-04
  16  Prefactor     .89584        .16075       -.25733E-06   -.18080E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 7.56537
  Prefactor  = 51.8325
  Prefactor  = 77.571
  norm       = 0.0001
  Prefactor  = 4.16875
  Prefactor  = 21.1653
  Prefactor  = 8.19052
  Prefactor  = 7.71735
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 25.5373
  Prefactor  = 0.0001
  norm       = 23.1623
  Normalizat = 0.979708
  Prefactor  = 0.895841
 **********
 **   18 **HESSE 
 **********

 FCN=   4946.021     FROM HESSE     STATUS=OK           199 CALLS     1619 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.529        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.5654        12.560        .14580E-03   -1.5158    
   3  Prefactor     51.833        53.318        .55707E-04   -1.4267    
   4  Prefactor     77.571        68.797        .45594E-04   -1.3944    
   5  norm          .10000E-03    14.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.1688        5.2750        .17193E-03   -1.5300    
   7  Prefactor     21.165        19.348        .87060E-04   -1.4788    
   8  Prefactor     8.1905        7.4419        .70043E-03   -1.5136    
   9  Prefactor     7.7173        11.506        .14435E-03   -1.5152    
  10  Prefactor     .10000E-03    5.7259        .16411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.537        31.998        .79270E-04   -1.4697    
  13  Prefactor     .10000E-03    15.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          23.162        22.190        .83231E-04   -1.4745    
  15  Normalizat    .97971        .26633        .27931E-03   -.93713    
  16  Prefactor     .89584        .19113        .21025E-03   -.96287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76438e-10
Minuit parameter uncertainties:
  1  0.000292294
  2  12.5647
  3  53.3674
  4  68.8681
  5  7.02493e-05
  6  5.2756
  7  19.354
  8  7.44275
  9  11.5097
  10  8.99719e-06
  11  0.000470114
  12  32.0191
  13  0.00012969
  14  22.1979
  15  0.266694
  16  0.191275
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  4.169e+00  5.276e+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:  8.958e-01  1.913e-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.797e-01  2.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.81
Ra Dec: 206.465 7.107
Photon Flux Upper Limit: 1.57e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/948884/likelihoodResults_423878401_424137601_4FGL_J1345.8+0706_daily_bin712.txt

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) = 4945.95207999
delta logL = 0.0687051825844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4945.94877805
delta logL = 0.0720071151782

Fit tolerance = 1e-08

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

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

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8086        292.08        .45879E-02    .26062E-03
   2  Index         2.0757        5.4565        .25375        .23753E-05
   3  Normalizat    .99446        .13274        .46098E-01   -.47974E-04
   4  Prefactor     .88823        .86604E-01    .44854E-01   -.60471E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.8086
  Index      = 2.07567
  Normalizat = 0.99446
  Prefactor  = 0.888227
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8086        5.8473        .17997E-03   -1.5269    
   2  Index         2.0757        .92738        .10981E-01   -.62471    
   3  Normalizat    .99446        .26419        .27742E-03   -.93216    
   4  Prefactor     .88823        .19088        .21101E-03   -.96554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53487e-11
Minuit parameter uncertainties:
  1  5.84804
  2  0.935655
  3  0.264537
  4  0.191026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/948884': 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) = 4945.94877754
delta logL = 0.0720076255166

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  4.809e+00  5.848e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.076e+00  9.357e-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:  8.882e-01  1.910e-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.945e-01  2.645e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.81
Ra Dec: 206.465 7.107

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/948884/cmap_HighResolution_423878401_424137601_4FGL_J1345.8+0706_daily_bin712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', job_status='DONE', photon_flux_upper_limit='1.57e-07', time_completed='2021-09-08 11:37:04.582832', job_id='948884', GAL2='0.89', fit_tolerance='1e-08', EG2='0.99', EG='0.98', time_epoch_completed='1631126224.58', return_code2='0', ts='0.81', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='7.20e-02', ts2='0.95', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='712' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:37:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 948884: <4FGL_J1345.8+0706_daily_bin712> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin712 206.465 7.1072 423878401 424137601 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 :                                   466.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            688 sec.

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

