/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 210 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 = 7403
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0811.4+0146_daily_bin185
RA = 122.861, Dec = 1.7756
tmin = 287280001, tmax = 287539201
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='303137', job_status='RUN', time_executed='2021-08-29 12:04:30.250154', time_epoch_executed='1630263870.25' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='185'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303137

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303137/ft1_4FGL_J0811.4+0146_daily_bin185.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303137/ft2_4FGL_J0811.4+0146_daily_bin185.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303137/ft1_4FGL_J0811.4+0146_daily_bin185.fits outfile=/scratch/kocevski/303137/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin185.fits ra=122.861 dec=1.7756 rad=12.0 tmin=287280001.0 tmax=287539201.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.97
user 3.31
sys 0.64

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/303137/ft2_4FGL_J0811.4+0146_daily_bin185.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/303137/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin185.fits evtable="EVENTS" outfile="/scratch/kocevski/303137/ft1_filtered_4FGL_J0811.4+0146_daily_bin185.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.92
user 0.32
sys 0.58

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303137/ft1_filtered_4FGL_J0811.4+0146_daily_bin185.fits evtable="EVENTS" scfile=/scratch/kocevski/303137/ft2_4FGL_J0811.4+0146_daily_bin185.fits sctable="SC_DATA" expcube=/scratch/kocevski/303137/ltcube_287280001_287539201_4FGL_J0811.4+0146_daily_bin185.fits outfile=/scratch/kocevski/303137/expmap_287280001_287539201_4FGL_J0811.4+0146_daily_bin185.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/303137/ltcube_287280001_287539201_4FGL_J0811.4+0146_daily_bin185.fits
.....................!
real 192.76
user 187.48
sys 4.94

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/303137/ft1_filtered_4FGL_J0811.4+0146_daily_bin185.fits scfile=/scratch/kocevski/303137/ft2_4FGL_J0811.4+0146_daily_bin185.fits outfile=/scratch/kocevski/303137/cmap_287280001_287539201_4FGL_J0811.4+0146_daily_bin185.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.95
user 0.38
sys 0.56

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303137/ft1_filtered_4FGL_J0811.4+0146_daily_bin185.fits scfile=/scratch/kocevski/303137/ft2_4FGL_J0811.4+0146_daily_bin185.fits outfile=/scratch/kocevski/303137/cmap_HighResolution_287280001_287539201_4FGL_J0811.4+0146_daily_bin185.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.97
user 0.38
sys 0.56

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.381       1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.587       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.580       1.0000         .10000E-03   10000.    
     6 'norm      '    30.612       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20719E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .42310E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.189       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.5927       1.0000         .10000E-03   10000.    
    12 'Prefactor '    49.846       1.0000         .10000E-03   10000.    
    13 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.6571       1.0000         .10000E-03   10000.    
    16 'norm      '    .11246E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.1141       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    27.367       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.0115       1.0000         .10000E-03   10000.    
    22 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1402       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96389       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=   6228.181     FROM MIGRAD    STATUS=CONVERGED    967 CALLS     3147 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.586        .18142E-02** at limit **
   2  Prefactor     26.384        12.806        .77995E-04    .17491E-05
   3  Prefactor     40.589        39.119        .62919E-04   -.41558E-05
   4  norm          .10000E-03    .91549        .72899E-03** at limit **
   5  Prefactor     18.582        23.152        .92918E-04   -.25694E-05
   6  norm          30.615        22.470        .72416E-04   -.28258E-05
   7  Prefactor     .10000E-03    5.9879        .22737E-02** at limit **
   8  norm          .99373E-01    21.687        .88148E-01    .14438E-03
   9  Prefactor     21.154        13.677        .87014E-04   -.36583E-04
  10  Prefactor     .10000E-03    151.94        .18142E-02** at limit **
  11  Prefactor     5.5952        7.8850        .16987E-03   -.25431E-04
  12  Prefactor     49.843        37.192        .56801E-04   -.17013E-04
  13  norm          .10000E-03    23.319        .18142E-02** at limit **
  14  norm          .10000E-03    1.0142        .77357E-03** at limit **
  15  norm          5.6576        1.7228        .54727E-04   -.71668E-04
  16  norm          .10000E-03    22.349        .18142E-02** at limit **
  17  norm          3.1173        5.3851        .22604E-03   -.15089E-04
  18  Prefactor     .10000E-03    12.972        .18142E-02** at limit **
  19  norm          27.367        26.540        .76580E-04   -.35629E-05
  20  Prefactor     .10000E-03    22.714        .18142E-02** at limit **
  21  norm          3.0116        1.2125        .52961E-04   -.83289E-04
  22  norm          .10000E-03    2.5453        .12288E-02** at limit **
  23  Normalizat    1.1404        .25672        .30885E-03   -.10811E-03
  24  Prefactor     .96371        .16709        .21691E-03   -.32077E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 26.3841
  Prefactor  = 40.5887
  norm       = 0.0001
  Prefactor  = 18.5824
  norm       = 30.615
  Prefactor  = 0.0001
  norm       = 0.0993729
  Prefactor  = 21.1539
  Prefactor  = 0.000100001
  Prefactor  = 5.59525
  Prefactor  = 49.8428
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.65765
  norm       = 0.0001
  norm       = 3.11732
  Prefactor  = 0.0001
  norm       = 27.3668
  Prefactor  = 0.0001
  norm       = 3.01158
  norm       = 0.0001
  Normalizat = 1.1404
  Prefactor  = 0.963708
 **********
 **   18 **HESSE 
 **********

 FCN=   6228.181     FROM HESSE     STATUS=OK           383 CALLS     3530 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.586        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.384        12.806        .31198E-05   -1.4680    
   3  Prefactor     40.589        39.116        .25168E-05   -1.4433    
   4  norm          .10000E-03    .91561        .14580E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.582        23.152        .37167E-05   -1.4846    
   6  norm          30.615        22.473        .28966E-05   -1.4601    
   7  Prefactor     .10000E-03    6.0411        .45474E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .99373E-01    19.046        .96448E-01   -1.5645    
   9  Prefactor     21.154        13.603        .34805E-05   -1.4788    
  10  Prefactor     .10000E-03    151.94        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.5952        7.8848        .67950E-05   -1.5235    
  12  Prefactor     49.843        37.192        .22720E-05   -1.4295    
  13  norm          .10000E-03    23.332        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.0142        .15471E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.6576        1.7228        .21891E-05   -1.5232    
  16  norm          .10000E-03    22.368        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.1173        5.3842        .90415E-05   -1.5355    
  18  Prefactor     .10000E-03    12.972        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          27.367        26.544        .30632E-05   -1.4661    
  20  Prefactor     .10000E-03    22.733        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.0116        1.2125        .21184E-05   -1.5361    
  22  norm          .10000E-03    2.5453        .24577E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1404        .25694        .12354E-04   -.88465    
  24  Prefactor     .96371        .16724        .86763E-05   -.93949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04039e-10
Minuit parameter uncertainties:
  1  4.99914e-05
  2  12.8078
  3  39.1412
  4  2.21872e-06
  5  23.1629
  6  22.4793
  7  9.36364e-07
  8  2.75099
  9  13.6049
  10  0.000703009
  11  7.88622
  12  37.2089
  13  9.12979e-06
  14  1.02476e-06
  15  1.72286
  16  7.03512e-06
  17  5.38499
  18  4.42568e-06
  19  26.5556
  20  5.72658e-05
  21  1.21246
  22  1.47309e-06
  23  0.257228
  24  0.167329
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  3.117e+00  5.385e+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.637e-01  1.673e-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.140e+00  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/303137/likelihoodResults_287280001_287539201_4FGL_J0811.4+0146_daily_bin185.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) = 6226.23500506
delta logL = 1.94567357097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6226.22749666
delta logL = 1.95318197678

Fit tolerance = 1e-08

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

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

 FCN=   6226.227     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      254 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6877        15.522        .81011E-02    .54019E-03
   2  alpha         3.5207        4.0537        .23435        .66259E-04
   3  Normalizat    1.0098        .77668E-01    .73404E-01    .16947E-04
   4  Prefactor     1.0115        .50115E-01    .43117E-01    .51877E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.68774
  alpha      = 3.52074
  Normalizat = 1.00985
  Prefactor  = 1.0115
 **********
 **   18 **HESSE 
 **********

 FCN=   6226.227     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6877        3.6491        .54820E-04   -1.5448    
   2  alpha         3.5207        1.1690        .97846E-02    .42059    
   3  Normalizat    1.0098        .25397        .32478E-03   -.92701    
   4  Prefactor     1.0115        .16273        .21196E-03   -.92347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99731e-11
Minuit parameter uncertainties:
  1  3.64957
  2  1.22735
  3  0.254276
  4  0.162809
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303137': 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) = 6226.22749664
delta logL = 1.95318199344

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.688e+00  3.650e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  3.521e+00  1.227e+00  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:  1.011e+00  1.628e-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.010e+00  2.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.59
Ra Dec: 122.861 1.776
Photon Index (Free Index): 3.52 +/- 1.23
Photon Flux (Free Index): 1.29e-07 +/- 7.50e-08
Energy Flux (Free Index): 2.23e-05 +/- 1.39e-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/303137/cmap_HighResolution_287280001_287539201_4FGL_J0811.4+0146_daily_bin185.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.48e-05', comment='SUCCESS', energy_flux2='2.23e-05', dlogl='1.95e+00', photon_flux2='1.29e-07', job_status='DONE', time_completed='2021-08-29 12:15:40.074909', photon_index_error2='1.23', photon_index2='3.52', ts='0.41', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.39e-05', EG='1.14', time_epoch_completed='1630264540.07', return_code='0', job_id='303137', GAL2='1.01', EG2='1.01', return_code2='0', photon_flux_error2='7.50e-08', ts2='4.59', photon_index='2.01' WHERE bin_id='185' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:15:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 303137: <4FGL_J0811.4+0146_daily_bin185> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin185> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 12:00:37 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:00:38 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:00:38 2021
Terminated at Sun Aug 29 12:15:40 2021
Results reported at Sun Aug 29 12:15:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin185 122.861 1.7756 287280001 287539201 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 :                                   674.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             228.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            903 sec.

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

