/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 145 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_bin342
RA = 122.861, Dec = 1.7756
tmin = 327974401, tmax = 328233601
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='304673', job_status='RUN', time_executed='2021-08-29 12:09:09.398535', time_epoch_executed='1630264149.4' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='342'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304673

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304673/ft1_4FGL_J0811.4+0146_daily_bin342.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304673/ft2_4FGL_J0811.4+0146_daily_bin342.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/304673/ft1_4FGL_J0811.4+0146_daily_bin342.fits outfile=/scratch/kocevski/304673/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin342.fits ra=122.861 dec=1.7756 rad=12.0 tmin=327974401.0 tmax=328233601.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 7.44
user 3.27
sys 4.12

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/304673/ft2_4FGL_J0811.4+0146_daily_bin342.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/304673/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin342.fits evtable="EVENTS" outfile="/scratch/kocevski/304673/ft1_filtered_4FGL_J0811.4+0146_daily_bin342.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 4.27
user 0.35
sys 3.90

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304673/ft1_filtered_4FGL_J0811.4+0146_daily_bin342.fits evtable="EVENTS" scfile=/scratch/kocevski/304673/ft2_4FGL_J0811.4+0146_daily_bin342.fits sctable="SC_DATA" expcube=/scratch/kocevski/304673/ltcube_327974401_328233601_4FGL_J0811.4+0146_daily_bin342.fits outfile=/scratch/kocevski/304673/expmap_327974401_328233601_4FGL_J0811.4+0146_daily_bin342.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/304673/ltcube_327974401_328233601_4FGL_J0811.4+0146_daily_bin342.fits
.....................!
real 194.46
user 185.17
sys 8.87

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/304673/ft1_filtered_4FGL_J0811.4+0146_daily_bin342.fits scfile=/scratch/kocevski/304673/ft2_4FGL_J0811.4+0146_daily_bin342.fits outfile=/scratch/kocevski/304673/cmap_327974401_328233601_4FGL_J0811.4+0146_daily_bin342.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 4.35
user 0.36
sys 3.97

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304673/ft1_filtered_4FGL_J0811.4+0146_daily_bin342.fits scfile=/scratch/kocevski/304673/ft2_4FGL_J0811.4+0146_daily_bin342.fits outfile=/scratch/kocevski/304673/cmap_HighResolution_327974401_328233601_4FGL_J0811.4+0146_daily_bin342.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 4.22
user 0.39
sys 3.82

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.631       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.0222       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.6621       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.2689       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .66123       1.0000         .10000E-03   10000.    
    15 'norm      '    3.8597       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.6267       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    13.924       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.3950       1.0000         .10000E-03   10000.    
    21 'norm      '    .74966       1.0000         .10000E-03   10000.    
    22 'norm      '    5.5916       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0541       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0158       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=   5857.952     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2310 TOTAL
                     EDM=   .12E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.879       -.26157E-06** at limit **
   2  Prefactor     20.629        13.420        .63124E-07    .80512E-05
   3  Prefactor     .10000E-03    17.558       -.84847E-06** at limit **
   4  norm          2.0221        1.8992        .10456E-06    .52730E-04
   5  Prefactor     .10000E-03    31.464       -.16134E-05** at limit **
   6  norm          .10000E-03    25.383        .65935E-06** at limit **
   7  Prefactor     .10000E-03    1.4191        .70897E-08** at limit **
   8  norm          .10000E-03    12.692        .12805E-06** at limit **
   9  Prefactor     4.6607        7.9631        .11133E-06   -.13273E-04
  10  Prefactor     .10000E-03    46.402        .42124E-06** at limit **
  11  Prefactor     6.2659        9.5624        .10927E-05    .96607E-05
  12  Prefactor     .10000E-03    26.378        .33330E-06** at limit **
  13  norm          .10000E-03    5.0990        .10103E-07** at limit **
  14  norm          .66241        2.3393        .26986E-06   -.27188E-05
  15  norm          3.8595        1.5475       -.31366E-07   -.60005E-04
  16  norm          .10000E-03    7.0671       -.17879E-08** at limit **
  17  norm          4.6268        3.7458        .57856E-07   -.14838E-04
  18  Prefactor     .10000E-03    21.455        .13310E-05** at limit **
  19  norm          13.898        25.940        .30344E-05   -.68605E-05
  20  Prefactor     2.3972        25.320        .88590E-05    .11125E-06
  21  norm          .74976        .88181        .47214E-07    .14429E-04
  22  norm          5.5915        6.3535        .11538E-06   -.17771E-05
  23  Normalizat    1.0539        .21040       -.23830E-05   -.10981E-04
  24  Prefactor     1.0159        .13472        .58577E-06   -.16780E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 20.629
  Prefactor  = 0.0001
  norm       = 2.02206
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.66066
  Prefactor  = 0.0001
  Prefactor  = 6.26594
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.662409
  norm       = 3.8595
  norm       = 0.0001
  norm       = 4.62678
  Prefactor  = 0.0001
  norm       = 13.8979
  Prefactor  = 2.39721
  norm       = 0.749759
  norm       = 5.59149
  Normalizat = 1.0539
  Prefactor  = 1.01588
 **********
 **   18 **HESSE 
 **********

 FCN=   5857.952     FROM HESSE     STATUS=OK           401 CALLS     2711 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.629        13.457        .88182E-04   -1.4799    
   3  Prefactor     .10000E-03    17.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.0221        1.8917        .97227E-04   -1.5424    
   5  Prefactor     .10000E-03    31.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    25.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.4319        .89019E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    12.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.6607        7.9513        .18639E-03   -1.5276    
  10  Prefactor     .10000E-03    46.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.2659        9.5116        .80162E-03   -1.5207    
  12  Prefactor     .10000E-03    26.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.1092        .16875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .66241        2.2954        .20615E-03   -1.5545    
  15  norm          3.8595        1.5390        .56971E-04   -1.5315    
  16  norm          .10000E-03    7.0713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.6268        3.7490        .12891E-03   -1.5278    
  18  Prefactor     .10000E-03    21.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.898        25.978        .10734E-03   -1.4962    
  20  Prefactor     2.3972        25.432        .13231E-02   -1.5398    
  21  norm          .74976        .84080        .74741E-03   -1.5535    
  22  norm          5.5915        6.3486        .16989E-03   -1.5235    
  23  Normalizat    1.0539        .23496        .29987E-03   -.91246    
  24  Prefactor     1.0159        .15285        .20100E-03   -.92202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.20314e-12
Minuit parameter uncertainties:
  1  4.76713e-06
  2  13.4593
  3  1.13728e-05
  4  1.89171
  5  2.82218e-05
  6  7.26794e-06
  7  6.85168e-07
  8  3.9465e-07
  9  7.95315
  10  1.73822e-06
  11  9.51386
  12  8.66447e-06
  13  1.98324e-06
  14  2.29567
  15  1.53898
  16  1.35974e-06
  17  3.74915
  18  1.67998e-06
  19  25.9989
  20  15.6243
  21  0.840816
  22  6.34934
  23  0.235197
  24  0.152912
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  4.627e+00  3.749e+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:  1.016e+00  1.529e-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.054e+00  2.352e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.40
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 3.32e-08 +/- 2.69e-08
Energy Flux (Fixed Index): 1.97e-05 +/- 1.59e-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) = 5857.67129952
delta logL = 0.281132081088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5857.30549524
delta logL = 0.646936355518

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97905       1.0000         .10000E-03   10000.    
     2 'alpha     '    .82861       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0800       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0127       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=   5857.305     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      209 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97905        1.0803        .13091E-01   -.13661E-02
   2  alpha         .82861        .47037        .36955       -.63587E-04
   3  Normalizat    1.0800        .19610        .67078E-01    .39512E-04
   4  Prefactor     1.0127        .12997        .42959E-01   -.11107E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.979053
  alpha      = 0.828612
  Normalizat = 1.08003
  Prefactor  = 1.0127
 **********
 **   18 **HESSE 
 **********

 FCN=   5857.305     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97905        2.1357        .68720E-03   -1.5510    
   2  alpha         .82861        .85526        .16098E-02   -.73226    
   3  Normalizat    1.0800        .22213        .29675E-03   -.90396    
   4  Prefactor     1.0127        .14739        .20135E-03   -.92307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32737e-09
Minuit parameter uncertainties:
  1  2.13589
  2  0.888722
  3  0.222319
  4  0.147449
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304673': 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) = 5857.30549523
delta logL = 0.646936366063

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  9.791e-01  2.136e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  8.286e-01  8.887e-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:  1.013e+00  1.474e-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.080e+00  2.223e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.68
Ra Dec: 122.861 1.776
Photon Index (Free Index): 0.83 +/- 0.89
Photon Flux (Free Index): 5.39e-09 +/- 7.02e-09
Energy Flux (Free Index): 6.35e-05 +/- 9.68e-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/304673/cmap_HighResolution_327974401_328233601_4FGL_J0811.4+0146_daily_bin342.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.32e-08', energy_flux2='6.35e-05', photon_flux_error='2.69e-08', dlogl='6.47e-01', energy_flux='1.97e-05', photon_flux2='5.39e-09', job_status='DONE', time_completed='2021-08-29 12:19:06.175496', photon_index_error2='0.89', photon_index2='0.83', ts='10.40', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='9.68e-05', EG='1.05', time_epoch_completed='1630264746.18', return_code='0', job_id='304673', GAL2='1.01', EG2='1.08', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='7.02e-09', ts2='11.68', photon_index='2.01' WHERE bin_id='342' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:19:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 304673: <4FGL_J0811.4+0146_daily_bin342> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin342> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 29 12:05:28 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:05:31 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:05:31 2021
Terminated at Sun Aug 29 12:19:07 2021
Results reported at Sun Aug 29 12:19:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin342 122.861 1.7756 327974401 328233601 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 :                                   658.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            819 sec.

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

