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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin524
RA = 122.861, Dec = 1.7756
tmin = 375148801, tmax = 375408001
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='307673', job_status='RUN', time_executed='2021-08-29 12:17:32.094297', time_epoch_executed='1630264652.09' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='524'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307673

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307673/ft1_4FGL_J0811.4+0146_daily_bin524.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307673/ft2_4FGL_J0811.4+0146_daily_bin524.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307673/ft1_4FGL_J0811.4+0146_daily_bin524.fits outfile=/scratch/kocevski/307673/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin524.fits ra=122.861 dec=1.7756 rad=12.0 tmin=375148801.0 tmax=375408001.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.80
user 4.32
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307673/ft1_filtered_4FGL_J0811.4+0146_daily_bin524.fits" evtable="EVENTS" scfile=/scratch/kocevski/307673/ft2_4FGL_J0811.4+0146_daily_bin524.fits sctable="SC_DATA" outfile=/scratch/kocevski/307673/ltcube_375148801_375408001_4FGL_J0811.4+0146_daily_bin524.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/307673/ft2_4FGL_J0811.4+0146_daily_bin524.fits
.....................!
real 12.62
user 11.60
sys 0.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307673/ft1_filtered_4FGL_J0811.4+0146_daily_bin524.fits evtable="EVENTS" scfile=/scratch/kocevski/307673/ft2_4FGL_J0811.4+0146_daily_bin524.fits sctable="SC_DATA" expcube=/scratch/kocevski/307673/ltcube_375148801_375408001_4FGL_J0811.4+0146_daily_bin524.fits outfile=/scratch/kocevski/307673/expmap_375148801_375408001_4FGL_J0811.4+0146_daily_bin524.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/307673/ltcube_375148801_375408001_4FGL_J0811.4+0146_daily_bin524.fits
.....................!
real 191.66
user 186.27
sys 4.86

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/307673/ft1_filtered_4FGL_J0811.4+0146_daily_bin524.fits scfile=/scratch/kocevski/307673/ft2_4FGL_J0811.4+0146_daily_bin524.fits outfile=/scratch/kocevski/307673/cmap_375148801_375408001_4FGL_J0811.4+0146_daily_bin524.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.75
user 0.38
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307673/ft1_filtered_4FGL_J0811.4+0146_daily_bin524.fits scfile=/scratch/kocevski/307673/ft2_4FGL_J0811.4+0146_daily_bin524.fits outfile=/scratch/kocevski/307673/cmap_HighResolution_375148801_375408001_4FGL_J0811.4+0146_daily_bin524.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.78
user 0.39
sys 0.35

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.397       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .70138E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    75.868       1.0000         .10000E-03   10000.    
     4 'norm      '    .59200       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    22.889       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3180       1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.002       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7054       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    17.125       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.1243       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.6945       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .78452       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.951       1.0000         .10000E-03   10000.    
    21 'norm      '    3.1870       1.0000         .10000E-03   10000.    
    22 'norm      '    14.319       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0542       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84311       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=   6297.934     FROM MIGRAD    STATUS=CONVERGED    974 CALLS     3240 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.393        33.696        .84637E-04   -.55072E-05
   2  Prefactor     .44827E-01    7.7644        .62278E-01    .21810E-03
   3  Prefactor     75.862        41.802        .46099E-04   -.22688E-05
   4  norm          .59152        1.0514        .12540E-02    .40594E-02
   5  Prefactor     .10000E-03    32.769        .18142E-02** at limit **
   6  norm          22.884        17.910        .83724E-04   -.11678E-04
   7  Prefactor     3.3170        5.2610        .10465E-02   -.57154E-04
   8  norm          .10000E-03    6.8071        .18142E-02** at limit **
   9  Prefactor     22.004        14.083        .85392E-04    .93195E-06
  10  Prefactor     .10000E-03    71.393        .18142E-02** at limit **
  11  Prefactor     7.7038        8.1469        .14446E-03   -.21956E-04
  12  Prefactor     .10000E-03    18.297        .18142E-02** at limit **
  13  norm          17.123        12.428        .96784E-04   -.99845E-05
  14  norm          .10000E-03    1.0647        .79406E-03** at limit **
  15  norm          1.1242        .93796        .66907E-04   -.11045E-04
  16  norm          .10000E-03    10.031        .18142E-02** at limit **
  17  norm          2.6945        2.7075        .12681E-03   -.34963E-05
  18  Prefactor     .10000E-03    14.780        .18142E-02** at limit **
  19  norm          .68817        151.43        .65871E-02    .10019E-03
  20  Prefactor     10.950        15.243        .12107E-03   -.13146E-05
  21  norm          3.1869        1.2280        .25963E-03   -.27630E-04
  22  norm          14.317        9.9822        .10585E-03   -.64444E-05
  23  Normalizat    1.0540        .23508        .29274E-03   -.11002E-03
  24  Prefactor     .84329        .14584        .20645E-03    .98021E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.3928
  Prefactor  = 0.0448266
  Prefactor  = 75.8616
  norm       = 0.591524
  Prefactor  = 0.0001
  norm       = 22.8837
  Prefactor  = 3.31698
  norm       = 0.0001
  Prefactor  = 22.0037
  Prefactor  = 0.0001
  Prefactor  = 7.70377
  Prefactor  = 0.0001
  norm       = 17.1235
  norm       = 0.0001
  norm       = 1.12419
  norm       = 0.0001
  norm       = 2.69452
  Prefactor  = 0.0001
  norm       = 0.688165
  Prefactor  = 10.9498
  norm       = 3.18691
  norm       = 14.3172
  Normalizat = 1.05404
  Prefactor  = 0.843288
 **********
 **   18 **HESSE 
 **********

 FCN=   6297.934     FROM HESSE     STATUS=OK           389 CALLS     3629 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.393        33.707        .33855E-05   -1.4761    
   2  Prefactor     .44827E-01    7.1151        .66674E-01   -1.5666    
   3  Prefactor     75.862        41.793        .92199E-05   -1.3964    
   4  norm          .59152        1.0502        .25079E-03   -1.5554    
   5  Prefactor     .10000E-03    32.773        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          22.884        17.908        .33490E-05   -1.4751    
   7  Prefactor     3.3170        5.2549        .41859E-04   -1.5344    
   8  norm          .10000E-03    6.8072        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.004        14.075        .34157E-05   -1.4769    
  10  Prefactor     .10000E-03    71.393        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.7038        8.1464        .57785E-05   -1.5153    
  12  Prefactor     .10000E-03    18.299        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.123        12.428        .38713E-05   -1.4880    
  14  norm          .10000E-03    1.0648        .15881E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1242        .93762        .26763E-05   -1.5496    
  16  norm          .10000E-03    10.032        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.6945        2.7074        .50726E-05   -1.5380    
  18  Prefactor     .10000E-03    14.781        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .68817        154.62        .26349E-03   -1.5542    
  20  Prefactor     10.950        15.243        .48427E-05   -1.5046    
  21  norm          3.1869        1.2280        .10385E-04   -1.5351    
  22  norm          14.317        9.9813        .42339E-05   -1.4951    
  23  Normalizat    1.0540        .23500        .11710E-04   -.91242    
  24  Prefactor     .84329        .14537        .82579E-05   -.98152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43717e-10
Minuit parameter uncertainties:
  1  33.7359
  2  1.12838
  3  41.8092
  4  1.05021
  5  3.52591e-05
  6  17.9126
  7  5.25568
  8  5.61322e-07
  9  14.0774
  10  9.24242e-05
  11  8.14753
  12  1.81913e-05
  13  12.4295
  14  2.25725e-06
  15  0.937627
  16  6.14236e-06
  17  2.70755
  18  2.3075e-06
  19  20.683
  20  15.2485
  21  1.22799
  22  9.98247
  23  0.235235
  24  0.145439
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.695e+00  2.708e+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:  8.433e-01  1.454e-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.054e+00  2.352e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.11
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 1.93e-08 +/- 1.94e-08
Energy Flux (Fixed Index): 1.15e-05 +/- 1.15e-05

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

Saving results to:
/scratch/kocevski/307673/likelihoodResults_375148801_375408001_4FGL_J0811.4+0146_daily_bin524.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) = 6297.84718364
delta logL = 0.0866738731602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6297.83713601
delta logL = 0.0967215079681

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2836       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5936       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0623       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84158       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=   6297.837     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2812        2.4594        .67921E-02   -.14168E-03
   2  alpha         1.5925        .63911        .45236       -.28834E-04
   3  Normalizat    1.0627        .18815        .65940E-01    .19172E-04
   4  Prefactor     .84117        .12033        .44256E-01    .19960E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.2812
  alpha      = 1.59253
  Normalizat = 1.06273
  Prefactor  = 0.841167
 **********
 **   18 **HESSE 
 **********

 FCN=   6297.837     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2812        2.7804        .12180E-03   -1.5406    
   2  alpha         1.5925        .87804        .20712E-01   -.37147    
   3  Normalizat    1.0627        .21329        .29170E-03   -.90957    
   4  Prefactor     .84117        .13661        .20669E-03   -.98228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61833e-12
Minuit parameter uncertainties:
  1  2.78053
  2  0.90028
  3  0.213459
  4  0.136669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307673': 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) = 6297.83713001
delta logL = 0.0967275002922

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.281e+00  2.781e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.593e+00  9.003e-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:  8.412e-01  1.367e-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.063e+00  2.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.31
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.59 +/- 0.90
Photon Flux (Free Index): 1.10e-08 +/- 1.79e-08
Energy Flux (Free Index): 1.68e-05 +/- 2.61e-05

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/307673/cmap_HighResolution_375148801_375408001_4FGL_J0811.4+0146_daily_bin524.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.48e-05', comment='SUCCESS', photon_flux='1.93e-08', energy_flux2='1.68e-05', photon_flux_error='1.94e-08', dlogl='9.67e-02', energy_flux='1.15e-05', photon_flux2='1.10e-08', job_status='DONE', time_completed='2021-08-29 12:28:55.905686', photon_index_error2='0.90', photon_index2='1.59', ts='3.11', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='7.56e-08', energy_flux_error2='2.61e-05', EG='1.05', time_epoch_completed='1630265335.91', return_code='0', job_id='307673', GAL2='0.84', EG2='1.06', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='1.79e-08', ts2='3.31', photon_index='2.01' WHERE bin_id='524' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:28:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 307673: <4FGL_J0811.4+0146_daily_bin524> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin524 122.861 1.7756 375148801 375408001 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 :                                   682.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             323.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            815 sec.

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

