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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin897
RA = 122.861, Dec = 1.7756
tmin = 471830401, tmax = 472089601
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='309581', job_status='RUN', time_executed='2021-08-29 12:25:24.610040', time_epoch_executed='1630265124.61' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='897'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309581

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309581/ft1_4FGL_J0811.4+0146_daily_bin897.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309581/ft2_4FGL_J0811.4+0146_daily_bin897.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309581/ft1_4FGL_J0811.4+0146_daily_bin897.fits outfile=/scratch/kocevski/309581/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin897.fits ra=122.861 dec=1.7756 rad=12.0 tmin=471830401.0 tmax=472089601.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 9.22
user 3.36
sys 5.79

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309581/ft1_filtered_4FGL_J0811.4+0146_daily_bin897.fits" evtable="EVENTS" scfile=/scratch/kocevski/309581/ft2_4FGL_J0811.4+0146_daily_bin897.fits sctable="SC_DATA" outfile=/scratch/kocevski/309581/ltcube_471830401_472089601_4FGL_J0811.4+0146_daily_bin897.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/309581/ft2_4FGL_J0811.4+0146_daily_bin897.fits
.....................!
real 18.32
user 11.63
sys 6.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309581/ft1_filtered_4FGL_J0811.4+0146_daily_bin897.fits evtable="EVENTS" scfile=/scratch/kocevski/309581/ft2_4FGL_J0811.4+0146_daily_bin897.fits sctable="SC_DATA" expcube=/scratch/kocevski/309581/ltcube_471830401_472089601_4FGL_J0811.4+0146_daily_bin897.fits outfile=/scratch/kocevski/309581/expmap_471830401_472089601_4FGL_J0811.4+0146_daily_bin897.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/309581/ltcube_471830401_472089601_4FGL_J0811.4+0146_daily_bin897.fits
.....................!
real 198.40
user 185.20
sys 11.85

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/309581/ft1_filtered_4FGL_J0811.4+0146_daily_bin897.fits scfile=/scratch/kocevski/309581/ft2_4FGL_J0811.4+0146_daily_bin897.fits outfile=/scratch/kocevski/309581/cmap_471830401_472089601_4FGL_J0811.4+0146_daily_bin897.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 6.07
user 0.36
sys 5.61

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309581/ft1_filtered_4FGL_J0811.4+0146_daily_bin897.fits scfile=/scratch/kocevski/309581/ft2_4FGL_J0811.4+0146_daily_bin897.fits outfile=/scratch/kocevski/309581/cmap_HighResolution_471830401_472089601_4FGL_J0811.4+0146_daily_bin897.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 6.00
user 0.39
sys 5.56

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    12.501       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.333       1.0000         .10000E-03   10000.    
     4 'norm      '    3.9098       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    8.7663       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0121       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    12.987       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .56302       1.0000         .10000E-03   10000.    
    16 'norm      '    .10313E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.3130       1.0000         .10000E-03   10000.    
    18 'Prefactor '    91.242       1.0000         .10000E-03   10000.    
    19 'norm      '    27.472       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11820E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.7131       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3364       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69231       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=   6582.773     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2709 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.590        .26671E-06** at limit **
   2  Prefactor     12.501        10.509        .62418E-07   -.35560E-05
   3  Prefactor     21.320        40.383       -.19951E-05   -.10804E-03
   4  norm          3.9096        2.3137        .12621E-06   -.46652E-04
   5  Prefactor     .10000E-03    18.902        .82731E-06** at limit **
   6  norm          .10000E-03    4.2171       -.73068E-08** at limit **
   7  Prefactor     .10000E-03    1.2987        .20860E-07** at limit **
   8  norm          8.7748        10.969        .10984E-06    .23371E-05
   9  Prefactor     .10000E-03    13.438        .12922E-06** at limit **
  10  Prefactor     .10000E-03    77.656        .12917E-06** at limit **
  11  Prefactor     7.0119        10.214        .27910E-05   -.32707E-03
  12  Prefactor     .10000E-03    21.986       -.47211E-06** at limit **
  13  norm          12.987        12.194        .28303E-06   -.13501E-03
  14  norm          .10000E-03    1.6899       -.25111E-06** at limit **
  15  norm          .56312        1.0015        .13188E-06   -.15673E-03
  16  norm          .10000E-03    17.171        .32408E-07** at limit **
  17  norm          8.3137        4.2936       -.52754E-07   -.64600E-04
  18  Prefactor     91.263        44.357        .25204E-05    .29576E-03
  19  norm          27.471        19.924       -.29414E-07   -.51855E-05
  20  Prefactor     .10000E-03    32.591        .81448E-06** at limit **
  21  norm          .10000E-03    .25542        .13728E-07** at limit **
  22  norm          4.7132        5.2818       -.28887E-06   -.24327E-03
  23  Normalizat    1.3363        .20119       -.17337E-05    .35659E-04
  24  Prefactor     .69242        .12160        .50857E-06   -.12310E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.5007
  Prefactor  = 21.32
  norm       = 3.90956
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.77483
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.01193
  Prefactor  = 0.0001
  norm       = 12.9871
  norm       = 0.0001
  norm       = 0.563117
  norm       = 0.0001
  norm       = 8.31374
  Prefactor  = 91.2627
  norm       = 27.4706
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.71318
  Normalizat = 1.33625
  Prefactor  = 0.692421
 **********
 **   18 **HESSE 
 **********

 FCN=   6582.773     FROM HESSE     STATUS=OK           397 CALLS     3106 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.501        10.518        .11329E-03   -1.5001    
   3  Prefactor     21.320        41.186        .86721E-04   -1.4784    
   4  norm          3.9096        2.3073        .88004E-04   -1.5312    
   5  Prefactor     .10000E-03    19.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.2182        .16272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.3047        .90287E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.7748        10.944        .13538E-03   -1.5115    
   9  Prefactor     .10000E-03    13.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    77.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.0119        10.650        .75749E-03   -1.5178    
  12  Prefactor     .10000E-03    22.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.987        12.181        .55576E-03   -1.4987    
  14  norm          .10000E-03    1.7395        .20626E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .56312        .93855        .10181E-02   -1.5558    
  16  norm          .10000E-03    17.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.3137        4.2959        .11642E-03   -1.5131    
  18  Prefactor     91.263        46.174        .42069E-04   -1.3794    
  19  norm          27.471        19.902        .76434E-04   -1.4659    
  20  Prefactor     .10000E-03    33.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .26222        .80025E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.7132        5.3249        .18535E-03   -1.5274    
  23  Normalizat    1.3363        .22830        .26770E-03   -.82491    
  24  Prefactor     .69242        .13891        .22101E-03   -1.0382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99989e-09
Minuit parameter uncertainties:
  1  7.08186e-05
  2  10.5197
  3  41.2411
  4  2.30736
  5  0.000106701
  6  9.75231e-07
  7  8.69861e-07
  8  10.946
  9  1.90863e-06
  10  3.88915e-05
  11  10.6525
  12  0.000116088
  13  12.1838
  14  1.34391e-05
  15  0.93857
  16  8.9306e-05
  17  4.29604
  18  46.1925
  19  19.9073
  20  0.000120123
  21  3.06558e-07
  22  5.32544
  23  0.228478
  24  0.138981
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  8.314e+00  4.296e+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:  6.924e-01  1.390e-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.336e+00  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.90
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 5.96e-08 +/- 3.08e-08
Energy Flux (Fixed Index): 3.53e-05 +/- 1.83e-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) = 6582.19941064
delta logL = 0.573186716603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6582.13248047
delta logL = 0.640116889054

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4376       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4716       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68704       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=   6582.132     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      211 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4376        3.7562        .39546E-02    .34557E-03
   2  alpha         1.4716        .34669        .28849       -.36998E-04
   3  Normalizat    1.3641        .18966        .60046E-01    .49182E-05
   4  Prefactor     .68703        .11700        .42228E-01    .16821E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.43761
  alpha      = 1.47157
  Normalizat = 1.36409
  Prefactor  = 0.687035
 **********
 **   18 **HESSE 
 **********

 FCN=   6582.132     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4376        4.7240        .11424E-03   -1.5200    
   2  alpha         1.4716        .47032        .11779E-01   -.42396    
   3  Normalizat    1.3641        .21674        .26555E-03   -.81673    
   4  Prefactor     .68703        .13365        .22195E-03   -1.0404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.02826e-10
Minuit parameter uncertainties:
  1  4.72426
  2  0.473724
  3  0.216889
  4  0.133717
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309581': 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) = 6582.13248046
delta logL = 0.640116893799

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  6.438e+00  4.724e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.472e+00  4.737e-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:  6.870e-01  1.337e-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.364e+00  2.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.17
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.47 +/- 0.47
Photon Flux (Free Index): 2.91e-08 +/- 2.59e-08
Energy Flux (Free Index): 6.15e-05 +/- 5.24e-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/309581/cmap_HighResolution_471830401_472089601_4FGL_J0811.4+0146_daily_bin897.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.96e-08', energy_flux2='6.15e-05', photon_flux_error='3.08e-08', dlogl='6.40e-01', energy_flux='3.53e-05', photon_flux2='2.91e-08', job_status='DONE', time_completed='2021-08-29 12:36:46.247652', photon_index_error2='0.47', photon_index2='1.47', ts='18.90', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='5.24e-05', EG='1.34', time_epoch_completed='1630265806.25', return_code='0', job_id='309581', GAL2='0.69', EG2='1.36', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='2.59e-08', ts2='20.17', photon_index='2.01' WHERE bin_id='897' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:36:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 309581: <4FGL_J0811.4+0146_daily_bin897> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin897 122.861 1.7756 471830401 472089601 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 :                                   764.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             216.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            971 sec.

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

