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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin777
RA = 122.861, Dec = 1.7756
tmin = 440726401, tmax = 440985601
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='309351', job_status='RUN', time_executed='2021-08-29 12:23:04.260640', time_epoch_executed='1630264984.26' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309351

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309351/ft1_4FGL_J0811.4+0146_daily_bin777.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309351/ft2_4FGL_J0811.4+0146_daily_bin777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309351/ft1_4FGL_J0811.4+0146_daily_bin777.fits outfile=/scratch/kocevski/309351/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin777.fits ra=122.861 dec=1.7756 rad=12.0 tmin=440726401.0 tmax=440985601.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.74
user 3.60
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309351/ft1_filtered_4FGL_J0811.4+0146_daily_bin777.fits evtable="EVENTS" scfile=/scratch/kocevski/309351/ft2_4FGL_J0811.4+0146_daily_bin777.fits sctable="SC_DATA" expcube=/scratch/kocevski/309351/ltcube_440726401_440985601_4FGL_J0811.4+0146_daily_bin777.fits outfile=/scratch/kocevski/309351/expmap_440726401_440985601_4FGL_J0811.4+0146_daily_bin777.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/309351/ltcube_440726401_440985601_4FGL_J0811.4+0146_daily_bin777.fits
.....................!
real 198.64
user 185.26
sys 5.26

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/309351/ft1_filtered_4FGL_J0811.4+0146_daily_bin777.fits scfile=/scratch/kocevski/309351/ft2_4FGL_J0811.4+0146_daily_bin777.fits outfile=/scratch/kocevski/309351/cmap_440726401_440985601_4FGL_J0811.4+0146_daily_bin777.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309351/ft1_filtered_4FGL_J0811.4+0146_daily_bin777.fits scfile=/scratch/kocevski/309351/ft2_4FGL_J0811.4+0146_daily_bin777.fits outfile=/scratch/kocevski/309351/cmap_HighResolution_440726401_440985601_4FGL_J0811.4+0146_daily_bin777.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.60
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.9539       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    13.028       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.600       1.0000         .10000E-03   10000.    
     6 'norm      '    2.0469       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.521       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.7815       1.0000         .10000E-03   10000.    
    14 'norm      '    6.0031       1.0000         .10000E-03   10000.    
    15 'norm      '    2.1319       1.0000         .10000E-03   10000.    
    16 'norm      '    29.090       1.0000         .10000E-03   10000.    
    17 'norm      '    6.2141       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .31621       1.0000         .10000E-03   10000.    
    22 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2568       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85102       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7963.788     FROM MIGRAD    STATUS=CONVERGED     86 CALLS     2882 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10038E-03    19.854        .37157E-04** at limit **
   2  Prefactor     8.9530        1.0038       -.30899E-07    .60223E-04
   3  Prefactor     .10038E-03    4.9525        .25064E-06** at limit **
   4  norm          13.027        2.9475       -.18010E-06    .29038E-03
   5  Prefactor     27.600        1.0009       -.23396E-07    .45850E-04
   6  norm          2.0465        1.0340        .30303E-07    .18833E-04
   7  Prefactor     .10000E-03    1.1769        .83852E-06** at limit **
   8  norm          .10002E-03    4.9937        .18756E-04** at limit **
   9  Prefactor     13.521        1.0033       -.64393E-07    .59295E-04
  10  Prefactor     .10015E-03    86.140       -.51725E-04** at limit **
  11  Prefactor     .10017E-03    5.4543       -.28040E-04** at limit **
  12  Prefactor     .10000E-03    6.4892       -.25164E-04** at limit **
  13  norm          7.7821        1.0089       -.78498E-07    .12861E-05
  14  norm          6.0032        2.6945       -.45824E-07    .16514E-03
  15  norm          2.1319        1.0433       -.66715E-06    .99807E-04
  16  norm          29.089        1.0060       -.46912E-07   -.14166E-03
  17  norm          6.2141        3.7342       -.47355E-05   -.10507E-02
  18  Prefactor     .10064E-03    6.9880       -.21473E-04** at limit **
  19  norm          .10006E-03    5.8901        .21062E-04** at limit **
  20  Prefactor     .10021E-03    6.0031        .10581E-05** at limit **
  21  norm          .31643        .92801        .13797E-05   -.32962E-03
  22  norm          .10000E-03    4.9354       -.38595E-06** at limit **
  23  Normalizat    1.2567        .20752        .15055E-05    .14998E-03
  24  Prefactor     .85108        .13150        .18239E-05    .18919E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100383
  Prefactor  = 8.95299
  Prefactor  = 0.000100381
  norm       = 13.0275
  Prefactor  = 27.5996
  norm       = 2.04646
  Prefactor  = 0.0001
  norm       = 0.000100023
  Prefactor  = 13.5207
  Prefactor  = 0.000100146
  Prefactor  = 0.000100173
  Prefactor  = 0.000100004
  norm       = 7.78207
  norm       = 6.00323
  norm       = 2.13189
  norm       = 29.0889
  norm       = 6.21406
  Prefactor  = 0.000100639
  norm       = 0.000100064
  Prefactor  = 0.000100208
  norm       = 0.316425
  norm       = 0.0001
  Normalizat = 1.25672
  Prefactor  = 0.851083
 **********
 **   18 **HESSE 
 **********

 FCN=   7963.788     FROM HESSE     STATUS=OK           443 CALLS     3325 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10038E-03    22.370        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.9530        8.8637        .33487E-02   -1.5109    
   3  Prefactor     .10038E-03    11.851        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          13.027        2.9573        .27744E-02   -1.4986    
   5  Prefactor     27.600        21.932        .19064E-02   -1.4657    
   6  norm          2.0465        11.357        .72244E-02   -1.5422    
   7  Prefactor     .10000E-03    1.1728        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10002E-03    10.249        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.521        10.083        .27233E-02   -1.4972    
  10  Prefactor     .10015E-03    87.120        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10017E-03    6.6823        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.362        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.7821        8.1322        .35937E-02   -1.5150    
  14  norm          6.0032        2.6997        .40970E-02   -1.5218    
  15  norm          2.1319        1.0435        .70590E-03   -1.5416    
  16  norm          29.089        18.376        .18570E-02   -1.4629    
  17  norm          6.2141        3.7523        .40260E-02   -1.5209    
  18  Prefactor     .10064E-03    16.360        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10006E-03    6.4023        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10021E-03    8.7710        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .31643        .91809        .10496E-01   -1.5595    
  22  norm          .10000E-03    4.8777        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2567        .18684        .66113E-01   -.84868    
  24  Prefactor     .85108        .11792        .44378E-01   -.97872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52484e-07
Minuit parameter uncertainties:
  1  0.00585611
  2  8.86495
  3  0.00424929
  4  2.95736
  5  21.9382
  6  9.64449
  7  1.07658e-05
  8  0.000962191
  9  10.0842
  10  0.00715118
  11  0.0021478
  12  0.00045706
  13  8.13334
  14  2.69974
  15  1.04346
  16  18.3792
  17  3.75245
  18  0.00646929
  19  0.00127838
  20  0.00270026
  21  0.918128
  22  1.11368e-05
  23  0.186942
  24  0.117952
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  6.214e+00  3.752e+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.511e-01  1.180e-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.257e+00  1.869e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.67
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 4.46e-08 +/- 2.69e-08
Energy Flux (Fixed Index): 2.64e-05 +/- 1.60e-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) = 7963.78162117
delta logL = 0.00593273136201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7963.78129206
delta logL = 0.00626183401437

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2084       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0794       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2516       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85283       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=   7963.781     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      228 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2053        83.194        .40278E-02    .44494E-04
   2  alpha         2.0785        3.1192        .41913        .13115E-04
   3  Normalizat    1.2521        .14615        .66210E-01    .23766E-04
   4  Prefactor     .85256        .53742E-01    .44401E-01    .19827E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.20529
  alpha      = 2.07848
  Normalizat = 1.25213
  Prefactor  = 0.852561
 **********
 **   18 **HESSE 
 **********

 FCN=   7963.781     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2053        3.6996        .12702E-03   -1.5210    
   2  alpha         2.0785        .65014        .15456E-01   -.16942    
   3  Normalizat    1.2521        .20679        .29289E-03   -.85007    
   4  Prefactor     .85256        .12977        .22119E-03   -.97819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33065e-12
Minuit parameter uncertainties:
  1  3.69977
  2  0.657931
  3  0.20693
  4  0.129816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309351': 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) = 7963.78128832
delta logL = 0.00626557850501

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  6.205e+00  3.700e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.078e+00  6.579e-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.526e-01  1.298e-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.252e+00  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.67
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.08 +/- 0.66
Photon Flux (Free Index): 4.86e-08 +/- 4.59e-08
Energy Flux (Free Index): 2.53e-05 +/- 1.79e-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/309351/cmap_HighResolution_440726401_440985601_4FGL_J0811.4+0146_daily_bin777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.46e-08', energy_flux2='2.53e-05', photon_flux_error='2.69e-08', dlogl='6.27e-03', energy_flux='2.64e-05', photon_flux2='4.86e-08', job_status='DONE', time_completed='2021-08-29 12:34:40.804084', photon_index_error2='0.66', photon_index2='2.08', ts='8.67', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.79e-05', EG='1.26', time_epoch_completed='1630265680.8', return_code='0', job_id='309351', GAL2='0.85', EG2='1.25', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='4.59e-08', ts2='8.67', photon_index='2.01' WHERE bin_id='777' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:34:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 309351: <4FGL_J0811.4+0146_daily_bin777> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin777 122.861 1.7756 440726401 440985601 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 :                                   686.00 sec.
    Max Memory :                                 1042 MB
    Average Memory :                             297.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            862 sec.

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

