/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 97 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 = 7544
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0854.8+2006_daily_bin1510
RA = 133.707, Dec = 20.1159
tmin = 630720001, tmax = 630979201
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='853149', job_status='RUN', time_executed='2021-08-30 16:28:28.464614', time_epoch_executed='1630366108.46' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='1510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853149

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853149/ft1_4FGL_J0854.8+2006_daily_bin1510.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853149/ft2_4FGL_J0854.8+2006_daily_bin1510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853149/ft1_4FGL_J0854.8+2006_daily_bin1510.fits outfile=/scratch/kocevski/853149/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1510.fits ra=133.707 dec=20.1159 rad=12.0 tmin=630720001.0 tmax=630979201.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.57
user 2.70
sys 1.02

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853149/ft1_filtered_4FGL_J0854.8+2006_daily_bin1510.fits" evtable="EVENTS" scfile=/scratch/kocevski/853149/ft2_4FGL_J0854.8+2006_daily_bin1510.fits sctable="SC_DATA" outfile=/scratch/kocevski/853149/ltcube_630720001_630979201_4FGL_J0854.8+2006_daily_bin1510.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/853149/ft2_4FGL_J0854.8+2006_daily_bin1510.fits
.....................!
real 14.46
user 12.19
sys 1.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853149/ft1_filtered_4FGL_J0854.8+2006_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/853149/ft2_4FGL_J0854.8+2006_daily_bin1510.fits sctable="SC_DATA" expcube=/scratch/kocevski/853149/ltcube_630720001_630979201_4FGL_J0854.8+2006_daily_bin1510.fits outfile=/scratch/kocevski/853149/expmap_630720001_630979201_4FGL_J0854.8+2006_daily_bin1510.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/853149/ltcube_630720001_630979201_4FGL_J0854.8+2006_daily_bin1510.fits
.....................!
real 199.99
user 185.34
sys 5.73

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/853149/ft1_filtered_4FGL_J0854.8+2006_daily_bin1510.fits scfile=/scratch/kocevski/853149/ft2_4FGL_J0854.8+2006_daily_bin1510.fits outfile=/scratch/kocevski/853149/cmap_630720001_630979201_4FGL_J0854.8+2006_daily_bin1510.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.58
user 0.40
sys 0.90

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853149/ft1_filtered_4FGL_J0854.8+2006_daily_bin1510.fits scfile=/scratch/kocevski/853149/ft2_4FGL_J0854.8+2006_daily_bin1510.fits outfile=/scratch/kocevski/853149/cmap_HighResolution_630720001_630979201_4FGL_J0854.8+2006_daily_bin1510.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.36
user 0.41
sys 0.90

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16617E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.979       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.3554       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    51.991       1.0000         .10000E-03   10000.    
    10 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .30317E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.505       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.2227       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .91412       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2446       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=   1957.990     FROM MIGRAD    STATUS=CONVERGED    321 CALLS     1459 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    292.16       -.11828E-04** at limit **
   2  Prefactor     .10000E-03    57.806       -.17779E-04** at limit **
   3  norm          .10000E-03    1.3113        .99840E-07** at limit **
   4  Prefactor     .10000E-03    10.568       -.42927E-06** at limit **
   5  Prefactor     10.981        19.370       -.29338E-05   -.25163E-04
   6  Prefactor     .10000E-03    60.703        .23185E-04** at limit **
   7  norm          3.3566        1.8787        .81419E-08   -.46991E-04
   8  Prefactor     .10000E-03    15.392       -.43726E-06** at limit **
   9  Prefactor     51.991        38.530        .39338E-06   -.73678E-04
  10  norm          .10000E-03    35.342        .67990E-05** at limit **
  11  norm          .10000E-03    25.621       -.13334E-05** at limit **
  12  norm          .42572E-01    2.5100        .16440E-05   -.17471E-02
  13  Prefactor     19.516        57.613        .12140E-04   -.44422E-05
  14  Prefactor     2.2196        6.0644       -.10587E-05   -.42440E-03
  15  Normalizat    .91328        .35261        .21462E-06   -.10026E-03
  16  Prefactor     1.2451        .30620       -.33327E-06   -.11017E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9812
  Prefactor  = 0.0001
  norm       = 3.35658
  Prefactor  = 0.0001
  Prefactor  = 51.9906
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0425722
  Prefactor  = 19.5165
  Prefactor  = 2.21965
  Normalizat = 0.913275
  Prefactor  = 1.24509
 **********
 **   18 **HESSE 
 **********

 FCN=   1957.990     FROM HESSE     STATUS=OK           199 CALLS     1658 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    292.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    57.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.3146        .49487E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.574        .14050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.981        19.395        .12091E-03   -1.5045    
   6  Prefactor     .10000E-03    60.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.3566        1.8761        .43454E-04   -1.5342    
   8  Prefactor     .10000E-03    15.423        .16956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     51.991        38.613        .55622E-04   -1.4265    
  10  norm          .10000E-03    36.396        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    25.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .42572E-01    40.619        .13061E-02   -1.5667    
  13  Prefactor     19.516        57.611        .90690E-04   -1.4824    
  14  Prefactor     2.2196        6.0844        .16896E-03   -1.5410    
  15  Normalizat    .91328        .42982        .29272E-03   -.95995    
  16  Prefactor     1.2451        .37503        .22536E-03   -.84955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71973e-08
Minuit parameter uncertainties:
  1  3.81502e-05
  2  1.79217e-05
  3  9.92038e-07
  4  8.58192e-06
  5  19.4059
  6  1.41334e-05
  7  1.87613
  8  8.1116e-07
  9  38.6319
  10  0.000133803
  11  1.46692e-05
  12  2.6287
  13  57.7759
  14  6.08608
  15  0.431448
  16  0.375846
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  3.357e+00  1.876e+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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.245e+00  3.758e-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.133e-01  4.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.59
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.58e-07 +/- 8.85e-08
Energy Flux (Fixed Index): 6.96e-05 +/- 3.89e-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) = 1957.91306565
delta logL = 0.077107800018

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1957.90828068
delta logL = 0.0818927702912

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5011       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9635       1.0000          .0000       5.0000    
     3 'Normalizat'    .93509       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2313       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=   1957.908     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      200 TOTAL
                     EDM=   .82E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5019        2.2637        .54020E-02    .22040E-04
   2  alpha         1.9630        .50812        .18318       -.24758E-05
   3  Normalizat    .93503        .34535        .65506E-01   -.15153E-05
   4  Prefactor     1.2317        .30554        .51207E-01   -.71058E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.50189
  alpha      = 1.96301
  Normalizat = 0.935032
  Prefactor  = 1.23168
 **********
 **   18 **HESSE 
 **********

 FCN=   1957.908     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5019        1.9703        .44867E-04   -1.5334    
   2  alpha         1.9630        .46104        .77876E-02   -.21648    
   3  Normalizat    .93503        .42128        .28975E-03   -.95240    
   4  Prefactor     1.2317        .37292        .22639E-03   -.85362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17906e-13
Minuit parameter uncertainties:
  1  1.97031
  2  0.463822
  3  0.422781
  4  0.373723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853149': 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) = 1957.90827815
delta logL = 0.0818952949426

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  3.502e+00  1.970e+00  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  1.963e+00  4.638e-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.232e+00  3.737e-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.350e-01  4.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.76
Ra Dec: 133.707 20.116
Photon Index (Free Index): 1.96 +/- 0.46
Photon Flux (Free Index): 1.38e-07 +/- 9.27e-08
Energy Flux (Free Index): 8.55e-05 +/- 6.80e-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/853149/cmap_HighResolution_630720001_630979201_4FGL_J0854.8+2006_daily_bin1510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.58e-07', energy_flux2='8.55e-05', photon_flux_error='8.85e-08', dlogl='8.19e-02', energy_flux='6.96e-05', photon_flux2='1.38e-07', job_status='DONE', time_completed='2021-08-30 16:35:08.441140', photon_index_error2='0.46', photon_index2='1.96', ts='6.59', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', energy_flux_error2='6.80e-05', EG='0.91', time_epoch_completed='1630366508.44', return_code='0', job_id='853149', GAL2='1.23', EG2='0.94', return_code2='0', energy_flux_error='3.89e-05', photon_flux_error2='9.27e-08', ts2='6.76', photon_index='2.16' WHERE bin_id='1510' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:35:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 853149: <4FGL_J0854.8+2006_daily_bin1510> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin1510> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Aug 30 16:25:42 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 16:25:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 16:25:44 2021
Terminated at Mon Aug 30 16:35:09 2021
Results reported at Mon Aug 30 16:35:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin1510 133.707 20.1159 630720001 630979201 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 :                                   385.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             276.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   564 sec.
    Turnaround time :                            567 sec.

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

