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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin473
RA = 122.861, Dec = 1.7756
tmin = 361929601, tmax = 362188801
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='306326', job_status='RUN', time_executed='2021-08-29 12:11:08.027867', time_epoch_executed='1630264268.03' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/306326

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/306326/ft1_4FGL_J0811.4+0146_daily_bin473.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/306326/ft2_4FGL_J0811.4+0146_daily_bin473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/306326/ft1_4FGL_J0811.4+0146_daily_bin473.fits outfile=/scratch/kocevski/306326/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin473.fits ra=122.861 dec=1.7756 rad=12.0 tmin=361929601.0 tmax=362188801.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 6.64
user 5.20
sys 1.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/306326/ft1_filtered_4FGL_J0811.4+0146_daily_bin473.fits" evtable="EVENTS" scfile=/scratch/kocevski/306326/ft2_4FGL_J0811.4+0146_daily_bin473.fits sctable="SC_DATA" outfile=/scratch/kocevski/306326/ltcube_361929601_362188801_4FGL_J0811.4+0146_daily_bin473.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/306326/ft2_4FGL_J0811.4+0146_daily_bin473.fits
.....................!
real 12.82
user 11.18
sys 1.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/306326/ft1_filtered_4FGL_J0811.4+0146_daily_bin473.fits evtable="EVENTS" scfile=/scratch/kocevski/306326/ft2_4FGL_J0811.4+0146_daily_bin473.fits sctable="SC_DATA" expcube=/scratch/kocevski/306326/ltcube_361929601_362188801_4FGL_J0811.4+0146_daily_bin473.fits outfile=/scratch/kocevski/306326/expmap_361929601_362188801_4FGL_J0811.4+0146_daily_bin473.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/306326/ltcube_361929601_362188801_4FGL_J0811.4+0146_daily_bin473.fits
.....................!
real 191.84
user 185.87
sys 5.57

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/306326/ft1_filtered_4FGL_J0811.4+0146_daily_bin473.fits scfile=/scratch/kocevski/306326/ft2_4FGL_J0811.4+0146_daily_bin473.fits outfile=/scratch/kocevski/306326/cmap_361929601_362188801_4FGL_J0811.4+0146_daily_bin473.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 1.65
user 0.37
sys 1.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/306326/ft1_filtered_4FGL_J0811.4+0146_daily_bin473.fits scfile=/scratch/kocevski/306326/ft2_4FGL_J0811.4+0146_daily_bin473.fits outfile=/scratch/kocevski/306326/cmap_HighResolution_361929601_362188801_4FGL_J0811.4+0146_daily_bin473.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.68
user 0.39
sys 1.26

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.9598       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.0635       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .14893E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .99353E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.105       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.9902       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.902       1.0000         .10000E-03   10000.    
    13 'norm      '    23.330       1.0000         .10000E-03   10000.    
    14 'norm      '    .93619E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.7045       1.0000         .10000E-03   10000.    
    18 'Prefactor '    59.899       1.0000         .10000E-03   10000.    
    19 'norm      '    5.0797       1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.900       1.0000         .10000E-03   10000.    
    21 'norm      '    2.7741       1.0000         .10000E-03   10000.    
    22 'norm      '    7.1096       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .76806       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1395       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=   6530.716     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2832 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.482       -.13694E-05** at limit **
   2  Prefactor     6.9613        7.9391       -.36590E-07    .75050E-04
   3  Prefactor     .10000E-03    32.278        .31296E-05** at limit **
   4  norm          1.0647        2.1053       -.21005E-05   -.49312E-03
   5  Prefactor     .10000E-03    10.860        .91695E-07** at limit **
   6  norm          .10301E-03    47.296        .80144E-05** at limit **
   7  Prefactor     .10000E-03    3.2448        .76583E-07** at limit **
   8  norm          .10024E-03    56.431        .51142E-05** at limit **
   9  Prefactor     12.104        11.222        .40932E-07    .28732E-03
  10  Prefactor     .10001E-03    178.49        .55891E-05** at limit **
  11  Prefactor     6.9912        9.1695       -.52795E-06    .27979E-04
  12  Prefactor     28.899        33.319        .42896E-06    .64337E-04
  13  norm          23.327        13.954        .86702E-07    .90437E-04
  14  norm          .92702E-01    1.3049        .15240E-07   -.14216E-03
  15  norm          .10000E-03    .76626       -.10477E-06** at limit **
  16  norm          .10000E-03    9.6944        .42833E-06** at limit **
  17  norm          4.7047        4.7554       -.74470E-06   -.55576E-04
  18  Prefactor     59.893        49.214       -.10939E-06    .71753E-04
  19  norm          5.0810        15.623       -.13293E-05   -.11087E-04
  20  Prefactor     21.897        19.696       -.68068E-06    .10504E-04
  21  norm          2.7741        1.2116       -.98841E-07    .49256E-04
  22  norm          7.1098        6.7283       -.21647E-07    .93668E-04
  23  Normalizat    .76829        .22567        .16964E-05    .26118E-03
  24  Prefactor     1.1393        .13874        .10753E-05    .31823E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.96125
  Prefactor  = 0.000100002
  norm       = 1.06472
  Prefactor  = 0.0001
  norm       = 0.000103013
  Prefactor  = 0.0001
  norm       = 0.000100242
  Prefactor  = 12.1038
  Prefactor  = 0.000100006
  Prefactor  = 6.99121
  Prefactor  = 28.8991
  norm       = 23.3274
  norm       = 0.0927015
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.70472
  Prefactor  = 59.8927
  norm       = 5.08103
  Prefactor  = 21.8968
  norm       = 2.77414
  norm       = 7.10979
  Normalizat = 0.768294
  Prefactor  = 1.13929
 **********
 **   18 **HESSE 
 **********

 FCN=   6530.716     FROM HESSE     STATUS=OK           411 CALLS     3243 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.9613        7.9447        .15207E-03   -1.5180    
   3  Prefactor     .10000E-03    32.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.0647        2.1242        .15558E-03   -1.5502    
   5  Prefactor     .10000E-03    10.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10301E-03    14.957        .96387E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.2968        .14200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10024E-03    65.127        .54931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.104        10.994        .11514E-03   -1.5012    
  10  Prefactor     .10001E-03    179.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.9912        9.1469        .15174E-03   -1.5179    
  12  Prefactor     28.899        33.334        .74523E-04   -1.4632    
  13  norm          23.327        13.949        .82930E-04   -1.4742    
  14  norm          .92702E-01    12.080        .17188E-02   -1.5647    
  15  norm          .10000E-03    1.5888        .13442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    9.7019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.7047        4.7472        .16789E-03   -1.5274    
  18  Prefactor     59.893        49.334        .51841E-04   -1.4159    
  19  norm          5.0810        15.606        .17840E-03   -1.5257    
  20  Prefactor     21.897        19.759        .85591E-04   -1.4772    
  21  norm          2.7741        1.2096        .56229E-04   -1.5375    
  22  norm          7.1098        6.7319        .15044E-03   -1.5175    
  23  Normalizat    .76829        .25390        .36140E-03   -1.0126    
  24  Prefactor     1.1393        .15645        .19315E-03   -.88221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2723e-08
Minuit parameter uncertainties:
  1  0.000216083
  2  7.9459
  3  0.000451006
  4  2.12437
  5  1.7281e-06
  6  0.0134293
  7  4.32853e-06
  8  0.00795202
  9  10.9961
  10  0.00205727
  11  9.14873
  12  33.3558
  13  13.9507
  14  2.11575
  15  3.35788e-05
  16  8.60276e-06
  17  4.74759
  18  49.3677
  19  15.6181
  20  19.7649
  21  1.20963
  22  6.73263
  23  0.25429
  24  0.156509
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  1.139e+00  1.565e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  7.683e-01  2.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.56
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 3.38e-08 +/- 3.41e-08
Energy Flux (Fixed Index): 2.00e-05 +/- 2.02e-05

TS (Fixed Index): 1.56
Ra Dec: 122.861 1.776
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/306326/likelihoodResults_361929601_362188801_4FGL_J0811.4+0146_daily_bin473.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) = 6530.58659746
delta logL = 0.129331848413

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6530.57140887
delta logL = 0.144520441167

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2959       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8109       1.0000          .0000       5.0000    
     3 'Normalizat'    .72167       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1568       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6530.571     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      298 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2966        6.8335        .11630E-03    .93059E-03
   2  alpha         2.8103        1.5841        .15791E-01    .85757E-04
   3  Normalizat    .72175        .25366        .37168E-03    .14199E-03
   4  Prefactor     1.1567        .15506        .19182E-03    .54123E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.29662
  alpha      = 2.81026
  Normalizat = 0.721748
  Prefactor  = 1.15674
 **********
 **   18 **HESSE 
 **********

 FCN=   6530.571     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2966        5.0251        .46521E-05   -1.5345    
   2  alpha         2.8103        1.2053        .63166E-03    .12442    
   3  Normalizat    .72175        .24701        .14867E-04   -1.0304    
   4  Prefactor     1.1567        .15247        .38364E-04   -.87673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.53194e-10
Minuit parameter uncertainties:
  1  5.02573
  2  1.25857
  3  0.247387
  4  0.152527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/306326': 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) = 6530.57140855
delta logL = 0.144520762676

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  3.297e+00  5.026e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.810e+00  1.259e+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:  1.157e+00  1.525e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  7.217e-01  2.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.91
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.81 +/- 1.26
Photon Flux (Free Index): 7.48e-08 +/- 8.54e-08
Energy Flux (Free Index): 1.75e-05 +/- 1.49e-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/306326/cmap_HighResolution_361929601_362188801_4FGL_J0811.4+0146_daily_bin473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.61e-05', comment='SUCCESS', photon_flux='3.38e-08', energy_flux2='1.75e-05', photon_flux_error='3.41e-08', dlogl='1.45e-01', energy_flux='2.00e-05', photon_flux2='7.48e-08', job_status='DONE', time_completed='2021-08-29 12:22:37.415260', photon_index_error2='1.26', photon_index2='2.81', ts='1.56', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='1.49e-05', EG='0.77', time_epoch_completed='1630264957.42', return_code='0', job_id='306326', GAL2='1.16', EG2='0.72', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='8.54e-08', ts2='1.91', photon_index='2.01' WHERE bin_id='473' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:22:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 306326: <4FGL_J0811.4+0146_daily_bin473> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin473 122.861 1.7756 361929601 362188801 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 :                                   703.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            721 sec.

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

