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


Performing analysis on: 4FGL_J0854.8+2006_daily_bin1489
RA = 133.707, Dec = 20.1159
tmin = 625276801, tmax = 625536001
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='853117', job_status='RUN', time_executed='2021-08-30 16:29:42.406351', time_epoch_executed='1630366182.41' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='1489'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853117

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853117/ft1_4FGL_J0854.8+2006_daily_bin1489.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853117/ft2_4FGL_J0854.8+2006_daily_bin1489.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853117/ft1_4FGL_J0854.8+2006_daily_bin1489.fits outfile=/scratch/kocevski/853117/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1489.fits ra=133.707 dec=20.1159 rad=12.0 tmin=625276801.0 tmax=625536001.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.70
user 3.30
sys 0.37

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853117/ft1_filtered_4FGL_J0854.8+2006_daily_bin1489.fits" evtable="EVENTS" scfile=/scratch/kocevski/853117/ft2_4FGL_J0854.8+2006_daily_bin1489.fits sctable="SC_DATA" outfile=/scratch/kocevski/853117/ltcube_625276801_625536001_4FGL_J0854.8+2006_daily_bin1489.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/853117/ft2_4FGL_J0854.8+2006_daily_bin1489.fits
.....................!
real 12.01
user 11.44
sys 0.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853117/ft1_filtered_4FGL_J0854.8+2006_daily_bin1489.fits evtable="EVENTS" scfile=/scratch/kocevski/853117/ft2_4FGL_J0854.8+2006_daily_bin1489.fits sctable="SC_DATA" expcube=/scratch/kocevski/853117/ltcube_625276801_625536001_4FGL_J0854.8+2006_daily_bin1489.fits outfile=/scratch/kocevski/853117/expmap_625276801_625536001_4FGL_J0854.8+2006_daily_bin1489.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/853117/ltcube_625276801_625536001_4FGL_J0854.8+2006_daily_bin1489.fits
.....................!
real 190.62
user 185.19
sys 5.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/853117/ft1_filtered_4FGL_J0854.8+2006_daily_bin1489.fits scfile=/scratch/kocevski/853117/ft2_4FGL_J0854.8+2006_daily_bin1489.fits outfile=/scratch/kocevski/853117/cmap_625276801_625536001_4FGL_J0854.8+2006_daily_bin1489.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 0.76
user 0.37
sys 0.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853117/ft1_filtered_4FGL_J0854.8+2006_daily_bin1489.fits scfile=/scratch/kocevski/853117/ft2_4FGL_J0854.8+2006_daily_bin1489.fits outfile=/scratch/kocevski/853117/cmap_HighResolution_625276801_625536001_4FGL_J0854.8+2006_daily_bin1489.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 0.74
user 0.37
sys 0.34

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.0473       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.1134       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.6789       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.757       1.0000         .10000E-03   10000.    
     7 'norm      '    .26894       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8504       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.1755       1.0000         .10000E-03   10000.    
    11 'norm      '    .25895E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .70517       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .69879       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1787       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=   5814.503     FROM MIGRAD    STATUS=CONVERGED    301 CALLS     1459 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.990        .34799E-07** at limit **
   2  Prefactor     .10000E-03    8.0450       -.16949E-06** at limit **
   3  norm          1.0480        1.1320        .47931E-08   -.34722E-04
   4  Prefactor     2.1138        9.6019        .41980E-06   -.35164E-04
   5  Prefactor     5.6807        6.7379       -.40727E-06   -.54704E-04
   6  Prefactor     19.769        33.898        .14793E-04    .36953E-04
   7  norm          .26889        .27398       -.15431E-07    .14246E-03
   8  Prefactor     1.8487        1.8886        .39257E-06   -.18976E-02
   9  Prefactor     .10000E-03    17.841       -.20746E-06** at limit **
  10  norm          7.1762        6.9391       -.10045E-06   -.39835E-05
  11  norm          .10000E-03    81.311       -.23233E-04** at limit **
  12  norm          .70538        1.5136       -.18831E-08   -.54455E-04
  13  Prefactor     .10000E-03    42.813        .17104E-05** at limit **
  14  Prefactor     .10000E-03    1.1620        .60712E-07** at limit **
  15  Normalizat    .69869        .16667       -.19405E-05    .10880E-03
  16  Prefactor     1.1786        .14786        .36781E-06    .77561E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.04796
  Prefactor  = 2.1138
  Prefactor  = 5.68066
  Prefactor  = 19.7685
  norm       = 0.26889
  Prefactor  = 1.8487
  Prefactor  = 0.0001
  norm       = 7.17622
  norm       = 0.0001
  norm       = 0.705382
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.698686
  Prefactor  = 1.17861
 **********
 **   18 **HESSE 
 **********

 FCN=   5814.503     FROM HESSE     STATUS=OK           207 CALLS     1666 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.0545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0480        1.0730        .75580E-03   -1.5503    
   4  Prefactor     2.1138        9.1342        .28376E-03   -1.5417    
   5  Prefactor     5.6807        6.7111        .16856E-03   -1.5231    
   6  Prefactor     19.769        33.920        .90109E-04   -1.4818    
   7  norm          .26889        .27769        .39175E-04   -1.5604    
   8  Prefactor     1.8487        5.7684        .15325E-02   -1.5436    
   9  Prefactor     .10000E-03    18.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.1762        6.9404        .14975E-03   -1.5172    
  11  norm          .10000E-03    81.953        .21451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .70538        1.3284        .13270E-02   -1.5540    
  13  Prefactor     .10000E-03    43.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.1782        .80226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .69869        .18775        .26562E-03   -1.0394    
  16  Prefactor     1.1786        .16836        .19309E-03   -.86992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1402e-08
Minuit parameter uncertainties:
  1  5.56048e-06
  2  6.47239e-06
  3  1.07302
  4  8.79021
  5  6.71204
  6  33.9527
  7  0.277692
  8  5.77011
  9  6.42891e-05
  10  6.94118
  11  0.000289698
  12  1.32846
  13  7.463e-05
  14  2.52793e-06
  15  0.187919
  16  0.168438
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  2.689e-01  2.777e-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.179e+00  1.684e-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:  6.987e-01  1.879e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.63
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.27e-08 +/- 1.31e-08
Energy Flux (Fixed Index): 5.58e-06 +/- 5.76e-06

TS (Fixed Index): 3.63
Ra Dec: 133.707 20.116
Photon Flux Upper Limit: 5.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/853117/likelihoodResults_625276801_625536001_4FGL_J0854.8+2006_daily_bin1489.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) = 5813.78581403
delta logL = 0.717396493337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5813.76769934
delta logL = 0.735511183019

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19588       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2710       1.0000          .0000       5.0000    
     3 'Normalizat'    .70627       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1750       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=   5813.768     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      205 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19592        .18862        .75913E-02    .30638E-03
   2  alpha         1.2710        .44648        .39304       -.22331E-04
   3  Normalizat    .70611        .15882        .42374E-01   -.66631E-04
   4  Prefactor     1.1751        .14711        .35251E-01    .25912E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.195916
  alpha      = 1.27099
  Normalizat = 0.706109
  Prefactor  = 1.17509
 **********
 **   18 **HESSE 
 **********

 FCN=   5813.768     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19592        .25364        .31229E-03   -1.5619    
   2  alpha         1.2710        .63733        .15136E-01   -.51393    
   3  Normalizat    .70611        .18040        .26431E-03   -1.0365    
   4  Prefactor     1.1751        .16723        .19331E-03   -.87101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.07136e-10
Minuit parameter uncertainties:
  1  0.253642
  2  0.646803
  3  0.180557
  4  0.167302
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853117': 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) = 5813.76769892
delta logL = 0.735511601868

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.959e-01  2.536e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  1.271e+00  6.468e-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.175e+00  1.673e-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:  7.061e-01  1.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.10
Ra Dec: 133.707 20.116
Photon Index (Free Index): 1.27 +/- 0.65
Photon Flux (Free Index): 5.83e-09 +/- 7.02e-09
Energy Flux (Free Index): 2.27e-05 +/- 3.69e-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/853117/cmap_HighResolution_625276801_625536001_4FGL_J0854.8+2006_daily_bin1489.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.43e-05', comment='SUCCESS', photon_flux='1.27e-08', energy_flux2='2.27e-05', photon_flux_error='1.31e-08', dlogl='7.36e-01', energy_flux='5.58e-06', photon_flux2='5.83e-09', job_status='DONE', time_completed='2021-08-30 16:38:08.027260', photon_index_error2='0.65', photon_index2='1.27', ts='3.63', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='5.54e-08', energy_flux_error2='3.69e-05', EG='0.70', time_epoch_completed='1630366688.03', return_code='0', job_id='853117', GAL2='1.18', EG2='0.71', return_code2='0', energy_flux_error='5.76e-06', photon_flux_error2='7.02e-09', ts2='5.10', photon_index='2.16' WHERE bin_id='1489' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:38:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 853117: <4FGL_J0854.8+2006_daily_bin1489> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin1489> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Aug 30 16:25:39 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 16:25:41 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:41 2021
Terminated at Mon Aug 30 16:38:08 2021
Results reported at Mon Aug 30 16:38:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin1489 133.707 20.1159 625276801 625536001 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 :                                   496.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            749 sec.

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

