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


Performing analysis on: 4FGL_J0854.8+2006_daily_bin760
RA = 133.707, Dec = 20.1159
tmin = 436320001, tmax = 436579201
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='847992', job_status='RUN', time_executed='2021-08-30 16:11:00.475047', time_epoch_executed='1630365060.48' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847992

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847992/ft1_4FGL_J0854.8+2006_daily_bin760.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847992/ft2_4FGL_J0854.8+2006_daily_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847992/ft1_4FGL_J0854.8+2006_daily_bin760.fits outfile=/scratch/kocevski/847992/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin760.fits ra=133.707 dec=20.1159 rad=12.0 tmin=436320001.0 tmax=436579201.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 5.45
user 4.95
sys 0.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847992/ft2_4FGL_J0854.8+2006_daily_bin760.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/847992/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/847992/ft1_filtered_4FGL_J0854.8+2006_daily_bin760.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.72
user 0.31
sys 0.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847992/ft1_filtered_4FGL_J0854.8+2006_daily_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/847992/ft2_4FGL_J0854.8+2006_daily_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/847992/ltcube_436320001_436579201_4FGL_J0854.8+2006_daily_bin760.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/847992/ft2_4FGL_J0854.8+2006_daily_bin760.fits
.....................!
real 12.68
user 11.97
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847992/ft1_filtered_4FGL_J0854.8+2006_daily_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/847992/ft2_4FGL_J0854.8+2006_daily_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/847992/ltcube_436320001_436579201_4FGL_J0854.8+2006_daily_bin760.fits outfile=/scratch/kocevski/847992/expmap_436320001_436579201_4FGL_J0854.8+2006_daily_bin760.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/847992/ltcube_436320001_436579201_4FGL_J0854.8+2006_daily_bin760.fits
.....................!
real 193.28
user 187.68
sys 5.08

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/847992/ft1_filtered_4FGL_J0854.8+2006_daily_bin760.fits scfile=/scratch/kocevski/847992/ft2_4FGL_J0854.8+2006_daily_bin760.fits outfile=/scratch/kocevski/847992/cmap_436320001_436579201_4FGL_J0854.8+2006_daily_bin760.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.79
user 0.38
sys 0.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847992/ft1_filtered_4FGL_J0854.8+2006_daily_bin760.fits scfile=/scratch/kocevski/847992/ft2_4FGL_J0854.8+2006_daily_bin760.fits outfile=/scratch/kocevski/847992/cmap_HighResolution_436320001_436579201_4FGL_J0854.8+2006_daily_bin760.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.78
user 0.38
sys 0.39

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    13.839       1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.6145       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.4068       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.3907       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.318       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .14023       1.0000         .10000E-03   10000.    
    13 'Prefactor '    63.191       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.1551       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .86037       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .97367       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=   5544.077     FROM MIGRAD    STATUS=CONVERGED    305 CALLS     1451 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.390       -.88750E-07** at limit **
   2  Prefactor     13.841        15.968        .16080E-06    .31052E-04
   3  norm          .10000E-03    .40068       -.16315E-06** at limit **
   4  Prefactor     4.6162        9.2289        .28710E-05   -.14169E-03
   5  Prefactor     7.4067        5.4171        .15439E-06   -.60578E-04
   6  Prefactor     .10000E-03    35.227        .18416E-05** at limit **
   7  norm          1.3906        .74980       -.60056E-07   -.28740E-03
   8  Prefactor     .10000E-03    5.0545       -.28284E-06** at limit **
   9  Prefactor     19.317        17.730       -.13674E-06   -.53361E-04
  10  norm          .10000E-03    5.5707        .73321E-07** at limit **
  11  norm          .10000E-03    47.096       -.18947E-05** at limit **
  12  norm          .13313        1.6156        .89062E-06   -.12567E-02
  13  Prefactor     63.183        46.493       -.79402E-05    .37053E-06
  14  Prefactor     4.1558        4.8492       -.32643E-05   -.67905E-03
  15  Normalizat    .86015        .18234        .66604E-06   -.49018E-04
  16  Prefactor     .97383        .15099        .16900E-06   -.24805E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.8408
  norm       = 0.0001
  Prefactor  = 4.61619
  Prefactor  = 7.40669
  Prefactor  = 0.0001
  norm       = 1.39059
  Prefactor  = 0.0001
  Prefactor  = 19.3171
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.133128
  Prefactor  = 63.1825
  Prefactor  = 4.15584
  Normalizat = 0.860148
  Prefactor  = 0.973826
 **********
 **   18 **HESSE 
 **********

 FCN=   5544.077     FROM HESSE     STATUS=OK           209 CALLS     1660 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.841        15.788        .10767E-03   -1.4964    
   3  norm          .10000E-03    .69047        .89998E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.6162        9.0730        .18737E-03   -1.5278    
   5  Prefactor     7.4067        5.4124        .14314E-03   -1.5164    
   6  Prefactor     .10000E-03    35.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3906        .74352        .45279E-04   -1.5472    
   8  Prefactor     .10000E-03    5.0611        .16345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.317        17.767        .91126E-04   -1.4829    
  10  norm          .10000E-03    5.6089        .17162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    47.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .13313        3.8199        .17424E-02   -1.5635    
  13  Prefactor     63.183        46.110        .25240E-03   -1.4117    
  14  Prefactor     4.1558        4.8499        .16571E-03   -1.5300    
  15  Normalizat    .86015        .21657        .25670E-03   -.97875    
  16  Prefactor     .97383        .17957        .20823E-03   -.93607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82935e-09
Minuit parameter uncertainties:
  1  2.36957e-06
  2  15.7928
  3  1.25813e-05
  4  9.07569
  5  5.41281
  6  4.9225e-05
  7  0.743522
  8  1.58872e-06
  9  17.7717
  10  3.79864e-06
  11  0.000123334
  12  1.42579
  13  46.1364
  14  4.85037
  15  0.216786
  16  0.17968
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.391e+00  7.435e-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.738e-01  1.797e-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:  8.601e-01  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.56
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 6.56e-08 +/- 3.51e-08
Energy Flux (Fixed Index): 2.88e-05 +/- 1.54e-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) = 5544.04381986
delta logL = 0.03362219668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5544.04262279
delta logL = 0.03481926721

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3677       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2791       1.0000          .0000       5.0000    
     3 'Normalizat'    .85107       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97846       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=   5544.043     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      195 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3677        15.691        .93244E-02    .90818E-04
   2  alpha         2.2791        3.3904        .29600        .28458E-04
   3  Normalizat    .85104        .10122        .44273E-01   -.38547E-04
   4  Prefactor     .97848        .80381E-01    .45997E-01    .95392E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.36772
  alpha      = 2.27914
  Normalizat = 0.851044
  Prefactor  = 0.978478
 **********
 **   18 **HESSE 
 **********

 FCN=   5544.043     FROM HESSE     STATUS=OK            31 CALLS      226 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3677        .73590        .43803E-04   -1.5474    
   2  alpha         2.2791        .47260        .11711E-01   -.88459E-01
   3  Normalizat    .85104        .21084        .25788E-03   -.98202    
   4  Prefactor     .97848        .17958        .20778E-03   -.93450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05534e-10
Minuit parameter uncertainties:
  1  0.7359
  2  0.475483
  3  0.211046
  4  0.179694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847992': 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) = 5544.04262278
delta logL = 0.03481927539

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.368e+00  7.359e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  2.279e+00  4.755e-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.785e-01  1.797e-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:  8.510e-01  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.62
Ra Dec: 133.707 20.116
Photon Index (Free Index): 2.28 +/- 0.48
Photon Flux (Free Index): 7.35e-08 +/- 4.77e-08
Energy Flux (Free Index): 2.71e-05 +/- 1.55e-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/847992/cmap_HighResolution_436320001_436579201_4FGL_J0854.8+2006_daily_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.56e-08', energy_flux2='2.71e-05', photon_flux_error='3.51e-08', dlogl='3.48e-02', energy_flux='2.88e-05', photon_flux2='7.35e-08', job_status='DONE', time_completed='2021-08-30 16:18:51.545432', photon_index_error2='0.48', photon_index2='2.28', ts='7.56', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.86', time_epoch_completed='1630365531.55', return_code='0', job_id='847992', GAL2='0.98', EG2='0.85', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='4.77e-08', ts2='7.62', photon_index='2.16' WHERE bin_id='760' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:18:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 847992: <4FGL_J0854.8+2006_daily_bin760> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin760 133.707 20.1159 436320001 436579201 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.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   489 sec.
    Turnaround time :                            493 sec.

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

