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


Performing analysis on: 4FGL_J0854.8+2006_daily_bin23
RA = 133.707, Dec = 20.1159
tmin = 245289601, tmax = 245548801
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='841650', job_status='RUN', time_executed='2021-08-30 15:54:58.490171', time_epoch_executed='1630364098.49' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='23'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/841650

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/841650/ft1_4FGL_J0854.8+2006_daily_bin23.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/841650/ft2_4FGL_J0854.8+2006_daily_bin23.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/841650/ft1_4FGL_J0854.8+2006_daily_bin23.fits outfile=/scratch/kocevski/841650/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin23.fits ra=133.707 dec=20.1159 rad=12.0 tmin=245289601.0 tmax=245548801.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 3.39
user 1.27
sys 2.09

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/841650/ft2_4FGL_J0854.8+2006_daily_bin23.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/841650/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin23.fits evtable="EVENTS" outfile="/scratch/kocevski/841650/ft1_filtered_4FGL_J0854.8+2006_daily_bin23.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 2.79
user 0.32
sys 2.44

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/841650/ft1_filtered_4FGL_J0854.8+2006_daily_bin23.fits" evtable="EVENTS" scfile=/scratch/kocevski/841650/ft2_4FGL_J0854.8+2006_daily_bin23.fits sctable="SC_DATA" outfile=/scratch/kocevski/841650/ltcube_245289601_245548801_4FGL_J0854.8+2006_daily_bin23.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/841650/ft2_4FGL_J0854.8+2006_daily_bin23.fits
.....................!
real 14.60
user 12.05
sys 2.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/841650/ft1_filtered_4FGL_J0854.8+2006_daily_bin23.fits evtable="EVENTS" scfile=/scratch/kocevski/841650/ft2_4FGL_J0854.8+2006_daily_bin23.fits sctable="SC_DATA" expcube=/scratch/kocevski/841650/ltcube_245289601_245548801_4FGL_J0854.8+2006_daily_bin23.fits outfile=/scratch/kocevski/841650/expmap_245289601_245548801_4FGL_J0854.8+2006_daily_bin23.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/841650/ltcube_245289601_245548801_4FGL_J0854.8+2006_daily_bin23.fits
.....................!
real 193.55
user 184.48
sys 8.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/841650/ft1_filtered_4FGL_J0854.8+2006_daily_bin23.fits scfile=/scratch/kocevski/841650/ft2_4FGL_J0854.8+2006_daily_bin23.fits outfile=/scratch/kocevski/841650/cmap_245289601_245548801_4FGL_J0854.8+2006_daily_bin23.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 2.40
user 0.36
sys 2.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/841650/ft1_filtered_4FGL_J0854.8+2006_daily_bin23.fits scfile=/scratch/kocevski/841650/ft2_4FGL_J0854.8+2006_daily_bin23.fits outfile=/scratch/kocevski/841650/cmap_HighResolution_245289601_245548801_4FGL_J0854.8+2006_daily_bin23.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 2.42
user 0.36
sys 2.04

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9465       1.0000         .10000E-03   10000.    
     3 'norm      '    .74645       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.071       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .32118E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2367       1.0000         .10000E-03   10000.    
     7 'norm      '    .75390       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.227       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.2745       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    27.618       1.0000         .10000E-03   10000.    
    12 'norm      '    .24852       1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.103       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .94431       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .98602       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=   4767.110     FROM MIGRAD    STATUS=CONVERGED    292 CALLS     1475 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.708       -.91912E-06** at limit **
   2  Prefactor     1.9669        27.653        .27963E-04   -.11028E-03
   3  norm          .74634        .84152       -.67209E-06   -.22405E-02
   4  Prefactor     10.069        7.8688       -.15334E-05   -.18657E-03
   5  Prefactor     .10005E-03    5.5469        .16170E-05** at limit **
   6  Prefactor     4.2278        59.177       -.33633E-04   -.28237E-04
   7  norm          .75380        .51171       -.59183E-09    .25871E-04
   8  Prefactor     12.226        11.288        .18768E-06   -.16296E-04
   9  Prefactor     3.2757        12.950        .64904E-06   -.93913E-04
  10  norm          .10000E-03    2.2923       -.29809E-07** at limit **
  11  norm          27.617        31.682       -.18061E-05    .29602E-05
  12  norm          .24866        .94646       -.54324E-06   -.98625E-03
  13  Prefactor     36.091        47.031       -.17519E-04    .35915E-05
  14  Prefactor     .10000E-03    2.1481        .67655E-07** at limit **
  15  Normalizat    .94415        .18491        .15828E-05   -.16260E-03
  16  Prefactor     .98610        .16207        .51744E-06   -.13529E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.9669
  norm       = 0.74634
  Prefactor  = 10.0695
  Prefactor  = 0.000100054
  Prefactor  = 4.2278
  norm       = 0.753802
  Prefactor  = 12.2263
  Prefactor  = 3.27573
  norm       = 0.0001
  norm       = 27.6168
  norm       = 0.248655
  Prefactor  = 36.0913
  Prefactor  = 0.0001
  Normalizat = 0.944147
  Prefactor  = 0.986095
 **********
 **   18 **HESSE 
 **********

 FCN=   4767.110     FROM HESSE     STATUS=OK           213 CALLS     1688 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9669        26.461        .29750E-03   -1.5427    
   3  norm          .74634        .80271        .63537E-03   -1.5535    
   4  Prefactor     10.069        7.8518        .12626E-03   -1.5073    
   5  Prefactor     .10005E-03    26.137        .31286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.2278        59.754        .19576E-03   -1.5297    
   7  norm          .75380        .51629        .39211E-04   -1.5534    
   8  Prefactor     12.226        11.277        .11456E-03   -1.5009    
   9  Prefactor     3.2757        12.916        .22378E-03   -1.5346    
  10  norm          .10000E-03    2.2929        .10209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          27.617        31.683        .76232E-04   -1.4656    
  12  norm          .24866        1.1286        .12779E-02   -1.5608    
  13  Prefactor     36.091        47.022        .66698E-04   -1.4506    
  14  Prefactor     .10000E-03    2.1818        .98752E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .94415        .21562        .24208E-03   -.94926    
  16  Prefactor     .98610        .18981        .21199E-03   -.93194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75595e-09
Minuit parameter uncertainties:
  1  3.34953e-05
  2  14.4362
  3  0.80272
  4  7.8526
  5  0.0023708
  6  31.8267
  7  0.516289
  8  11.2793
  9  12.927
  10  2.12472e-07
  11  31.702
  12  1.05933
  13  47.0701
  14  5.47035e-06
  15  0.215821
  16  0.189937
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  7.538e-01  5.163e-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:  9.861e-01  1.899e-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.441e-01  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.75
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 3.56e-08 +/- 2.44e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 1.07e-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) = 4766.07305226
delta logL = 1.03674782667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4766.0688333
delta logL = 1.04096678106

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .48697       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2946       1.0000          .0000       5.0000    
     3 'Normalizat'    .96669       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97601       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=   4766.069     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      208 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48697        .36988        .77266E-02   -.26661E-02
   2  alpha         1.2946        .38549        .27021       -.43167E-04
   3  Normalizat    .96669        .17965        .45748E-01    .25582E-04
   4  Prefactor     .97602        .16112        .45967E-01   -.96583E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.486973
  alpha      = 1.29461
  Normalizat = 0.966692
  Prefactor  = 0.97602
 **********
 **   18 **HESSE 
 **********

 FCN=   4766.069     FROM HESSE     STATUS=OK            35 CALLS      243 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48697        .48074        .33176E-03   -1.5568    
   2  alpha         1.2946        .52357        .11077E-01   -.50311    
   3  Normalizat    .96669        .21053        .23968E-03   -.94155    
   4  Prefactor     .97602        .18882        .21301E-03   -.93533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49854e-10
Minuit parameter uncertainties:
  1  0.480743
  2  0.528685
  3  0.210711
  4  0.188952
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/841650': 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) = 4766.0688333
delta logL = 1.04096678438

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  4.870e-01  4.807e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  1.295e+00  5.287e-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:  9.760e-01  1.890e-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.667e-01  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.84
Ra Dec: 133.707 20.116
Photon Index (Free Index): 1.29 +/- 0.53
Photon Flux (Free Index): 1.44e-08 +/- 1.33e-08
Energy Flux (Free Index): 5.23e-05 +/- 6.44e-05

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/841650/cmap_HighResolution_245289601_245548801_4FGL_J0854.8+2006_daily_bin23.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.56e-08', energy_flux2='5.23e-05', photon_flux_error='2.44e-08', dlogl='1.04e+00', energy_flux='1.56e-05', photon_flux2='1.44e-08', job_status='DONE', time_completed='2021-08-30 16:02:36.879455', photon_index_error2='0.53', photon_index2='1.29', ts='7.75', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='6.44e-05', EG='0.94', time_epoch_completed='1630364556.88', return_code='0', job_id='841650', GAL2='0.98', EG2='0.97', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='1.33e-08', ts2='9.84', photon_index='2.16' WHERE bin_id='23' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:02:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 841650: <4FGL_J0854.8+2006_daily_bin23> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin23> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 30 15:51:04 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 15:51:05 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:05 2021
Terminated at Mon Aug 30 16:02:37 2021
Results reported at Mon Aug 30 16:02:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin23 133.707 20.1159 245289601 245548801 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 :                                   487.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            693 sec.

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

