/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 101 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 = 7423
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0811.4+0146_daily_bin228
RA = 122.861, Dec = 1.7756
tmin = 298425601, tmax = 298684801
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='303199', job_status='RUN', time_executed='2021-08-29 12:03:57.119985', time_epoch_executed='1630263837.12' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='228'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303199

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303199/ft1_4FGL_J0811.4+0146_daily_bin228.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303199/ft2_4FGL_J0811.4+0146_daily_bin228.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303199/ft1_4FGL_J0811.4+0146_daily_bin228.fits outfile=/scratch/kocevski/303199/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin228.fits ra=122.861 dec=1.7756 rad=12.0 tmin=298425601.0 tmax=298684801.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 7.05
user 3.06
sys 3.93

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/303199/ft1_filtered_4FGL_J0811.4+0146_daily_bin228.fits" evtable="EVENTS" scfile=/scratch/kocevski/303199/ft2_4FGL_J0811.4+0146_daily_bin228.fits sctable="SC_DATA" outfile=/scratch/kocevski/303199/ltcube_298425601_298684801_4FGL_J0811.4+0146_daily_bin228.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/303199/ft2_4FGL_J0811.4+0146_daily_bin228.fits
.....................!
real 16.12
user 11.09
sys 4.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303199/ft1_filtered_4FGL_J0811.4+0146_daily_bin228.fits evtable="EVENTS" scfile=/scratch/kocevski/303199/ft2_4FGL_J0811.4+0146_daily_bin228.fits sctable="SC_DATA" expcube=/scratch/kocevski/303199/ltcube_298425601_298684801_4FGL_J0811.4+0146_daily_bin228.fits outfile=/scratch/kocevski/303199/expmap_298425601_298684801_4FGL_J0811.4+0146_daily_bin228.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/303199/ltcube_298425601_298684801_4FGL_J0811.4+0146_daily_bin228.fits
.....................!
real 195.72
user 185.70
sys 9.60

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/303199/ft1_filtered_4FGL_J0811.4+0146_daily_bin228.fits scfile=/scratch/kocevski/303199/ft2_4FGL_J0811.4+0146_daily_bin228.fits outfile=/scratch/kocevski/303199/cmap_298425601_298684801_4FGL_J0811.4+0146_daily_bin228.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 4.62
user 0.38
sys 4.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303199/ft1_filtered_4FGL_J0811.4+0146_daily_bin228.fits scfile=/scratch/kocevski/303199/ft2_4FGL_J0811.4+0146_daily_bin228.fits outfile=/scratch/kocevski/303199/cmap_HighResolution_298425601_298684801_4FGL_J0811.4+0146_daily_bin228.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 4.19
user 0.37
sys 3.80

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0985       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11236E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .84027       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5813       1.0000         .10000E-03   10000.    
     8 'norm      '    20.046       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16943E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.0247       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.663       1.0000         .10000E-03   10000.    
    13 'norm      '    12.254       1.0000         .10000E-03   10000.    
    14 'norm      '    .68320       1.0000         .10000E-03   10000.    
    15 'norm      '    2.9914       1.0000         .10000E-03   10000.    
    16 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.1705       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .15558E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.3785       1.0000         .10000E-03   10000.    
    21 'norm      '    2.1706       1.0000         .10000E-03   10000.    
    22 'norm      '    6.0230       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1450       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85707       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=   7914.812     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2742 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.977       -.92248E-06** at limit **
   2  Prefactor     3.0988        3.5917       -.18274E-07    .21149E-04
   3  Prefactor     .10000E-03    47.484       -.18890E-05** at limit **
   4  norm          .84037        1.4108        .42896E-06    .26335E-03
   5  Prefactor     .10000E-03    10.426        .80052E-06** at limit **
   6  norm          .10000E-03    7.2881        .13955E-05** at limit **
   7  Prefactor     1.5819        3.1732        .38588E-06   -.15305E-03
   8  norm          20.057        18.736        .13778E-05    .51600E-03
   9  Prefactor     .10000E-03    46.322        .68623E-06** at limit **
  10  Prefactor     .10000E-03    46.744        .11367E-05** at limit **
  11  Prefactor     6.0255        4.7734        .63682E-06    .93412E-03
  12  Prefactor     23.662        23.494       -.14841E-06   -.58270E-04
  13  norm          12.255        8.5659        .11198E-06    .14836E-04
  14  norm          .68399        1.2550        .43464E-06    .91332E-03
  15  norm          2.9911        1.0076        .33008E-09   -.10945E-02
  16  norm          .10000E-03    7.4097       -.19147E-05** at limit **
  17  norm          4.1706        3.8764        .75322E-07   -.28798E-03
  18  Prefactor     .10000E-03    21.538       -.50026E-06** at limit **
  19  norm          .10021E-03    12.623        .42589E-05** at limit **
  20  Prefactor     6.3746        14.349        .44099E-05   -.18714E-03
  21  norm          2.1707        1.0802        .37253E-07   -.38824E-04
  22  norm          6.0246        5.3301        .45700E-07   -.11337E-03
  23  Normalizat    1.1450        .17765       -.13472E-05   -.19746E-03
  24  Prefactor     .85706        .10778       -.14431E-06   -.43600E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 3.0988
  Prefactor  = 0.000100003
  norm       = 0.840365
  Prefactor  = 0.000100001
  norm       = 0.000100002
  Prefactor  = 1.5819
  norm       = 20.0567
  Prefactor  = 0.000100005
  Prefactor  = 0.000100001
  Prefactor  = 6.02545
  Prefactor  = 23.662
  norm       = 12.2549
  norm       = 0.683993
  norm       = 2.99109
  norm       = 0.000100003
  norm       = 4.17064
  Prefactor  = 0.0001
  norm       = 0.000100211
  Prefactor  = 6.37464
  norm       = 2.17069
  norm       = 6.02457
  Normalizat = 1.14497
  Prefactor  = 0.857063
 **********
 **   18 **HESSE 
 **********

 FCN=   7914.812     FROM HESSE     STATUS=OK           403 CALLS     3145 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.0988        3.5917        .17701E-03   -1.5356    
   3  Prefactor     .10000E-03    48.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .84037        1.3297        .13068E-02   -1.5525    
   5  Prefactor     .10000E-03    10.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.4724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5819        3.1584        .21754E-03   -1.5456    
   8  norm          20.057        19.196        .89459E-04   -1.4812    
   9  Prefactor     .10000E-03    47.953        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    46.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0255        4.8327        .81791E-03   -1.5217    
  12  Prefactor     23.662        23.541        .82345E-04   -1.4735    
  13  norm          12.255        8.5631        .11443E-03   -1.5008    
  14  norm          .68399        1.0349        .13573E-02   -1.5543    
  15  norm          2.9911        1.0031        .49499E-04   -1.5362    
  16  norm          .10000E-03    7.7065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.1706        3.8794        .16139E-03   -1.5299    
  18  Prefactor     .10000E-03    21.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10021E-03    36.846        .52421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.3746        15.096        .79462E-03   -1.5203    
  21  norm          2.1707        1.0838        .27950E-04   -1.5413    
  22  norm          6.0246        5.3304        .16361E-03   -1.5217    
  23  Normalizat    1.1450        .20302        .28399E-03   -.88321    
  24  Prefactor     .85706        .12331        .20427E-03   -.97658    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.94234e-09
Minuit parameter uncertainties:
  1  0.000213028
  2  3.59192
  3  0.000737714
  4  1.32979
  5  0.000155666
  6  0.000228748
  7  3.15875
  8  19.202
  9  0.000960896
  10  0.000466868
  11  4.83302
  12  23.5503
  13  8.56396
  14  1.03494
  15  1.00309
  16  0.000313398
  17  3.87966
  18  0.000124474
  19  0.00558514
  20  15.1055
  21  1.08382
  22  5.33084
  23  0.203161
  24  0.123348
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  4.171e+00  3.880e+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.571e-01  1.233e-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.145e+00  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.76
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 2.99e-08 +/- 2.78e-08
Energy Flux (Fixed Index): 1.77e-05 +/- 1.65e-05

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

Saving results to:
/scratch/kocevski/303199/likelihoodResults_298425601_298684801_4FGL_J0811.4+0146_daily_bin228.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) = 7913.68693806
delta logL = 1.12480661424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7913.67574395
delta logL = 1.13600072437

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0263       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1462       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0828       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88077       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=   7913.676     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      244 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0263        19.740        .72666E-02    .22423E-02
   2  alpha         3.1461        3.9615        .29668        .62839E-04
   3  Normalizat    1.0828        .61686E-01    .65684E-01    .14102E-04
   4  Prefactor     .88077        .36964E-01    .44759E-01    .91889E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.02627
  alpha      = 3.14614
  Normalizat = 1.08283
  Prefactor  = 0.880772
 **********
 **   18 **HESSE 
 **********

 FCN=   7913.676     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0263        3.9845        .72727E-04   -1.5423    
   2  alpha         3.1461        1.1866        .11488E-01    .26142    
   3  Normalizat    1.0828        .19847        .29057E-03   -.90305    
   4  Prefactor     .88077        .12373        .20172E-03   -.96816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22641e-08
Minuit parameter uncertainties:
  1  3.98505
  2  1.24043
  3  0.198604
  4  0.123765
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303199': 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) = 7913.67574395
delta logL = 1.13600072484

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.026e+00  3.985e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  3.146e+00  1.240e+00  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.808e-01  1.238e-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.083e+00  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.14
Ra Dec: 122.861 1.776
Photon Index (Free Index): 3.15 +/- 1.24
Photon Flux (Free Index): 8.04e-08 +/- 5.25e-08
Energy Flux (Free Index): 1.58e-05 +/- 1.05e-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/303199/cmap_HighResolution_298425601_298684801_4FGL_J0811.4+0146_daily_bin228.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.40e-05', comment='SUCCESS', photon_flux='2.99e-08', energy_flux2='1.58e-05', photon_flux_error='2.78e-08', dlogl='1.14e+00', energy_flux='1.77e-05', photon_flux2='8.04e-08', job_status='DONE', time_completed='2021-08-29 12:17:01.440926', photon_index_error2='1.24', photon_index2='3.15', ts='1.76', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='9.11e-08', energy_flux_error2='1.05e-05', EG='1.14', time_epoch_completed='1630264621.44', return_code='0', job_id='303199', GAL2='0.88', EG2='1.08', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='5.25e-08', ts2='4.14', photon_index='2.01' WHERE bin_id='228' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:17:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 303199: <4FGL_J0811.4+0146_daily_bin228> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin228> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 12:00:42 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:00:44 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:00:44 2021
Terminated at Sun Aug 29 12:17:03 2021
Results reported at Sun Aug 29 12:17:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin228 122.861 1.7756 298425601 298684801 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 :                                   848.07 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             296.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            981 sec.

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

