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


Performing analysis on: 4FGL_J0854.8+2006_daily_bin1109
RA = 133.707, Dec = 20.1159
tmin = 526780801, tmax = 527040001
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='851128', job_status='RUN', time_executed='2021-08-30 16:23:40.552061', time_epoch_executed='1630365820.55' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='1109'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851128

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851128/ft1_4FGL_J0854.8+2006_daily_bin1109.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851128/ft2_4FGL_J0854.8+2006_daily_bin1109.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851128/ft1_4FGL_J0854.8+2006_daily_bin1109.fits outfile=/scratch/kocevski/851128/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1109.fits ra=133.707 dec=20.1159 rad=12.0 tmin=526780801.0 tmax=527040001.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 12.98
user 3.91
sys 8.40

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/851128/ft2_4FGL_J0854.8+2006_daily_bin1109.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/851128/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1109.fits evtable="EVENTS" outfile="/scratch/kocevski/851128/ft1_filtered_4FGL_J0854.8+2006_daily_bin1109.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 10.88
user 0.32
sys 7.79

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851128/ft1_filtered_4FGL_J0854.8+2006_daily_bin1109.fits" evtable="EVENTS" scfile=/scratch/kocevski/851128/ft2_4FGL_J0854.8+2006_daily_bin1109.fits sctable="SC_DATA" outfile=/scratch/kocevski/851128/ltcube_526780801_527040001_4FGL_J0854.8+2006_daily_bin1109.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/851128/ft2_4FGL_J0854.8+2006_daily_bin1109.fits
.....................!
real 22.51
user 12.42
sys 9.24

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851128/ft1_filtered_4FGL_J0854.8+2006_daily_bin1109.fits evtable="EVENTS" scfile=/scratch/kocevski/851128/ft2_4FGL_J0854.8+2006_daily_bin1109.fits sctable="SC_DATA" expcube=/scratch/kocevski/851128/ltcube_526780801_527040001_4FGL_J0854.8+2006_daily_bin1109.fits outfile=/scratch/kocevski/851128/expmap_526780801_527040001_4FGL_J0854.8+2006_daily_bin1109.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/851128/ltcube_526780801_527040001_4FGL_J0854.8+2006_daily_bin1109.fits
.....................!
real 203.34
user 185.84
sys 16.23

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/851128/ft1_filtered_4FGL_J0854.8+2006_daily_bin1109.fits scfile=/scratch/kocevski/851128/ft2_4FGL_J0854.8+2006_daily_bin1109.fits outfile=/scratch/kocevski/851128/cmap_526780801_527040001_4FGL_J0854.8+2006_daily_bin1109.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 8.53
user 0.34
sys 7.52

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851128/ft1_filtered_4FGL_J0854.8+2006_daily_bin1109.fits scfile=/scratch/kocevski/851128/ft2_4FGL_J0854.8+2006_daily_bin1109.fits outfile=/scratch/kocevski/851128/cmap_HighResolution_526780801_527040001_4FGL_J0854.8+2006_daily_bin1109.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 8.58
user 0.37
sys 7.66

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10438E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10618E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .63238       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6938       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10876E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .36083E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.670       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.6153       1.0000         .10000E-03   10000.    
    10 'norm      '    2.9450       1.0000         .10000E-03   10000.    
    11 'norm      '    22.533       1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    78.327       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0051       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0918       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=   5634.943     FROM MIGRAD    STATUS=CONVERGED    305 CALLS     1406 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    57.181       -.24038E-04** at limit **
   2  Prefactor     .10000E-03    51.706        .29036E-04** at limit **
   3  norm          .63134        1.0710       -.25588E-06   -.20917E-02
   4  Prefactor     3.7032        8.7074       -.30896E-05   -.21551E-03
   5  Prefactor     .10000E-03    2.9249       -.73593E-08** at limit **
   6  Prefactor     .10000E-03    28.864       -.33819E-05** at limit **
   7  norm          .32475E-01    .42629       -.61986E-06    .98150E-03
   8  Prefactor     22.688        18.498        .56738E-05    .35846E-03
   9  Prefactor     8.6193        15.119        .12685E-06    .15133E-06
  10  norm          2.9445        4.7540       -.19138E-05   -.16350E-03
  11  norm          22.503        27.767       -.27878E-04    .29498E-04
  12  norm          .10000E-03    .73941        .14067E-07** at limit **
  13  Prefactor     78.305        59.687       -.21267E-04    .20149E-04
  14  Prefactor     .10000E-03    4.5317        .13675E-06** at limit **
  15  Normalizat    1.0047        .19312        .34520E-05    .64631E-04
  16  Prefactor     1.0922        .16252       -.23326E-07    .24767E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.631339
  Prefactor  = 3.70316
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0324752
  Prefactor  = 22.6877
  Prefactor  = 8.61931
  norm       = 2.94446
  norm       = 22.5034
  norm       = 0.0001
  Prefactor  = 78.3051
  Prefactor  = 0.0001
  Normalizat = 1.00472
  Prefactor  = 1.09218
 **********
 **   18 **HESSE 
 **********

 FCN=   5634.943     FROM HESSE     STATUS=OK           207 CALLS     1613 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    58.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    52.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .63134        .91769        .93266E-03   -1.5549    
   4  Prefactor     3.7032        8.5548        .21014E-03   -1.5323    
   5  Prefactor     .10000E-03    2.9416        .12535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    29.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .32475E-01    4.0104        .88390E-03   -1.5672    
   8  Prefactor     22.688        18.822        .84127E-04   -1.4755    
   9  Prefactor     8.6193        15.147        .13657E-03   -1.5121    
  10  norm          2.9445        4.7438        .20295E-03   -1.5365    
  11  norm          22.503        27.738        .84382E-04   -1.4759    
  12  norm          .10000E-03    .74990        .63023E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     78.305        59.752        .22688E-03   -1.3936    
  14  Prefactor     .10000E-03    4.7233        .31166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.0047        .22118        .26016E-03   -.92872    
  16  Prefactor     1.0922        .18702        .21924E-03   -.89717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3828e-09
Minuit parameter uncertainties:
  1  0.000160285
  2  0.000340565
  3  0.917706
  4  8.55759
  5  2.78399e-06
  6  6.07535e-05
  7  0.720707
  8  18.8265
  9  15.1538
  10  4.7444
  11  27.7535
  12  7.3548e-07
  13  59.7979
  14  2.94193e-05
  15  0.221384
  16  0.187129
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  3.248e-02  7.207e-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.092e+00  1.871e-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.005e+00  2.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 133.707 20.116
Photon Flux Upper Limit: 8.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.69e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/851128/likelihoodResults_526780801_527040001_4FGL_J0854.8+2006_daily_bin1109.txt

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): 102
logL (Free Index) = 5634.61642574
delta logL = 0.326535415692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5634.56852766
delta logL = 0.374433496848

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19395E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .93999       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1272       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5634.569     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      314 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19401E-01    .27146E-01    .12141E-04   -.92701E-03
   2  alpha         5.0000        3.6458        .50000    ** at limit **
   3  Normalizat    .93994        .22630        .26775E-03   -.12356E-04
   4  Prefactor     1.1273        .19138        .21619E-03    .33130E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0194015
  alpha      = 5
  Normalizat = 0.939945
  Prefactor  = 1.12731
 **********
 **   18 **HESSE 
 **********

 FCN=   5634.569     FROM HESSE     STATUS=OK            29 CALLS      343 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19401E-01    .27035E-01    .48565E-06   -1.5680    
   2  alpha         5.0000        3.6385        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .93994        .22656        .10710E-04   -.95070    
   4  Prefactor     1.1273        .19157        .86475E-05   -.88598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66229e-11
Minuit parameter uncertainties:
  1  0.0270346
  2  7.41755e-05
  3  0.226793
  4  0.19169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851128': 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) = 5634.56852734
delta logL = 0.374433814379

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.940e-02  2.703e-02  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  5.000e+00  7.418e-05  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.127e+00  1.917e-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.399e-01  2.268e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 133.707 20.116

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/851128/cmap_HighResolution_526780801_527040001_4FGL_J0854.8+2006_daily_bin1109.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.69e-05', job_status='DONE', photon_flux_upper_limit='8.40e-08', time_completed='2021-08-30 16:34:40.866148', job_id='851128', GAL2='1.13', fit_tolerance='1e-08', EG2='0.94', EG='1.00', time_epoch_completed='1630366480.87', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.74e-01', ts2='0.83', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1109' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:34:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 851128: <4FGL_J0854.8+2006_daily_bin1109> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin1109> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Aug 30 16:20:32 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 16:20:34 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:20:34 2021
Terminated at Mon Aug 30 16:34:42 2021
Results reported at Mon Aug 30 16:34:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin1109 133.707 20.1159 526780801 527040001 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 :                                   740.50 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            851 sec.

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

