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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin225
RA = 122.861, Dec = 1.7756
tmin = 297648001, tmax = 297907201
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='303194', job_status='RUN', time_executed='2021-08-29 12:04:38.565760', time_epoch_executed='1630263878.57' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='225'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303194

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303194/ft1_4FGL_J0811.4+0146_daily_bin225.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303194/ft2_4FGL_J0811.4+0146_daily_bin225.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303194/ft1_4FGL_J0811.4+0146_daily_bin225.fits outfile=/scratch/kocevski/303194/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin225.fits ra=122.861 dec=1.7756 rad=12.0 tmin=297648001.0 tmax=297907201.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.73
user 3.47
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/303194/ft1_filtered_4FGL_J0811.4+0146_daily_bin225.fits" evtable="EVENTS" scfile=/scratch/kocevski/303194/ft2_4FGL_J0811.4+0146_daily_bin225.fits sctable="SC_DATA" outfile=/scratch/kocevski/303194/ltcube_297648001_297907201_4FGL_J0811.4+0146_daily_bin225.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/303194/ft2_4FGL_J0811.4+0146_daily_bin225.fits
.....................!
real 11.66
user 11.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303194/ft1_filtered_4FGL_J0811.4+0146_daily_bin225.fits evtable="EVENTS" scfile=/scratch/kocevski/303194/ft2_4FGL_J0811.4+0146_daily_bin225.fits sctable="SC_DATA" expcube=/scratch/kocevski/303194/ltcube_297648001_297907201_4FGL_J0811.4+0146_daily_bin225.fits outfile=/scratch/kocevski/303194/expmap_297648001_297907201_4FGL_J0811.4+0146_daily_bin225.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/303194/ltcube_297648001_297907201_4FGL_J0811.4+0146_daily_bin225.fits
.....................!
real 190.82
user 185.09
sys 5.33

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/303194/ft1_filtered_4FGL_J0811.4+0146_daily_bin225.fits scfile=/scratch/kocevski/303194/ft2_4FGL_J0811.4+0146_daily_bin225.fits outfile=/scratch/kocevski/303194/cmap_297648001_297907201_4FGL_J0811.4+0146_daily_bin225.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303194/ft1_filtered_4FGL_J0811.4+0146_daily_bin225.fits scfile=/scratch/kocevski/303194/ft2_4FGL_J0811.4+0146_daily_bin225.fits outfile=/scratch/kocevski/303194/cmap_HighResolution_297648001_297907201_4FGL_J0811.4+0146_daily_bin225.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.626       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.013       1.0000         .10000E-03   10000.    
     4 'norm      '    2.1645       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2449       1.0000         .10000E-03   10000.    
     8 'norm      '    8.7020       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10621E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4006       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.8808       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.4573       1.0000         .10000E-03   10000.    
    16 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.5763       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    13.680       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9053       1.0000         .10000E-03   10000.    
    21 'norm      '    4.0007       1.0000         .10000E-03   10000.    
    22 'norm      '    .10322E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .84699       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0643       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=   6913.132     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2351 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.625        52.550        .21189E-06   -.53291E-05
   2  Prefactor     .10000E-03    5.3168        .53943E-08** at limit **
   3  Prefactor     18.014        35.966        .39313E-07    .21617E-05
   4  norm          2.1645        2.0803        .26360E-06    .54575E-03
   5  Prefactor     .10000E-03    21.092       -.13982E-05** at limit **
   6  norm          .10000E-03    13.868       -.10936E-05** at limit **
   7  Prefactor     2.2450        5.0188        .21847E-05    .90432E-03
   8  norm          8.7003        16.106        .14377E-06    .81285E-04
   9  Prefactor     .10000E-03    11.114       -.11202E-06** at limit **
  10  Prefactor     .10001E-03    97.423       -.22748E-05** at limit **
  11  Prefactor     2.4014        7.0611        .16042E-05    .38426E-03
  12  Prefactor     .10000E-03    7.8379        .15814E-07** at limit **
  13  norm          2.8813        6.9318        .91801E-06    .29723E-03
  14  norm          .10000E-03    .46067       -.23017E-07** at limit **
  15  norm          1.4575        .99894        .56868E-07    .23493E-03
  16  norm          .10000E-03    17.644        .14684E-05** at limit **
  17  norm          2.5763        2.1199       -.33477E-08   -.44415E-04
  18  Prefactor     .10001E-03    55.532        .18033E-05** at limit **
  19  norm          13.681        16.802        .75336E-07   -.18263E-05
  20  Prefactor     2.8989        16.314        .21675E-05    .14914E-03
  21  norm          4.0005        1.2631        .70240E-07   -.14920E-03
  22  norm          .10005E-03    12.545        .65860E-05** at limit **
  23  Normalizat    .84686        .19543       -.31345E-09   -.13255E-03
  24  Prefactor     1.0644        .12417       -.61814E-06   -.28266E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6247
  Prefactor  = 0.0001
  Prefactor  = 18.0142
  norm       = 2.16453
  Prefactor  = 0.000100005
  norm       = 0.000100003
  Prefactor  = 2.24503
  norm       = 8.70029
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 2.40145
  Prefactor  = 0.0001
  norm       = 2.88133
  norm       = 0.0001
  norm       = 1.45746
  norm       = 0.000100004
  norm       = 2.57627
  Prefactor  = 0.000100006
  norm       = 13.6808
  Prefactor  = 2.89891
  norm       = 4.00053
  norm       = 0.000100047
  Normalizat = 0.846861
  Prefactor  = 1.06436
 **********
 **   18 **HESSE 
 **********

 FCN=   6913.132     FROM HESSE     STATUS=OK           401 CALLS     2752 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.625        52.872        .12291E-03   -1.5056    
   2  Prefactor     .10000E-03    5.3437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.014        35.909        .94369E-04   -1.4859    
   4  norm          2.1645        2.0758        .10983E-03   -1.5414    
   5  Prefactor     .10000E-03    21.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    14.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2450        5.2927        .27428E-03   -1.5408    
   8  norm          8.7003        16.040        .13588E-03   -1.5118    
   9  Prefactor     .10000E-03    11.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    98.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4014        7.1384        .26428E-03   -1.5398    
  12  Prefactor     .10000E-03    7.8413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.8813        6.9377        .23946E-03   -1.5368    
  14  norm          .10000E-03    .46117        .55101E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4575        .98845        .65938E-04   -1.5467    
  16  norm          .10000E-03    18.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5763        2.1191        .10698E-03   -1.5387    
  18  Prefactor     .10001E-03    56.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.681        16.807        .10829E-03   -1.4968    
  20  Prefactor     2.8989        16.662        .23838E-03   -1.5367    
  21  norm          4.0005        1.2645        .49994E-04   -1.5308    
  22  norm          .10005E-03    15.805        .34313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84686        .22029        .32533E-03   -.98353    
  24  Prefactor     1.0644        .14222        .18997E-03   -.90614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70771e-09
Minuit parameter uncertainties:
  1  47.4695
  2  1.83943e-06
  3  35.9523
  4  2.07588
  5  0.000623978
  6  0.000380152
  7  5.29381
  8  16.0483
  9  1.62149e-05
  10  0.00216964
  11  7.14091
  12  4.22619e-07
  13  6.93963
  14  1.08116e-06
  15  0.988461
  16  0.000538382
  17  2.11915
  18  0.00117058
  19  16.8125
  20  13.9053
  21  1.26455
  22  0.00171654
  23  0.220521
  24  0.142267
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.576e+00  2.119e+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.064e+00  1.423e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  8.469e-01  2.205e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.16
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 1.85e-08 +/- 1.52e-08
Energy Flux (Fixed Index): 1.10e-05 +/- 9.01e-06

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) = 6913.05619371
delta logL = 0.075660433241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6913.05504494
delta logL = 0.0768092028702

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6654       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7372       1.0000          .0000       5.0000    
     3 'Normalizat'    .85113       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0629       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=   6913.055     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6653        3.3067        .62412E-02    .35551E-02
   2  alpha         1.7371        .82716        .43881       -.82492E-05
   3  Normalizat    .85108        .18532        .73344E-01    .11183E-04
   4  Prefactor     1.0629        .12005        .39208E-01   -.16190E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.66532
  alpha      = 1.73711
  Normalizat = 0.851078
  Prefactor  = 1.06292
 **********
 **   18 **HESSE 
 **********

 FCN=   6913.055     FROM HESSE     STATUS=OK            29 CALLS      228 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6653        2.1863        .10858E-03   -1.5381    
   2  alpha         1.7371        .64955        .18918E-01   -.31010    
   3  Normalizat    .85108        .20827        .32458E-03   -.98201    
   4  Prefactor     1.0629        .13572        .19008E-03   -.90661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46398e-09
Minuit parameter uncertainties:
  1  2.18637
  2  0.657888
  3  0.208464
  4  0.13576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303194': 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) = 6913.05504489
delta logL = 0.0768092484086

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.665e+00  2.186e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.737e+00  6.579e-01  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.063e+00  1.358e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  8.511e-01  2.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.31
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.74 +/- 0.66
Photon Flux (Free Index): 1.45e-08 +/- 1.48e-08
Energy Flux (Free Index): 1.53e-05 +/- 1.95e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/303194/cmap_HighResolution_297648001_297907201_4FGL_J0811.4+0146_daily_bin225.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.85e-08', energy_flux2='1.53e-05', photon_flux_error='1.52e-08', dlogl='7.68e-02', energy_flux='1.10e-05', photon_flux2='1.45e-08', job_status='DONE', time_completed='2021-08-29 12:14:15.739932', photon_index_error2='0.66', photon_index2='1.74', ts='4.16', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.95e-05', EG='0.85', time_epoch_completed='1630264455.74', return_code='0', job_id='303194', GAL2='1.06', EG2='0.85', return_code2='0', energy_flux_error='9.01e-06', photon_flux_error2='1.48e-08', ts2='4.31', photon_index='2.01' WHERE bin_id='225' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:14:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 303194: <4FGL_J0811.4+0146_daily_bin225> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin225> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 12:00:41 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:00:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 12:00:43 2021
Terminated at Sun Aug 29 12:14:16 2021
Results reported at Sun Aug 29 12:14:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin225 122.861 1.7756 297648001 297907201 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 :                                   577.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             280.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            815 sec.

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

