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


Performing analysis on: 4FGL_J1345.8+0706_daily_bin50
RA = 206.465, Dec = 7.1072
tmin = 252288001, tmax = 252547201
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='940335', job_status='RUN', time_executed='2021-09-08 11:12:46.773414', time_epoch_executed='1631124766.77' WHERE source_name='4FGL J1345.8+0706' and cadence='daily' and bin_id='50'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/940335

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/940335/ft1_4FGL_J1345.8+0706_daily_bin50.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/940335/ft2_4FGL_J1345.8+0706_daily_bin50.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/940335/ft1_4FGL_J1345.8+0706_daily_bin50.fits outfile=/scratch/kocevski/940335/ft1_filteredMKT_4FGL_J1345.8+0706_daily_bin50.fits ra=206.465 dec=7.1072 rad=12.0 tmin=252288001.0 tmax=252547201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.57
user 2.36
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/940335/ft1_filtered_4FGL_J1345.8+0706_daily_bin50.fits evtable="EVENTS" scfile=/scratch/kocevski/940335/ft2_4FGL_J1345.8+0706_daily_bin50.fits sctable="SC_DATA" expcube=/scratch/kocevski/940335/ltcube_252288001_252547201_4FGL_J1345.8+0706_daily_bin50.fits outfile=/scratch/kocevski/940335/expmap_252288001_252547201_4FGL_J1345.8+0706_daily_bin50.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/940335/ltcube_252288001_252547201_4FGL_J1345.8+0706_daily_bin50.fits
.....................!
real 193.53
user 186.73
sys 4.64

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/940335/ft1_filtered_4FGL_J1345.8+0706_daily_bin50.fits scfile=/scratch/kocevski/940335/ft2_4FGL_J1345.8+0706_daily_bin50.fits outfile=/scratch/kocevski/940335/cmap_252288001_252547201_4FGL_J1345.8+0706_daily_bin50.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/940335/ft1_filtered_4FGL_J1345.8+0706_daily_bin50.fits scfile=/scratch/kocevski/940335/ft2_4FGL_J1345.8+0706_daily_bin50.fits outfile=/scratch/kocevski/940335/cmap_HighResolution_252288001_252547201_4FGL_J1345.8+0706_daily_bin50.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.40
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62571       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.649       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .63503       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .52823       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.044       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4013       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.343       1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.028       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.597       1.0000         .10000E-03   10000.    
    14 'norm      '    13.444       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.5158       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .62262       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=   8896.444     FROM MIGRAD    STATUS=CONVERGED    290 CALLS     1255 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66705        5.3405        .74059E-06   -.33453E-03
   2  Prefactor     .10000E-03    2.2965       -.70233E-07** at limit **
   3  Prefactor     .10000E-03    21.407       -.25206E-04** at limit **
   4  Prefactor     22.642        26.746       -.99898E-05    .88494E-05
   5  norm          .10000E-03    13.492       -.37825E-05** at limit **
   6  Prefactor     .63448        2.1585        .19602E-07   -.70446E-04
   7  Prefactor     .10000E-03    18.860        .27593E-04** at limit **
   8  Prefactor     .52676        .44903        .61072E-07   -.19339E-02
   9  Prefactor     10.044        11.929        .13283E-05    .98584E-05
  10  Prefactor     3.4025        5.6145        .13732E-05   -.13102E-03
  11  Prefactor     27.342        19.174       -.32494E-06   -.79524E-04
  12  Prefactor     24.028        20.606       -.24186E-06   -.19632E-05
  13  Prefactor     13.596        13.191        .37721E-06   -.10008E-04
  14  norm          13.443        14.758        .29350E-08   -.42679E-05
  15  Normalizat    1.5159        .16253       -.22598E-07   -.28784E-03
  16  Prefactor     .62264        .11763        .60647E-07   -.21754E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.66705
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.6423
  norm       = 0.0001
  Prefactor  = 0.63448
  Prefactor  = 0.000100001
  Prefactor  = 0.526761
  Prefactor  = 10.0444
  Prefactor  = 3.40252
  Prefactor  = 27.3422
  Prefactor  = 24.0278
  Prefactor  = 13.5961
  norm       = 13.4431
  Normalizat = 1.51586
  Prefactor  = 0.622644
 **********
 **   18 **HESSE 
 **********

 FCN=   8896.444     FROM HESSE     STATUS=OK           209 CALLS     1464 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66705        35.085        .41928E-02   -1.5545    
   2  Prefactor     .10000E-03    2.3035        .13958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.642        26.762        .84165E-04   -1.4756    
   5  norm          .10000E-03    13.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .63448        2.1094        .24442E-03   -1.5549    
   7  Prefactor     .10000E-03    18.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .52676        4.7305        .19261E-02   -1.5563    
   9  Prefactor     10.044        11.954        .12643E-03   -1.5074    
  10  Prefactor     3.4025        5.5933        .21937E-03   -1.5339    
  11  Prefactor     27.342        19.183        .76613E-04   -1.4662    
  12  Prefactor     24.028        20.626        .81717E-04   -1.4727    
  13  Prefactor     13.596        13.199        .10863E-03   -1.4970    
  14  norm          13.443        14.762        .10924E-03   -1.4975    
  15  Normalizat    1.5159        .19213        .22910E-03   -.77334    
  16  Prefactor     .62264        .13908        .24874E-03   -1.0664    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.47193e-09
Minuit parameter uncertainties:
  1  9.68072
  2  1.53797e-06
  3  6.70201e-05
  4  26.7765
  5  3.58248e-06
  6  2.10964
  7  0.000218859
  8  3.15715
  9  11.9572
  10  5.59415
  11  19.1873
  12  20.6323
  13  13.2017
  14  14.7655
  15  0.19222
  16  0.139154
Done.

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

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  6.345e-01  2.110e+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:  6.226e-01  1.392e-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.516e+00  1.922e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 206.465 7.107
Photon Flux Upper Limit: 6.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/940335/likelihoodResults_252288001_252547201_4FGL_J1345.8+0706_daily_bin50.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) = 8896.41636991
delta logL = 0.0274687532656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8896.41217409
delta logL = 0.0316645669318

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83166       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0875       1.0000          .0000       10.000    
     3 'Normalizat'    1.5183       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62097       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=   8896.412     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      225 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83627        21.466        .53514E-01    .13137E-02
   2  Index         2.0878        1.9949        .49715       -.36286E-05
   3  Normalizat    1.5184        .15342E-01    .51783E-01   -.25783E-05
   4  Prefactor     .62092        .11269E-01    .41339E-01    .32313E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.836275
  Index      = 2.08783
  Normalizat = 1.51835
  Prefactor  = 0.620925
 **********
 **   18 **HESSE 
 **********

 FCN=   8896.412     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83627        2.2884        .22446E-03   -1.5525    
   2  Index         2.0878        1.2734        .12422E-01   -.62172    
   3  Normalizat    1.5184        .18859        .22894E-03   -.77264    
   4  Prefactor     .62092        .13838        .24904E-03   -1.0671    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71052e-12
Minuit parameter uncertainties:
  1  2.28865
  2  1.2952
  3  0.188678
  4  0.138452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/940335': 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) = 8896.41217202
delta logL = 0.0316666458639

Extracting fit parameters...

4FGL J1345.8+0706
   Spectrum: PowerLaw
286    Prefactor:  8.363e-01  2.289e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.088e+00  1.295e+00  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:  6.209e-01  1.385e-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.518e+00  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/940335/cmap_HighResolution_252288001_252547201_4FGL_J1345.8+0706_daily_bin50.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.18e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2021-09-08 11:22:15.914930', job_id='940335', GAL2='0.62', fit_tolerance='1e-08', EG2='1.52', EG='1.52', time_epoch_completed='1631125335.92', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='3.17e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='50' AND source_name='4FGL J1345.8+0706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 11:22:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 940335: <4FGL_J1345.8+0706_daily_bin50> in cluster <slac> Done

Job <4FGL_J1345.8+0706_daily_bin50> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep  8 11:10:38 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 11:11:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 11:11:00 2021
Terminated at Wed Sep  8 11:22:17 2021
Results reported at Wed Sep  8 11:22:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1345.8+0706_daily_bin50 206.465 7.1072 252288001 252547201 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 :                                   565.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             267.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            699 sec.

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

