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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin948
RA = 122.861, Dec = 1.7756
tmin = 485049601, tmax = 485308801
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='309661', job_status='RUN', time_executed='2021-08-29 12:24:22.205686', time_epoch_executed='1630265062.21' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309661

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309661/ft1_4FGL_J0811.4+0146_daily_bin948.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309661/ft2_4FGL_J0811.4+0146_daily_bin948.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309661/ft1_4FGL_J0811.4+0146_daily_bin948.fits outfile=/scratch/kocevski/309661/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin948.fits ra=122.861 dec=1.7756 rad=12.0 tmin=485049601.0 tmax=485308801.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 3.56
user 3.31
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309661/ft1_filtered_4FGL_J0811.4+0146_daily_bin948.fits" evtable="EVENTS" scfile=/scratch/kocevski/309661/ft2_4FGL_J0811.4+0146_daily_bin948.fits sctable="SC_DATA" outfile=/scratch/kocevski/309661/ltcube_485049601_485308801_4FGL_J0811.4+0146_daily_bin948.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/309661/ft2_4FGL_J0811.4+0146_daily_bin948.fits
.....................!
real 11.85
user 11.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309661/ft1_filtered_4FGL_J0811.4+0146_daily_bin948.fits evtable="EVENTS" scfile=/scratch/kocevski/309661/ft2_4FGL_J0811.4+0146_daily_bin948.fits sctable="SC_DATA" expcube=/scratch/kocevski/309661/ltcube_485049601_485308801_4FGL_J0811.4+0146_daily_bin948.fits outfile=/scratch/kocevski/309661/expmap_485049601_485308801_4FGL_J0811.4+0146_daily_bin948.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/309661/ltcube_485049601_485308801_4FGL_J0811.4+0146_daily_bin948.fits
.....................!
real 191.69
user 186.51
sys 4.72

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/309661/ft1_filtered_4FGL_J0811.4+0146_daily_bin948.fits scfile=/scratch/kocevski/309661/ft2_4FGL_J0811.4+0146_daily_bin948.fits outfile=/scratch/kocevski/309661/cmap_485049601_485308801_4FGL_J0811.4+0146_daily_bin948.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.53
user 0.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309661/ft1_filtered_4FGL_J0811.4+0146_daily_bin948.fits scfile=/scratch/kocevski/309661/ft2_4FGL_J0811.4+0146_daily_bin948.fits outfile=/scratch/kocevski/309661/cmap_HighResolution_485049601_485308801_4FGL_J0811.4+0146_daily_bin948.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.939       1.0000         .10000E-03   10000.    
     3 'Prefactor '    67.191       1.0000         .10000E-03   10000.    
     4 'norm      '    3.7031       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5166       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.2852       1.0000         .10000E-03   10000.    
    10 'Prefactor '    196.08       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .86307       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.1447       1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.8632       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    36.334       1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.616       1.0000         .10000E-03   10000.    
    21 'norm      '    2.0682       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0429       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93060       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=   5786.740     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2661 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.922        .11608E-04** at limit **
   2  Prefactor     15.937        11.969       -.25303E-06   -.16620E-04
   3  Prefactor     67.193        46.308        .21760E-05   -.22172E-05
   4  norm          3.7030        2.3850       -.78367E-07   -.67542E-03
   5  Prefactor     .10000E-03    20.970        .14810E-04** at limit **
   6  norm          .10000E-03    5.8364       -.34886E-06** at limit **
   7  Prefactor     2.5166        2.8132       -.45726E-06   -.31002E-05
   8  norm          .10000E-03    8.3287        .20000E-05** at limit **
   9  Prefactor     7.2865        9.5566       -.18514E-06    .21800E-04
  10  Prefactor     196.09        173.15        .84244E-05    .64797E-05
  11  Prefactor     .10000E-03    3.2681       -.90182E-07** at limit **
  12  Prefactor     .10000E-03    17.509        .11214E-04** at limit **
  13  norm          .85767        1.9880        .88784E-06   -.18928E-02
  14  norm          .10000E-03    .78829        .27257E-07** at limit **
  15  norm          4.1442        1.6963        .27801E-06    .19625E-04
  16  norm          .10000E-03    14.192       -.15190E-04** at limit **
  17  norm          1.8622        4.0200        .18567E-05    .46829E-04
  18  Prefactor     .10000E-03    26.556       -.27254E-04** at limit **
  19  norm          36.321        32.431       -.15169E-04   -.27747E-04
  20  Prefactor     22.617        14.857        .36915E-06    .84669E-04
  21  norm          2.0683        1.1822        .88041E-08   -.25476E-03
  22  norm          .10000E-03    1.8598       -.70350E-07** at limit **
  23  Normalizat    1.0427        .21211       -.94122E-06    .12475E-03
  24  Prefactor     .93071        .13834        .65578E-06   -.23238E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.9375
  Prefactor  = 67.1934
  norm       = 3.70304
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.51665
  norm       = 0.0001
  Prefactor  = 7.28649
  Prefactor  = 196.091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.857666
  norm       = 0.0001
  norm       = 4.14419
  norm       = 0.0001
  norm       = 1.86219
  Prefactor  = 0.0001
  norm       = 36.3209
  Prefactor  = 22.6173
  norm       = 2.06832
  norm       = 0.0001
  Normalizat = 1.04271
  Prefactor  = 0.930714
 **********
 **   18 **HESSE 
 **********

 FCN=   5786.740     FROM HESSE     STATUS=OK           397 CALLS     3058 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.937        12.007        .10032E-03   -1.4909    
   3  Prefactor     67.193        46.307        .48964E-04   -1.4067    
   4  norm          3.7030        2.3841        .44125E-03   -1.5323    
   5  Prefactor     .10000E-03    21.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.8395        .17949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.5166        2.8096        .13038E-03   -1.5391    
   8  norm          .10000E-03    8.3370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.2865        9.5560        .14860E-03   -1.5168    
  10  Prefactor     196.09        173.15        .14425E-03   -1.2898    
  11  Prefactor     .10000E-03    3.2860        .13430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .85767        15.290        .25346E-02   -1.5523    
  14  norm          .10000E-03    .79183        .65927E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.1442        1.6985        .60030E-04   -1.5301    
  16  norm          .10000E-03    14.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8622        3.9983        .21469E-03   -1.5435    
  18  Prefactor     .10000E-03    26.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          36.321        32.458        .66486E-04   -1.4502    
  20  Prefactor     22.617        14.913        .84226E-04   -1.4756    
  21  norm          2.0683        1.1825        .29842E-03   -1.5420    
  22  norm          .10000E-03    1.8612        .10131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0427        .24393        .30325E-03   -.91613    
  24  Prefactor     .93071        .15994        .20834E-03   -.95076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13287e-08
Minuit parameter uncertainties:
  1  2.00752e-05
  2  12.0087
  3  46.3315
  4  2.38415
  5  2.28257e-06
  6  1.2248e-06
  7  2.80977
  8  2.60763e-06
  9  9.55804
  10  173.599
  11  1.22233e-06
  12  1.60031e-05
  13  7.2442
  14  1.84758e-08
  15  1.69852
  16  2.99873e-05
  17  3.99891
  18  4.60932e-05
  19  32.4743
  20  14.9159
  21  1.1825
  22  5.16801e-08
  23  0.244188
  24  0.160017
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.862e+00  3.999e+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:  9.307e-01  1.600e-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.043e+00  2.442e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/309661/likelihoodResults_485049601_485308801_4FGL_J0811.4+0146_daily_bin948.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) = 5786.72252041
delta logL = 0.0171835203664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5786.72212685
delta logL = 0.0175770751721

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8881       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2302       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0377       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93207       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=   5786.722     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      259 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8944        3.9458        .20011E-03   -.53795E-03
   2  alpha         2.2325        1.2052        .27313E-01   -.38218E-04
   3  Normalizat    1.0374        .23625        .30396E-03   -.31748E-03
   4  Prefactor     .93220        .15380        .20819E-03   -.27598E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.89435
  alpha      = 2.23252
  Normalizat = 1.03738
  Prefactor  = 0.932202
 **********
 **   18 **HESSE 
 **********

 FCN=   5786.722     FROM HESSE     STATUS=OK            23 CALLS      282 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8944        3.8571        .80045E-05   -1.5433    
   2  alpha         2.2325        1.1797        .10925E-02   -.10720    
   3  Normalizat    1.0374        .23628        .60792E-04   -.91788    
   4  Prefactor     .93220        .15380        .41639E-04   -.95025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.65143e-10
Minuit parameter uncertainties:
  1  3.85757
  2  1.22918
  3  0.236521
  4  0.153874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309661': 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) = 5786.72212232
delta logL = 0.0175816073461

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.894e+00  3.858e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.233e+00  1.229e+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:  9.322e-01  1.539e-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.037e+00  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.28
Ra Dec: 122.861 1.776

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/309661/cmap_HighResolution_485049601_485308801_4FGL_J0811.4+0146_daily_bin948.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.32e-05', job_status='DONE', photon_flux_upper_limit='8.98e-08', time_completed='2021-08-29 12:34:37.848231', job_id='309661', GAL2='0.93', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1630265677.85', return_code2='0', ts='0.28', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.76e-02', ts2='0.31', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='948' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:34:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0256>
Subject: Job 309661: <4FGL_J0811.4+0146_daily_bin948> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin948> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:20:43 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:20: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:20:44 2021
Terminated at Sun Aug 29 12:34:38 2021
Results reported at Sun Aug 29 12:34:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin948 122.861 1.7756 485049601 485308801 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 :                                   610.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            835 sec.

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

