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


Performing analysis on: 4FGL_J0854.8+2006_daily_bin52
RA = 133.707, Dec = 20.1159
tmin = 252806401, tmax = 253065601
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='841700', job_status='RUN', time_executed='2021-08-30 15:54:52.312914', time_epoch_executed='1630364092.31' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='52'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/841700

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/841700/ft1_4FGL_J0854.8+2006_daily_bin52.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/841700/ft2_4FGL_J0854.8+2006_daily_bin52.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/841700/ft1_4FGL_J0854.8+2006_daily_bin52.fits outfile=/scratch/kocevski/841700/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin52.fits ra=133.707 dec=20.1159 rad=12.0 tmin=252806401.0 tmax=253065601.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 1.26
sys 4.07

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/841700/ft2_4FGL_J0854.8+2006_daily_bin52.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/841700/ft2_4FGL_J0854.8+2006_daily_bin52.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/841700/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin52.fits evtable="EVENTS" outfile="/scratch/kocevski/841700/ft1_filtered_4FGL_J0854.8+2006_daily_bin52.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 4.18
user 0.31
sys 3.74

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/841700/ft1_filtered_4FGL_J0854.8+2006_daily_bin52.fits" evtable="EVENTS" scfile=/scratch/kocevski/841700/ft2_4FGL_J0854.8+2006_daily_bin52.fits sctable="SC_DATA" outfile=/scratch/kocevski/841700/ltcube_252806401_253065601_4FGL_J0854.8+2006_daily_bin52.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/841700/ft2_4FGL_J0854.8+2006_daily_bin52.fits
.....................!
real 17.03
user 12.60
sys 4.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/841700/ft1_filtered_4FGL_J0854.8+2006_daily_bin52.fits evtable="EVENTS" scfile=/scratch/kocevski/841700/ft2_4FGL_J0854.8+2006_daily_bin52.fits sctable="SC_DATA" expcube=/scratch/kocevski/841700/ltcube_252806401_253065601_4FGL_J0854.8+2006_daily_bin52.fits outfile=/scratch/kocevski/841700/expmap_252806401_253065601_4FGL_J0854.8+2006_daily_bin52.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/841700/ltcube_252806401_253065601_4FGL_J0854.8+2006_daily_bin52.fits
.....................!
real 194.83
user 185.28
sys 9.06

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J0854.8+2006 @ 133.707 20.1159

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/841700/ft1_filtered_4FGL_J0854.8+2006_daily_bin52.fits scfile=/scratch/kocevski/841700/ft2_4FGL_J0854.8+2006_daily_bin52.fits outfile=/scratch/kocevski/841700/cmap_252806401_253065601_4FGL_J0854.8+2006_daily_bin52.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=133.707 yref=20.1159 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 4.08
user 0.37
sys 3.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/841700/ft1_filtered_4FGL_J0854.8+2006_daily_bin52.fits scfile=/scratch/kocevski/841700/ft2_4FGL_J0854.8+2006_daily_bin52.fits outfile=/scratch/kocevski/841700/cmap_HighResolution_252806401_253065601_4FGL_J0854.8+2006_daily_bin52.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=133.707 yref=20.1159 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 4.08
user 0.38
sys 3.68

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/841700/ft1_filtered_4FGL_J0854.8+2006_daily_bin52.fits evtable="EVENTS" scfile=/scratch/kocevski/841700/ft2_4FGL_J0854.8+2006_daily_bin52.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/841700/Model_4FGL_J0854.8+2006_daily_bin52.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/841700/ft1_filtered_4FGL_J0854.8+2006_daily_bin52.fits.....................!
real 84.47
user 78.36
sys 5.86

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/841700/ft1_filtered_4FGL_J0854.8+2006_daily_bin52.fits', '/scratch/kocevski/841700/ft2_4FGL_J0854.8+2006_daily_bin52.fits', expMap='/scratch/kocevski/841700/expmap_252806401_253065601_4FGL_J0854.8+2006_daily_bin52.fits', expCube='/scratch/kocevski/841700/ltcube_252806401_253065601_4FGL_J0854.8+2006_daily_bin52.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/841700/Model_4FGL_J0854.8+2006_daily_bin52.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0854.8+2006'

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.743e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
291         beta:  5.102e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
292           Eb:  6.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/841700/ft1_filtered_4FGL_J0854.8+2006_daily_bin52.fits
Spacecraft file(s): /scratch/kocevski/841700/ft2_4FGL_J0854.8+2006_daily_bin52.fits
Exposure map: /scratch/kocevski/841700/expmap_252806401_253065601_4FGL_J0854.8+2006_daily_bin52.fits
Exposure cube: /scratch/kocevski/841700/ltcube_252806401_253065601_4FGL_J0854.8+2006_daily_bin52.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/841700/Model_4FGL_J0854.8+2006_daily_bin52.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) = 9221.29382998

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9843       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5960       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.437       1.0000         .10000E-03   10000.    
     7 'norm      '    1.1731       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.750       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.472       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    41.629       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3792       1.0000         .10000E-03   10000.    
    13 'Prefactor '    57.289       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.9223       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0578       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0660       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=   9221.276     FROM MIGRAD    STATUS=CONVERGED    284 CALLS     1428 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.9965       -.34182E-07** at limit **
   2  Prefactor     2.9565        6.6527        .15607E-05   -.77081E-03
   3  norm          .10000E-03    .20459        .15247E-07** at limit **
   4  Prefactor     6.5942        7.0196        .13187E-05    .13148E-03
   5  Prefactor     .10000E-03    2.4451       -.62411E-08** at limit **
   6  Prefactor     16.434        23.916       -.39510E-05   -.82552E-04
   7  norm          1.1730        .67551       -.73900E-08   -.12967E-03
   8  Prefactor     16.750        11.701       -.38871E-06   -.48359E-04
   9  Prefactor     21.469        16.520       -.20941E-05   -.13191E-03
  10  norm          .10000E-03    1.5401       -.26042E-07** at limit **
  11  norm          41.626        34.284       -.23657E-05   -.77249E-04
  12  norm          1.3792        1.0901        .44621E-07    .31690E-04
  13  Prefactor     57.287        53.607       -.21311E-05   -.41690E-04
  14  Prefactor     5.9224        4.0295       -.33771E-06   -.18790E-03
  15  Normalizat    1.0578        .15757        .85568E-06   -.42554E-04
  16  Prefactor     1.0659        .13045        .51448E-07    .49729E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.95648
  norm       = 0.0001
  Prefactor  = 6.59417
  Prefactor  = 0.0001
  Prefactor  = 16.434
  norm       = 1.17298
  Prefactor  = 16.7501
  Prefactor  = 21.469
  norm       = 0.0001
  norm       = 41.626
  norm       = 1.37922
  Prefactor  = 57.2866
  Prefactor  = 5.92238
  Normalizat = 1.05782
  Prefactor  = 1.06592
 **********
 **   18 **HESSE 
 **********

 FCN=   9221.276     FROM HESSE     STATUS=OK           205 CALLS     1633 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.9997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.9565        12.812        .11750E-02   -1.5364    
   3  norm          .10000E-03    .20461        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.5942        7.0791        .15625E-03   -1.5194    
   5  Prefactor     .10000E-03    2.4724        .14659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.434        24.078        .98789E-04   -1.4897    
   7  norm          1.1730        .66534        .55087E-04   -1.5491    
   8  Prefactor     16.750        11.665        .97862E-04   -1.4889    
   9  Prefactor     21.469        16.642        .86440E-04   -1.4781    
  10  norm          .10000E-03    1.5438        .11638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          41.626        34.351        .62130E-04   -1.4417    
  12  norm          1.3792        1.0900        .37071E-04   -1.5473    
  13  Prefactor     57.287        53.681        .53002E-04   -1.4193    
  14  Prefactor     5.9224        4.0420        .15021E-03   -1.5221    
  15  Normalizat    1.0578        .18577        .26233E-03   -.91118    
  16  Prefactor     1.0659        .15337        .22773E-03   -.90563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17619e-09
Minuit parameter uncertainties:
  1  2.95311e-06
  2  12.3131
  3  6.74144e-08
  4  7.07997
  5  5.01974e-06
  6  24.0926
  7  0.665347
  8  11.6662
  9  16.6458
  10  5.89196e-07
  11  34.3668
  12  1.08997
  13  53.7268
  14  4.04216
  15  0.18588
  16  0.15343
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.173e+00  6.653e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
291         beta:  5.102e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
292           Eb:  6.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.066e+00  1.534e-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.058e+00  1.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.04
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 5.54e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 2.43e-05 +/- 1.38e-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) = 9221.21066043
delta logL = 0.0655771347774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9221.20824364
delta logL = 0.0679939178171

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1376       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9753       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0611       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=   9221.208     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      202 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1377        17.287        .10912E-01    .11369E-03
   2  alpha         1.9753        3.2332        .39961       -.60982E-05
   3  Normalizat    1.0689        .93713E-01    .59060E-01    .15408E-04
   4  Prefactor     1.0611        .86786E-01    .39300E-01    .93693E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.13768
  alpha      = 1.97532
  Normalizat = 1.06887
  Prefactor  = 1.0611
 **********
 **   18 **HESSE 
 **********

 FCN=   9221.208     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1377        .67526        .56528E-04   -1.5495    
   2  alpha         1.9753        .48465        .13648E-01   -.21144    
   3  Normalizat    1.0689        .17573        .26119E-03   -.90758    
   4  Prefactor     1.0611        .15183        .22821E-03   -.90720    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.25815e-12
Minuit parameter uncertainties:
  1  0.675262
  2  0.487886
  3  0.175823
  4  0.151893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/841700': 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) = 9221.20824364
delta logL = 0.0679939229994

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.138e+00  6.753e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  1.975e+00  4.879e-01  0.000e+00  5.000e+00 ( 1.000e+00)
291         beta:  5.102e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
292           Eb:  6.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.061e+00  1.519e-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.069e+00  1.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.19
Ra Dec: 133.707 20.116
Photon Index (Free Index): 1.98 +/- 0.49
Photon Flux (Free Index): 4.53e-08 +/- 3.72e-08
Energy Flux (Free Index): 2.74e-05 +/- 1.86e-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/841700/cmap_HighResolution_252806401_253065601_4FGL_J0854.8+2006_daily_bin52.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.54e-08', energy_flux2='2.74e-05', photon_flux_error='3.14e-08', dlogl='6.80e-02', energy_flux='2.43e-05', photon_flux2='4.53e-08', job_status='DONE', time_completed='2021-08-30 16:04:53.272373', photon_index_error2='0.49', photon_index2='1.98', ts='7.04', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.86e-05', EG='1.06', time_epoch_completed='1630364693.27', return_code='0', job_id='841700', GAL2='1.06', EG2='1.07', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='3.72e-08', ts2='7.19', photon_index='2.16' WHERE bin_id='52' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:04:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 841700: <4FGL_J0854.8+2006_daily_bin52> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin52> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 30 15:51:07 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 15:51:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 15:51:08 2021
Terminated at Mon Aug 30 16:04:54 2021
Results reported at Mon Aug 30 16:04:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin52 133.707 20.1159 252806401 253065601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0854.8+2006 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   655.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             227.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            827 sec.

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

