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


Performing analysis on: 4FGL_J0854.8+2006_daily_bin20
RA = 133.707, Dec = 20.1159
tmin = 244512001, tmax = 244771201
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='841642', job_status='RUN', time_executed='2021-08-30 15:53:41.392056', time_epoch_executed='1630364021.39' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='20'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/841642

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/841642/ft1_4FGL_J0854.8+2006_daily_bin20.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/841642/ft2_4FGL_J0854.8+2006_daily_bin20.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/841642/ft1_4FGL_J0854.8+2006_daily_bin20.fits outfile=/scratch/kocevski/841642/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin20.fits ra=133.707 dec=20.1159 rad=12.0 tmin=244512001.0 tmax=244771201.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 1.64
user 1.25
sys 0.36

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/841642/ft2_4FGL_J0854.8+2006_daily_bin20.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/841642/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin20.fits evtable="EVENTS" outfile="/scratch/kocevski/841642/ft1_filtered_4FGL_J0854.8+2006_daily_bin20.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.69
user 0.34
sys 0.34

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/841642/ft1_filtered_4FGL_J0854.8+2006_daily_bin20.fits" evtable="EVENTS" scfile=/scratch/kocevski/841642/ft2_4FGL_J0854.8+2006_daily_bin20.fits sctable="SC_DATA" outfile=/scratch/kocevski/841642/ltcube_244512001_244771201_4FGL_J0854.8+2006_daily_bin20.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/841642/ft2_4FGL_J0854.8+2006_daily_bin20.fits
.....................!
real 12.99
user 12.37
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/841642/ft1_filtered_4FGL_J0854.8+2006_daily_bin20.fits evtable="EVENTS" scfile=/scratch/kocevski/841642/ft2_4FGL_J0854.8+2006_daily_bin20.fits sctable="SC_DATA" expcube=/scratch/kocevski/841642/ltcube_244512001_244771201_4FGL_J0854.8+2006_daily_bin20.fits outfile=/scratch/kocevski/841642/expmap_244512001_244771201_4FGL_J0854.8+2006_daily_bin20.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/841642/ltcube_244512001_244771201_4FGL_J0854.8+2006_daily_bin20.fits
.....................!
real 192.23
user 186.89
sys 4.75

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/841642/ft1_filtered_4FGL_J0854.8+2006_daily_bin20.fits scfile=/scratch/kocevski/841642/ft2_4FGL_J0854.8+2006_daily_bin20.fits outfile=/scratch/kocevski/841642/cmap_244512001_244771201_4FGL_J0854.8+2006_daily_bin20.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.71
user 0.36
sys 0.33

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/841642/ft1_filtered_4FGL_J0854.8+2006_daily_bin20.fits scfile=/scratch/kocevski/841642/ft2_4FGL_J0854.8+2006_daily_bin20.fits outfile=/scratch/kocevski/841642/cmap_HighResolution_244512001_244771201_4FGL_J0854.8+2006_daily_bin20.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.72
user 0.37
sys 0.33

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.757       1.0000         .10000E-03   10000.    
     3 'norm      '    .21407       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1305       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10695E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.5364       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5769       1.0000         .10000E-03   10000.    
    10 'norm      '    .16888E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.3145       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.9737       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .94354       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1741       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=   6532.339     FROM MIGRAD    STATUS=CONVERGED    313 CALLS     1282 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.502        .65838E-05** at limit **
   2  Prefactor     17.703        20.532       -.20915E-04   -.38470E-03
   3  norm          .21726        1.0162        .27441E-05   -.67501E-04
   4  Prefactor     4.1251        7.6563       -.47097E-06   -.47294E-03
   5  Prefactor     .10000E-03    2.1558       -.57848E-07** at limit **
   6  Prefactor     .10000E-03    46.296        .12742E-04** at limit **
   7  norm          3.5363        .93800       -.37383E-07   -.22011E-03
   8  Prefactor     .10000E-03    3.9107        .35910E-07** at limit **
   9  Prefactor     4.5795        14.756       -.19007E-05   -.82955E-04
  10  norm          .10000E-03    3.2773       -.36646E-07** at limit **
  11  norm          .10000E-03    19.921       -.61054E-05** at limit **
  12  norm          1.3163        1.9816       -.14015E-06   -.65697E-03
  13  Prefactor     .10000E-03    12.868       -.33097E-05** at limit **
  14  Prefactor     2.9715        4.4313       -.10200E-05   -.62906E-03
  15  Normalizat    .94333        .18807        .22988E-05   -.34437E-03
  16  Prefactor     1.1743        .16072        .20839E-06   -.25138E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 17.7034
  norm       = 0.217255
  Prefactor  = 4.12507
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.53634
  Prefactor  = 0.0001
  Prefactor  = 4.57954
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.31629
  Prefactor  = 0.0001
  Prefactor  = 2.97151
  Normalizat = 0.943332
  Prefactor  = 1.1743
 **********
 **   18 **HESSE 
 **********

 FCN=   6532.339     FROM HESSE     STATUS=OK           199 CALLS     1481 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.703        20.064        .95046E-04   -1.4866    
   3  norm          .21726        .92234        .13995E-03   -1.5615    
   4  Prefactor     4.1251        7.6046        .19834E-03   -1.5302    
   5  Prefactor     .10000E-03    2.1620        .11587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    46.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.5363        .93832        .38648E-04   -1.5332    
   8  Prefactor     .10000E-03    3.9172        .15608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.5795        14.759        .18816E-03   -1.5280    
  10  norm          .10000E-03    7.1502        .28533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    19.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3163        1.9333        .13100E-03   -1.5479    
  13  Prefactor     .10000E-03    12.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.9715        4.4074        .19119E-03   -1.5363    
  15  Normalizat    .94333        .21754        .26907E-03   -.94954    
  16  Prefactor     1.1743        .18628        .21717E-03   -.87126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18675e-10
Minuit parameter uncertainties:
  1  3.88057e-05
  2  20.0721
  3  0.895099
  4  7.60635
  5  2.61669e-06
  6  0.000255528
  7  0.938322
  8  2.64025e-06
  9  14.7711
  10  4.55117e-05
  11  6.29237e-06
  12  1.93341
  13  2.80717e-06
  14  4.40786
  15  0.21774
  16  0.18638
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  3.536e+00  9.383e-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.174e+00  1.864e-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.433e-01  2.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 49.91
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.67e-07 +/- 4.43e-08
Energy Flux (Fixed Index): 7.34e-05 +/- 1.95e-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) = 6531.99268338
delta logL = 0.346376311265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6531.99240904
delta logL = 0.346650643861

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6598       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9593       1.0000          .0000       5.0000    
     3 'Normalizat'    .96880       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1613       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=   6531.992     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      194 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6598        1.1187        .52787E-02    .94337E-03
   2  alpha         1.9593        .25269        .16725       -.84275E-05
   3  Normalizat    .96880        .18087        .45775E-01    .37085E-05
   4  Prefactor     1.1613        .16003        .35618E-01    .18294E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.65981
  alpha      = 1.95933
  Normalizat = 0.968804
  Prefactor  = 1.16127
 **********
 **   18 **HESSE 
 **********

 FCN=   6531.992     FROM HESSE     STATUS=OK            31 CALLS      225 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6598        .99674        .40545E-04   -1.5325    
   2  alpha         1.9593        .23257        .71486E-02   -.21799    
   3  Normalizat    .96880        .20946        .26609E-03   -.94083    
   4  Prefactor     1.1613        .18515        .21828E-03   -.87532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77173e-11
Minuit parameter uncertainties:
  1  0.996742
  2  0.23292
  3  0.209641
  4  0.18525
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/841642': 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) = 6531.99240904
delta logL = 0.34665064647

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  3.660e+00  9.967e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  1.959e+00  2.329e-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.161e+00  1.853e-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.688e-01  2.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 50.58
Ra Dec: 133.707 20.116
Photon Index (Free Index): 1.96 +/- 0.23
Photon Flux (Free Index): 1.44e-07 +/- 4.81e-08
Energy Flux (Free Index): 8.97e-05 +/- 3.47e-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/841642/cmap_HighResolution_244512001_244771201_4FGL_J0854.8+2006_daily_bin20.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.67e-07', energy_flux2='8.97e-05', photon_flux_error='4.43e-08', dlogl='3.47e-01', energy_flux='7.34e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2021-08-30 16:01:33.038027', photon_index_error2='0.23', photon_index2='1.96', ts='49.91', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='3.47e-05', EG='0.94', time_epoch_completed='1630364493.04', return_code='0', job_id='841642', GAL2='1.16', EG2='0.97', return_code2='0', energy_flux_error='1.95e-05', photon_flux_error2='4.81e-08', ts2='50.58', photon_index='2.16' WHERE bin_id='20' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:01:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 841642: <4FGL_J0854.8+2006_daily_bin20> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin20 133.707 20.1159 244512001 244771201 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 :                                   470.66 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            630 sec.

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

