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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin233
RA = 122.861, Dec = 1.7756
tmin = 299721601, tmax = 299980801
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='303207', job_status='RUN', time_executed='2021-08-29 12:04:15.051445', time_epoch_executed='1630263855.05' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='233'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303207

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303207/ft1_4FGL_J0811.4+0146_daily_bin233.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303207/ft2_4FGL_J0811.4+0146_daily_bin233.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303207/ft1_4FGL_J0811.4+0146_daily_bin233.fits outfile=/scratch/kocevski/303207/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin233.fits ra=122.861 dec=1.7756 rad=12.0 tmin=299721601.0 tmax=299980801.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.72
user 3.13
sys 0.54

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/303207/ft2_4FGL_J0811.4+0146_daily_bin233.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/303207/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin233.fits evtable="EVENTS" outfile="/scratch/kocevski/303207/ft1_filtered_4FGL_J0811.4+0146_daily_bin233.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.84
user 0.30
sys 0.52

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/303207/ft1_filtered_4FGL_J0811.4+0146_daily_bin233.fits" evtable="EVENTS" scfile=/scratch/kocevski/303207/ft2_4FGL_J0811.4+0146_daily_bin233.fits sctable="SC_DATA" outfile=/scratch/kocevski/303207/ltcube_299721601_299980801_4FGL_J0811.4+0146_daily_bin233.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/303207/ft2_4FGL_J0811.4+0146_daily_bin233.fits
.....................!
real 12.04
user 11.23
sys 0.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303207/ft1_filtered_4FGL_J0811.4+0146_daily_bin233.fits evtable="EVENTS" scfile=/scratch/kocevski/303207/ft2_4FGL_J0811.4+0146_daily_bin233.fits sctable="SC_DATA" expcube=/scratch/kocevski/303207/ltcube_299721601_299980801_4FGL_J0811.4+0146_daily_bin233.fits outfile=/scratch/kocevski/303207/expmap_299721601_299980801_4FGL_J0811.4+0146_daily_bin233.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/303207/ltcube_299721601_299980801_4FGL_J0811.4+0146_daily_bin233.fits
.....................!
real 191.68
user 185.69
sys 5.61

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/303207/ft1_filtered_4FGL_J0811.4+0146_daily_bin233.fits scfile=/scratch/kocevski/303207/ft2_4FGL_J0811.4+0146_daily_bin233.fits outfile=/scratch/kocevski/303207/cmap_299721601_299980801_4FGL_J0811.4+0146_daily_bin233.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.87
user 0.36
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303207/ft1_filtered_4FGL_J0811.4+0146_daily_bin233.fits scfile=/scratch/kocevski/303207/ft2_4FGL_J0811.4+0146_daily_bin233.fits outfile=/scratch/kocevski/303207/cmap_HighResolution_299721601_299980801_4FGL_J0811.4+0146_daily_bin233.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.90
user 0.37
sys 0.50

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.9919       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.6141       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11956E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11432E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.133       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2370       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.5232       1.0000         .10000E-03   10000.    
    14 'norm      '    2.7489       1.0000         .10000E-03   10000.    
    15 'norm      '    2.6219       1.0000         .10000E-03   10000.    
    16 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.4280       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.2630       1.0000         .10000E-03   10000.    
    19 'norm      '    7.7252       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.9564       1.0000         .10000E-03   10000.    
    21 'norm      '    .73070       1.0000         .10000E-03   10000.    
    22 'norm      '    13.139       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .80507       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2043       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=   6813.137     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2348 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    44.357       -.26592E-08** at limit **
   2  Prefactor     .10000E-03    10.517       -.33471E-08** at limit **
   3  Prefactor     .10000E-03    17.879       -.21749E-08** at limit **
   4  norm          2.9918        2.1583       -.14291E-07    .77996E-04
   5  Prefactor     .10000E-03    15.745        .19310E-09** at limit **
   6  norm          6.6138        11.802       -.21988E-07    .46934E-05
   7  Prefactor     .10000E-03    2.0060       -.99950E-08** at limit **
   8  norm          .10000E-03    24.812       -.26984E-08** at limit **
   9  Prefactor     23.133        13.704       -.12312E-07   -.17430E-03
  10  Prefactor     .10000E-03    165.85        .16124E-07** at limit **
  11  Prefactor     1.2398        20.595       -.37197E-07   -.19340E-04
  12  Prefactor     .10000E-03    8.9108        .13308E-08** at limit **
  13  norm          4.5192        11.170       -.67891E-06   -.16130E-03
  14  norm          2.7492        3.2685       -.45415E-08   -.13825E-04
  15  norm          2.6218        1.4538       -.52569E-08    .93298E-04
  16  norm          .10000E-03    9.8863       -.56741E-08** at limit **
  17  norm          5.4283        4.0415        .96302E-08   -.73413E-06
  18  Prefactor     9.2666        53.464        .66490E-06   -.37063E-03
  19  norm          7.7251        10.719       -.18893E-07   -.11270E-04
  20  Prefactor     3.9513        10.466       -.85930E-06   -.14951E-03
  21  norm          .72987        1.1286       -.16798E-07   -.70112E-04
  22  norm          13.141        10.713       -.85795E-07   -.77291E-04
  23  Normalizat    .80509        .22538        .18097E-06   -.32342E-05
  24  Prefactor     1.2043        .13981        .46703E-07   -.17341E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.99177
  Prefactor  = 0.0001
  norm       = 6.61377
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.1335
  Prefactor  = 0.0001
  Prefactor  = 1.23982
  Prefactor  = 0.0001
  norm       = 4.51922
  norm       = 2.74915
  norm       = 2.6218
  norm       = 0.0001
  norm       = 5.42825
  Prefactor  = 9.26663
  norm       = 7.72509
  Prefactor  = 3.9513
  norm       = 0.729869
  norm       = 13.1405
  Normalizat = 0.805087
  Prefactor  = 1.20434
 **********
 **   18 **HESSE 
 **********

 FCN=   6813.137     FROM HESSE     STATUS=OK           403 CALLS     2751 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.9918        2.1591        .97263E-04   -1.5362    
   5  Prefactor     .10000E-03    15.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.6138        11.823        .15603E-03   -1.5194    
   7  Prefactor     .10000E-03    4.5586        .22671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    25.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.133        13.652        .83282E-04   -1.4746    
  10  Prefactor     .10000E-03    166.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.2398        19.819        .40357E-03   -1.5485    
  12  Prefactor     .10000E-03    8.9189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.5192        14.460        .94649E-03   -1.5283    
  14  norm          2.7492        3.1964        .14374E-03   -1.5376    
  15  norm          2.6218        1.4450        .67910E-04   -1.5384    
  16  norm          .10000E-03    9.8943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.4283        4.0395        .13777E-03   -1.5242    
  18  Prefactor     9.2666        53.873        .13168E-03   -1.5099    
  19  norm          7.7251        10.721        .72138E-03   -1.5152    
  20  Prefactor     3.9513        14.765        .10140E-02   -1.5310    
  21  norm          .72987        .98137        .10114E-02   -1.5537    
  22  norm          13.141        10.902        .55252E-03   -1.4983    
  23  Normalizat    .80509        .25512        .36337E-03   -.99880    
  24  Prefactor     1.2043        .15785        .19564E-03   -.86198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92212e-09
Minuit parameter uncertainties:
  1  1.09022e-05
  2  1.00199e-05
  3  7.27208e-06
  4  2.15919
  5  1.53323e-06
  6  11.8269
  7  4.7548e-06
  8  2.6039e-05
  9  13.6537
  10  0.000362942
  11  9.91762
  12  1.49424e-05
  13  14.4714
  14  3.19656
  15  1.44504
  16  1.30378e-05
  17  4.03972
  18  44.7473
  19  10.7241
  20  14.779
  21  0.981394
  22  10.9032
  23  0.255501
  24  0.157908
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.428e+00  4.040e+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.204e+00  1.579e-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:  8.051e-01  2.555e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.71
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 3.89e-08 +/- 2.90e-08
Energy Flux (Fixed Index): 2.31e-05 +/- 1.72e-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) = 6812.40046677
delta logL = 0.736295667163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6812.37964743
delta logL = 0.757115007728

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4311       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3856       1.0000          .0000       5.0000    
     3 'Normalizat'    .81863       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1998       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=   6812.380     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      200 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4120        3.6591        .43107E-02    .58016E-04
   2  alpha         1.3848        .35450        .32016       -.46528E-04
   3  Normalizat    .81875        .20883        .81379E-01    .25281E-04
   4  Prefactor     1.1998        .13547        .34636E-01   -.24568E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.41203
  alpha      = 1.38484
  Normalizat = 0.818747
  Prefactor  = 1.19978
 **********
 **   18 **HESSE 
 **********

 FCN=   6812.380     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4120        4.0958        .12610E-03   -1.5243    
   2  alpha         1.3848        .43913        .12779E-01   -.46236    
   3  Normalizat    .81875        .23297        .36031E-03   -.99377    
   4  Prefactor     1.1998        .15156        .19589E-03   -.86338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01639e-12
Minuit parameter uncertainties:
  1  4.096
  2  0.441996
  3  0.233256
  4  0.151613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303207': 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) = 6812.37963661
delta logL = 0.757125830152

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.412e+00  4.096e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.385e+00  4.420e-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.200e+00  1.516e-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:  8.187e-01  2.333e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.22
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.38 +/- 0.44
Photon Flux (Free Index): 2.36e-08 +/- 1.95e-08
Energy Flux (Free Index): 6.38e-05 +/- 6.55e-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/303207/cmap_HighResolution_299721601_299980801_4FGL_J0811.4+0146_daily_bin233.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.89e-08', energy_flux2='6.38e-05', photon_flux_error='2.90e-08', dlogl='7.57e-01', energy_flux='2.31e-05', photon_flux2='2.36e-08', job_status='DONE', time_completed='2021-08-29 12:13:57.472868', photon_index_error2='0.44', photon_index2='1.38', ts='4.71', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='6.55e-05', EG='0.81', time_epoch_completed='1630264437.47', return_code='0', job_id='303207', GAL2='1.20', EG2='0.82', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='1.95e-08', ts2='6.22', photon_index='2.01' WHERE bin_id='233' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:13:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 303207: <4FGL_J0811.4+0146_daily_bin233> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin233> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 12:00:42 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:00:44 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:44 2021
Terminated at Sun Aug 29 12:13:58 2021
Results reported at Sun Aug 29 12:13:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin233 122.861 1.7756 299721601 299980801 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 :                                   584.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             301.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            796 sec.

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

