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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin621
RA = 122.861, Dec = 1.7756
tmin = 400291201, tmax = 400550401
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='307814', job_status='RUN', time_executed='2021-08-29 12:17:57.594608', time_epoch_executed='1630264677.59' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='621'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307814

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307814/ft1_4FGL_J0811.4+0146_daily_bin621.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307814/ft2_4FGL_J0811.4+0146_daily_bin621.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307814/ft1_4FGL_J0811.4+0146_daily_bin621.fits outfile=/scratch/kocevski/307814/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin621.fits ra=122.861 dec=1.7756 rad=12.0 tmin=400291201.0 tmax=400550401.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.75
user 3.11
sys 0.60

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307814/ft2_4FGL_J0811.4+0146_daily_bin621.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/307814/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin621.fits evtable="EVENTS" outfile="/scratch/kocevski/307814/ft1_filtered_4FGL_J0811.4+0146_daily_bin621.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.92
user 0.33
sys 0.57

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307814/ft1_filtered_4FGL_J0811.4+0146_daily_bin621.fits evtable="EVENTS" scfile=/scratch/kocevski/307814/ft2_4FGL_J0811.4+0146_daily_bin621.fits sctable="SC_DATA" expcube=/scratch/kocevski/307814/ltcube_400291201_400550401_4FGL_J0811.4+0146_daily_bin621.fits outfile=/scratch/kocevski/307814/expmap_400291201_400550401_4FGL_J0811.4+0146_daily_bin621.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/307814/ltcube_400291201_400550401_4FGL_J0811.4+0146_daily_bin621.fits
.....................!
real 192.38
user 186.97
sys 5.07

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/307814/ft1_filtered_4FGL_J0811.4+0146_daily_bin621.fits scfile=/scratch/kocevski/307814/ft2_4FGL_J0811.4+0146_daily_bin621.fits outfile=/scratch/kocevski/307814/cmap_400291201_400550401_4FGL_J0811.4+0146_daily_bin621.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.99
user 0.37
sys 0.56

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307814/ft1_filtered_4FGL_J0811.4+0146_daily_bin621.fits scfile=/scratch/kocevski/307814/ft2_4FGL_J0811.4+0146_daily_bin621.fits outfile=/scratch/kocevski/307814/cmap_HighResolution_400291201_400550401_4FGL_J0811.4+0146_daily_bin621.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.96
user 0.38
sys 0.56

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .40641E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .64688       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.7290       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2665       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.265       1.0000         .10000E-03   10000.    
    10 'Prefactor '    144.79       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3354       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.7568       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.9207       1.0000         .10000E-03   10000.    
    15 'norm      '    1.6988       1.0000         .10000E-03   10000.    
    16 'norm      '    2.8019       1.0000         .10000E-03   10000.    
    17 'norm      '    4.9124       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .76774E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.6592       1.0000         .10000E-03   10000.    
    21 'norm      '    .52646       1.0000         .10000E-03   10000.    
    22 'norm      '    2.7506       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99766       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94830       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=   8565.969     FROM MIGRAD    STATUS=CONVERGED   1032 CALLS     3264 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.090        .18142E-02** at limit **
   2  Prefactor     .10000E-03    2.7739        .15002E-02** at limit **
   3  Prefactor     .82292E-01    15.498        .10641        .19844E-03
   4  norm          .64679        .70274        .80310E-04    .30492E-03
   5  Prefactor     .10000E-03    8.6118        .18142E-02** at limit **
   6  norm          9.7285        10.136        .12847E-03   -.63005E-04
   7  Prefactor     4.2665        3.8940        .82472E-03    .12503E-03
   8  norm          .10000E-03    6.8438        .18142E-02** at limit **
   9  Prefactor     11.265        11.922        .11936E-03    .47814E-04
  10  Prefactor     144.86        161.32        .16743E-03   -.27106E-04
  11  Prefactor     3.3354        3.5346        .17432E-03   -.76955E-05
  12  Prefactor     4.7544        37.589        .18448E-03    .76416E-05
  13  norm          .10000E-03    6.5475        .36285E-03** at limit **
  14  norm          1.9208        1.5837        .10243E-03   -.44396E-05
  15  norm          1.6991        .89898        .61013E-04   -.23142E-03
  16  norm          2.8060        29.531        .24304E-03    .10385E-04
  17  norm          4.9126        3.6136        .14334E-03    .16783E-03
  18  Prefactor     .10000E-03    35.565        .18142E-02** at limit **
  19  norm          .13700E-02    13.684        .10235    ** at limit **
  20  Prefactor     5.6606        12.820        .16886E-03   -.67327E-05
  21  norm          .52650        .55312        .69595E-04    .61552E-03
  22  norm          2.7508        5.2568        .12273E-02    .17526E-03
  23  Normalizat    .99756        .18804        .29245E-03   -.54035E-04
  24  Prefactor     .94835        .11703        .19231E-03   -.15559E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0822918
  norm       = 0.646788
  Prefactor  = 0.0001
  norm       = 9.72852
  Prefactor  = 4.26648
  norm       = 0.0001
  Prefactor  = 11.2654
  Prefactor  = 144.865
  Prefactor  = 3.33539
  Prefactor  = 4.75439
  norm       = 0.0001
  norm       = 1.9208
  norm       = 1.69914
  norm       = 2.806
  norm       = 4.91263
  Prefactor  = 0.000100001
  norm       = 0.00136995
  Prefactor  = 5.66059
  norm       = 0.526501
  norm       = 2.75079
  Normalizat = 0.997557
  Prefactor  = 0.948354
 **********
 **   18 **HESSE 
 **********

 FCN=   8565.969     FROM HESSE     STATUS=OK           397 CALLS     3661 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.090        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.7744        .30004E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .82292E-01    14.965        .10934       -1.5651    
   4  norm          .64679        .70273        .32124E-05   -1.5547    
   5  Prefactor     .10000E-03    8.6125        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.7285        10.136        .51390E-05   -1.5084    
   7  Prefactor     4.2665        3.8928        .32989E-04   -1.5295    
   8  norm          .10000E-03    6.8440        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.265        11.920        .47744E-05   -1.5037    
  10  Prefactor     144.86        161.32        .33486E-04   -1.3295    
  11  Prefactor     3.3354        3.5346        .69729E-05   -1.5343    
  12  Prefactor     4.7544        37.537        .73792E-05   -1.5272    
  13  norm          .10000E-03    6.5479        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.9208        1.5837        .40972E-05   -1.5431    
  15  norm          1.6991        .89897        .24405E-05   -1.5447    
  16  norm          2.8060        29.490        .97215E-05   -1.5373    
  17  norm          4.9126        3.6133        .57336E-05   -1.5265    
  18  Prefactor     .10000E-03    35.577        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13700E-02    13.238        .10504       -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6606        12.819        .67543E-05   -1.5232    
  21  norm          .52650        .55311        .27838E-05   -1.5563    
  22  norm          2.7508        5.2547        .49091E-04   -1.5376    
  23  Normalizat    .99756        .18812        .11698E-04   -.93112    
  24  Prefactor     .94835        .11709        .38463E-04   -.94471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01727e-09
Minuit parameter uncertainties:
  1  1.0876e-06
  2  1.03321e-06
  3  2.21866
  4  0.702742
  5  3.49867e-06
  6  10.1376
  7  3.89301
  8  1.57962e-05
  9  11.9229
  10  161.811
  11  3.5348
  12  26.741
  13  1.77255e-05
  14  1.58371
  15  0.898976
  16  18.2045
  17  3.61345
  18  0.000421002
  19  0.259379
  20  12.8255
  21  0.553111
  22  5.25563
  23  0.188247
  24  0.117118
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  4.913e+00  3.613e+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.484e-01  1.171e-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.976e-01  1.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.12
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 3.52e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 2.09e-05 +/- 1.54e-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) = 8565.78662756
delta logL = 0.18189396557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8565.58019421
delta logL = 0.388327313713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8206       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1679       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0243       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94469       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=   8565.580     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8159        1.8290        .77369E-02   -.25388E-03
   2  alpha         1.1663        .41862        .40626       -.57873E-04
   3  Normalizat    1.0246        .15417        .65341E-01    .29589E-04
   4  Prefactor     .94459        .99625E-01    .45572E-01    .51137E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.81594
  alpha      = 1.16631
  Normalizat = 1.02457
  Prefactor  = 0.944587
 **********
 **   18 **HESSE 
 **********

 FCN=   8565.580     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8159        3.0844        .11098E-03   -1.5438    
   2  alpha         1.1663        .76041        .16303E-01   -.56271    
   3  Normalizat    1.0246        .17593        .28902E-03   -.92212    
   4  Prefactor     .94459        .11386        .19272E-03   -.94600    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92373e-11
Minuit parameter uncertainties:
  1  3.08463
  2  0.777837
  3  0.17603
  4  0.113884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307814': 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) = 8565.58019101
delta logL = 0.388330515765

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.816e+00  3.085e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.166e+00  7.778e-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.446e-01  1.139e-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.025e+00  1.760e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.88
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.17 +/- 0.78
Photon Flux (Free Index): 7.84e-09 +/- 1.22e-08
Energy Flux (Free Index): 3.92e-05 +/- 5.04e-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/307814/cmap_HighResolution_400291201_400550401_4FGL_J0811.4+0146_daily_bin621.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.52e-08', energy_flux2='3.92e-05', photon_flux_error='2.59e-08', dlogl='3.88e-01', energy_flux='2.09e-05', photon_flux2='7.84e-09', job_status='DONE', time_completed='2021-08-29 12:30:01.352773', photon_index_error2='0.78', photon_index2='1.17', ts='9.12', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='5.04e-05', EG='1.00', time_epoch_completed='1630265401.35', return_code='0', job_id='307814', GAL2='0.94', EG2='1.02', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='1.22e-08', ts2='9.88', photon_index='2.01' WHERE bin_id='621' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:30:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 307814: <4FGL_J0811.4+0146_daily_bin621> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin621 122.861 1.7756 400291201 400550401 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 :                                   730.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             313.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            870 sec.

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

