/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 174 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 = 7480
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0811.4+0146_daily_bin238
RA = 122.861, Dec = 1.7756
tmin = 301017601, tmax = 301276801
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='303214', job_status='RUN', time_executed='2021-08-29 12:04:49.490816', time_epoch_executed='1630263889.49' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='238'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303214

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303214/ft1_4FGL_J0811.4+0146_daily_bin238.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303214/ft2_4FGL_J0811.4+0146_daily_bin238.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303214/ft1_4FGL_J0811.4+0146_daily_bin238.fits outfile=/scratch/kocevski/303214/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin238.fits ra=122.861 dec=1.7756 rad=12.0 tmin=301017601.0 tmax=301276801.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 7.24
user 3.32
sys 3.89

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/303214/ft1_filtered_4FGL_J0811.4+0146_daily_bin238.fits" evtable="EVENTS" scfile=/scratch/kocevski/303214/ft2_4FGL_J0811.4+0146_daily_bin238.fits sctable="SC_DATA" outfile=/scratch/kocevski/303214/ltcube_301017601_301276801_4FGL_J0811.4+0146_daily_bin238.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/303214/ft2_4FGL_J0811.4+0146_daily_bin238.fits
.....................!
real 15.92
user 11.39
sys 4.46

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303214/ft1_filtered_4FGL_J0811.4+0146_daily_bin238.fits evtable="EVENTS" scfile=/scratch/kocevski/303214/ft2_4FGL_J0811.4+0146_daily_bin238.fits sctable="SC_DATA" expcube=/scratch/kocevski/303214/ltcube_301017601_301276801_4FGL_J0811.4+0146_daily_bin238.fits outfile=/scratch/kocevski/303214/expmap_301017601_301276801_4FGL_J0811.4+0146_daily_bin238.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/303214/ltcube_301017601_301276801_4FGL_J0811.4+0146_daily_bin238.fits
.....................!
real 193.79
user 185.10
sys 8.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/303214/ft1_filtered_4FGL_J0811.4+0146_daily_bin238.fits scfile=/scratch/kocevski/303214/ft2_4FGL_J0811.4+0146_daily_bin238.fits outfile=/scratch/kocevski/303214/cmap_301017601_301276801_4FGL_J0811.4+0146_daily_bin238.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 3.80
user 0.37
sys 3.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303214/ft1_filtered_4FGL_J0811.4+0146_daily_bin238.fits scfile=/scratch/kocevski/303214/ft2_4FGL_J0811.4+0146_daily_bin238.fits outfile=/scratch/kocevski/303214/cmap_HighResolution_301017601_301276801_4FGL_J0811.4+0146_daily_bin238.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 4.20
user 0.39
sys 3.75

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.281       1.0000         .10000E-03   10000.    
     3 'Prefactor '    48.579       1.0000         .10000E-03   10000.    
     4 'norm      '    .73811       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.081       1.0000         .10000E-03   10000.    
     6 'norm      '    15.309       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.217       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.730       1.0000         .10000E-03   10000.    
    10 'Prefactor '    188.87       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0728       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .15449E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .92108       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .15966       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    22.823       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.9847       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92204       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1776       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=   6254.189     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2777 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    51.310       -.18568E-05** at limit **
   2  Prefactor     13.281        10.999        .11641E-06   -.35994E-05
   3  Prefactor     48.577        41.323       -.20489E-05    .16145E-04
   4  norm          .73741        1.4601       -.27056E-06   -.13285E-02
   5  Prefactor     39.083        41.632        .22430E-05   -.23616E-05
   6  norm          15.309        16.776       -.37940E-06   -.16997E-03
   7  Prefactor     11.217        5.9032        .13464E-06   -.12846E-03
   8  norm          .10000E-03    6.2277        .26288E-05** at limit **
   9  Prefactor     22.729        11.740        .13524E-06   -.11590E-04
  10  Prefactor     188.86        214.28       -.11398E-04    .12022E-05
  11  Prefactor     8.0738        8.3796       -.29785E-06   -.15045E-03
  12  Prefactor     .10000E-03    14.426        .30915E-05** at limit **
  13  norm          .10000E-03    9.5070        .99153E-07** at limit **
  14  norm          .10006E-03    1.4843        .87432E-06** at limit **
  15  norm          .92123        .90667       -.10285E-06   -.75279E-03
  16  norm          .10000E-03    5.5307       -.31415E-06** at limit **
  17  norm          .16211        2.3678       -.77780E-06    .28885E-03
  18  Prefactor     .10000E-03    8.0548        .46421E-05** at limit **
  19  norm          22.824        20.050        .38883E-07   -.84294E-05
  20  Prefactor     .10000E-03    7.0837       -.62838E-05** at limit **
  21  norm          3.9847        1.4214       -.91202E-08    .34657E-03
  22  norm          .10000E-03    10.229       -.80121E-05** at limit **
  23  Normalizat    .92208        .21978        .66583E-06    .88357E-04
  24  Prefactor     1.1776        .14896        .18895E-06    .10051E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.2807
  Prefactor  = 48.577
  norm       = 0.737413
  Prefactor  = 39.0831
  norm       = 15.3091
  Prefactor  = 11.2166
  norm       = 0.0001
  Prefactor  = 22.7293
  Prefactor  = 188.856
  Prefactor  = 8.0738
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100059
  norm       = 0.921227
  norm       = 0.0001
  norm       = 0.16211
  Prefactor  = 0.0001
  norm       = 22.8236
  Prefactor  = 0.0001
  norm       = 3.98466
  norm       = 0.0001
  Normalizat = 0.922081
  Prefactor  = 1.17758
 **********
 **   18 **HESSE 
 **********

 FCN=   6254.189     FROM HESSE     STATUS=OK           407 CALLS     3184 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.281        11.025        .10991E-03   -1.4979    
   3  Prefactor     48.577        41.094        .57533E-04   -1.4313    
   4  norm          .73741        1.3014        .12876E-02   -1.5536    
   5  Prefactor     39.083        41.696        .64115E-04   -1.4457    
   6  norm          15.309        16.842        .51182E-03   -1.4925    
   7  Prefactor     11.217        5.9087        .11962E-03   -1.5038    
   8  norm          .10000E-03    6.2279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.729        11.742        .84015E-04   -1.4754    
  10  Prefactor     188.86        214.29        .14692E-03   -1.2951    
  11  Prefactor     8.0738        8.3610        .14111E-03   -1.5140    
  12  Prefactor     .10000E-03    14.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    9.6247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10006E-03    8.9107        .18156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .92123        .89059        .71636E-04   -1.5516    
  16  norm          .10000E-03    5.5343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16211        21.678        .23220E-02   -1.5627    
  18  Prefactor     .10000E-03    8.0441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          22.824        20.051        .83844E-04   -1.4752    
  20  Prefactor     .10000E-03    7.0828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.9847        1.4222        .53712E-04   -1.5309    
  22  norm          .10000E-03    10.361        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .92208        .24659        .33970E-03   -.95689    
  24  Prefactor     1.1776        .16849        .20391E-03   -.87024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.98498e-09
Minuit parameter uncertainties:
  1  2.20341e-05
  2  11.0268
  3  41.1181
  4  1.30143
  5  41.7275
  6  16.8474
  7  5.90902
  8  1.69326e-06
  9  11.7429
  10  215.19
  11  8.36225
  12  5.91965e-07
  13  5.53348e-06
  14  0.00145517
  15  0.890599
  16  1.60092e-07
  17  3.74951
  18  1.44786e-07
  19  20.0564
  20  1.88117e-06
  21  1.4222
  22  7.31689e-05
  23  0.24689
  24  0.168564
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.621e-01  3.750e+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.178e+00  1.686e-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:  9.221e-01  2.469e-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: 7.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/303214/likelihoodResults_301017601_301276801_4FGL_J0811.4+0146_daily_bin238.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): 102
logL (Free Index) = 6254.18849504
delta logL = 0.000677066227581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6254.1884096
delta logL = 0.000762508215303

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16209       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1633       1.0000          .0000       5.0000    
     3 'Normalizat'    .92183       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1776       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6254.188     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      271 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20796        997.39        .22038E-02   -.17756E-03
   2  alpha         2.1734        3.4450        .47938       -.44919E-05
   3  Normalizat    .92158        .54338E-01    .33978E-03    .16094E-04
   4  Prefactor     1.1776        .37996E-01    .20391E-03   -.42243E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.207965
  alpha      = 2.17342
  Normalizat = 0.921577
  Prefactor  = 1.17758
 **********
 **   18 **HESSE 
 **********

 FCN=   6254.188     FROM HESSE     STATUS=OK            29 CALLS      300 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20796        29.768        .88150E-04   -1.5617    
   2  alpha         2.1734        3.2703        .90123E-01   -.13101    
   3  Normalizat    .92158        .23795        .13591E-04   -.95706    
   4  Prefactor     1.1776        .16041        .40782E-04   -.87024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22079e-09
Minuit parameter uncertainties:
  1  4.97758
  2  5.37157
  3  0.238218
  4  0.160478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303214': 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) = 6254.18831732
delta logL = 0.000854780491863

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.080e-01  4.978e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.173e+00  5.372e+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.178e+00  1.605e-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:  9.216e-01  2.382e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/303214/cmap_HighResolution_301017601_301276801_4FGL_J0811.4+0146_daily_bin238.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.61e-05', job_status='DONE', photon_flux_upper_limit='7.79e-08', time_completed='2021-08-29 12:16:20.838213', job_id='303214', GAL2='1.18', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1630264580.84', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='8.55e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='238' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:16:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 303214: <4FGL_J0811.4+0146_daily_bin238> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin238> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 12:00:42 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:00: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:00:44 2021
Terminated at Sun Aug 29 12:16:21 2021
Results reported at Sun Aug 29 12:16:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin238 122.861 1.7756 301017601 301276801 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 :                                   748.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             264.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            939 sec.

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

