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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin585
RA = 122.861, Dec = 1.7756
tmin = 390960001, tmax = 391219201
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='307762', job_status='RUN', time_executed='2021-08-29 12:17:50.234944', time_epoch_executed='1630264670.23' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='585'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307762

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307762/ft1_4FGL_J0811.4+0146_daily_bin585.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307762/ft2_4FGL_J0811.4+0146_daily_bin585.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307762/ft1_4FGL_J0811.4+0146_daily_bin585.fits outfile=/scratch/kocevski/307762/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin585.fits ra=122.861 dec=1.7756 rad=12.0 tmin=390960001.0 tmax=391219201.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 4.49
user 4.22
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307762/ft2_4FGL_J0811.4+0146_daily_bin585.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/307762/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin585.fits evtable="EVENTS" outfile="/scratch/kocevski/307762/ft1_filtered_4FGL_J0811.4+0146_daily_bin585.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.51
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307762/ft1_filtered_4FGL_J0811.4+0146_daily_bin585.fits" evtable="EVENTS" scfile=/scratch/kocevski/307762/ft2_4FGL_J0811.4+0146_daily_bin585.fits sctable="SC_DATA" outfile=/scratch/kocevski/307762/ltcube_390960001_391219201_4FGL_J0811.4+0146_daily_bin585.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/307762/ft2_4FGL_J0811.4+0146_daily_bin585.fits
.....................!
real 11.80
user 11.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307762/ft1_filtered_4FGL_J0811.4+0146_daily_bin585.fits evtable="EVENTS" scfile=/scratch/kocevski/307762/ft2_4FGL_J0811.4+0146_daily_bin585.fits sctable="SC_DATA" expcube=/scratch/kocevski/307762/ltcube_390960001_391219201_4FGL_J0811.4+0146_daily_bin585.fits outfile=/scratch/kocevski/307762/expmap_390960001_391219201_4FGL_J0811.4+0146_daily_bin585.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/307762/ltcube_390960001_391219201_4FGL_J0811.4+0146_daily_bin585.fits
.....................!
real 190.68
user 185.45
sys 4.90

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/307762/ft1_filtered_4FGL_J0811.4+0146_daily_bin585.fits scfile=/scratch/kocevski/307762/ft2_4FGL_J0811.4+0146_daily_bin585.fits outfile=/scratch/kocevski/307762/cmap_390960001_391219201_4FGL_J0811.4+0146_daily_bin585.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307762/ft1_filtered_4FGL_J0811.4+0146_daily_bin585.fits scfile=/scratch/kocevski/307762/ft2_4FGL_J0811.4+0146_daily_bin585.fits outfile=/scratch/kocevski/307762/cmap_HighResolution_390960001_391219201_4FGL_J0811.4+0146_daily_bin585.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.54
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.224       1.0000         .10000E-03   10000.    
     4 'norm      '    4.8484       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.944       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.197       1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.484       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4808       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.0312       1.0000         .10000E-03   10000.    
    14 'norm      '    .71599       1.0000         .10000E-03   10000.    
    15 'norm      '    3.2348       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    9.0794       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.2752       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .83294       1.0000         .10000E-03   10000.    
    22 'norm      '    9.9088       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3003       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78599       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=   8254.125     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2699 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.231        .63444E-07** at limit **
   2  Prefactor     .10000E-03    2.3336       -.13666E-06** at limit **
   3  Prefactor     27.225        28.066        .10248E-05    .62075E-04
   4  norm          4.8484        1.9381       -.13804E-07   -.91445E-04
   5  Prefactor     .10000E-03    9.3277       -.36433E-05** at limit **
   6  norm          12.944        10.756       -.67149E-08   -.67685E-05
   7  Prefactor     .10000E-03    2.4473       -.95215E-06** at limit **
   8  norm          .10000E-03    6.5111        .14413E-05** at limit **
   9  Prefactor     10.197        8.9543       -.30213E-06    .42547E-04
  10  Prefactor     22.507        145.53        .23741E-04    .86723E-04
  11  Prefactor     4.4805        5.0394        .16649E-05   -.18383E-02
  12  Prefactor     .10000E-03    10.337        .36983E-05** at limit **
  13  norm          7.0311        7.8799        .23538E-06   -.48857E-03
  14  norm          .71599        1.0178       -.76057E-07   -.74362E-04
  15  norm          3.2348        1.0915       -.24542E-07   -.22503E-03
  16  norm          .10000E-03    5.1466        .16145E-06** at limit **
  17  norm          9.0794        4.5147       -.60135E-07   -.16285E-03
  18  Prefactor     .10000E-03    7.0391        .68726E-06** at limit **
  19  norm          9.2755        9.4468       -.20419E-06    .25405E-03
  20  Prefactor     .10000E-03    9.9849       -.21520E-07** at limit **
  21  norm          .83294        .68039        .21530E-07   -.34590E-04
  22  norm          9.9089        7.3612        .12582E-06   -.41868E-05
  23  Normalizat    1.3003        .17412       -.22525E-06    .12401E-03
  24  Prefactor     .78598        .10846       -.22318E-06    .12601E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.2251
  norm       = 4.84842
  Prefactor  = 0.000100001
  norm       = 12.9441
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 10.1969
  Prefactor  = 22.5073
  Prefactor  = 4.48046
  Prefactor  = 0.000100001
  norm       = 7.03113
  norm       = 0.715993
  norm       = 3.23483
  norm       = 0.0001
  norm       = 9.07939
  Prefactor  = 0.0001
  norm       = 9.27548
  Prefactor  = 0.0001
  norm       = 0.832937
  norm       = 9.90895
  Normalizat = 1.3003
  Prefactor  = 0.785977
 **********
 **   18 **HESSE 
 **********

 FCN=   8254.125     FROM HESSE     STATUS=OK           405 CALLS     3104 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.3371        .13554E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.225        28.071        .76781E-04   -1.4664    
   4  norm          4.8484        1.9389        .75784E-04   -1.5268    
   5  Prefactor     .10000E-03    9.4634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.944        10.771        .11134E-03   -1.4988    
   7  Prefactor     .10000E-03    5.8954        .26995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.5426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.197        8.9272        .12548E-03   -1.5069    
  10  Prefactor     22.507        153.07        .84474E-04   -1.4759    
  11  Prefactor     4.4805        6.9313        .95106E-03   -1.5285    
  12  Prefactor     .10000E-03    10.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.0311        7.9013        .75645E-03   -1.5178    
  14  norm          .71599        1.0179        .48492E-04   -1.5539    
  15  norm          3.2348        1.0913        .52681E-04   -1.5348    
  16  norm          .10000E-03    5.1523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.0794        4.5198        .13038E-03   -1.5105    
  18  Prefactor     .10000E-03    7.0464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.2755        9.4876        .65797E-03   -1.5099    
  20  Prefactor     .10000E-03    10.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .83294        .69866        .65159E-03   -1.5525    
  22  norm          9.9089        7.3667        .12730E-03   -1.5078    
  23  Normalizat    1.3003        .19702        .27823E-03   -.83557    
  24  Prefactor     .78598        .12308        .21740E-03   -1.0025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56108e-09
Minuit parameter uncertainties:
  1  3.76918e-06
  2  3.51597e-06
  3  28.0847
  4  1.93895
  5  0.000197168
  6  10.7722
  7  0.000136315
  8  6.87147e-05
  9  8.92839
  10  117.826
  11  6.93253
  12  0.000213244
  13  7.90243
  14  1.01795
  15  1.0913
  16  6.5618e-06
  17  4.51999
  18  3.24792e-05
  19  9.48913
  20  2.3165e-06
  21  0.698671
  22  7.36739
  23  0.19713
  24  0.123126
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  9.079e+00  4.520e+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:  7.860e-01  1.231e-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.300e+00  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.16
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 6.51e-08 +/- 3.24e-08
Energy Flux (Fixed Index): 3.86e-05 +/- 1.92e-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) = 8252.67428584
delta logL = 1.45089983577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8252.65779573
delta logL = 1.46738994762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0347       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8262       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2111       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81757       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=   8252.658     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      279 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0344        4.7177        .83380E-04    .59066E-03
   2  alpha         2.8263        .56586        .87872E-02    .68073E-04
   3  Normalizat    1.2111        .20182        .28629E-03   -.18489E-03
   4  Prefactor     .81756        .12262        .21354E-03   -.35332E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.03436
  alpha      = 2.82626
  Normalizat = 1.21109
  Prefactor  = 0.817561
 **********
 **   18 **HESSE 
 **********

 FCN=   8252.658     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0344        4.2226        .33352E-05   -1.5217    
   2  alpha         2.8263        .50669        .35149E-03    .13088    
   3  Normalizat    1.2111        .20118        .11452E-04   -.86261    
   4  Prefactor     .81756        .12235        .42708E-04   -.99084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32053e-10
Minuit parameter uncertainties:
  1  4.22281
  2  0.510285
  3  0.201304
  4  0.122394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307762': 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) = 8252.65779572
delta logL = 1.4673899542

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  6.034e+00  4.223e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.826e+00  5.103e-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:  8.176e-01  1.224e-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.211e+00  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.29
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.83 +/- 0.51
Photon Flux (Free Index): 1.40e-07 +/- 6.62e-08
Energy Flux (Free Index): 3.26e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/307762/cmap_HighResolution_390960001_391219201_4FGL_J0811.4+0146_daily_bin585.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.51e-08', energy_flux2='3.26e-05', photon_flux_error='3.24e-08', dlogl='1.47e+00', energy_flux='3.86e-05', photon_flux2='1.40e-07', job_status='DONE', time_completed='2021-08-29 12:29:15.469782', photon_index_error2='0.51', photon_index2='2.83', ts='7.16', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='1.30', time_epoch_completed='1630265355.47', return_code='0', job_id='307762', GAL2='0.82', EG2='1.21', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='6.62e-08', ts2='10.29', photon_index='2.01' WHERE bin_id='585' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:29:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 307762: <4FGL_J0811.4+0146_daily_bin585> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin585 122.861 1.7756 390960001 391219201 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 :                                   683.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            828 sec.

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

