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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin568
RA = 122.861, Dec = 1.7756
tmin = 386553601, tmax = 386812801
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='307739', job_status='RUN', time_executed='2021-08-29 12:18:48.464853', time_epoch_executed='1630264728.46' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='568'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307739

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307739/ft1_4FGL_J0811.4+0146_daily_bin568.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307739/ft2_4FGL_J0811.4+0146_daily_bin568.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307739/ft1_4FGL_J0811.4+0146_daily_bin568.fits outfile=/scratch/kocevski/307739/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin568.fits ra=122.861 dec=1.7756 rad=12.0 tmin=386553601.0 tmax=386812801.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.72
user 4.45
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/307739/ft2_4FGL_J0811.4+0146_daily_bin568.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307739/ft2_4FGL_J0811.4+0146_daily_bin568.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/307739/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin568.fits evtable="EVENTS" outfile="/scratch/kocevski/307739/ft1_filtered_4FGL_J0811.4+0146_daily_bin568.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.54
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307739/ft1_filtered_4FGL_J0811.4+0146_daily_bin568.fits" evtable="EVENTS" scfile=/scratch/kocevski/307739/ft2_4FGL_J0811.4+0146_daily_bin568.fits sctable="SC_DATA" outfile=/scratch/kocevski/307739/ltcube_386553601_386812801_4FGL_J0811.4+0146_daily_bin568.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/307739/ft2_4FGL_J0811.4+0146_daily_bin568.fits
.....................!
real 11.76
user 11.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307739/ft1_filtered_4FGL_J0811.4+0146_daily_bin568.fits evtable="EVENTS" scfile=/scratch/kocevski/307739/ft2_4FGL_J0811.4+0146_daily_bin568.fits sctable="SC_DATA" expcube=/scratch/kocevski/307739/ltcube_386553601_386812801_4FGL_J0811.4+0146_daily_bin568.fits outfile=/scratch/kocevski/307739/expmap_386553601_386812801_4FGL_J0811.4+0146_daily_bin568.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/307739/ltcube_386553601_386812801_4FGL_J0811.4+0146_daily_bin568.fits
.....................!
real 191.49
user 185.19
sys 4.96

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 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J0811.4+0146 @ 122.861 1.7756

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/307739/ft1_filtered_4FGL_J0811.4+0146_daily_bin568.fits scfile=/scratch/kocevski/307739/ft2_4FGL_J0811.4+0146_daily_bin568.fits outfile=/scratch/kocevski/307739/cmap_386553601_386812801_4FGL_J0811.4+0146_daily_bin568.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=122.861 yref=1.7756 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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307739/ft1_filtered_4FGL_J0811.4+0146_daily_bin568.fits scfile=/scratch/kocevski/307739/ft2_4FGL_J0811.4+0146_daily_bin568.fits outfile=/scratch/kocevski/307739/cmap_HighResolution_386553601_386812801_4FGL_J0811.4+0146_daily_bin568.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=122.861 yref=1.7756 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.64
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/307739/ft1_filtered_4FGL_J0811.4+0146_daily_bin568.fits evtable="EVENTS" scfile=/scratch/kocevski/307739/ft2_4FGL_J0811.4+0146_daily_bin568.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/307739/Model_4FGL_J0811.4+0146_daily_bin568.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/307739/ft1_filtered_4FGL_J0811.4+0146_daily_bin568.fits.....................!
real 87.50
user 84.71
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/307739/ft1_filtered_4FGL_J0811.4+0146_daily_bin568.fits', '/scratch/kocevski/307739/ft2_4FGL_J0811.4+0146_daily_bin568.fits', expMap='/scratch/kocevski/307739/expmap_386553601_386812801_4FGL_J0811.4+0146_daily_bin568.fits', expCube='/scratch/kocevski/307739/ltcube_386553601_386812801_4FGL_J0811.4+0146_daily_bin568.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/307739/Model_4FGL_J0811.4+0146_daily_bin568.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0811.4+0146'

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.108e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.005e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  6.882e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/307739/ft1_filtered_4FGL_J0811.4+0146_daily_bin568.fits
Spacecraft file(s): /scratch/kocevski/307739/ft2_4FGL_J0811.4+0146_daily_bin568.fits
Exposure map: /scratch/kocevski/307739/expmap_386553601_386812801_4FGL_J0811.4+0146_daily_bin568.fits
Exposure cube: /scratch/kocevski/307739/ltcube_386553601_386812801_4FGL_J0811.4+0146_daily_bin568.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/307739/Model_4FGL_J0811.4+0146_daily_bin568.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) = 6915.59603133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.694       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.8826       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.145       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    104.28       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.683       1.0000         .10000E-03   10000.    
    13 'norm      '    10.637       1.0000         .10000E-03   10000.    
    14 'norm      '    .70942       1.0000         .10000E-03   10000.    
    15 'norm      '    1.4854       1.0000         .10000E-03   10000.    
    16 'norm      '    .11629E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.8245       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.1408       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.4753       1.0000         .10000E-03   10000.    
    21 'norm      '    .31680       1.0000         .10000E-03   10000.    
    22 'norm      '    3.6392       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2193       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78409       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6915.553     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     3151 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.694        25.376        .41445E-07   -.24179E-05
   2  Prefactor     .10000E-03    2.8819        .56558E-08** at limit **
   3  Prefactor     .10000E-03    10.345       -.19586E-06** at limit **
   4  norm          5.8826        2.3864        .86310E-07   -.78695E-04
   5  Prefactor     .10000E-03    10.509        .56125E-07** at limit **
   6  norm          13.147        13.414        .40568E-07   -.12595E-04
   7  Prefactor     .10000E-03    4.2325        .21416E-06** at limit **
   8  norm          .10000E-03    10.265        .20464E-06** at limit **
   9  Prefactor     .10000E-03    31.051        .43977E-06** at limit **
  10  Prefactor     104.31        150.78        .53932E-05    .63123E-04
  11  Prefactor     .10000E-03    2.5454       -.22355E-07** at limit **
  12  Prefactor     21.667        32.198       -.29546E-07    .42220E-04
  13  norm          10.637        9.8903       -.20266E-08   -.84379E-04
  14  norm          .70838        1.6611        .28696E-06   -.69750E-04
  15  norm          1.4858        1.1275        .25063E-06   -.88943E-03
  16  norm          .10000E-03    20.959        .47015E-06** at limit **
  17  norm          1.8243        2.5180        .90654E-07   -.82693E-04
  18  Prefactor     .10000E-03    28.589        .37235E-08** at limit **
  19  norm          2.1399        16.860        .73747E-06   -.29534E-04
  20  Prefactor     6.4767        13.152        .24573E-06   -.25068E-04
  21  norm          .31677        .81231        .40772E-06   -.28815E-03
  22  norm          3.6390        8.5792        .75919E-06   -.13800E-04
  23  Normalizat    1.2194        .19530       -.12279E-05   -.59318E-04
  24  Prefactor     .78404        .11725       -.41866E-07   -.14453E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.6936
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.88263
  Prefactor  = 0.0001
  norm       = 13.1467
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 104.312
  Prefactor  = 0.0001
  Prefactor  = 21.6665
  norm       = 10.6369
  norm       = 0.708383
  norm       = 1.48576
  norm       = 0.000100002
  norm       = 1.82433
  Prefactor  = 0.0001
  norm       = 2.13995
  Prefactor  = 6.47668
  norm       = 0.31677
  norm       = 3.63899
  Normalizat = 1.2194
  Prefactor  = 0.784035
 **********
 **   18 **HESSE 
 **********

 FCN=   6915.553     FROM HESSE     STATUS=OK           405 CALLS     3556 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.694        25.381        .90254E-04   -1.4820    
   2  Prefactor     .10000E-03    2.8883        .13787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.8826        2.3904        .76446E-04   -1.5223    
   5  Prefactor     .10000E-03    10.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.147        13.471        .11048E-03   -1.4983    
   7  Prefactor     .10000E-03    4.3248        .16690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    10.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    31.890        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     104.31        158.71        .19689E-03   -1.3662    
  11  Prefactor     .10000E-03    2.5523        .12953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.667        30.012        .86018E-04   -1.4777    
  13  norm          10.637        9.9090        .12285E-03   -1.5056    
  14  norm          .70838        1.4779        .15546E-02   -1.5540    
  15  norm          1.4858        1.1078        .17598E-03   -1.5464    
  16  norm          .10000E-03    176.99        .66208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8243        2.4939        .14975E-03   -1.5438    
  18  Prefactor     .10000E-03    28.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.1399        16.925        .28170E-03   -1.5415    
  20  Prefactor     6.4767        13.177        .15772E-03   -1.5199    
  21  norm          .31677        .80899        .11558E-03   -1.5595    
  22  norm          3.6390        8.5430        .21177E-03   -1.5326    
  23  Normalizat    1.2194        .22437        .27521E-03   -.86005    
  24  Prefactor     .78404        .13621        .20732E-03   -1.0032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43882e-09
Minuit parameter uncertainties:
  1  25.3945
  2  1.30536e-06
  3  1.81988e-05
  4  2.39039
  5  9.25481e-06
  6  13.4746
  7  7.42049e-06
  8  1.73468e-05
  9  7.98781e-06
  10  159.361
  11  9.64094e-07
  12  30.033
  13  9.91051
  14  1.47799
  15  1.10784
  16  0.00120375
  17  2.49408
  18  6.27373e-06
  19  12.0408
  20  13.1826
  21  0.809019
  22  8.54583
  23  0.224543
  24  0.13627
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.824e+00  2.494e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.005e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  6.882e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  7.840e-01  1.363e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  1.219e+00  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.90
Ra Dec: 122.861 1.776
Photon Flux Upper Limit: 6.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.84e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/307739/likelihoodResults_386553601_386812801_4FGL_J0811.4+0146_daily_bin568.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): 0
logL (Free Index) = 6915.45692255
delta logL = 0.096464176775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6915.45451092
delta logL = 0.0988758064332

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6766       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4028       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2126       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78589       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+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=   6915.455     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      244 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6768        2.3933        .12928E-03   -.57152E-03
   2  alpha         2.4028        .91547        .21162E-01   -.34447E-04
   3  Normalizat    1.2125        .20970        .27585E-03    .85271E-04
   4  Prefactor     .78591        .12977        .20707E-03    .16339E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67679
  alpha      = 2.40281
  Normalizat = 1.21254
  Prefactor  = 0.785911
 **********
 **   18 **HESSE 
 **********

 FCN=   6915.455     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6768        2.3055        .51711E-05   -1.5449    
   2  alpha         2.4028        .88338        .84649E-03   -.38884E-01
   3  Normalizat    1.2125        .20984        .11034E-04   -.86216    
   4  Prefactor     .78591        .12986        .82829E-05   -1.0025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0546e-10
Minuit parameter uncertainties:
  1  2.30564
  2  0.902916
  3  0.209985
  4  0.129909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307739': 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) = 6915.4545109
delta logL = 0.0988758248686

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.677e+00  2.306e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.403e+00  9.029e-01  0.000e+00  5.000e+00 ( 1.000e+00)
274         beta:  6.882e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  7.859e-01  1.299e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  1.213e+00  2.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.10
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.40 +/- 0.90
Photon Flux (Free Index): 2.03e-08 +/- 2.86e-08
Energy Flux (Free Index): 6.74e-06 +/- 8.54e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/307739/cmap_HighResolution_386553601_386812801_4FGL_J0811.4+0146_daily_bin568.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-05', comment='SUCCESS', energy_flux2='6.74e-06', dlogl='9.89e-02', photon_flux2='2.03e-08', job_status='DONE', time_completed='2021-08-29 12:30:51.430223', photon_index_error2='0.90', photon_index2='2.40', ts='0.90', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='6.48e-08', energy_flux_error2='8.54e-06', EG='1.22', time_epoch_completed='1630265451.43', return_code='0', job_id='307739', GAL2='0.79', EG2='1.21', return_code2='0', photon_flux_error2='2.86e-08', ts2='1.10', photon_index='2.01' WHERE bin_id='568' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:30:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 307739: <4FGL_J0811.4+0146_daily_bin568> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin568> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 12:15:25 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:15:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 12:15:28 2021
Terminated at Sun Aug 29 12:30:52 2021
Results reported at Sun Aug 29 12:30:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin568 122.861 1.7756 386553601 386812801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0811.4+0146 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   719.25 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            927 sec.

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

