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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin484
RA = 122.861, Dec = 1.7756
tmin = 364780801, tmax = 365040001
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='306343', job_status='RUN', time_executed='2021-08-29 12:14:45.642635', time_epoch_executed='1630264485.64' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='484'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/306343

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/306343/ft1_4FGL_J0811.4+0146_daily_bin484.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/306343/ft2_4FGL_J0811.4+0146_daily_bin484.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/306343/ft1_4FGL_J0811.4+0146_daily_bin484.fits outfile=/scratch/kocevski/306343/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin484.fits ra=122.861 dec=1.7756 rad=12.0 tmin=364780801.0 tmax=365040001.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 8.78
user 3.08
sys 5.63

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/306343/ft1_filtered_4FGL_J0811.4+0146_daily_bin484.fits" evtable="EVENTS" scfile=/scratch/kocevski/306343/ft2_4FGL_J0811.4+0146_daily_bin484.fits sctable="SC_DATA" outfile=/scratch/kocevski/306343/ltcube_364780801_365040001_4FGL_J0811.4+0146_daily_bin484.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/306343/ft2_4FGL_J0811.4+0146_daily_bin484.fits
.....................!
real 21.00
user 14.73
sys 6.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/306343/ft1_filtered_4FGL_J0811.4+0146_daily_bin484.fits evtable="EVENTS" scfile=/scratch/kocevski/306343/ft2_4FGL_J0811.4+0146_daily_bin484.fits sctable="SC_DATA" expcube=/scratch/kocevski/306343/ltcube_364780801_365040001_4FGL_J0811.4+0146_daily_bin484.fits outfile=/scratch/kocevski/306343/expmap_364780801_365040001_4FGL_J0811.4+0146_daily_bin484.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/306343/ltcube_364780801_365040001_4FGL_J0811.4+0146_daily_bin484.fits
.....................!
real 198.26
user 185.65
sys 11.89

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/306343/ft1_filtered_4FGL_J0811.4+0146_daily_bin484.fits scfile=/scratch/kocevski/306343/ft2_4FGL_J0811.4+0146_daily_bin484.fits outfile=/scratch/kocevski/306343/cmap_364780801_365040001_4FGL_J0811.4+0146_daily_bin484.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 5.65
user 0.38
sys 5.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/306343/ft1_filtered_4FGL_J0811.4+0146_daily_bin484.fits scfile=/scratch/kocevski/306343/ft2_4FGL_J0811.4+0146_daily_bin484.fits outfile=/scratch/kocevski/306343/cmap_HighResolution_364780801_365040001_4FGL_J0811.4+0146_daily_bin484.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 5.68
user 0.40
sys 5.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.518       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.917       1.0000         .10000E-03   10000.    
     4 'norm      '    1.3931       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5390       1.0000         .10000E-03   10000.    
     8 'norm      '    12.674       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10315E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    68.132       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.389       1.0000         .10000E-03   10000.    
    13 'norm      '    .98499       1.0000         .10000E-03   10000.    
    14 'norm      '    8.8099       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10131E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.5477       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4606       1.0000         .10000E-03   10000.    
    19 'norm      '    17.196       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .13281E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.4295       1.0000         .10000E-03   10000.    
    22 'norm      '    4.6087       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2934       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88168       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=   5947.620     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2776 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.537        46.502        .11770E-05    .17969E-04
   2  Prefactor     .10000E-03    5.9814        .24432E-06** at limit **
   3  Prefactor     29.931        30.614        .15761E-06    .37751E-04
   4  norm          1.3932        1.5603        .24018E-06   -.25323E-04
   5  Prefactor     .10000E-03    12.226        .11647E-06** at limit **
   6  norm          .10000E-03    7.3733        .74990E-07** at limit **
   7  Prefactor     5.5385        5.6833        .32478E-06    .50072E-03
   8  norm          12.676        17.874        .25216E-05    .64045E-03
   9  Prefactor     .10008E-03    10.852       -.36221E-05** at limit **
  10  Prefactor     67.816        154.08       -.27472E-05   -.75331E-04
  11  Prefactor     .10000E-03    6.0295        .22369E-06** at limit **
  12  Prefactor     11.390        22.549       -.10947E-05    .24762E-04
  13  norm          .98390        10.085        .50810E-05   -.14701E-04
  14  norm          8.8102        3.6924        .85321E-07   -.13697E-03
  15  norm          .10000E-03    .38748        .12034E-06** at limit **
  16  norm          .10000E-03    15.364       -.21515E-05** at limit **
  17  norm          3.5475        3.9297       -.49374E-07   -.53480E-04
  18  Prefactor     2.4031        199.92        .37885E-05   -.81808E-05
  19  norm          17.207        30.239        .82797E-06    .30739E-05
  20  Prefactor     .10005E-03    10.011        .57698E-06** at limit **
  21  norm          1.4294        1.0465       -.21548E-06   -.24032E-03
  22  norm          4.6121        9.5432        .68439E-05   -.80799E-04
  23  Normalizat    1.2937        .22760        .33286E-05   -.52066E-04
  24  Prefactor     .88151        .13712       -.37125E-05    .28231E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.537
  Prefactor  = 0.0001
  Prefactor  = 29.9311
  norm       = 1.3932
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.53852
  norm       = 12.6757
  Prefactor  = 0.000100079
  Prefactor  = 67.8158
  Prefactor  = 0.0001
  Prefactor  = 11.3901
  norm       = 0.9839
  norm       = 8.81022
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.54748
  Prefactor  = 2.40308
  norm       = 17.2067
  Prefactor  = 0.000100055
  norm       = 1.42944
  norm       = 4.61213
  Normalizat = 1.29373
  Prefactor  = 0.881514
 **********
 **   18 **HESSE 
 **********

 FCN=   5947.620     FROM HESSE     STATUS=OK           401 CALLS     3177 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.537        46.553        .86346E-04   -1.4779    
   2  Prefactor     .10000E-03    6.0174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     29.931        30.602        .73251E-04   -1.4613    
   4  norm          1.3932        1.5409        .97448E-04   -1.5472    
   5  Prefactor     .10000E-03    12.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.3794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.5385        5.6666        .17071E-03   -1.5237    
   8  norm          12.676        16.537        .11252E-03   -1.4996    
   9  Prefactor     .10008E-03    37.303        .42782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     67.816        154.80        .24314E-03   -1.4059    
  11  Prefactor     .10000E-03    6.1299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.390        22.507        .11871E-03   -1.5033    
  13  norm          .98390        10.045        .47145E-03   -1.5510    
  14  norm          8.8102        3.6895        .92003E-04   -1.5114    
  15  norm          .10000E-03    .39289        .46832E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    15.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.5475        3.9189        .15479E-03   -1.5331    
  18  Prefactor     2.4031        205.79        .26072E-03   -1.5398    
  19  norm          17.207        30.257        .96583E-04   -1.4878    
  20  Prefactor     .10005E-03    65.313        .46310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.4294        1.0452        .64453E-04   -1.5469    
  22  norm          4.6121        9.5654        .93744E-03   -1.5278    
  23  Normalizat    1.2937        .25674        .28456E-03   -.83754    
  24  Prefactor     .88151        .15401        .21422E-03   -.96790    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.24156e-09
Minuit parameter uncertainties:
  1  46.6319
  2  6.14078e-06
  3  30.6177
  4  1.54096
  5  3.27221e-06
  6  8.97136e-06
  7  5.66717
  8  16.5428
  9  0.00342996
  10  155.731
  11  4.38934e-06
  12  22.5236
  13  6.28862
  14  3.68963
  15  8.14444e-07
  16  6.14541e-06
  17  3.9192
  18  44.6344
  19  30.2835
  20  0.00378667
  21  1.04524
  22  9.56852
  23  0.256989
  24  0.154087
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  3.547e+00  3.919e+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:  8.815e-01  1.541e-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.294e+00  2.570e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.27
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 2.54e-08 +/- 2.81e-08
Energy Flux (Fixed Index): 1.51e-05 +/- 1.67e-05

TS (Fixed Index): 1.27
Ra Dec: 122.861 1.776
Photon Flux Upper Limit: 9.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/306343/likelihoodResults_364780801_365040001_4FGL_J0811.4+0146_daily_bin484.txt

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) = 5947.31627803
delta logL = 0.303420283012

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5947.31019658
delta logL = 0.309501732948

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8601       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6262       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2700       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88872       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=   5947.310     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      236 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8601        59.354        .60095E-02    .40184E-03
   2  alpha         2.6261        3.7528        .41158        .36569E-04
   3  Normalizat    1.2700        .76560E-01    .64818E-01    .75860E-05
   4  Prefactor     .88871        .43421E-01    .44861E-01    .77086E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.8601
  alpha      = 2.62611
  Normalizat = 1.26997
  Prefactor  = 0.888712
 **********
 **   18 **HESSE 
 **********

 FCN=   5947.310     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8601        3.5655        .11247E-03   -1.5370    
   2  alpha         2.6261        .84351        .14064E-01    .50465E-01
   3  Normalizat    1.2700        .23271        .28672E-03   -.84467    
   4  Prefactor     .88871        .14665        .21338E-03   -.96537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47355e-09
Minuit parameter uncertainties:
  1  3.56575
  2  0.860443
  3  0.232898
  4  0.146718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/306343': 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) = 5947.31019657
delta logL = 0.309501738865

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.860e+00  3.566e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.626e+00  8.604e-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.887e-01  1.467e-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.270e+00  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.90
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.63 +/- 0.86
Photon Flux (Free Index): 4.85e-08 +/- 4.91e-08
Energy Flux (Free Index): 1.30e-05 +/- 1.21e-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/306343/cmap_HighResolution_364780801_365040001_4FGL_J0811.4+0146_daily_bin484.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-05', comment='SUCCESS', photon_flux='2.54e-08', energy_flux2='1.30e-05', photon_flux_error='2.81e-08', dlogl='3.10e-01', energy_flux='1.51e-05', photon_flux2='4.85e-08', job_status='DONE', time_completed='2021-08-29 12:26:36.476045', photon_index_error2='0.86', photon_index2='2.63', ts='1.27', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='9.54e-08', energy_flux_error2='1.21e-05', EG='1.29', time_epoch_completed='1630265196.48', return_code='0', job_id='306343', GAL2='0.89', EG2='1.27', return_code2='0', energy_flux_error='1.67e-05', photon_flux_error2='4.91e-08', ts2='1.90', photon_index='2.01' WHERE bin_id='484' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:26:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 306343: <4FGL_J0811.4+0146_daily_bin484> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin484> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:10:39 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:10:42 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:10:42 2021
Terminated at Sun Aug 29 12:26:37 2021
Results reported at Sun Aug 29 12:26:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin484 122.861 1.7756 364780801 365040001 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 :                                   788.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            958 sec.

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

