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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin814
RA = 122.861, Dec = 1.7756
tmin = 450316801, tmax = 450576001
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='309427', job_status='RUN', time_executed='2021-08-29 12:24:22.147996', time_epoch_executed='1630265062.15' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='814'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309427

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309427/ft1_4FGL_J0811.4+0146_daily_bin814.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309427/ft2_4FGL_J0811.4+0146_daily_bin814.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309427/ft1_4FGL_J0811.4+0146_daily_bin814.fits outfile=/scratch/kocevski/309427/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin814.fits ra=122.861 dec=1.7756 rad=12.0 tmin=450316801.0 tmax=450576001.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.29
user 2.82
sys 0.42

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/309427/ft2_4FGL_J0811.4+0146_daily_bin814.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/309427/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin814.fits evtable="EVENTS" outfile="/scratch/kocevski/309427/ft1_filtered_4FGL_J0811.4+0146_daily_bin814.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.64
user 0.27
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309427/ft1_filtered_4FGL_J0811.4+0146_daily_bin814.fits" evtable="EVENTS" scfile=/scratch/kocevski/309427/ft2_4FGL_J0811.4+0146_daily_bin814.fits sctable="SC_DATA" outfile=/scratch/kocevski/309427/ltcube_450316801_450576001_4FGL_J0811.4+0146_daily_bin814.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/309427/ft2_4FGL_J0811.4+0146_daily_bin814.fits
.....................!
real 9.48
user 8.88
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309427/ft1_filtered_4FGL_J0811.4+0146_daily_bin814.fits evtable="EVENTS" scfile=/scratch/kocevski/309427/ft2_4FGL_J0811.4+0146_daily_bin814.fits sctable="SC_DATA" expcube=/scratch/kocevski/309427/ltcube_450316801_450576001_4FGL_J0811.4+0146_daily_bin814.fits outfile=/scratch/kocevski/309427/expmap_450316801_450576001_4FGL_J0811.4+0146_daily_bin814.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/309427/ltcube_450316801_450576001_4FGL_J0811.4+0146_daily_bin814.fits
.....................!
real 147.40
user 142.47
sys 4.69

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/309427/ft1_filtered_4FGL_J0811.4+0146_daily_bin814.fits scfile=/scratch/kocevski/309427/ft2_4FGL_J0811.4+0146_daily_bin814.fits outfile=/scratch/kocevski/309427/cmap_450316801_450576001_4FGL_J0811.4+0146_daily_bin814.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.65
user 0.28
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309427/ft1_filtered_4FGL_J0811.4+0146_daily_bin814.fits scfile=/scratch/kocevski/309427/ft2_4FGL_J0811.4+0146_daily_bin814.fits outfile=/scratch/kocevski/309427/cmap_HighResolution_450316801_450576001_4FGL_J0811.4+0146_daily_bin814.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.73
user 0.29
sys 0.36

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/309427/ft1_filtered_4FGL_J0811.4+0146_daily_bin814.fits', '/scratch/kocevski/309427/ft2_4FGL_J0811.4+0146_daily_bin814.fits', expMap='/scratch/kocevski/309427/expmap_450316801_450576001_4FGL_J0811.4+0146_daily_bin814.fits', expCube='/scratch/kocevski/309427/ltcube_450316801_450576001_4FGL_J0811.4+0146_daily_bin814.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/309427/Model_4FGL_J0811.4+0146_daily_bin814.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/309427/ft1_filtered_4FGL_J0811.4+0146_daily_bin814.fits
Spacecraft file(s): /scratch/kocevski/309427/ft2_4FGL_J0811.4+0146_daily_bin814.fits
Exposure map: /scratch/kocevski/309427/expmap_450316801_450576001_4FGL_J0811.4+0146_daily_bin814.fits
Exposure cube: /scratch/kocevski/309427/ltcube_450316801_450576001_4FGL_J0811.4+0146_daily_bin814.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/309427/Model_4FGL_J0811.4+0146_daily_bin814.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) = 9991.51717879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.833       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    47.999       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.115       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.372       1.0000         .10000E-03   10000.    
     8 'norm      '    28.579       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17042E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .31727       1.0000         .10000E-03   10000.    
    12 'Prefactor '    102.13       1.0000         .10000E-03   10000.    
    13 'norm      '    .20932E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.5346       1.0000         .10000E-03   10000.    
    16 'norm      '    7.1062       1.0000         .10000E-03   10000.    
    17 'norm      '    16.613       1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.524       1.0000         .10000E-03   10000.    
    19 'norm      '    16.021       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0703       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95532       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=   9991.496     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2752 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.835        25.768       -.45320E-07    .55852E-05
   2  Prefactor     .10000E-03    4.9217       -.31676E-07** at limit **
   3  Prefactor     .10000E-03    12.847       -.32949E-06** at limit **
   4  norm          47.999        4.1507        .14823E-07    .14994E-03
   5  Prefactor     .10000E-03    10.921        .15911E-06** at limit **
   6  norm          12.117        15.239        .13243E-06    .28082E-06
   7  Prefactor     10.372        5.6620        .35514E-06   -.15181E-03
   8  norm          28.583        19.121       -.86475E-06   -.34677E-03
   9  Prefactor     .10000E-03    23.597        .53609E-06** at limit **
  10  Prefactor     .10000E-03    89.777        .40045E-05** at limit **
  11  Prefactor     .30481        24.105        .11775E-04   -.12585E-04
  12  Prefactor     102.13        37.478        .18276E-06   -.13586E-05
  13  norm          .10000E-03    76.955        .74784E-05** at limit **
  14  norm          .10000E-03    .79982       -.70582E-08** at limit **
  15  norm          2.5346        .97287        .13736E-07    .17635E-03
  16  norm          7.1051        11.990       -.22623E-06   -.25717E-04
  17  norm          16.613        5.6406        .60000E-07    .17206E-03
  18  Prefactor     31.510        32.649        .92947E-06   -.36120E-04
  19  norm          16.021        14.776        .33962E-07    .26529E-05
  20  Prefactor     .10000E-03    5.2614       -.23401E-06** at limit **
  21  norm          .10000E-03    .29815       -.92716E-07** at limit **
  22  norm          .10000E-03    7.0320       -.13469E-06** at limit **
  23  Normalizat    1.0706        .18940        .44402E-06    .15755E-03
  24  Prefactor     .95519        .11995       -.45709E-06    .23155E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.8348
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 47.9988
  Prefactor  = 0.0001
  norm       = 12.1166
  Prefactor  = 10.3716
  norm       = 28.5832
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.30481
  Prefactor  = 102.126
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.53462
  norm       = 7.10509
  norm       = 16.6129
  Prefactor  = 31.5097
  norm       = 16.021
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.07057
  Prefactor  = 0.95519
 **********
 **   18 **HESSE 
 **********

 FCN=   9991.496     FROM HESSE     STATUS=OK           401 CALLS     3153 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.835        25.773        .78816E-04   -1.4691    
   2  Prefactor     .10000E-03    4.9554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          47.999        4.1503        .57155E-04   -1.4321    
   5  Prefactor     .10000E-03    10.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.117        15.310        .11509E-03   -1.5012    
   7  Prefactor     10.372        5.6840        .62206E-03   -1.5064    
   8  norm          28.583        19.149        .74942E-04   -1.4638    
   9  Prefactor     .10000E-03    24.245        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    89.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .30481        23.755        .38672E-02   -1.5598    
  12  Prefactor     102.13        37.509        .39785E-04   -1.3683    
  13  norm          .10000E-03    73.564        .41745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .81418        .87175E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.5346        .97161        .58509E-04   -1.5390    
  16  norm          7.1051        11.979        .15048E-03   -1.5175    
  17  norm          16.613        5.6208        .98264E-04   -1.4893    
  18  Prefactor     31.510        32.651        .71365E-04   -1.4585    
  19  norm          16.021        14.782        .10006E-03   -1.4907    
  20  Prefactor     .10000E-03    5.2852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .30708        .10657E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    7.1294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0706        .21571        .34992E-03   -.90702    
  24  Prefactor     .95519        .13780        .23456E-03   -.94238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.06328e-08
Minuit parameter uncertainties:
  1  25.7843
  2  1.42875e-06
  3  6.81607e-06
  4  4.1503
  5  1.34722e-05
  6  15.3151
  7  5.68431
  8  19.1532
  9  2.7265e-05
  10  0.00046741
  11  5.38311
  12  37.5174
  13  9.88282e-05
  14  1.26055e-06
  15  0.97162
  16  11.9829
  17  5.62097
  18  32.6695
  19  14.7857
  20  3.43461e-05
  21  2.64222e-06
  22  9.64527e-06
  23  0.215888
  24  0.137849
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.661e+01  5.621e+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:  9.552e-01  1.378e-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.071e+00  2.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.36
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 1.19e-07 +/- 4.03e-08
Energy Flux (Fixed Index): 7.06e-05 +/- 2.39e-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) = 9990.80588764
delta logL = 0.690545670215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9990.80444218
delta logL = 0.691991132695

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.112       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3765       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0177       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97496       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=   9990.804     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      276 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.112        5.7728        .10662E-03    .13938E-02
   2  alpha         2.3766        .33404        .86135E-02    .14408E-03
   3  Normalizat    1.0177        .21328        .35716E-03   -.42971E-04
   4  Prefactor     .97498        .13391        .23236E-03   -.12965E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.1119
  alpha      = 2.37656
  Normalizat = 1.01768
  Prefactor  = 0.97498
 **********
 **   18 **HESSE 
 **********

 FCN=   9990.804     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.112        5.5943        .42649E-05   -1.4956    
   2  alpha         2.3766        .32348        .34454E-03   -.49396E-01
   3  Normalizat    1.0177        .21324        .14287E-04   -.92441    
   4  Prefactor     .97498        .13392        .92946E-05   -.93568    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99997e-10
Minuit parameter uncertainties:
  1  5.59451
  2  0.324387
  3  0.213414
  4  0.133966
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309427': 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) = 9990.80444215
delta logL = 0.691991154963

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.411e+01  5.595e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.377e+00  3.244e-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:  9.750e-01  1.340e-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.018e+00  2.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.68
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.38 +/- 0.32
Photon Flux (Free Index): 1.65e-07 +/- 6.25e-08
Energy Flux (Free Index): 5.62e-05 +/- 1.95e-05

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/309427/cmap_HighResolution_450316801_450576001_4FGL_J0811.4+0146_daily_bin814.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.19e-07', energy_flux2='5.62e-05', photon_flux_error='4.03e-08', dlogl='6.92e-01', energy_flux='7.06e-05', photon_flux2='1.65e-07', job_status='DONE', time_completed='2021-08-29 12:34:39.575815', photon_index_error2='0.32', photon_index2='2.38', ts='19.36', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.95e-05', EG='1.07', time_epoch_completed='1630265679.58', return_code='0', job_id='309427', GAL2='0.97', EG2='1.02', return_code2='0', energy_flux_error='2.39e-05', photon_flux_error2='6.25e-08', ts2='20.68', photon_index='2.01' WHERE bin_id='814' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:34:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 309427: <4FGL_J0811.4+0146_daily_bin814> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin814> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:20:24 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:20:26 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:20:26 2021
Terminated at Sun Aug 29 12:34:40 2021
Results reported at Sun Aug 29 12:34:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin814 122.861 1.7756 450316801 450576001 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 :                                   612.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             274.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            856 sec.

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

