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


Performing analysis on: 4FGL_J0854.8+2006_daily_bin789
RA = 133.707, Dec = 20.1159
tmin = 443836801, tmax = 444096001
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='848036', job_status='RUN', time_executed='2021-08-30 16:11:10.625581', time_epoch_executed='1630365070.63' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='789'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848036

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848036/ft1_4FGL_J0854.8+2006_daily_bin789.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848036/ft2_4FGL_J0854.8+2006_daily_bin789.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848036/ft1_4FGL_J0854.8+2006_daily_bin789.fits outfile=/scratch/kocevski/848036/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin789.fits ra=133.707 dec=20.1159 rad=12.0 tmin=443836801.0 tmax=444096001.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 4.13
user 3.25
sys 0.81

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/848036/ft1_filtered_4FGL_J0854.8+2006_daily_bin789.fits" evtable="EVENTS" scfile=/scratch/kocevski/848036/ft2_4FGL_J0854.8+2006_daily_bin789.fits sctable="SC_DATA" outfile=/scratch/kocevski/848036/ltcube_443836801_444096001_4FGL_J0854.8+2006_daily_bin789.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/848036/ft2_4FGL_J0854.8+2006_daily_bin789.fits
.....................!
real 12.50
user 11.39
sys 1.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848036/ft1_filtered_4FGL_J0854.8+2006_daily_bin789.fits evtable="EVENTS" scfile=/scratch/kocevski/848036/ft2_4FGL_J0854.8+2006_daily_bin789.fits sctable="SC_DATA" expcube=/scratch/kocevski/848036/ltcube_443836801_444096001_4FGL_J0854.8+2006_daily_bin789.fits outfile=/scratch/kocevski/848036/expmap_443836801_444096001_4FGL_J0854.8+2006_daily_bin789.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/848036/ltcube_443836801_444096001_4FGL_J0854.8+2006_daily_bin789.fits
.....................!
real 190.92
user 185.17
sys 5.30

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/848036/ft1_filtered_4FGL_J0854.8+2006_daily_bin789.fits scfile=/scratch/kocevski/848036/ft2_4FGL_J0854.8+2006_daily_bin789.fits outfile=/scratch/kocevski/848036/cmap_443836801_444096001_4FGL_J0854.8+2006_daily_bin789.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 1.15
user 0.36
sys 0.76

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/848036/ft1_filtered_4FGL_J0854.8+2006_daily_bin789.fits scfile=/scratch/kocevski/848036/ft2_4FGL_J0854.8+2006_daily_bin789.fits outfile=/scratch/kocevski/848036/cmap_HighResolution_443836801_444096001_4FGL_J0854.8+2006_daily_bin789.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 1.12
user 0.36
sys 0.75

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.973       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9528       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.8908       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5096       1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.263       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .85135       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11564E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.3277       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .75287       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1812       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=   5531.965     FROM MIGRAD    STATUS=CONVERGED    315 CALLS     1471 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.552       -.10620E-07** at limit **
   2  Prefactor     .10002E-03    12.457        .13557E-06** at limit **
   3  norm          .10000E-03    .55546       -.63111E-08** at limit **
   4  Prefactor     12.974        8.3699        .47549E-07   -.94653E-03
   5  Prefactor     4.9532        1.5866       -.30098E-06   -.59808E-03
   6  Prefactor     .10000E-03    18.867        .93380E-08** at limit **
   7  norm          1.8908        .79823        .22798E-08    .56769E-04
   8  Prefactor     7.5095        9.3072       -.11202E-07    .37533E-04
   9  Prefactor     27.262        18.747       -.47939E-08   -.61468E-04
  10  norm          .10000E-03    3.5109        .11633E-08** at limit **
  11  norm          .10002E-03    12.736       -.13775E-06** at limit **
  12  norm          .85178        1.6676       -.15379E-07   -.20818E-04
  13  Prefactor     .10000E-03    78.838       -.23511E-07** at limit **
  14  Prefactor     5.3268        4.6851       -.80278E-08   -.44716E-04
  15  Normalizat    .75283        .18779        .51435E-07    .15338E-04
  16  Prefactor     1.1812        .16396        .11362E-07    .29575E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  norm       = 0.0001
  Prefactor  = 12.9742
  Prefactor  = 4.95321
  Prefactor  = 0.0001
  norm       = 1.8908
  Prefactor  = 7.50951
  Prefactor  = 27.2619
  norm       = 0.0001
  norm       = 0.000100016
  norm       = 0.851779
  Prefactor  = 0.0001
  Prefactor  = 5.32678
  Normalizat = 0.752834
  Prefactor  = 1.18121
 **********
 **   18 **HESSE 
 **********

 FCN=   5531.965     FROM HESSE     STATUS=OK           203 CALLS     1674 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10002E-03    12.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.2709        .10571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.974        8.3497        .11121E-03   -1.4987    
   5  Prefactor     4.9532        6.8415        .90357E-03   -1.5263    
   6  Prefactor     .10000E-03    18.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.8908        .79483        .41109E-04   -1.5433    
   8  Prefactor     7.5095        9.3015        .14635E-03   -1.5160    
   9  Prefactor     27.262        18.816        .76725E-04   -1.4663    
  10  norm          .10000E-03    3.5168        .13611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10002E-03    12.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .85178        1.4141        .12795E-02   -1.5523    
  13  Prefactor     .10000E-03    79.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.3268        4.6538        .13945E-03   -1.5246    
  15  Normalizat    .75283        .22014        .27557E-03   -1.0184    
  16  Prefactor     1.1812        .19201        .20473E-03   -.86911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.78406e-09
Minuit parameter uncertainties:
  1  6.05011e-05
  2  0.000892312
  3  1.20094e-06
  4  8.35048
  5  6.84253
  6  5.98827e-05
  7  0.794834
  8  9.30328
  9  18.8205
  10  5.12836e-06
  11  0.000896374
  12  1.41415
  13  0.000331665
  14  4.6541
  15  0.220398
  16  0.192128
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.891e+00  7.948e-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.181e+00  1.921e-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.528e-01  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.62
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 8.92e-08 +/- 3.75e-08
Energy Flux (Fixed Index): 3.92e-05 +/- 1.65e-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) = 5531.92858635
delta logL = 0.0365871915319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5531.92781933
delta logL = 0.037354211122

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7993       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2520       1.0000          .0000       5.0000    
     3 'Normalizat'    .74674       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1851       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=   5531.928     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      227 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7993        15.093        .77915E-02    .18158E-03
   2  alpha         2.2521        3.5887        .20749        .32722E-04
   3  Normalizat    .74680        .12160        .62520E-01    .53867E-05
   4  Prefactor     1.1851        .11809        .34992E-01   -.50377E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.7993
  alpha      = 2.2521
  Normalizat = 0.746803
  Prefactor  = 1.18509
 **********
 **   18 **HESSE 
 **********

 FCN=   5531.928     FROM HESSE     STATUS=OK            31 CALLS      258 TOTAL
                     EDM=   .66E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7993        .84659        .39817E-04   -1.5440    
   2  alpha         2.2521        .36213        .87933E-02   -.99322E-01
   3  Normalizat    .74680        .20831        .27656E-03   -1.0207    
   4  Prefactor     1.1851        .19003        .20444E-03   -.86792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.62528e-12
Minuit parameter uncertainties:
  1  0.846599
  2  0.363426
  3  0.208533
  4  0.19014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848036': 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) = 5531.92781923
delta logL = 0.0373543106753

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.799e+00  8.466e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  2.252e+00  3.634e-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.185e+00  1.901e-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.468e-01  2.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.71
Ra Dec: 133.707 20.116
Photon Index (Free Index): 2.25 +/- 0.36
Photon Flux (Free Index): 9.39e-08 +/- 4.17e-08
Energy Flux (Free Index): 3.59e-05 +/- 1.90e-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/848036/cmap_HighResolution_443836801_444096001_4FGL_J0854.8+2006_daily_bin789.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.92e-08', energy_flux2='3.59e-05', photon_flux_error='3.75e-08', dlogl='3.74e-02', energy_flux='3.92e-05', photon_flux2='9.39e-08', job_status='DONE', time_completed='2021-08-30 16:19:06.564016', photon_index_error2='0.36', photon_index2='2.25', ts='12.62', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', energy_flux_error2='1.90e-05', EG='0.75', time_epoch_completed='1630365546.56', return_code='0', job_id='848036', GAL2='1.19', EG2='0.75', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='4.17e-08', ts2='12.71', photon_index='2.16' WHERE bin_id='789' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:19:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 848036: <4FGL_J0854.8+2006_daily_bin789> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin789> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Aug 30 16:10:42 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 16:10:46 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:10:46 2021
Terminated at Mon Aug 30 16:19:07 2021
Results reported at Mon Aug 30 16:19:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin789 133.707 20.1159 443836801 444096001 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 :                                   477.45 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             329.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   500 sec.
    Turnaround time :                            505 sec.

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

