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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin488
RA = 122.861, Dec = 1.7756
tmin = 365817601, tmax = 366076801
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='306350', job_status='RUN', time_executed='2021-08-29 12:13:56.861712', time_epoch_executed='1630264436.86' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='488'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/306350

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/306350/ft1_4FGL_J0811.4+0146_daily_bin488.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/306350/ft2_4FGL_J0811.4+0146_daily_bin488.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/306350/ft1_4FGL_J0811.4+0146_daily_bin488.fits outfile=/scratch/kocevski/306350/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin488.fits ra=122.861 dec=1.7756 rad=12.0 tmin=365817601.0 tmax=366076801.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.28
user 3.33
sys 0.61

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/306350/ft1_filtered_4FGL_J0811.4+0146_daily_bin488.fits" evtable="EVENTS" scfile=/scratch/kocevski/306350/ft2_4FGL_J0811.4+0146_daily_bin488.fits sctable="SC_DATA" outfile=/scratch/kocevski/306350/ltcube_365817601_366076801_4FGL_J0811.4+0146_daily_bin488.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/306350/ft2_4FGL_J0811.4+0146_daily_bin488.fits
.....................!
real 12.44
user 11.60
sys 0.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/306350/ft1_filtered_4FGL_J0811.4+0146_daily_bin488.fits evtable="EVENTS" scfile=/scratch/kocevski/306350/ft2_4FGL_J0811.4+0146_daily_bin488.fits sctable="SC_DATA" expcube=/scratch/kocevski/306350/ltcube_365817601_366076801_4FGL_J0811.4+0146_daily_bin488.fits outfile=/scratch/kocevski/306350/expmap_365817601_366076801_4FGL_J0811.4+0146_daily_bin488.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/306350/ltcube_365817601_366076801_4FGL_J0811.4+0146_daily_bin488.fits
.....................!
real 196.94
user 189.02
sys 7.01

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/306350/ft1_filtered_4FGL_J0811.4+0146_daily_bin488.fits scfile=/scratch/kocevski/306350/ft2_4FGL_J0811.4+0146_daily_bin488.fits outfile=/scratch/kocevski/306350/cmap_365817601_366076801_4FGL_J0811.4+0146_daily_bin488.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.96
user 0.38
sys 0.52

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/306350/ft1_filtered_4FGL_J0811.4+0146_daily_bin488.fits scfile=/scratch/kocevski/306350/ft2_4FGL_J0811.4+0146_daily_bin488.fits outfile=/scratch/kocevski/306350/cmap_HighResolution_365817601_366076801_4FGL_J0811.4+0146_daily_bin488.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 1.06
user 0.37
sys 0.54

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.584       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.917       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.8925       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .18160E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1734       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.824       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.2466       1.0000         .10000E-03   10000.    
    15 'norm      '    1.4762       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.4274       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18491E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    29.881       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.2194       1.0000         .10000E-03   10000.    
    21 'norm      '    1.6797       1.0000         .10000E-03   10000.    
    22 'norm      '    3.0147       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6708       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .70111       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=   6064.652     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2757 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.588        65.130        .21553E-02   -.72889E-03
   2  Prefactor     19.920        12.546        .22437E-02    .10118E-03
   3  Prefactor     .10007E-03    34.097        .90712E-02** at limit **
   4  norm          2.8933        2.1946        .59736E-02    .37724E-03
   5  Prefactor     .10000E-03    13.043        .90712E-02** at limit **
   6  norm          .10001E-03    47.627        .90712E-02** at limit **
   7  Prefactor     2.1736        3.4167        .69825E-02    .52065E-03
   8  norm          .10000E-03    13.503        .90712E-02** at limit **
   9  Prefactor     18.829        12.658        .23079E-02    .58078E-04
  10  Prefactor     .10000E-03    168.69        .90712E-02** at limit **
  11  Prefactor     .10000E-03    3.6324        .90712E-02** at limit **
  12  Prefactor     .10011E-03    36.462        .90712E-02** at limit **
  13  norm          .10000E-03    6.6868        .90712E-02** at limit **
  14  norm          6.2466        3.2110        .40153E-02    .79042E-04
  15  norm          1.4762        1.0118        .88364E-02    .71866E-04
  16  norm          .10000E-03    23.442        .90712E-02** at limit **
  17  norm          6.4278        4.8638        .39578E-02    .84864E-04
  18  Prefactor     .10000E-03    164.59        .90712E-02** at limit **
  19  norm          29.883        23.251        .18324E-02    .19665E-03
  20  Prefactor     8.2200        8.5733        .34960E-02   -.26077E-04
  21  norm          1.6797        1.3978        .81264E-02    .56927E-03
  22  norm          3.0144        9.7987        .58436E-02    .26578E-03
  23  Normalizat    1.6711        .22829        .61558E-01    .73252E-05
  24  Prefactor     .70087        .14290        .42416E-01    .22930E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.5877
  Prefactor  = 19.9196
  Prefactor  = 0.000100073
  norm       = 2.89327
  Prefactor  = 0.0001
  norm       = 0.000100006
  Prefactor  = 2.17359
  norm       = 0.0001
  Prefactor  = 18.8289
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100106
  norm       = 0.0001
  norm       = 6.24663
  norm       = 1.47621
  norm       = 0.0001
  norm       = 6.42782
  Prefactor  = 0.000100003
  norm       = 29.8831
  Prefactor  = 8.21998
  norm       = 1.67972
  norm       = 3.0144
  Normalizat = 1.67115
  Prefactor  = 0.700871
 **********
 **   18 **HESSE 
 **********

 FCN=   6064.652     FROM HESSE     STATUS=OK           397 CALLS     3154 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.588        65.369        .86214E-04   -1.4778    
   2  Prefactor     19.920        12.560        .89747E-04   -1.4815    
   3  Prefactor     .10007E-03    34.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.8933        2.1886        .94528E-04   -1.5368    
   5  Prefactor     .10000E-03    13.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10001E-03    48.990        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1736        3.3992        .17428E-03   -1.5413    
   8  norm          .10000E-03    13.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.829        12.657        .92314E-04   -1.4840    
  10  Prefactor     .10000E-03    168.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.6421        .14494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10011E-03    36.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.7368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2466        3.2078        .95849E-04   -1.5208    
  15  norm          1.4762        1.0084        .62265E-04   -1.5465    
  16  norm          .10000E-03    23.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.4278        4.8654        .14382E-03   -1.5201    
  18  Prefactor     .10000E-03    169.43        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          29.883        23.254        .73295E-04   -1.4614    
  20  Prefactor     8.2200        8.5748        .13984E-03   -1.5134    
  21  norm          1.6797        1.3881        .78929E-04   -1.5449    
  22  norm          3.0144        9.7780        .23375E-03   -1.5361    
  23  Normalizat    1.6711        .26245        .27222E-03   -.73076    
  24  Prefactor     .70087        .16404        .24568E-03   -1.0349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5881e-08
Minuit parameter uncertainties:
  1  65.5876
  2  12.5615
  3  0.00315482
  4  2.18862
  5  1.49041e-05
  6  0.00108656
  7  3.3995
  8  1.56273e-05
  9  12.6588
  10  0.000714134
  11  2.66386e-07
  12  0.00394113
  13  2.84829e-07
  14  3.20794
  15  1.0084
  16  0.00010703
  17  4.8657
  18  0.00146659
  19  23.2612
  20  8.57603
  21  1.38818
  22  9.78321
  23  0.262672
  24  0.164149
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  6.428e+00  4.866e+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.009e-01  1.641e-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.671e+00  2.627e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.85
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 4.61e-08 +/- 3.49e-08
Energy Flux (Fixed Index): 2.73e-05 +/- 2.07e-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) = 6064.63110406
delta logL = 0.020900969128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6064.63065688
delta logL = 0.0213481482178

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4167       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8892       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6772       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69911       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6064.631     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      261 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4074        4.9715        .73562E-03   -.36936E-04
   2  alpha         1.8879        .56345        .14262E-01    .18006E-04
   3  Normalizat    1.6773        .25252        .27183E-03   -.78352E-04
   4  Prefactor     .69911        .15531        .24597E-03   -.94335E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.4074
  alpha      = 1.88793
  Normalizat = 1.67734
  Prefactor  = 0.699106
 **********
 **   18 **HESSE 
 **********

 FCN=   6064.631     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4074        4.9889        .29425E-04   -1.5202    
   2  alpha         1.8879        .56534        .57046E-03   -.24734    
   3  Normalizat    1.6773        .25268        .54365E-04   -.72910    
   4  Prefactor     .69911        .15541        .98388E-05   -1.0356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96323e-11
Minuit parameter uncertainties:
  1  4.98926
  2  0.570595
  3  0.252874
  4  0.155504
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/306350': 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) = 6064.63065311
delta logL = 0.0213519110757

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  6.407e+00  4.989e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.888e+00  5.706e-01  0.000e+00  5.000e+00 ( 1.000e+00)
274         beta:  6.882e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  6.991e-01  1.555e-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.677e+00  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.88
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.89 +/- 0.57
Photon Flux (Free Index): 4.03e-08 +/- 4.21e-08
Energy Flux (Free Index): 3.02e-05 +/- 2.79e-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/306350/cmap_HighResolution_365817601_366076801_4FGL_J0811.4+0146_daily_bin488.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.61e-08', energy_flux2='3.02e-05', photon_flux_error='3.49e-08', dlogl='2.14e-02', energy_flux='2.73e-05', photon_flux2='4.03e-08', job_status='DONE', time_completed='2021-08-29 12:24:04.183475', photon_index_error2='0.57', photon_index2='1.89', ts='5.85', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='2.79e-05', EG='1.67', time_epoch_completed='1630265044.18', return_code='0', job_id='306350', GAL2='0.70', EG2='1.68', return_code2='0', energy_flux_error='2.07e-05', photon_flux_error2='4.21e-08', ts2='5.88', photon_index='2.01' WHERE bin_id='488' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:24:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 306350: <4FGL_J0811.4+0146_daily_bin488> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin488> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:10:40 2021
Job was executed on host(s) <bullet0219>, 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:24:05 2021
Results reported at Sun Aug 29 12:24:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin488 122.861 1.7756 365817601 366076801 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 :                                   608.33 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             283.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            805 sec.

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

