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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin718
RA = 122.861, Dec = 1.7756
tmin = 425433601, tmax = 425692801
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='307956', job_status='RUN', time_executed='2021-08-29 12:18:10.315376', time_epoch_executed='1630264690.32' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307956

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

Retrieving the FT1 file...

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

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

Retrieving 38 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307956/ft1_4FGL_J0811.4+0146_daily_bin718.fits


Retrieving the FT1 file...

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

Retrieving 38 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307956/ft2_4FGL_J0811.4+0146_daily_bin718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307956/ft1_4FGL_J0811.4+0146_daily_bin718.fits outfile=/scratch/kocevski/307956/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin718.fits ra=122.861 dec=1.7756 rad=12.0 tmin=425433601.0 tmax=425692801.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.09
user 2.86
sys 1.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307956/ft2_4FGL_J0811.4+0146_daily_bin718.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/307956/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin718.fits evtable="EVENTS" outfile="/scratch/kocevski/307956/ft1_filtered_4FGL_J0811.4+0146_daily_bin718.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.49
user 0.32
sys 1.11

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307956/ft1_filtered_4FGL_J0811.4+0146_daily_bin718.fits" evtable="EVENTS" scfile=/scratch/kocevski/307956/ft2_4FGL_J0811.4+0146_daily_bin718.fits sctable="SC_DATA" outfile=/scratch/kocevski/307956/ltcube_425433601_425692801_4FGL_J0811.4+0146_daily_bin718.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/307956/ft2_4FGL_J0811.4+0146_daily_bin718.fits
.....................!
real 10.95
user 9.52
sys 1.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307956/ft1_filtered_4FGL_J0811.4+0146_daily_bin718.fits evtable="EVENTS" scfile=/scratch/kocevski/307956/ft2_4FGL_J0811.4+0146_daily_bin718.fits sctable="SC_DATA" expcube=/scratch/kocevski/307956/ltcube_425433601_425692801_4FGL_J0811.4+0146_daily_bin718.fits outfile=/scratch/kocevski/307956/expmap_425433601_425692801_4FGL_J0811.4+0146_daily_bin718.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/307956/ltcube_425433601_425692801_4FGL_J0811.4+0146_daily_bin718.fits
.....................!
real 191.05
user 185.12
sys 5.43

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/307956/ft1_filtered_4FGL_J0811.4+0146_daily_bin718.fits scfile=/scratch/kocevski/307956/ft2_4FGL_J0811.4+0146_daily_bin718.fits outfile=/scratch/kocevski/307956/cmap_425433601_425692801_4FGL_J0811.4+0146_daily_bin718.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.54
user 0.36
sys 1.10

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307956/ft1_filtered_4FGL_J0811.4+0146_daily_bin718.fits scfile=/scratch/kocevski/307956/ft2_4FGL_J0811.4+0146_daily_bin718.fits outfile=/scratch/kocevski/307956/cmap_HighResolution_425433601_425692801_4FGL_J0811.4+0146_daily_bin718.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.48
user 0.37
sys 1.09

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.6757       1.0000         .10000E-03   10000.    
     3 'Prefactor '    64.170       1.0000         .10000E-03   10000.    
     4 'norm      '    11.753       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .29946E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.0907       1.0000         .10000E-03   10000.    
     8 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.1933       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.6122       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    63.896       1.0000         .10000E-03   10000.    
    17 'norm      '    5.7378       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    8.1384       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .81408       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0742       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=   4658.561     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2724 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.576       -.73222E-05** at limit **
   2  Prefactor     6.6758        7.0311        .87404E-06    .11874E-02
   3  Prefactor     64.160        47.850       -.81961E-05   -.97665E-05
   4  norm          11.753        3.4629        .10576E-06   -.39091E-03
   5  Prefactor     .10000E-03    85.855        .56297E-04** at limit **
   6  norm          .10000E-03    12.700        .71937E-05** at limit **
   7  Prefactor     7.0900        5.4141        .77642E-06   -.11335E-03
   8  norm          .10000E-03    9.3449        .19225E-05** at limit **
   9  Prefactor     5.1917        11.909        .33420E-06   -.96955E-04
  10  Prefactor     .10000E-03    109.91       -.16737E-04** at limit **
  11  Prefactor     .10000E-03    12.664        .76267E-05** at limit **
  12  Prefactor     .10000E-03    21.698        .20714E-04** at limit **
  13  norm          8.6146        12.852       -.20508E-05   -.19420E-03
  14  norm          .10000E-03    1.5985       -.39991E-07** at limit **
  15  norm          .10000E-03    .58574       -.48650E-07** at limit **
  16  norm          63.883        32.868       -.58662E-05   -.68527E-04
  17  norm          5.7375        4.9367       -.11156E-05   -.15603E-03
  18  Prefactor     .10000E-03    19.801       -.52953E-05** at limit **
  19  norm          .10000E-03    18.591       -.12958E-04** at limit **
  20  Prefactor     .10000E-03    11.005       -.10519E-04** at limit **
  21  norm          .10000E-03    .65871       -.58679E-08** at limit **
  22  norm          8.1389        9.7580       -.41875E-06   -.46216E-04
  23  Normalizat    .81394        .24246        .30523E-05   -.14927E-03
  24  Prefactor     1.0743        .15361       -.36483E-07   -.23858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.67576
  Prefactor  = 64.1603
  norm       = 11.7533
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 7.08998
  norm       = 0.0001
  Prefactor  = 5.1917
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.61459
  norm       = 0.0001
  norm       = 0.0001
  norm       = 63.8831
  norm       = 5.73752
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.13886
  Normalizat = 0.813942
  Prefactor  = 1.07433
 **********
 **   18 **HESSE 
 **********

 FCN=   4658.561     FROM HESSE     STATUS=OK           393 CALLS     3117 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.6758        7.0739        .77653E-03   -1.5191    
   3  Prefactor     64.160        47.812        .50096E-04   -1.4104    
   4  norm          11.753        3.4625        .65016E-04   -1.5022    
   5  Prefactor     .10000E-03    86.321        .21391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    12.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0900        5.4134        .13174E-03   -1.5175    
   8  norm          .10000E-03    9.3467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.1917        11.883        .17640E-03   -1.5252    
  10  Prefactor     .10000E-03    109.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.6146        12.848        .13659E-03   -1.5121    
  14  norm          .10000E-03    1.6296        .84234E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .60569        .10192E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          63.883        32.949        .50203E-04   -1.4108    
  17  norm          5.7375        4.9350        .13505E-03   -1.5229    
  18  Prefactor     .10000E-03    19.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    18.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.4540        .10603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.1389        9.7744        .14054E-03   -1.5137    
  23  Normalizat    .81394        .26846        .33892E-03   -.99554    
  24  Prefactor     1.0743        .17211        .19791E-03   -.90291    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28065e-09
Minuit parameter uncertainties:
  1  9.46899e-06
  2  7.07478
  3  47.8409
  4  3.46254
  5  0.00122468
  6  1.31591e-05
  7  5.41375
  8  9.62683e-06
  9  11.8885
  10  4.8285e-05
  11  3.47867e-05
  12  0.000114968
  13  12.8525
  14  4.62639e-06
  15  2.0008e-06
  16  32.9583
  17  4.93533
  18  7.60618e-05
  19  2.41793e-06
  20  7.67334e-06
  21  2.91862e-06
  22  9.77629
  23  0.268899
  24  0.172196
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.738e+00  4.935e+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.074e+00  1.722e-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:  8.139e-01  2.689e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.15
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 4.12e-08 +/- 3.54e-08
Energy Flux (Fixed Index): 2.44e-05 +/- 2.10e-05

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

Saving results to:
/scratch/kocevski/307956/likelihoodResults_425433601_425692801_4FGL_J0811.4+0146_daily_bin718.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) = 4658.55814846
delta logL = 0.00243657334704

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4658.55780729
delta logL = 0.00277773488415

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7685       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0886       1.0000          .0000       5.0000    
     3 'Normalizat'    .80852       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0762       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=   4658.558     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      226 TOTAL
                     EDM=   .52E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7785        139.81        .41807E-02    .89090E-04
   2  alpha         2.0922        3.0214        .41878        .62627E-05
   3  Normalizat    .80823        .19158        .76802E-01    .17049E-04
   4  Prefactor     1.0762        .65391E-01    .38571E-01   -.18857E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 5.77855
  alpha      = 2.09222
  Normalizat = 0.808225
  Prefactor  = 1.07622
 **********
 **   18 **HESSE 
 **********

 FCN=   4658.558     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .34E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7785        4.8264        .13196E-03   -1.5227    
   2  alpha         2.0922        1.1208        .17769E-01   -.16384    
   3  Normalizat    .80823        .26737        .33997E-03   -.99764    
   4  Prefactor     1.0762        .17156        .19774E-03   -.90230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37512e-13
Minuit parameter uncertainties:
  1  4.82674
  2  1.16351
  3  0.267807
  4  0.171652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307956': 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) = 4658.55780022
delta logL = 0.00278481380519

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.779e+00  4.827e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.092e+00  1.164e+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.076e+00  1.717e-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:  8.082e-01  2.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.16
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.09 +/- 1.16
Photon Flux (Free Index): 4.60e-08 +/- 7.52e-08
Energy Flux (Free Index): 2.34e-05 +/- 2.33e-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/307956/cmap_HighResolution_425433601_425692801_4FGL_J0811.4+0146_daily_bin718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.63e-05', comment='SUCCESS', photon_flux='4.12e-08', energy_flux2='2.34e-05', photon_flux_error='3.54e-08', dlogl='2.78e-03', energy_flux='2.44e-05', photon_flux2='4.60e-08', job_status='DONE', time_completed='2021-08-29 12:27:32.454046', photon_index_error2='1.16', photon_index2='2.09', ts='3.15', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='2.33e-05', EG='0.81', time_epoch_completed='1630265252.45', return_code='0', job_id='307956', GAL2='1.08', EG2='0.81', return_code2='0', energy_flux_error='2.10e-05', photon_flux_error2='7.52e-08', ts2='3.16', photon_index='2.01' WHERE bin_id='718' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:27:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 307956: <4FGL_J0811.4+0146_daily_bin718> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin718> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 12:15:42 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:15:43 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:15:43 2021
Terminated at Sun Aug 29 12:27:32 2021
Results reported at Sun Aug 29 12:27:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin718 122.861 1.7756 425433601 425692801 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 :                                   575.40 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            710 sec.

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

