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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin539
RA = 122.861, Dec = 1.7756
tmin = 379036801, tmax = 379296001
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='307695', job_status='RUN', time_executed='2021-08-29 12:20:47.155541', time_epoch_executed='1630264847.16' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='539'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307695

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307695/ft1_4FGL_J0811.4+0146_daily_bin539.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307695/ft2_4FGL_J0811.4+0146_daily_bin539.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307695/ft1_4FGL_J0811.4+0146_daily_bin539.fits outfile=/scratch/kocevski/307695/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin539.fits ra=122.861 dec=1.7756 rad=12.0 tmin=379036801.0 tmax=379296001.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.99
user 3.08
sys 4.42

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307695/ft1_filtered_4FGL_J0811.4+0146_daily_bin539.fits" evtable="EVENTS" scfile=/scratch/kocevski/307695/ft2_4FGL_J0811.4+0146_daily_bin539.fits sctable="SC_DATA" outfile=/scratch/kocevski/307695/ltcube_379036801_379296001_4FGL_J0811.4+0146_daily_bin539.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/307695/ft2_4FGL_J0811.4+0146_daily_bin539.fits
.....................!
real 17.62
user 11.57
sys 5.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307695/ft1_filtered_4FGL_J0811.4+0146_daily_bin539.fits evtable="EVENTS" scfile=/scratch/kocevski/307695/ft2_4FGL_J0811.4+0146_daily_bin539.fits sctable="SC_DATA" expcube=/scratch/kocevski/307695/ltcube_379036801_379296001_4FGL_J0811.4+0146_daily_bin539.fits outfile=/scratch/kocevski/307695/expmap_379036801_379296001_4FGL_J0811.4+0146_daily_bin539.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/307695/ltcube_379036801_379296001_4FGL_J0811.4+0146_daily_bin539.fits
.....................!
real 198.28
user 185.69
sys 10.87

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/307695/ft1_filtered_4FGL_J0811.4+0146_daily_bin539.fits scfile=/scratch/kocevski/307695/ft2_4FGL_J0811.4+0146_daily_bin539.fits outfile=/scratch/kocevski/307695/cmap_379036801_379296001_4FGL_J0811.4+0146_daily_bin539.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 4.88
user 0.36
sys 4.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307695/ft1_filtered_4FGL_J0811.4+0146_daily_bin539.fits scfile=/scratch/kocevski/307695/ft2_4FGL_J0811.4+0146_daily_bin539.fits outfile=/scratch/kocevski/307695/cmap_HighResolution_379036801_379296001_4FGL_J0811.4+0146_daily_bin539.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.89
user 0.36
sys 4.31

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72225E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    73.213       1.0000         .10000E-03   10000.    
     4 'norm      '    3.7482       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.473       1.0000         .10000E-03   10000.    
     6 'norm      '    21.471       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    21.195       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.7701       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .35641E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .14226E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2220       1.0000         .10000E-03   10000.    
    15 'norm      '    1.2354       1.0000         .10000E-03   10000.    
    16 'norm      '    23.804       1.0000         .10000E-03   10000.    
    17 'norm      '    3.9009       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    13.663       1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.026       1.0000         .10000E-03   10000.    
    21 'norm      '    .87302       1.0000         .10000E-03   10000.    
    22 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .41951       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1565       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=   5015.813     FROM MIGRAD    STATUS=CONVERGED    594 CALLS     2763 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12433E-03    64.063       -.34044E-05** at limit **
   2  Prefactor     .10000E-03    2.9308       -.51016E-07** at limit **
   3  Prefactor     73.260        45.470        .19132E-05    .21286E-04
   4  norm          3.7481        2.3429       -.20663E-06   -.21338E-03
   5  Prefactor     30.471        32.479       -.71330E-05   -.20435E-04
   6  norm          21.479        18.988        .15857E-04   -.61235E-05
   7  Prefactor     .10000E-03    1.7953        .29731E-08** at limit **
   8  norm          21.112        24.905       -.18597E-05   -.28923E-04
   9  Prefactor     8.7911        13.864        .61213E-06   -.67230E-04
  10  Prefactor     .10000E-03    517.38        .43161E-04** at limit **
  11  Prefactor     .10000E-03    2.7982       -.99937E-07** at limit **
  12  Prefactor     .10000E-03    12.825        .10641E-06** at limit **
  13  norm          .10000E-03    19.026       -.20346E-06** at limit **
  14  norm          1.2223        1.2848        .55945E-07    .12937E-03
  15  norm          1.2360        1.1401       -.56882E-06   -.42342E-02
  16  norm          23.817        19.769       -.47251E-05   -.13828E-04
  17  norm          3.9020        3.4538       -.44452E-07    .33328E-04
  18  Prefactor     .10000E-03    15.274        .27319E-06** at limit **
  19  norm          13.666        15.387       -.19023E-05   -.37239E-05
  20  Prefactor     19.034        20.083       -.14294E-04   -.36528E-04
  21  norm          .87352        .76945       -.45101E-07    .95083E-04
  22  norm          .10000E-03    3.9315       -.15243E-08** at limit **
  23  Normalizat    .41951        .21693        .10920E-04   -.17090E-04
  24  Prefactor     1.1563        .14730       -.19484E-05    .19557E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000124328
  Prefactor  = 0.0001
  Prefactor  = 73.2601
  norm       = 3.74813
  Prefactor  = 30.4711
  norm       = 21.4791
  Prefactor  = 0.0001
  norm       = 21.1122
  Prefactor  = 8.79106
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.22235
  norm       = 1.23599
  norm       = 23.8166
  norm       = 3.90202
  Prefactor  = 0.0001
  norm       = 13.6663
  Prefactor  = 19.0344
  norm       = 0.873523
  norm       = 0.0001
  Normalizat = 0.419514
  Prefactor  = 1.15631
 **********
 **   18 **HESSE 
 **********

 FCN=   5015.813     FROM HESSE     STATUS=OK           411 CALLS     3174 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12433E-03    59.559        .15821       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.9329        .11841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     73.260        45.421        .46921E-04   -1.3994    
   4  norm          3.7481        2.3409        .80050E-04   -1.5321    
   5  Prefactor     30.471        32.554        .72581E-04   -1.4603    
   6  norm          21.479        18.922        .43220E-03   -1.4781    
   7  Prefactor     .10000E-03    1.8111        .92629E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          21.112        24.916        .87001E-04   -1.4789    
   9  Prefactor     8.7911        13.861        .13535E-03   -1.5115    
  10  Prefactor     .10000E-03    518.62        .19634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.8016        .11569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    19.590        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2223        1.2982        .80003E-04   -1.5487    
  15  norm          1.2360        1.1546        .20202E-03   -1.5486    
  16  norm          23.817        19.750        .82101E-04   -1.4732    
  17  norm          3.9020        3.4544        .11952E-03   -1.5313    
  18  Prefactor     .10000E-03    15.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.666        15.385        .10836E-03   -1.4968    
  20  Prefactor     19.034        20.049        .91822E-04   -1.4835    
  21  norm          .87352        .79567        .55884E-03   -1.5521    
  22  norm          .10000E-03    3.9575        .13712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .41951        .22514        .40058E-03   -1.1630    
  24  Prefactor     1.1563        .15696        .17365E-03   -.87687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36759e-09
Minuit parameter uncertainties:
  1  0.0762052
  2  9.48089e-07
  3  45.4427
  4  2.34098
  5  32.5727
  6  18.9277
  7  4.10519e-06
  8  24.9287
  9  13.8663
  10  0.000715094
  11  5.34655e-06
  12  2.90853e-05
  13  0.000162742
  14  1.29823
  15  1.15459
  16  19.7555
  17  3.45454
  18  7.2781e-05
  19  15.3893
  20  20.0561
  21  0.79568
  22  1.38017e-05
  23  0.225629
  24  0.157023
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  3.902e+00  3.455e+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.156e+00  1.570e-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:  4.195e-01  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.52
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 2.80e-08 +/- 2.48e-08
Energy Flux (Fixed Index): 1.66e-05 +/- 1.47e-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) = 5015.27808072
delta logL = 0.53488957436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5015.05389347
delta logL = 0.759076828471

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5553       1.0000         .10000E-03   10000.    
     2 'alpha     '    .81310       1.0000          .0000       5.0000    
     3 'Normalizat'    .44235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1506       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=   5015.054     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      212 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5553        1.5222        .85343E-02   -.80968E-03
   2  alpha         .81309        .41436        .34946       -.22110E-04
   3  Normalizat    .44233        .20003        .88076E-01    .28417E-04
   4  Prefactor     1.1507        .14021        .35918E-01    .82044E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.55534
  alpha      = 0.813092
  Normalizat = 0.442334
  Prefactor  = 1.15067
 **********
 **   18 **HESSE 
 **********

 FCN=   5015.054     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5553        2.2630        .77525E-04   -1.5459    
   2  alpha         .81309        .64879        .14387E-01   -.74064    
   3  Normalizat    .44233        .21183        .39027E-03   -1.1517    
   4  Prefactor     1.1507        .14898        .17404E-03   -.87863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28927e-11
Minuit parameter uncertainties:
  1  2.26311
  2  0.662963
  3  0.212213
  4  0.14903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307695': 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) = 5015.05389345
delta logL = 0.759076847865

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.555e+00  2.263e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  8.131e-01  6.630e-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.151e+00  1.490e-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:  4.423e-01  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.03
Ra Dec: 122.861 1.776
Photon Index (Free Index): 0.81 +/- 0.66
Photon Flux (Free Index): 8.73e-09 +/- 8.30e-09
Energy Flux (Free Index): 1.06e-04 +/- 1.59e-04

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/307695/cmap_HighResolution_379036801_379296001_4FGL_J0811.4+0146_daily_bin539.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.80e-08', energy_flux2='1.06e-04', photon_flux_error='2.48e-08', dlogl='7.59e-01', energy_flux='1.66e-05', photon_flux2='8.73e-09', job_status='DONE', time_completed='2021-08-29 12:30:49.196016', photon_index_error2='0.66', photon_index2='0.81', ts='7.52', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='1.59e-04', EG='0.42', time_epoch_completed='1630265449.2', return_code='0', job_id='307695', GAL2='1.15', EG2='0.44', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='8.30e-09', ts2='9.03', photon_index='2.01' WHERE bin_id='539' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:30:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 307695: <4FGL_J0811.4+0146_daily_bin539> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin539> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 12:15:22 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:15:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 12:15:24 2021
Terminated at Sun Aug 29 12:30:50 2021
Results reported at Sun Aug 29 12:30:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin539 122.861 1.7756 379036801 379296001 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 :                                   658.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             241.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            928 sec.

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

