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


Performing analysis on: 4FGL_J0854.8+2006_daily_bin1597
RA = 133.707, Dec = 20.1159
tmin = 653270401, tmax = 653529601
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='542536', job_status='RUN', time_executed='2021-09-17 00:47:48.714779', time_epoch_executed='1631864868.71' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='1597'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542536

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542536/ft1_4FGL_J0854.8+2006_daily_bin1597.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542536/ft2_4FGL_J0854.8+2006_daily_bin1597.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542536/ft1_4FGL_J0854.8+2006_daily_bin1597.fits outfile=/scratch/kocevski/542536/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1597.fits ra=133.707 dec=20.1159 rad=12.0 tmin=653270401.0 tmax=653529601.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.32
user 3.09
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542536/ft1_filtered_4FGL_J0854.8+2006_daily_bin1597.fits" evtable="EVENTS" scfile=/scratch/kocevski/542536/ft2_4FGL_J0854.8+2006_daily_bin1597.fits sctable="SC_DATA" outfile=/scratch/kocevski/542536/ltcube_653270401_653529601_4FGL_J0854.8+2006_daily_bin1597.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/542536/ft2_4FGL_J0854.8+2006_daily_bin1597.fits
.....................!
real 13.04
user 12.70
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542536/ft1_filtered_4FGL_J0854.8+2006_daily_bin1597.fits evtable="EVENTS" scfile=/scratch/kocevski/542536/ft2_4FGL_J0854.8+2006_daily_bin1597.fits sctable="SC_DATA" expcube=/scratch/kocevski/542536/ltcube_653270401_653529601_4FGL_J0854.8+2006_daily_bin1597.fits outfile=/scratch/kocevski/542536/expmap_653270401_653529601_4FGL_J0854.8+2006_daily_bin1597.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/542536/ltcube_653270401_653529601_4FGL_J0854.8+2006_daily_bin1597.fits
.....................!
real 190.26
user 185.27
sys 4.37

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/542536/ft1_filtered_4FGL_J0854.8+2006_daily_bin1597.fits scfile=/scratch/kocevski/542536/ft2_4FGL_J0854.8+2006_daily_bin1597.fits outfile=/scratch/kocevski/542536/cmap_653270401_653529601_4FGL_J0854.8+2006_daily_bin1597.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542536/ft1_filtered_4FGL_J0854.8+2006_daily_bin1597.fits scfile=/scratch/kocevski/542536/ft2_4FGL_J0854.8+2006_daily_bin1597.fits outfile=/scratch/kocevski/542536/cmap_HighResolution_653270401_653529601_4FGL_J0854.8+2006_daily_bin1597.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8385       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.734       1.0000         .10000E-03   10000.    
     3 'norm      '    3.2252       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.2391       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.466       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7938       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.668       1.0000         .10000E-03   10000.    
    10 'norm      '    .88473       1.0000         .10000E-03   10000.    
    11 'norm      '    .10187E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10100E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.878       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3461       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .66794       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=   4173.392     FROM MIGRAD    STATUS=CONVERGED    294 CALLS     1705 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8342        39.821       -.69523E-06   -.68116E-05
   2  Prefactor     16.742        21.137        .64029E-06    .43613E-04
   3  norm          3.2250        1.5394       -.36585E-07    .24685E-04
   4  Prefactor     9.2409        9.9321       -.30092E-06   -.44922E-04
   5  Prefactor     .10000E-03    3.5378       -.72512E-07** at limit **
   6  Prefactor     12.446        33.854       -.37024E-05   -.60691E-04
   7  norm          1.7938        .88367       -.13479E-07    .16645E-04
   8  Prefactor     .10000E-03    5.5525       -.82096E-08** at limit **
   9  Prefactor     11.671        15.630       -.46361E-07    .77286E-05
  10  norm          .89006        12.302        .35525E-05   -.22473E-04
  11  norm          .10000E-03    48.303        .14197E-06** at limit **
  12  norm          .10000E-03    1.3379        .68621E-09** at limit **
  13  Prefactor     17.875        56.452       -.29609E-06   -.11745E-05
  14  Prefactor     .10000E-03    1.8251        .30216E-07** at limit **
  15  Normalizat    1.3460        .22529        .12791E-05   -.78481E-04
  16  Prefactor     .66799        .18159       -.14150E-05    .22018E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.83425
  Prefactor  = 16.742
  norm       = 3.22495
  Prefactor  = 9.24094
  Prefactor  = 0.0001
  Prefactor  = 12.4455
  norm       = 1.79384
  Prefactor  = 0.0001
  Prefactor  = 11.6707
  norm       = 0.890057
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 17.8754
  Prefactor  = 0.0001
  Normalizat = 1.34598
  Prefactor  = 0.667986
 **********
 **   18 **HESSE 
 **********

 FCN=   4173.392     FROM HESSE     STATUS=OK           207 CALLS     1912 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8342        39.929        .13482E-03   -1.5113    
   2  Prefactor     16.742        21.255        .97907E-04   -1.4889    
   3  norm          3.2250        1.5386        .50199E-04   -1.5349    
   4  Prefactor     9.2409        9.9527        .13185E-03   -1.5100    
   5  Prefactor     .10000E-03    3.5585        .11863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.446        34.834        .11345E-03   -1.5002    
   7  norm          1.7938        .88419        .40993E-04   -1.5440    
   8  Prefactor     .10000E-03    5.5584        .14867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.671        15.668        .11728E-03   -1.5025    
  10  norm          .89006        12.997        .44778E-03   -1.5519    
  11  norm          .10000E-03    48.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.3783        .14572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.875        56.471        .94725E-04   -1.4862    
  14  Prefactor     .10000E-03    1.8327        .85223E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.3460        .25874        .22633E-03   -.82204    
  16  Prefactor     .66799        .20765        .25653E-03   -1.0480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.24043e-11
Minuit parameter uncertainties:
  1  37.6044
  2  21.2641
  3  1.53859
  4  9.9545
  5  2.09036e-06
  6  34.8907
  7  0.884199
  8  9.63451e-07
  9  15.6738
  10  6.80377
  11  2.20898e-06
  12  1.33712e-06
  13  56.6407
  14  5.15554e-07
  15  0.258991
  16  0.207886
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.794e+00  8.842e-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:  6.680e-01  2.079e-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:  1.346e+00  2.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.42
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 8.47e-08 +/- 4.17e-08
Energy Flux (Fixed Index): 3.72e-05 +/- 1.83e-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) = 4172.23276749
delta logL = 1.15876540413

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4172.15193168
delta logL = 1.23960121978

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3528       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4926       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3852       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65576       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=   4172.152     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3501        .80139        .92007E-02   -.24780E-04
   2  alpha         1.4918        .32865        .20002       -.28369E-04
   3  Normalizat    1.3851        .21322        .50637E-01    .84606E-05
   4  Prefactor     .65583        .17719        .41809E-01    .16001E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.35011
  alpha      = 1.49178
  Normalizat = 1.3851
  Prefactor  = 0.65583
 **********
 **   18 **HESSE 
 **********

 FCN=   4172.152     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .77E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3501        .99357        .40355E-04   -1.5476    
   2  alpha         1.4918        .42258        .84584E-02   -.41511    
   3  Normalizat    1.3851        .24869        .22386E-03   -.81061    
   4  Prefactor     .65583        .20645        .25905E-03   -1.0528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.73234e-13
Minuit parameter uncertainties:
  1  0.993587
  2  0.42502
  3  0.248905
  4  0.206692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542536': 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) = 4172.15192808
delta logL = 1.23960481281

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.350e+00  9.936e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  1.492e+00  4.250e-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:  6.558e-01  2.067e-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:  1.385e+00  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.89
Ra Dec: 133.707 20.116
Photon Index (Free Index): 1.49 +/- 0.43
Photon Flux (Free Index): 4.03e-08 +/- 3.25e-08
Energy Flux (Free Index): 8.17e-05 +/- 6.99e-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/542536/cmap_HighResolution_653270401_653529601_4FGL_J0854.8+2006_daily_bin1597.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.47e-08', energy_flux2='8.17e-05', photon_flux_error='4.17e-08', dlogl='1.24e+00', energy_flux='3.72e-05', photon_flux2='4.03e-08', job_status='DONE', time_completed='2021-09-17 00:54:57.549607', photon_index_error2='0.43', photon_index2='1.49', ts='19.42', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='6.99e-05', EG='1.35', time_epoch_completed='1631865297.55', return_code='0', job_id='542536', GAL2='0.66', EG2='1.39', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='3.25e-08', ts2='21.89', photon_index='2.16' WHERE bin_id='1597' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 00:54:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 542536: <4FGL_J0854.8+2006_daily_bin1597> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin1597> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep 17 00:45:28 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 00:45:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 17 00:45:30 2021
Terminated at Fri Sep 17 00:54:58 2021
Results reported at Fri Sep 17 00:54:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin1597 133.707 20.1159 653270401 653529601 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 :                                   431.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            570 sec.

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

