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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin829
RA = 122.861, Dec = 1.7756
tmin = 454204801, tmax = 454464001
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='309458', job_status='RUN', time_executed='2021-08-29 12:23:43.819767', time_epoch_executed='1630265023.82' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='829'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309458

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309458/ft1_4FGL_J0811.4+0146_daily_bin829.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309458/ft2_4FGL_J0811.4+0146_daily_bin829.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309458/ft1_4FGL_J0811.4+0146_daily_bin829.fits outfile=/scratch/kocevski/309458/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin829.fits ra=122.861 dec=1.7756 rad=12.0 tmin=454204801.0 tmax=454464001.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.88
user 3.29
sys 0.55

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309458/ft1_filtered_4FGL_J0811.4+0146_daily_bin829.fits" evtable="EVENTS" scfile=/scratch/kocevski/309458/ft2_4FGL_J0811.4+0146_daily_bin829.fits sctable="SC_DATA" outfile=/scratch/kocevski/309458/ltcube_454204801_454464001_4FGL_J0811.4+0146_daily_bin829.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/309458/ft2_4FGL_J0811.4+0146_daily_bin829.fits
.....................!
real 12.24
user 11.45
sys 0.72

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309458/ft1_filtered_4FGL_J0811.4+0146_daily_bin829.fits evtable="EVENTS" scfile=/scratch/kocevski/309458/ft2_4FGL_J0811.4+0146_daily_bin829.fits sctable="SC_DATA" expcube=/scratch/kocevski/309458/ltcube_454204801_454464001_4FGL_J0811.4+0146_daily_bin829.fits outfile=/scratch/kocevski/309458/expmap_454204801_454464001_4FGL_J0811.4+0146_daily_bin829.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/309458/ltcube_454204801_454464001_4FGL_J0811.4+0146_daily_bin829.fits
.....................!
real 190.52
user 185.33
sys 4.82

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/309458/ft1_filtered_4FGL_J0811.4+0146_daily_bin829.fits scfile=/scratch/kocevski/309458/ft2_4FGL_J0811.4+0146_daily_bin829.fits outfile=/scratch/kocevski/309458/cmap_454204801_454464001_4FGL_J0811.4+0146_daily_bin829.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.85
user 0.36
sys 0.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309458/ft1_filtered_4FGL_J0811.4+0146_daily_bin829.fits scfile=/scratch/kocevski/309458/ft2_4FGL_J0811.4+0146_daily_bin829.fits outfile=/scratch/kocevski/309458/cmap_HighResolution_454204801_454464001_4FGL_J0811.4+0146_daily_bin829.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.86
user 0.36
sys 0.50

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    135.36       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.359       1.0000         .10000E-03   10000.    
     4 'norm      '    8.8248       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .15668E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.312       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.529       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.824       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.3714       1.0000         .10000E-03   10000.    
    15 'norm      '    .71858       1.0000         .10000E-03   10000.    
    16 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.9004       1.0000         .10000E-03   10000.    
    18 'Prefactor '    60.167       1.0000         .10000E-03   10000.    
    19 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.321       1.0000         .10000E-03   10000.    
    21 'norm      '    1.9873       1.0000         .10000E-03   10000.    
    22 'norm      '    1.1211       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75800       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0006       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=   7345.660     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2734 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     135.36        68.568        .10223E-05   -.28113E-04
   2  Prefactor     .10000E-03    4.1325        .17645E-07** at limit **
   3  Prefactor     11.355        26.341       -.55472E-07   -.46167E-04
   4  norm          8.8244        2.4729       -.96084E-07   -.21748E-03
   5  Prefactor     .10000E-03    14.704        .40215E-05** at limit **
   6  norm          .10000E-03    4.7430        .23255E-07** at limit **
   7  Prefactor     .10000E-03    1.4080        .16706E-06** at limit **
   8  norm          .10165E-03    13.674        .66922E-05** at limit **
   9  Prefactor     16.298        12.790       -.12383E-04   -.12076E-03
  10  Prefactor     .10000E-03    64.661        .92301E-05** at limit **
  11  Prefactor     16.530        10.507        .33147E-06   -.66181E-04
  12  Prefactor     10.846        40.738        .23771E-04   -.13360E-03
  13  norm          .10000E-03    7.5921       -.79986E-07** at limit **
  14  norm          5.3714        3.5526       -.80570E-07   -.45319E-04
  15  norm          .71834        1.2224        .17320E-07   -.11218E-03
  16  norm          .10000E-03    10.914        .31472E-06** at limit **
  17  norm          6.9006        3.5960       -.28988E-06   -.11741E-03
  18  Prefactor     60.164        41.438       -.33738E-05   -.43094E-04
  19  norm          .10000E-03    13.309       -.39870E-05** at limit **
  20  Prefactor     14.324        19.667        .83224E-06   -.36964E-04
  21  norm          1.9875        1.1202       -.43246E-07   -.11786E-03
  22  norm          1.1214        1.2478        .30094E-06   -.22052E-02
  23  Normalizat    .75761        .19643        .34619E-06   -.35466E-03
  24  Prefactor     1.0008        .12158       -.25698E-06   -.46056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 135.36
  Prefactor  = 0.0001
  Prefactor  = 11.3554
  norm       = 8.82437
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000101655
  Prefactor  = 16.2979
  Prefactor  = 0.000100001
  Prefactor  = 16.5299
  Prefactor  = 10.8461
  norm       = 0.0001
  norm       = 5.37144
  norm       = 0.718337
  norm       = 0.0001
  norm       = 6.90062
  Prefactor  = 60.1645
  norm       = 0.0001
  Prefactor  = 14.3241
  norm       = 1.98753
  norm       = 1.12135
  Normalizat = 0.757615
  Prefactor  = 1.00084
 **********
 **   18 **HESSE 
 **********

 FCN=   7345.660     FROM HESSE     STATUS=OK           401 CALLS     3135 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     135.36        68.764        .34616E-04   -1.3376    
   2  Prefactor     .10000E-03    4.1509        .17014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.355        26.383        .59434E-03   -1.5034    
   4  norm          8.8244        2.4749        .67563E-04   -1.5114    
   5  Prefactor     .10000E-03    14.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.7473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.4138        .99323E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10165E-03    145.76        .59805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.298        12.847        .99166E-04   -1.4900    
  10  Prefactor     .10000E-03    64.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.530        10.500        .98513E-04   -1.4895    
  12  Prefactor     10.846        40.642        .12178E-03   -1.5049    
  13  norm          .10000E-03    7.6408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.3714        3.4689        .11302E-03   -1.5244    
  15  norm          .71834        1.1781        .10681E-03   -1.5538    
  16  norm          .10000E-03    10.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.9006        3.5944        .11304E-03   -1.5183    
  18  Prefactor     60.164        41.474        .51726E-04   -1.4155    
  19  norm          .10000E-03    13.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.324        19.708        .10584E-03   -1.4951    
  21  norm          1.9875        1.1184        .64385E-04   -1.5426    
  22  norm          1.1214        10.418        .22171E-02   -1.5496    
  23  Normalizat    .75761        .22355        .34595E-03   -1.0166    
  24  Prefactor     1.0008        .13848        .19755E-03   -.92701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97065e-08
Minuit parameter uncertainties:
  1  68.8046
  2  1.2005e-06
  3  26.4096
  4  2.47495
  5  0.000115151
  6  3.08671e-07
  7  2.08588e-05
  8  0.0311362
  9  12.8497
  10  0.00042058
  11  10.5014
  12  40.7461
  13  3.39963e-05
  14  3.46902
  15  1.17816
  16  0.000136203
  17  3.59455
  18  41.4936
  19  0.000112694
  20  19.7174
  21  1.11842
  22  6.83711
  23  0.22382
  24  0.138525
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  6.901e+00  3.595e+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.001e+00  1.385e-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:  7.576e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.10
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 4.95e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 2.93e-05 +/- 1.53e-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) = 7345.11799651
delta logL = 0.542268531713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7345.0620032
delta logL = 0.598261841586

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0024       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4877       1.0000          .0000       5.0000    
     3 'Normalizat'    .77852       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99588       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=   7345.062     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      213 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0011        3.3151        .40973E-02   -.12718E-03
   2  alpha         1.4876        .35406        .32558       -.37929E-04
   3  Normalizat    .77852        .17926        .77205E-01    .27739E-04
   4  Prefactor     .99588        .11656        .46216E-01    .71457E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.00115
  alpha      = 1.48764
  Normalizat = 0.778523
  Prefactor  = 0.995881
 **********
 **   18 **HESSE 
 **********

 FCN=   7345.062     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0011        3.8028        .11297E-03   -1.5218    
   2  alpha         1.4876        .44947        .12952E-01   -.41692    
   3  Normalizat    .77852        .20111        .34178E-03   -1.0087    
   4  Prefactor     .99588        .13113        .99024E-03   -.92867    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35051e-12
Minuit parameter uncertainties:
  1  3.80291
  2  0.452421
  3  0.201306
  4  0.13117
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309458': 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) = 7345.06200315
delta logL = 0.598261894476

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  6.001e+00  3.803e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.488e+00  4.524e-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:  9.959e-01  1.312e-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:  7.785e-01  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.28
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.49 +/- 0.45
Photon Flux (Free Index): 2.73e-08 +/- 2.10e-08
Energy Flux (Free Index): 5.53e-05 +/- 5.00e-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/309458/cmap_HighResolution_454204801_454464001_4FGL_J0811.4+0146_daily_bin829.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.95e-08', energy_flux2='5.53e-05', photon_flux_error='2.58e-08', dlogl='5.98e-01', energy_flux='2.93e-05', photon_flux2='2.73e-08', job_status='DONE', time_completed='2021-08-29 12:34:00.459920', photon_index_error2='0.45', photon_index2='1.49', ts='19.10', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='5.00e-05', EG='0.76', time_epoch_completed='1630265640.46', return_code='0', job_id='309458', GAL2='1.00', EG2='0.78', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='2.10e-08', ts2='20.28', photon_index='2.01' WHERE bin_id='829' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:34:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 309458: <4FGL_J0811.4+0146_daily_bin829> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin829 122.861 1.7756 454204801 454464001 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 :                                   621.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            815 sec.

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

