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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin588
RA = 122.861, Dec = 1.7756
tmin = 391737601, tmax = 391996801
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='307766', job_status='RUN', time_executed='2021-08-29 12:15:53.501484', time_epoch_executed='1630264553.5' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='588'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307766

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307766/ft1_4FGL_J0811.4+0146_daily_bin588.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307766/ft2_4FGL_J0811.4+0146_daily_bin588.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307766/ft1_4FGL_J0811.4+0146_daily_bin588.fits outfile=/scratch/kocevski/307766/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin588.fits ra=122.861 dec=1.7756 rad=12.0 tmin=391737601.0 tmax=391996801.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.86
user 3.06
sys 0.68

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307766/ft2_4FGL_J0811.4+0146_daily_bin588.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/307766/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin588.fits evtable="EVENTS" outfile="/scratch/kocevski/307766/ft1_filtered_4FGL_J0811.4+0146_daily_bin588.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 1.04
user 0.31
sys 0.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307766/ft1_filtered_4FGL_J0811.4+0146_daily_bin588.fits" evtable="EVENTS" scfile=/scratch/kocevski/307766/ft2_4FGL_J0811.4+0146_daily_bin588.fits sctable="SC_DATA" outfile=/scratch/kocevski/307766/ltcube_391737601_391996801_4FGL_J0811.4+0146_daily_bin588.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/307766/ft2_4FGL_J0811.4+0146_daily_bin588.fits
.....................!
real 12.50
user 11.44
sys 0.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307766/ft1_filtered_4FGL_J0811.4+0146_daily_bin588.fits evtable="EVENTS" scfile=/scratch/kocevski/307766/ft2_4FGL_J0811.4+0146_daily_bin588.fits sctable="SC_DATA" expcube=/scratch/kocevski/307766/ltcube_391737601_391996801_4FGL_J0811.4+0146_daily_bin588.fits outfile=/scratch/kocevski/307766/expmap_391737601_391996801_4FGL_J0811.4+0146_daily_bin588.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/307766/ltcube_391737601_391996801_4FGL_J0811.4+0146_daily_bin588.fits
.....................!
real 190.76
user 185.25
sys 4.94

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/307766/ft1_filtered_4FGL_J0811.4+0146_daily_bin588.fits scfile=/scratch/kocevski/307766/ft2_4FGL_J0811.4+0146_daily_bin588.fits outfile=/scratch/kocevski/307766/cmap_391737601_391996801_4FGL_J0811.4+0146_daily_bin588.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.96
user 0.37
sys 0.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307766/ft1_filtered_4FGL_J0811.4+0146_daily_bin588.fits scfile=/scratch/kocevski/307766/ft2_4FGL_J0811.4+0146_daily_bin588.fits outfile=/scratch/kocevski/307766/cmap_HighResolution_391737601_391996801_4FGL_J0811.4+0146_daily_bin588.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 1.03
user 0.36
sys 0.66

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.709       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.017       1.0000         .10000E-03   10000.    
     4 'norm      '    3.0516       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    68.000       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10546E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    21.933       1.0000         .10000E-03   10000.    
    14 'norm      '    3.1723       1.0000         .10000E-03   10000.    
    15 'norm      '    2.7019       1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .16680E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.503       1.0000         .10000E-03   10000.    
    21 'norm      '    3.4772       1.0000         .10000E-03   10000.    
    22 'norm      '    .10252E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4327       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .64314       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=   6790.186     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2703 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.706        50.465        .57824E-05    .22763E-05
   2  Prefactor     .10000E-03    8.8114       -.68257E-06** at limit **
   3  Prefactor     21.869        36.645        .13348E-04    .30461E-05
   4  norm          3.0529        1.7399       -.37841E-06   -.26176E-03
   5  Prefactor     .10000E-03    9.3915        .72428E-06** at limit **
   6  norm          .10000E-03    6.7627        .28266E-05** at limit **
   7  Prefactor     .10000E-03    2.4289        .68063E-06** at limit **
   8  norm          .10000E-03    4.0815        .85451E-07** at limit **
   9  Prefactor     .10000E-03    2.6424        .56577E-07** at limit **
  10  Prefactor     67.747        114.04       -.25560E-03    .43485E-05
  11  Prefactor     .10000E-03    9.9607       -.84062E-07** at limit **
  12  Prefactor     .10000E-03    31.762       -.48126E-07** at limit **
  13  norm          21.928        13.991       -.82504E-06    .92094E-05
  14  norm          3.1718        2.5893       -.10355E-06   -.21116E-03
  15  norm          2.7020        1.2450       -.99309E-07   -.55111E-04
  16  norm          .10000E-03    6.7573       -.27581E-05** at limit **
  17  norm          .10000E-03    2.1544       -.98540E-07** at limit **
  18  Prefactor     .10000E-03    15.304       -.39339E-06** at limit **
  19  norm          .10001E-03    11.559       -.49048E-06** at limit **
  20  Prefactor     14.503        16.679        .36391E-05    .26179E-05
  21  norm          3.4773        1.2697       -.15612E-06   -.18458E-02
  22  norm          .10000E-03    5.1225        .37892E-07** at limit **
  23  Normalizat    1.4326        .19230        .14659E-05   -.40481E-04
  24  Prefactor     .64329        .11609        .42794E-06    .83184E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.7056
  Prefactor  = 0.0001
  Prefactor  = 21.8692
  norm       = 3.05289
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 67.7467
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.9275
  norm       = 3.17182
  norm       = 2.70204
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100008
  Prefactor  = 14.5035
  norm       = 3.47735
  norm       = 0.0001
  Normalizat = 1.43256
  Prefactor  = 0.643286
 **********
 **   18 **HESSE 
 **********

 FCN=   6790.186     FROM HESSE     STATUS=OK           395 CALLS     3098 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.706        50.506        .52360E-04   -1.4174    
   2  Prefactor     .10000E-03    9.0011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.869        36.631        .85363E-04   -1.4772    
   4  norm          3.0529        1.7379        .78129E-04   -1.5359    
   5  Prefactor     .10000E-03    9.3957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.7758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.4690        .12540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.0836        .16259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.6441        .13082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     67.747        114.09        .24337E-03   -1.4060    
  11  Prefactor     .10000E-03    10.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    32.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          21.928        13.995        .85527E-04   -1.4771    
  14  norm          3.1718        2.5811        .11317E-03   -1.5352    
  15  norm          2.7020        1.2386        .58518E-04   -1.5379    
  16  norm          .10000E-03    6.7660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.2016        .11804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10001E-03    88.018        .54177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.503        16.756        .10518E-03   -1.4946    
  21  norm          3.4773        1.2718        .26825E-03   -1.5335    
  22  norm          .10000E-03    5.1556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4326        .21783        .26577E-03   -.79692    
  24  Prefactor     .64329        .13053        .22897E-03   -1.0579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.10382e-10
Minuit parameter uncertainties:
  1  50.5425
  2  3.81525e-05
  3  36.669
  4  1.7379
  5  5.12751e-06
  6  6.28635e-06
  7  0.000120276
  8  1.1241e-05
  9  1.99586e-05
  10  114.463
  11  2.24821e-06
  12  3.90004e-05
  13  13.9975
  14  2.58118
  15  1.23859
  16  1.93342e-06
  17  1.61054e-06
  18  2.98145e-06
  19  0.00163635
  20  16.761
  21  1.27179
  22  8.8791e-06
  23  0.217967
  24  0.130593
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  1.611e-06  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:  6.433e-01  1.306e-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.433e+00  2.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 122.861 1.776
Photon Flux Upper Limit: 5.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/307766/likelihoodResults_391737601_391996801_4FGL_J0811.4+0146_daily_bin588.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6790.18807058
delta logL = -0.00215865178416

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6790.18591025
delta logL = 1.6813946786e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10122E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2127       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64330       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=   6790.186     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      276 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    342.27        .24601E-02** at limit **
   2  alpha         2.3765        2.8670        .16600        .29723E-07
   3  Normalizat    1.4326        .76260E-01    .26577E-03   -.10951E-04
   4  Prefactor     .64329        .46131E-01    .22897E-03   -.14051E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.3765
  Normalizat = 1.43256
  Prefactor  = 0.643285
 **********
 **   18 **HESSE 
 **********

 FCN=   6790.186     FROM HESSE     STATUS=OK            23 CALLS      299 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4717        .49202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3765        3.8060        .66400E-02   -.49421E-01
   3  Normalizat    1.4326        .20928        .10631E-04   -.79692    
   4  Prefactor     .64329        .12674        .91589E-05   -1.0579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58815e-11
Minuit parameter uncertainties:
  1  1.69032e-05
  2  168.292
  3  0.209409
  4  0.126794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307766': 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) = 6790.18590947
delta logL = 2.46754370892e-06

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  1.690e-05  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.376e+00  1.683e+02  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:  6.433e-01  1.268e-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.433e+00  2.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.861 1.776

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-05', job_status='DONE', photon_flux_upper_limit='5.40e-08', time_completed='2021-08-29 12:27:06.204707', job_id='307766', GAL2='0.64', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1630265226.2', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='2.47e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='588' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:27:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 307766: <4FGL_J0811.4+0146_daily_bin588> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin588> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 12:15:27 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:15:29 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:29 2021
Terminated at Sun Aug 29 12:27:06 2021
Results reported at Sun Aug 29 12:27:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin588 122.861 1.7756 391737601 391996801 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 :                                   674.35 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             390.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            699 sec.

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

