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


Performing analysis on: 4FGL_J1345.8+0706_daily_bin663
RA = 206.465, Dec = 7.1072
tmin = 411177601, tmax = 411436801
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='948806', job_status='RUN', time_executed='2021-09-08 11:28:27.101807', time_epoch_executed='1631125707.1' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='663'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/948806

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/948806/ft1_4FGL_J1345.8+0706_daily_bin663.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/948806/ft2_4FGL_J1345.8+0706_daily_bin663.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/948806/ft1_4FGL_J1345.8+0706_daily_bin663.fits outfile=/scratch/kocevski/948806/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin663.fits ra=206.465 dec=7.1072 rad=12.0 tmin=411177601.0 tmax=411436801.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 6.71
user 6.41
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/948806/ft1_filtered_4FGL_J1345.8+0706_daily_bin663.fits" evtable="EVENTS" scfile=/scratch/kocevski/948806/ft2_4FGL_J1345.8+0706_daily_bin663.fits sctable="SC_DATA" outfile=/scratch/kocevski/948806/ltcube_411177601_411436801_4FGL_J1345.8+0706_daily_bin663.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/948806/ft2_4FGL_J1345.8+0706_daily_bin663.fits
.....................!
real 17.79
user 17.31
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/948806/ft1_filtered_4FGL_J1345.8+0706_daily_bin663.fits evtable="EVENTS" scfile=/scratch/kocevski/948806/ft2_4FGL_J1345.8+0706_daily_bin663.fits sctable="SC_DATA" expcube=/scratch/kocevski/948806/ltcube_411177601_411436801_4FGL_J1345.8+0706_daily_bin663.fits outfile=/scratch/kocevski/948806/expmap_411177601_411436801_4FGL_J1345.8+0706_daily_bin663.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/948806/ltcube_411177601_411436801_4FGL_J1345.8+0706_daily_bin663.fits
.....................!
real 193.82
user 188.24
sys 4.91

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/948806/ft1_filtered_4FGL_J1345.8+0706_daily_bin663.fits scfile=/scratch/kocevski/948806/ft2_4FGL_J1345.8+0706_daily_bin663.fits outfile=/scratch/kocevski/948806/cmap_411177601_411436801_4FGL_J1345.8+0706_daily_bin663.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/948806/ft1_filtered_4FGL_J1345.8+0706_daily_bin663.fits scfile=/scratch/kocevski/948806/ft2_4FGL_J1345.8+0706_daily_bin663.fits outfile=/scratch/kocevski/948806/cmap_HighResolution_411177601_411436801_4FGL_J1345.8+0706_daily_bin663.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.58
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42564E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.517       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8323       1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.359       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9328       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.329       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.5991       1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.452       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.7045       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .98453       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1054       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=   12512.43     FROM MIGRAD    STATUS=CONVERGED    303 CALLS     1275 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    8.3233       -.36238E-06** at limit **
   2  Prefactor     .10000E-03    2.4272       -.40902E-08** at limit **
   3  Prefactor     14.517        16.868        .24373E-05   -.14544E-04
   4  Prefactor     .10000E-03    16.827       -.14271E-06** at limit **
   5  norm          .10000E-03    5.3943       -.26913E-07** at limit **
   6  Prefactor     2.8323        2.0885       -.10414E-06   -.30721E-03
   7  Prefactor     36.360        18.263       -.36161E-05    .12474E-04
   8  Prefactor     2.9327        2.4429       -.12633E-06   -.35101E-03
   9  Prefactor     .10000E-03    2.6519        .29202E-08** at limit **
  10  Prefactor     23.329        9.7569        .27145E-05    .44695E-04
  11  Prefactor     5.6002        11.316       -.86132E-05   -.11204E-03
  12  Prefactor     32.452        18.213       -.11179E-05   -.38073E-05
  13  Prefactor     3.7042        12.230        .11250E-05   -.11103E-03
  14  norm          .10000E-03    5.1833       -.75263E-07** at limit **
  15  Normalizat    .98449        .14708        .76855E-06    .40691E-04
  16  Prefactor     1.1054        .11087        .17363E-06    .10590E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100113
  Prefactor  = 0.0001
  Prefactor  = 14.5166
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.83228
  Prefactor  = 36.3601
  Prefactor  = 2.9327
  Prefactor  = 0.0001
  Prefactor  = 23.3286
  Prefactor  = 5.60022
  Prefactor  = 32.4523
  Prefactor  = 3.70415
  norm       = 0.0001
  Normalizat = 0.984494
  Prefactor  = 1.10539
 **********
 **   18 **HESSE 
 **********

 FCN=   12512.43     FROM HESSE     STATUS=OK           215 CALLS     1490 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10011E-03    10.983        .94133E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.4380        .17017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.517        16.844        .10512E-03   -1.4946    
   4  Prefactor     .10000E-03    16.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    5.3957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.8323        2.0895        .13370E-03   -1.5371    
   7  Prefactor     36.360        18.252        .66464E-04   -1.4501    
   8  Prefactor     2.9327        2.4427        .15469E-03   -1.5365    
   9  Prefactor     .10000E-03    2.6676        .17788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.329        9.7510        .82931E-04   -1.4742    
  11  Prefactor     5.6002        11.443        .16978E-03   -1.5235    
  12  Prefactor     32.452        18.225        .70339E-04   -1.4568    
  13  Prefactor     3.7042        12.193        .20982E-03   -1.5323    
  14  norm          .10000E-03    5.1904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .98449        .17212        .28230E-03   -.93552    
  16  Prefactor     1.1054        .12997        .20780E-03   -.89294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47971e-10
Minuit parameter uncertainties:
  1  0.00223149
  2  2.69987e-06
  3  16.8491
  4  1.10132e-05
  5  8.1991e-07
  6  2.08959
  7  18.2546
  8  2.44279
  9  2.19318e-06
  10  9.75164
  11  11.447
  12  18.2277
  13  12.2012
  14  1.584e-06
  15  0.172215
  16  0.130011
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  2.832e+00  2.090e+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.105e+00  1.300e-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.845e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.46
Ra Dec: 206.465 7.107
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 2.79e-08 +/- 2.06e-08
Energy Flux (Fixed Index): 8.66e-06 +/- 6.39e-06

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) = 12512.0188078
delta logL = 0.415018348711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12512.0158968
delta logL = 0.417929294696

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7855       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8715       1.0000          .0000       10.000    
     3 'Normalizat'    1.0008       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0992       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=   12512.02     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7847        3.3023        .60951E-02   -.14564E-04
   2  Index         1.8717        .62805        .26585       -.68483E-04
   3  Normalizat    1.0007        .14286        .46177E-01    .24751E-04
   4  Prefactor     1.0992        .11062        .37617E-01   -.12421E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.78471
  Index      = 1.87172
  Normalizat = 1.00071
  Prefactor  = 1.09918
 **********
 **   18 **HESSE 
 **********

 FCN=   12512.02     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7847        2.4812        .14737E-03   -1.5374    
   2  Index         1.8717        .60925        .11954E-01   -.67597    
   3  Normalizat    1.0007        .16644        .28026E-03   -.93007    
   4  Prefactor     1.0992        .12928        .20833E-03   -.89493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44376e-11
Minuit parameter uncertainties:
  1  2.48131
  2  0.611757
  3  0.166525
  4  0.129318
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/948806': 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) = 12512.0158945
delta logL = 0.417931600154

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  2.785e+00  2.481e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  1.872e+00  6.118e-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.099e+00  1.293e-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.001e+00  1.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.30
Ra Dec: 206.465 7.107
Photon Index (Free Index): 1.87 +/- 0.61
Photon Flux (Free Index): 1.42e-08 +/- 1.74e-08
Energy Flux (Free Index): 1.38e-05 +/- 1.59e-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/948806/cmap_HighResolution_411177601_411436801_4FGL_J1345.8+0706_daily_bin663.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.79e-08', energy_flux2='1.38e-05', photon_flux_error='2.06e-08', dlogl='4.18e-01', energy_flux='8.66e-06', photon_flux2='1.42e-08', job_status='DONE', time_completed='2021-09-08 11:38:58.579746', photon_index_error2='0.61', photon_index2='1.87', ts='5.46', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.59e-05', EG='0.98', time_epoch_completed='1631126338.58', return_code='0', job_id='948806', GAL2='1.10', EG2='1.00', return_code2='0', energy_flux_error='6.39e-06', photon_flux_error2='1.74e-08', ts2='6.30', photon_index='2.44' WHERE bin_id='663' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:38:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 948806: <4FGL_J1345.8+0706_daily_bin663> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin663 206.465 7.1072 411177601 411436801 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 :                                   629.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            807 sec.

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

