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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin531
RA = 122.861, Dec = 1.7756
tmin = 376963201, tmax = 377222401
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='307683', job_status='RUN', time_executed='2021-08-29 12:18:15.070809', time_epoch_executed='1630264695.07' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='531'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307683

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307683/ft1_4FGL_J0811.4+0146_daily_bin531.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307683/ft2_4FGL_J0811.4+0146_daily_bin531.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307683/ft1_4FGL_J0811.4+0146_daily_bin531.fits outfile=/scratch/kocevski/307683/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin531.fits ra=122.861 dec=1.7756 rad=12.0 tmin=376963201.0 tmax=377222401.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.95
user 4.31
sys 0.47

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307683/ft2_4FGL_J0811.4+0146_daily_bin531.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/307683/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin531.fits evtable="EVENTS" outfile="/scratch/kocevski/307683/ft1_filtered_4FGL_J0811.4+0146_daily_bin531.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.75
user 0.33
sys 0.40

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307683/ft1_filtered_4FGL_J0811.4+0146_daily_bin531.fits" evtable="EVENTS" scfile=/scratch/kocevski/307683/ft2_4FGL_J0811.4+0146_daily_bin531.fits sctable="SC_DATA" outfile=/scratch/kocevski/307683/ltcube_376963201_377222401_4FGL_J0811.4+0146_daily_bin531.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/307683/ft2_4FGL_J0811.4+0146_daily_bin531.fits
.....................!
real 12.58
user 11.86
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307683/ft1_filtered_4FGL_J0811.4+0146_daily_bin531.fits evtable="EVENTS" scfile=/scratch/kocevski/307683/ft2_4FGL_J0811.4+0146_daily_bin531.fits sctable="SC_DATA" expcube=/scratch/kocevski/307683/ltcube_376963201_377222401_4FGL_J0811.4+0146_daily_bin531.fits outfile=/scratch/kocevski/307683/expmap_376963201_377222401_4FGL_J0811.4+0146_daily_bin531.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/307683/ltcube_376963201_377222401_4FGL_J0811.4+0146_daily_bin531.fits
.....................!
real 192.79
user 185.74
sys 5.34

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/307683/ft1_filtered_4FGL_J0811.4+0146_daily_bin531.fits scfile=/scratch/kocevski/307683/ft2_4FGL_J0811.4+0146_daily_bin531.fits outfile=/scratch/kocevski/307683/cmap_376963201_377222401_4FGL_J0811.4+0146_daily_bin531.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.81
user 0.38
sys 0.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307683/ft1_filtered_4FGL_J0811.4+0146_daily_bin531.fits scfile=/scratch/kocevski/307683/ft2_4FGL_J0811.4+0146_daily_bin531.fits outfile=/scratch/kocevski/307683/cmap_HighResolution_376963201_377222401_4FGL_J0811.4+0146_daily_bin531.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=122.861 yref=1.7756 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.81
user 0.35
sys 0.42

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.034       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10276E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .94711       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.1776       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.0863       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4863       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4661       1.0000         .10000E-03   10000.    
    13 'norm      '    8.9153       1.0000         .10000E-03   10000.    
    14 'norm      '    2.5611       1.0000         .10000E-03   10000.    
    15 'norm      '    .28133       1.0000         .10000E-03   10000.    
    16 'norm      '    .10313E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.110       1.0000         .10000E-03   10000.    
    19 'norm      '    16.245       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .35058       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0050       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94983       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=   7783.080     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2368 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.021        31.903       -.16785E-04   -.17516E-05
   2  Prefactor     .10000E-03    4.4253        .57100E-07** at limit **
   3  Prefactor     .10000E-03    32.916       -.65216E-08** at limit **
   4  norm          .94683        1.0448        .15667E-07   -.15827E-03
   5  Prefactor     .10000E-03    10.601        .98964E-06** at limit **
   6  norm          4.1773        6.9085       -.26415E-06   -.12631E-03
   7  Prefactor     .10000E-03    .88630        .17535E-07** at limit **
   8  norm          .10000E-03    11.786       -.46734E-05** at limit **
   9  Prefactor     4.0879        8.2112       -.87646E-06   -.94090E-04
  10  Prefactor     .10000E-03    45.341        .17305E-05** at limit **
  11  Prefactor     2.4871        5.3181       -.24432E-05   -.62947E-03
  12  Prefactor     6.4727        21.998        .23109E-05   -.24925E-04
  13  norm          8.9145        7.8750        .60559E-07   -.52695E-04
  14  norm          2.5609        1.4926        .80097E-07    .12309E-03
  15  norm          .28182        .54254       -.16301E-06   -.23017E-02
  16  norm          .10000E-03    17.101       -.23478E-05** at limit **
  17  norm          .10000E-03    .87506       -.11940E-07** at limit **
  18  Prefactor     14.125        36.119        .23387E-04    .71042E-05
  19  norm          16.243        15.364       -.42764E-06   -.30810E-03
  20  Prefactor     .10000E-03    12.698        .43862E-05** at limit **
  21  norm          .35035        .83149       -.41075E-06   -.10009E-02
  22  norm          .10000E-03    4.4111        .62398E-07** at limit **
  23  Normalizat    1.0048        .17731       -.34630E-05    .30431E-03
  24  Prefactor     .94987        .10686        .16762E-05   -.12845E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.94683
  Prefactor  = 0.0001
  norm       = 4.17732
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.08786
  Prefactor  = 0.0001
  Prefactor  = 2.4871
  Prefactor  = 6.47273
  norm       = 8.9145
  norm       = 2.56086
  norm       = 0.281817
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 14.1252
  norm       = 16.2428
  Prefactor  = 0.0001
  norm       = 0.350348
  norm       = 0.0001
  Normalizat = 1.00482
  Prefactor  = 0.949873
 **********
 **   18 **HESSE 
 **********

 FCN=   7783.080     FROM HESSE     STATUS=OK           403 CALLS     2771 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.021        31.824        .10692E-03   -1.4959    
   2  Prefactor     .10000E-03    4.4581        .18122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    33.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .94683        1.0161        .91176E-04   -1.5513    
   5  Prefactor     .10000E-03    10.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.1773        6.9096        .19718E-03   -1.5299    
   7  Prefactor     .10000E-03    .88752        .81105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    11.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.0879        8.1936        .19944E-03   -1.5304    
  10  Prefactor     .10000E-03    45.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4871        5.3692        .25924E-03   -1.5393    
  12  Prefactor     6.4727        21.928        .15783E-03   -1.5199    
  13  norm          8.9145        7.8679        .13424E-03   -1.5111    
  14  norm          2.5609        1.4880        .79567E-04   -1.5388    
  15  norm          .28182        .46726        .86929E-03   -1.5602    
  16  norm          .10000E-03    17.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .87996        .80581E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.125        35.776        .10663E-03   -1.4956    
  19  norm          16.243        15.380        .49686E-03   -1.4902    
  20  Prefactor     .10000E-03    12.707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .35035        1.1015        .11264E-02   -1.5590    
  22  norm          .10000E-03    4.5737        .36177E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0048        .19751        .28528E-03   -.92869    
  24  Prefactor     .94987        .12138        .18858E-03   -.94420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07267e-09
Minuit parameter uncertainties:
  1  31.8629
  2  8.16356e-06
  3  9.88496e-05
  4  1.01617
  5  2.92404e-06
  6  6.91095
  7  8.56291e-07
  8  1.47183e-05
  9  8.19589
  10  5.55952e-06
  11  5.37026
  12  21.9554
  13  7.86886
  14  1.48798
  15  0.467268
  16  0.000393649
  17  1.21973e-06
  18  35.8308
  19  15.3837
  20  0.000120224
  21  1.1016
  22  9.54334e-06
  23  0.197658
  24  0.121417
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  1.220e-06  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:  9.499e-01  1.214e-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.005e+00  1.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/307683/likelihoodResults_376963201_377222401_4FGL_J0811.4+0146_daily_bin531.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) = 7783.0855885
delta logL = -0.00532652287893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7783.0802622
delta logL = -2.17295564653e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0040       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0048       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94985       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=   7783.080     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      225 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5403        .80589E-03** at limit **
   2  alpha         1.9586        2.5901        .16890       -.72022E-08
   3  Normalizat    1.0048        .18042        .28529E-03    .27098E-05
   4  Prefactor     .94988        .11696        .18858E-03    .10852E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.95856
  Normalizat = 1.00482
  Prefactor  = 0.949876
 **********
 **   18 **HESSE 
 **********

 FCN=   7783.080     FROM HESSE     STATUS=OK            23 CALLS      248 TOTAL
                     EDM=   .38E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .88123        .16118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9586        4.0200        .67560E-02   -.21831    
   3  Normalizat    1.0048        .18055        .11411E-04   -.92869    
   4  Prefactor     .94988        .11704        .75431E-05   -.94419    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80211e-13
Minuit parameter uncertainties:
  1  8.08027e-07
  2  118.398
  3  0.180663
  4  0.11707
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307683': 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) = 7783.0802619
delta logL = 7.80037225923e-08

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  8.080e-07  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.959e+00  1.184e+02  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:  9.499e-01  1.171e-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.005e+00  1.807e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.861 1.776

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/307683/cmap_HighResolution_376963201_377222401_4FGL_J0811.4+0146_daily_bin531.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.93e-05', job_status='DONE', photon_flux_upper_limit='3.26e-08', time_completed='2021-08-29 12:30:06.653022', job_id='307683', GAL2='0.95', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630265406.65', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.80e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='531' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:30:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 307683: <4FGL_J0811.4+0146_daily_bin531> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin531> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 12:15:21 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:15:22 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:22 2021
Terminated at Sun Aug 29 12:30:07 2021
Results reported at Sun Aug 29 12:30:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin531 122.861 1.7756 376963201 377222401 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 :                                   702.17 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             285.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            886 sec.

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

