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


Performing analysis on: 4FGL_J0854.8+2006_daily_bin1512
RA = 133.707, Dec = 20.1159
tmin = 631238401, tmax = 631497601
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='853152', job_status='RUN', time_executed='2021-08-30 16:31:05.034416', time_epoch_executed='1630366265.03' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='1512'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853152

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853152/ft1_4FGL_J0854.8+2006_daily_bin1512.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853152/ft2_4FGL_J0854.8+2006_daily_bin1512.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853152/ft1_4FGL_J0854.8+2006_daily_bin1512.fits outfile=/scratch/kocevski/853152/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1512.fits ra=133.707 dec=20.1159 rad=12.0 tmin=631238401.0 tmax=631497601.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 7.92
user 2.53
sys 5.10

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/853152/ft2_4FGL_J0854.8+2006_daily_bin1512.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/853152/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1512.fits evtable="EVENTS" outfile="/scratch/kocevski/853152/ft1_filtered_4FGL_J0854.8+2006_daily_bin1512.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 6.22
user 0.33
sys 4.98

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853152/ft1_filtered_4FGL_J0854.8+2006_daily_bin1512.fits" evtable="EVENTS" scfile=/scratch/kocevski/853152/ft2_4FGL_J0854.8+2006_daily_bin1512.fits sctable="SC_DATA" outfile=/scratch/kocevski/853152/ltcube_631238401_631497601_4FGL_J0854.8+2006_daily_bin1512.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/853152/ft2_4FGL_J0854.8+2006_daily_bin1512.fits
.....................!
real 19.31
user 11.94
sys 5.86

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853152/ft1_filtered_4FGL_J0854.8+2006_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/853152/ft2_4FGL_J0854.8+2006_daily_bin1512.fits sctable="SC_DATA" expcube=/scratch/kocevski/853152/ltcube_631238401_631497601_4FGL_J0854.8+2006_daily_bin1512.fits outfile=/scratch/kocevski/853152/expmap_631238401_631497601_4FGL_J0854.8+2006_daily_bin1512.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/853152/ltcube_631238401_631497601_4FGL_J0854.8+2006_daily_bin1512.fits
.....................!
real 205.43
user 184.86
sys 11.66

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/853152/ft1_filtered_4FGL_J0854.8+2006_daily_bin1512.fits scfile=/scratch/kocevski/853152/ft2_4FGL_J0854.8+2006_daily_bin1512.fits outfile=/scratch/kocevski/853152/cmap_631238401_631497601_4FGL_J0854.8+2006_daily_bin1512.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 5.05
user 0.37
sys 4.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853152/ft1_filtered_4FGL_J0854.8+2006_daily_bin1512.fits scfile=/scratch/kocevski/853152/ft2_4FGL_J0854.8+2006_daily_bin1512.fits outfile=/scratch/kocevski/853152/cmap_HighResolution_631238401_631497601_4FGL_J0854.8+2006_daily_bin1512.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 5.35
user 0.38
sys 4.86

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/853152/ft1_filtered_4FGL_J0854.8+2006_daily_bin1512.fits', '/scratch/kocevski/853152/ft2_4FGL_J0854.8+2006_daily_bin1512.fits', expMap='/scratch/kocevski/853152/expmap_631238401_631497601_4FGL_J0854.8+2006_daily_bin1512.fits', expCube='/scratch/kocevski/853152/ltcube_631238401_631497601_4FGL_J0854.8+2006_daily_bin1512.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/853152/Model_4FGL_J0854.8+2006_daily_bin1512.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/853152/ft1_filtered_4FGL_J0854.8+2006_daily_bin1512.fits
Spacecraft file(s): /scratch/kocevski/853152/ft2_4FGL_J0854.8+2006_daily_bin1512.fits
Exposure map: /scratch/kocevski/853152/expmap_631238401_631497601_4FGL_J0854.8+2006_daily_bin1512.fits
Exposure cube: /scratch/kocevski/853152/ltcube_631238401_631497601_4FGL_J0854.8+2006_daily_bin1512.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/853152/Model_4FGL_J0854.8+2006_daily_bin1512.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) = 1384.6880638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11707E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.2944       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.092       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    72.018       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    85.753       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .12448       1.0000         .10000E-01   10.000    
    16 'Prefactor '    2.2223       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1384.685     FROM MIGRAD    STATUS=CONVERGED     84 CALLS     1381 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51896E-02    49.685       -.22473E-04    .27478E-02
   2  Prefactor     .11926E-03    148.90       -.13878E-04** at limit **
   3  norm          .10000E-03    2.4727       -.12493E-05** at limit **
   4  Prefactor     .10001E-03    13.068        .81586E-05** at limit **
   5  Prefactor     .10001E-03    13.325       -.47405E-05** at limit **
   6  Prefactor     .10247E-03    96.332        .20729E-04** at limit **
   7  norm          4.2945        2.8369        .32377E-06    .24777E-05
   8  Prefactor     .10006E-03    23.500       -.15433E-04** at limit **
   9  Prefactor     36.094        1.2023        .16499E-06   -.52915E-03
  10  norm          .10000E-03    10.609        .19349E-06** at limit **
  11  norm          72.019        1.0059        .20127E-07   -.14762E-03
  12  norm          .10000E-03    1.7457       -.11704E-05** at limit **
  13  Prefactor     85.753        1.0272        .41577E-07   -.38845E-03
  14  Prefactor     .10005E-03    22.171        .25335E-04** at limit **
  15  Normalizat    .12441        .62649       -.97498E-04   -.40582E-05
  16  Prefactor     2.2224        .51611       -.20796E-05   -.18052E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00518961
  Prefactor  = 0.000119257
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.000100007
  Prefactor  = 0.000102471
  norm       = 4.29448
  Prefactor  = 0.000100059
  Prefactor  = 36.0943
  norm       = 0.0001
  norm       = 72.0186
  norm       = 0.0001
  Prefactor  = 85.7534
  Prefactor  = 0.000100051
  Normalizat = 0.124405
  Prefactor  = 2.22237
 **********
 **   18 **HESSE 
 **********

 FCN=   1384.685     FROM HESSE     STATUS=NOT POSDEF   235 CALLS     1616 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51896E-02    1183.9        .90712E-02   -1.5694    
   2  Prefactor     .11926E-03    146.23        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.3504        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    12.448        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    12.694        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10247E-03    92.319        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.2945        3.6233        .48602E-02   -1.5293    
   8  Prefactor     .10006E-03    22.389        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.094        114.85        .16677E-02   -1.4506    
  10  norm          .10000E-03    10.105        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          72.019        119.97        .11827E-02   -1.4009    
  12  norm          .10000E-03    1.6680        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     85.753        271.58        .10846E-02   -1.3853    
  14  Prefactor     .10005E-03    36.545        .38754E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .12441        9.9319        .19995       -1.3564    
  16  Prefactor     2.2224        2.8242        .48670E-01   -.58900    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.94845e-06
Minuit parameter uncertainties:
  1  5.01194
  2  0.106394
  3  1.94923e-06
  4  0.000542569
  5  0.000587456
  6  0.030252
  7  3.62344
  8  0.00230786
  9  115.567
  10  7.92601e-06
  11  120.377
  12  2.27783e-06
  13  275.665
  14  0.00274082
  15  3.53887
  16  3.10491
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1384.68470841

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  4.294e+00  3.623e+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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  2.222e+00  3.105e+00  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.244e-01  3.539e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.20
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.03e-07 +/- 1.71e-07
Energy Flux (Fixed Index): 8.91e-05 +/- 7.52e-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) = 1384.34506468
delta logL = 0.339643733705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1384.29108666
delta logL = 0.393621754029

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9763       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5391       1.0000          .0000       5.0000    
     3 'Normalizat'    .16235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    2.2328       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=   1384.291     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      213 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9703        2.9783        .58835E-02   -.41266E-03
   2  alpha         1.5386        .56851        .17462        .11946E-04
   3  Normalizat    .16287        5.8194        .17445       -.12060E-03
   4  Prefactor     2.2322        1.3017        .48776E-01   -.36366E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.97033
  alpha      = 1.53858
  Normalizat = 0.162868
  Prefactor  = 2.23224
 **********
 **   18 **HESSE 
 **********

 FCN=   1384.291     FROM HESSE     STATUS=OK            29 CALLS      242 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9703        4.4199        .51437E-04   -1.5363    
   2  alpha         1.5386        .86225        .74513E-02   -.39474    
   3  Normalizat    .16287        .53490        .75517E-03   -1.3228    
   4  Prefactor     2.2322        .52466        .21556E-03   -.58662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10709e-09
Minuit parameter uncertainties:
  1  4.42043
  2  0.883685
  3  0.553504
  4  0.526056
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853152': 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) = 1384.2910844
delta logL = 0.393624013624

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  2.970e+00  4.420e+00  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  1.539e+00  8.837e-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:  2.232e+00  5.261e-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.629e-01  5.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.97
Ra Dec: 133.707 20.116
Photon Index (Free Index): 1.54 +/- 0.88
Photon Flux (Free Index): 8.98e-08 +/- 1.56e-07
Energy Flux (Free Index): 1.59e-04 +/- 2.06e-04

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/853152/cmap_HighResolution_631238401_631497601_4FGL_J0854.8+2006_daily_bin1512.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.03e-07', energy_flux2='1.59e-04', photon_flux_error='1.71e-07', dlogl='3.94e-01', energy_flux='8.91e-05', photon_flux2='8.98e-08', job_status='DONE', time_completed='2021-08-30 16:38:23.961982', photon_index_error2='0.88', photon_index2='1.54', ts='7.20', fit_tolerance='1e-08', GAL='2.22', photon_index_error='0.00', energy_flux_error2='2.06e-04', EG='0.12', time_epoch_completed='1630366703.96', return_code='102', job_id='853152', GAL2='2.23', EG2='0.16', return_code2='0', energy_flux_error='7.52e-05', photon_flux_error2='1.56e-07', ts2='7.97', photon_index='2.16' WHERE bin_id='1512' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:38:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 853152: <4FGL_J0854.8+2006_daily_bin1512> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin1512> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Aug 30 16:25:42 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 16:25:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 16:25:44 2021
Terminated at Mon Aug 30 16:38:25 2021
Results reported at Mon Aug 30 16:38:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin1512 133.707 20.1159 631238401 631497601 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 :                                   491.38 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             214.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            763 sec.

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

