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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin732
RA = 122.861, Dec = 1.7756
tmin = 429062401, tmax = 429321601
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='307977', job_status='RUN', time_executed='2021-08-29 12:18:16.754590', time_epoch_executed='1630264696.75' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307977

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307977/ft1_4FGL_J0811.4+0146_daily_bin732.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307977/ft2_4FGL_J0811.4+0146_daily_bin732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307977/ft1_4FGL_J0811.4+0146_daily_bin732.fits outfile=/scratch/kocevski/307977/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin732.fits ra=122.861 dec=1.7756 rad=12.0 tmin=429062401.0 tmax=429321601.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.83
user 6.05
sys 0.74

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307977/ft2_4FGL_J0811.4+0146_daily_bin732.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/307977/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin732.fits evtable="EVENTS" outfile="/scratch/kocevski/307977/ft1_filtered_4FGL_J0811.4+0146_daily_bin732.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.01
user 0.34
sys 0.66

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307977/ft1_filtered_4FGL_J0811.4+0146_daily_bin732.fits" evtable="EVENTS" scfile=/scratch/kocevski/307977/ft2_4FGL_J0811.4+0146_daily_bin732.fits sctable="SC_DATA" outfile=/scratch/kocevski/307977/ltcube_429062401_429321601_4FGL_J0811.4+0146_daily_bin732.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/307977/ft2_4FGL_J0811.4+0146_daily_bin732.fits
.....................!
real 12.53
user 11.54
sys 0.93

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307977/ft1_filtered_4FGL_J0811.4+0146_daily_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/307977/ft2_4FGL_J0811.4+0146_daily_bin732.fits sctable="SC_DATA" expcube=/scratch/kocevski/307977/ltcube_429062401_429321601_4FGL_J0811.4+0146_daily_bin732.fits outfile=/scratch/kocevski/307977/expmap_429062401_429321601_4FGL_J0811.4+0146_daily_bin732.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/307977/ltcube_429062401_429321601_4FGL_J0811.4+0146_daily_bin732.fits
.....................!
real 191.97
user 185.34
sys 5.79

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/307977/ft1_filtered_4FGL_J0811.4+0146_daily_bin732.fits scfile=/scratch/kocevski/307977/ft2_4FGL_J0811.4+0146_daily_bin732.fits outfile=/scratch/kocevski/307977/cmap_429062401_429321601_4FGL_J0811.4+0146_daily_bin732.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.03
user 0.36
sys 0.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307977/ft1_filtered_4FGL_J0811.4+0146_daily_bin732.fits scfile=/scratch/kocevski/307977/ft2_4FGL_J0811.4+0146_daily_bin732.fits outfile=/scratch/kocevski/307977/cmap_HighResolution_429062401_429321601_4FGL_J0811.4+0146_daily_bin732.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.06
user 0.37
sys 0.67

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12561       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.0426       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    14.453       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.9687       1.0000         .10000E-03   10000.    
     8 'norm      '    .10268E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8187       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .49097E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .24553E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.5474       1.0000         .10000E-03   10000.    
    14 'norm      '    7.5494       1.0000         .10000E-03   10000.    
    15 'norm      '    1.6512       1.0000         .10000E-03   10000.    
    16 'norm      '    .10205E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.4513       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10522E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10182E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .71302       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2212       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=   5447.765     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     2430 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10850E-03    112.01        .13730E-05** at limit **
   2  Prefactor     7.0451        12.544       -.12283E-04   -.85883E-04
   3  Prefactor     .10000E-03    17.412        .17777E-04** at limit **
   4  norm          14.453        3.4557        .19498E-06   -.20128E-03
   5  Prefactor     .10000E-03    15.225        .32925E-05** at limit **
   6  norm          .10000E-03    9.9595       -.64447E-07** at limit **
   7  Prefactor     4.9709        4.4313       -.13212E-06   -.17563E-03
   8  norm          .10000E-03    4.7297        .30004E-08** at limit **
   9  Prefactor     3.8150        8.9407       -.79089E-06   -.15042E-03
  10  Prefactor     .10000E-03    81.341       -.39864E-05** at limit **
  11  Prefactor     .10000E-03    3.9300        .15513E-07** at limit **
  12  Prefactor     .10000E-03    180.93        .11012E-05** at limit **
  13  norm          2.5831        18.536       -.22590E-05   -.13338E-03
  14  norm          7.5478        3.9904       -.54479E-07   -.19759E-04
  15  norm          1.6512        1.7599       -.26258E-06   -.56345E-03
  16  norm          .10000E-03    11.583       -.83109E-07** at limit **
  17  norm          2.4532        3.6359       -.19411E-06   -.25992E-03
  18  Prefactor     .10000E-03    18.222       -.68696E-05** at limit **
  19  norm          .10000E-03    16.486       -.14175E-04** at limit **
  20  Prefactor     .10000E-03    5.4837       -.18379E-07** at limit **
  21  norm          .10000E-03    .98728       -.14216E-06** at limit **
  22  norm          .10000E-03    3.2142        .15477E-07** at limit **
  23  Normalizat    .71333        .22131       -.85529E-06    .77281E-04
  24  Prefactor     1.2210        .15149        .19241E-05   -.60044E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000108495
  Prefactor  = 7.04513
  Prefactor  = 0.0001
  norm       = 14.4534
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.97087
  norm       = 0.0001
  Prefactor  = 3.81504
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.58309
  norm       = 7.54777
  norm       = 1.6512
  norm       = 0.0001
  norm       = 2.45321
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.713334
  Prefactor  = 1.22105
 **********
 **   18 **HESSE 
 **********

 FCN=   5447.765     FROM HESSE     STATUS=OK           403 CALLS     2833 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10850E-03    85.426        .18909       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.0451        12.629        .15116E-03   -1.5177    
   3  Prefactor     .10000E-03    17.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          14.453        3.4517        .62747E-04   -1.4947    
   5  Prefactor     .10000E-03    15.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.9752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.9709        4.4241        .14046E-03   -1.5262    
   8  norm          .10000E-03    4.7303        .15677E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.8150        8.9250        .20654E-03   -1.5317    
  10  Prefactor     .10000E-03    81.343        .21166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.9383        .14287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    189.02        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.5831        18.416        .25584E-03   -1.5387    
  14  norm          7.5478        3.9733        .10039E-03   -1.5158    
  15  norm          1.6512        1.7472        .92738E-04   -1.5451    
  16  norm          .10000E-03    11.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4532        3.6117        .16426E-03   -1.5395    
  18  Prefactor     .10000E-03    18.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    16.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.4974        .16879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.1415        .13981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.2176        .12922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .71333        .23915        .36450E-03   -1.0337    
  24  Prefactor     1.2210        .16692        .19323E-03   -.85686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.58357e-10
Minuit parameter uncertainties:
  1  0.0539547
  2  12.6341
  3  1.51749e-05
  4  3.45178
  5  3.3328e-06
  6  9.3974e-06
  7  4.42436
  8  5.34323e-07
  9  8.92812
  10  1.78309e-06
  11  1.49738e-06
  12  0.000276348
  13  13.8001
  14  3.97346
  15  1.74726
  16  4.66093e-06
  17  3.61207
  18  1.85483e-06
  19  1.94063e-06
  20  2.53587e-06
  21  1.85572e-05
  22  2.09772e-06
  23  0.239501
  24  0.166994
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.453e+00  3.612e+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.221e+00  1.670e-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.133e-01  2.395e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/307977/likelihoodResults_429062401_429321601_4FGL_J0811.4+0146_daily_bin732.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) = 5446.76113171
delta logL = 1.00363507292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5446.56681717
delta logL = 1.19794961218

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95216E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .57330       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2812       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=   5446.567     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      337 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95199E-01    1.9874        .32336E-02    .16725E-02
   2  alpha         5.0000        4.5987        .46417    ** at limit **
   3  Normalizat    .57313        .14601        .91033E-01    .33237E-04
   4  Prefactor     1.2814        .94877E-01    .32946E-01   -.81546E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.095199
  alpha      = 5
  Normalizat = 0.573134
  Prefactor  = 1.28144
 **********
 **   18 **HESSE 
 **********

 FCN=   5446.567     FROM HESSE     STATUS=OK            33 CALLS      370 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95199E-01    .66180E-01    .14623E-04   -1.5646    
   2  alpha         5.0000        3.3581        .44857E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .57313        .24413        .40341E-03   -1.0914    
   4  Prefactor     1.2814        .16126        .18921E-03   -.83861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79515e-10
Minuit parameter uncertainties:
  1  0.0661796
  2  5.26561e-05
  3  0.244592
  4  0.16132
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307977': 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) = 5446.56681525
delta logL = 1.19795154031

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  9.520e-02  6.618e-02  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  5.000e+00  5.266e-05  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.281e+00  1.613e-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:  5.731e-01  2.446e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.50
Ra Dec: 122.861 1.776
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.18e-07 +/- 8.14e-08
Energy Flux (Free Index): 1.60e-05 +/- 1.11e-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/307977/cmap_HighResolution_429062401_429321601_4FGL_J0811.4+0146_daily_bin732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.38e-05', comment='SUCCESS', energy_flux2='1.60e-05', dlogl='1.20e+00', photon_flux2='1.18e-07', job_status='DONE', time_completed='2021-08-29 12:28:29.754780', photon_index_error2='0.00', photon_index2='5.00', ts='0.74', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='9.07e-08', energy_flux_error2='1.11e-05', EG='0.71', time_epoch_completed='1630265309.75', return_code='0', job_id='307977', GAL2='1.28', EG2='0.57', return_code2='0', photon_flux_error2='8.14e-08', ts2='3.50', photon_index='2.01' WHERE bin_id='732' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:28:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 307977: <4FGL_J0811.4+0146_daily_bin732> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin732 122.861 1.7756 429062401 429321601 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 :                                   617.51 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            767 sec.

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

