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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin136
RA = 122.861, Dec = 1.7756
tmin = 274579201, tmax = 274838401
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='303067', job_status='RUN', time_executed='2021-08-29 12:02:31.583139', time_epoch_executed='1630263751.58' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='136'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303067

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303067/ft1_4FGL_J0811.4+0146_daily_bin136.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303067/ft2_4FGL_J0811.4+0146_daily_bin136.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303067/ft1_4FGL_J0811.4+0146_daily_bin136.fits outfile=/scratch/kocevski/303067/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin136.fits ra=122.861 dec=1.7756 rad=12.0 tmin=274579201.0 tmax=274838401.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.65
user 3.44
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/303067/ft1_filtered_4FGL_J0811.4+0146_daily_bin136.fits" evtable="EVENTS" scfile=/scratch/kocevski/303067/ft2_4FGL_J0811.4+0146_daily_bin136.fits sctable="SC_DATA" outfile=/scratch/kocevski/303067/ltcube_274579201_274838401_4FGL_J0811.4+0146_daily_bin136.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/303067/ft2_4FGL_J0811.4+0146_daily_bin136.fits
.....................!
real 12.00
user 11.58
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303067/ft1_filtered_4FGL_J0811.4+0146_daily_bin136.fits evtable="EVENTS" scfile=/scratch/kocevski/303067/ft2_4FGL_J0811.4+0146_daily_bin136.fits sctable="SC_DATA" expcube=/scratch/kocevski/303067/ltcube_274579201_274838401_4FGL_J0811.4+0146_daily_bin136.fits outfile=/scratch/kocevski/303067/expmap_274579201_274838401_4FGL_J0811.4+0146_daily_bin136.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/303067/ltcube_274579201_274838401_4FGL_J0811.4+0146_daily_bin136.fits
.....................!
real 190.47
user 184.67
sys 5.20

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/303067/ft1_filtered_4FGL_J0811.4+0146_daily_bin136.fits scfile=/scratch/kocevski/303067/ft2_4FGL_J0811.4+0146_daily_bin136.fits outfile=/scratch/kocevski/303067/cmap_274579201_274838401_4FGL_J0811.4+0146_daily_bin136.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303067/ft1_filtered_4FGL_J0811.4+0146_daily_bin136.fits scfile=/scratch/kocevski/303067/ft2_4FGL_J0811.4+0146_daily_bin136.fits outfile=/scratch/kocevski/303067/cmap_HighResolution_274579201_274838401_4FGL_J0811.4+0146_daily_bin136.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.58
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.7382       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6865       1.0000         .10000E-03   10000.    
     4 'norm      '    4.5351       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.764       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16547E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10245E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5916       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5660       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.4251       1.0000         .10000E-03   10000.    
    14 'norm      '    .74276       1.0000         .10000E-03   10000.    
    15 'norm      '    13.783       1.0000         .10000E-03   10000.    
    16 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.2158       1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.620       1.0000         .10000E-03   10000.    
    19 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .40164       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4570       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .72219       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=   7363.430     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2809 TOTAL
                     EDM=   .83E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    46.859       -.73317E-06** at limit **
   2  Prefactor     3.7375        5.7843       -.59178E-07   -.29841E-04
   3  Prefactor     3.6861        41.934        .86543E-06   -.86214E-04
   4  norm          4.5350        1.9163       -.11953E-06   -.32734E-04
   5  Prefactor     21.761        35.848       -.10023E-05   -.20264E-05
   6  norm          .10000E-03    4.2710        .39536E-06** at limit **
   7  Prefactor     .10000E-03    6.4382       -.11924E-05** at limit **
   8  norm          .10000E-03    13.720        .25042E-06** at limit **
   9  Prefactor     4.5938        13.727        .63110E-06    .19488E-04
  10  Prefactor     .10000E-03    174.64       -.18046E-05** at limit **
  11  Prefactor     1.5677        5.9642       -.47073E-07   -.11237E-03
  12  Prefactor     .10000E-03    12.098       -.23212E-06** at limit **
  13  norm          5.4252        6.4903        .24167E-06   -.46896E-03
  14  norm          .74220        2.6907       -.14056E-06   -.25819E-03
  15  norm          13.784        2.1801       -.55045E-07   -.17091E-04
  16  norm          .10000E-03    9.6547       -.67966E-06** at limit **
  17  norm          5.2163        3.7045        .43411E-07   -.40634E-03
  18  Prefactor     31.625        33.117        .88366E-06    .33660E-04
  19  norm          .10000E-03    26.256        .37386E-05** at limit **
  20  Prefactor     .10000E-03    26.366       -.35137E-05** at limit **
  21  norm          .40164        .81656       -.85865E-07   -.41758E-03
  22  norm          .10000E-03    3.1282       -.65086E-07** at limit **
  23  Normalizat    1.4567        .20107        .32137E-07    .13172E-03
  24  Prefactor     .72234        .12499        .48777E-06    .69659E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.73751
  Prefactor  = 3.68612
  norm       = 4.53495
  Prefactor  = 21.7611
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.59383
  Prefactor  = 0.0001
  Prefactor  = 1.56773
  Prefactor  = 0.0001
  norm       = 5.42517
  norm       = 0.742197
  norm       = 13.7839
  norm       = 0.0001
  norm       = 5.21633
  Prefactor  = 31.6247
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.401642
  norm       = 0.0001
  Normalizat = 1.4567
  Prefactor  = 0.722336
 **********
 **   18 **HESSE 
 **********

 FCN=   7363.430     FROM HESSE     STATUS=OK           401 CALLS     3210 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    46.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.7375        5.7925        .20884E-03   -1.5321    
   3  Prefactor     3.6861        57.537        .10518E-02   -1.5324    
   4  norm          4.5350        1.9157        .73914E-04   -1.5282    
   5  Prefactor     21.761        36.003        .85858E-04   -1.4775    
   6  norm          .10000E-03    4.2722        .17315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.7384        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    13.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.5938        13.761        .18785E-03   -1.5279    
  10  Prefactor     .10000E-03    174.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.5677        5.9512        .33985E-03   -1.5458    
  12  Prefactor     .10000E-03    12.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.4252        7.9348        .86261E-03   -1.5242    
  14  norm          .74220        2.7892        .25364E-03   -1.5536    
  15  norm          13.784        2.1570        .46312E-04   -1.4965    
  16  norm          .10000E-03    9.7089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.2163        3.8272        .69400E-03   -1.5251    
  18  Prefactor     31.625        33.336        .71256E-04   -1.4583    
  19  norm          .10000E-03    26.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    26.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .40164        .79521        .10704E-02   -1.5581    
  22  norm          .10000E-03    3.1429        .14822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4567        .23199        .28386E-03   -.79002    
  24  Prefactor     .72234        .14385        .23796E-03   -1.0266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.51018e-09
Minuit parameter uncertainties:
  1  2.69469e-05
  2  5.79335
  3  29.1595
  4  1.91571
  5  36.0389
  6  1.97364e-06
  7  1.38127e-05
  8  1.51526e-05
  9  13.7705
  10  9.85463e-05
  11  5.95348
  12  7.33596e-06
  13  7.93634
  14  2.78972
  15  2.15701
  16  1.3176e-05
  17  3.82736
  18  33.3554
  19  1.78013e-05
  20  6.98888e-05
  21  0.795231
  22  1.65393e-06
  23  0.232162
  24  0.143923
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.216e+00  3.827e+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:  7.223e-01  1.439e-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.457e+00  2.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.75
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 3.74e-08 +/- 2.75e-08
Energy Flux (Fixed Index): 2.22e-05 +/- 1.63e-05

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) = 7363.42950503
delta logL = 0.000233385657339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7363.42950008
delta logL = 0.000238330320826

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.2203       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9933       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4572       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72222       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=   7363.429     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      222 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.2216        124.33        .43984E-02    .78561E-04
   2  alpha         1.9935        2.9055        .41677        .14717E-04
   3  Normalizat    1.4571        .12774        .64172E-01    .37267E-05
   4  Prefactor     .72222        .68586E-01    .42696E-01    .18539E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.22163
  alpha      = 1.99354
  Normalizat = 1.45715
  Prefactor  = 0.72222
 **********
 **   18 **HESSE 
 **********

 FCN=   7363.429     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.2216        3.8471        .13921E-03   -1.5251    
   2  alpha         1.9935        .54119        .14794E-01   -.20399    
   3  Normalizat    1.4571        .22199        .28383E-03   -.78990    
   4  Prefactor     .72222        .13641        .23798E-03   -1.0266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82288e-12
Minuit parameter uncertainties:
  1  3.8473
  2  0.545697
  3  0.222135
  4  0.136473
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303067': 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) = 7363.42949992
delta logL = 0.000238497967075

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.222e+00  3.847e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.994e+00  5.457e-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:  7.222e-01  1.365e-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.457e+00  2.221e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.74
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.99 +/- 0.55
Photon Flux (Free Index): 3.69e-08 +/- 3.43e-08
Energy Flux (Free Index): 2.24e-05 +/- 1.94e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/303067/cmap_HighResolution_274579201_274838401_4FGL_J0811.4+0146_daily_bin136.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.74e-08', energy_flux2='2.24e-05', photon_flux_error='2.75e-08', dlogl='2.38e-04', energy_flux='2.22e-05', photon_flux2='3.69e-08', job_status='DONE', time_completed='2021-08-29 12:13:42.211056', photon_index_error2='0.55', photon_index2='1.99', ts='5.75', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='1.94e-05', EG='1.46', time_epoch_completed='1630264422.21', return_code='0', job_id='303067', GAL2='0.72', EG2='1.46', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='3.43e-08', ts2='5.74', photon_index='2.01' WHERE bin_id='136' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:13:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 303067: <4FGL_J0811.4+0146_daily_bin136> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin136 122.861 1.7756 274579201 274838401 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 :                                   668.03 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             318.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            790 sec.

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

