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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin333
RA = 122.861, Dec = 1.7756
tmin = 325641601, tmax = 325900801
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='304660', job_status='RUN', time_executed='2021-08-29 12:08:19.087338', time_epoch_executed='1630264099.09' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='333'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304660

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304660/ft1_4FGL_J0811.4+0146_daily_bin333.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304660/ft2_4FGL_J0811.4+0146_daily_bin333.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/304660/ft1_4FGL_J0811.4+0146_daily_bin333.fits outfile=/scratch/kocevski/304660/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin333.fits ra=122.861 dec=1.7756 rad=12.0 tmin=325641601.0 tmax=325900801.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 4.17
user 3.76
sys 0.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/304660/ft1_filtered_4FGL_J0811.4+0146_daily_bin333.fits" evtable="EVENTS" scfile=/scratch/kocevski/304660/ft2_4FGL_J0811.4+0146_daily_bin333.fits sctable="SC_DATA" outfile=/scratch/kocevski/304660/ltcube_325641601_325900801_4FGL_J0811.4+0146_daily_bin333.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/304660/ft2_4FGL_J0811.4+0146_daily_bin333.fits
.....................!
real 11.82
user 11.41
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304660/ft1_filtered_4FGL_J0811.4+0146_daily_bin333.fits evtable="EVENTS" scfile=/scratch/kocevski/304660/ft2_4FGL_J0811.4+0146_daily_bin333.fits sctable="SC_DATA" expcube=/scratch/kocevski/304660/ltcube_325641601_325900801_4FGL_J0811.4+0146_daily_bin333.fits outfile=/scratch/kocevski/304660/expmap_325641601_325900801_4FGL_J0811.4+0146_daily_bin333.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/304660/ltcube_325641601_325900801_4FGL_J0811.4+0146_daily_bin333.fits
.....................!
real 190.40
user 185.72
sys 4.32

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/304660/ft1_filtered_4FGL_J0811.4+0146_daily_bin333.fits scfile=/scratch/kocevski/304660/ft2_4FGL_J0811.4+0146_daily_bin333.fits outfile=/scratch/kocevski/304660/cmap_325641601_325900801_4FGL_J0811.4+0146_daily_bin333.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.58
user 0.37
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304660/ft1_filtered_4FGL_J0811.4+0146_daily_bin333.fits scfile=/scratch/kocevski/304660/ft2_4FGL_J0811.4+0146_daily_bin333.fits outfile=/scratch/kocevski/304660/cmap_HighResolution_325641601_325900801_4FGL_J0811.4+0146_daily_bin333.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.59
user 0.38
sys 0.20

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.118       1.0000         .10000E-03   10000.    
     4 'norm      '    1.3202       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.584       1.0000         .10000E-03   10000.    
     6 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.1392       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    167.51       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    9.7345       1.0000         .10000E-03   10000.    
    14 'norm      '    .10275E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.6062       1.0000         .10000E-03   10000.    
    16 'norm      '    2.9395       1.0000         .10000E-03   10000.    
    17 'norm      '    7.3615       1.0000         .10000E-03   10000.    
    18 'Prefactor '    34.691       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.321       1.0000         .10000E-03   10000.    
    21 'norm      '    1.2328       1.0000         .10000E-03   10000.    
    22 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98718       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96367       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=   7183.759     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2761 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.395        .22900E-06** at limit **
   2  Prefactor     .10000E-03    3.2774       -.24323E-08** at limit **
   3  Prefactor     17.095        41.100       -.40128E-04    .23418E-05
   4  norm          1.3199        1.2111        .43267E-06    .53257E-03
   5  Prefactor     10.578        27.228       -.93561E-05   -.36019E-05
   6  norm          .10000E-03    42.567        .10975E-05** at limit **
   7  Prefactor     .10000E-03    2.4007        .23366E-06** at limit **
   8  norm          5.1356        14.850       -.47483E-06   -.50148E-04
   9  Prefactor     .10000E-03    4.7007        .27857E-06** at limit **
  10  Prefactor     167.47        219.22       -.30307E-04    .31950E-06
  11  Prefactor     .10000E-03    1.8213       -.15287E-08** at limit **
  12  Prefactor     .10000E-03    25.187       -.73858E-06** at limit **
  13  norm          9.7342        7.1946       -.81781E-06   -.97170E-03
  14  norm          .10000E-03    1.0148       -.24164E-06** at limit **
  15  norm          2.6061        1.1762       -.19477E-06    .15562E-03
  16  norm          2.9256        21.093       -.48748E-05   -.97129E-04
  17  norm          7.3612        3.8384        .43913E-06    .84195E-04
  18  Prefactor     34.695        32.844        .47346E-05    .37564E-04
  19  norm          .10000E-03    5.8518       -.66354E-07** at limit **
  20  Prefactor     24.319        16.752       -.12904E-05    .24237E-04
  21  norm          1.2328        1.0646       -.38160E-06   -.99572E-03
  22  norm          .10000E-03    4.4556       -.28709E-06** at limit **
  23  Normalizat    .98729        .18714        .27365E-05    .11177E-03
  24  Prefactor     .96362        .11726        .21631E-05    .32388E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.0954
  norm       = 1.31993
  Prefactor  = 10.5781
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 5.13555
  Prefactor  = 0.0001
  Prefactor  = 167.469
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.73417
  norm       = 0.0001
  norm       = 2.60609
  norm       = 2.92561
  norm       = 7.36125
  Prefactor  = 34.6945
  norm       = 0.0001
  Prefactor  = 24.319
  norm       = 1.23278
  norm       = 0.0001
  Normalizat = 0.987287
  Prefactor  = 0.963621
 **********
 **   18 **HESSE 
 **********

 FCN=   7183.759     FROM HESSE     STATUS=OK           401 CALLS     3162 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.2866        .14984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.095        41.028        .96804E-04   -1.4881    
   4  norm          1.3199        1.2131        .85743E-04   -1.5478    
   5  Prefactor     10.578        27.273        .12316E-03   -1.5057    
   6  norm          .10000E-03    44.041        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.4224        .12813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.1356        14.837        .17734E-03   -1.5255    
   9  Prefactor     .10000E-03    4.7078        .17939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     167.47        219.06        .15584E-03   -1.3112    
  11  Prefactor     .10000E-03    1.8244        .11170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    25.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.7342        7.2293        .64219E-03   -1.5084    
  14  norm          .10000E-03    6.4663        .16162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.6061        1.1526        .57628E-04   -1.5385    
  16  norm          2.9256        21.072        .23690E-03   -1.5366    
  17  norm          7.3612        3.8398        .11585E-03   -1.5165    
  18  Prefactor     34.695        32.846        .68038E-04   -1.4529    
  19  norm          .10000E-03    5.8555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     24.319        16.788        .81225E-04   -1.4721    
  21  norm          1.2328        1.0473        .76848E-04   -1.5486    
  22  norm          .10000E-03    4.5318        .17468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .98729        .21428        .30438E-03   -.93458    
  24  Prefactor     .96362        .13459        .19650E-03   -.93952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.39608e-10
Minuit parameter uncertainties:
  1  3.24312e-05
  2  1.3028e-06
  3  41.096
  4  1.2131
  5  27.3049
  6  0.000372121
  7  3.41798e-05
  8  14.8474
  9  1.15747e-05
  10  220.134
  11  1.88121e-06
  12  3.01545e-05
  13  7.22998
  14  6.35473e-05
  15  1.15258
  16  15.711
  17  3.83997
  18  32.8632
  19  5.68678e-06
  20  16.7917
  21  1.04729
  22  2.48904e-05
  23  0.21447
  24  0.134641
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  7.361e+00  3.840e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.005e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  6.882e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  9.636e-01  1.346e-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.873e-01  2.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.24
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 5.28e-08 +/- 2.75e-08
Energy Flux (Fixed Index): 3.13e-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) = 7183.73819949
delta logL = 0.0209682792529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7183.73748682
delta logL = 0.0216809545864

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.4817       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9127       1.0000          .0000       5.0000    
     3 'Normalizat'    .99240       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96191       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7183.737     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      236 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.4818        3.9656        .11850E-03   -.17474E-02
   2  alpha         1.9127        .44106        .12680E-01   -.16704E-03
   3  Normalizat    .99241        .20508        .30370E-03    .17609E-03
   4  Prefactor     .96186        .13092        .19666E-03    .36778E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.48185
  alpha      = 1.91271
  Normalizat = 0.992409
  Prefactor  = 0.961862
 **********
 **   18 **HESSE 
 **********

 FCN=   7183.737     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.4818        3.9563        .23701E-04   -1.5161    
   2  alpha         1.9127        .43995        .50720E-03   -.23713    
   3  Normalizat    .99241        .20518        .12148E-04   -.93285    
   4  Prefactor     .96186        .13099        .39332E-04   -.94012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60841e-09
Minuit parameter uncertainties:
  1  3.95648
  2  0.442386
  3  0.205339
  4  0.131034
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304660': 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) = 7183.73748665
delta logL = 0.0216811245264

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  7.482e+00  3.956e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.913e+00  4.424e-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:  9.619e-01  1.310e-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.924e-01  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.27
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.91 +/- 0.44
Photon Flux (Free Index): 4.83e-08 +/- 3.32e-08
Energy Flux (Free Index): 3.44e-05 +/- 2.43e-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/304660/cmap_HighResolution_325641601_325900801_4FGL_J0811.4+0146_daily_bin333.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.28e-08', energy_flux2='3.44e-05', photon_flux_error='2.75e-08', dlogl='2.17e-02', energy_flux='3.13e-05', photon_flux2='4.83e-08', job_status='DONE', time_completed='2021-08-29 12:18:48.088796', photon_index_error2='0.44', photon_index2='1.91', ts='14.24', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.43e-05', EG='0.99', time_epoch_completed='1630264728.09', return_code='0', job_id='304660', GAL2='0.96', EG2='0.99', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='3.32e-08', ts2='14.27', photon_index='2.01' WHERE bin_id='333' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:18:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 304660: <4FGL_J0811.4+0146_daily_bin333> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin333> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 29 12:05:27 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:05:30 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:05:30 2021
Terminated at Sun Aug 29 12:18:49 2021
Results reported at Sun Aug 29 12:18:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin333 122.861 1.7756 325641601 325900801 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 :                                   628.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             278.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            802 sec.

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

