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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin983
RA = 122.861, Dec = 1.7756
tmin = 494121601, tmax = 494380801
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='309718', job_status='RUN', time_executed='2021-08-29 12:24:08.413886', time_epoch_executed='1630265048.41' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='983'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309718

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309718/ft1_4FGL_J0811.4+0146_daily_bin983.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309718/ft2_4FGL_J0811.4+0146_daily_bin983.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309718/ft1_4FGL_J0811.4+0146_daily_bin983.fits outfile=/scratch/kocevski/309718/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin983.fits ra=122.861 dec=1.7756 rad=12.0 tmin=494121601.0 tmax=494380801.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 6.86
user 3.49
sys 3.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309718/ft1_filtered_4FGL_J0811.4+0146_daily_bin983.fits" evtable="EVENTS" scfile=/scratch/kocevski/309718/ft2_4FGL_J0811.4+0146_daily_bin983.fits sctable="SC_DATA" outfile=/scratch/kocevski/309718/ltcube_494121601_494380801_4FGL_J0811.4+0146_daily_bin983.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/309718/ft2_4FGL_J0811.4+0146_daily_bin983.fits
.....................!
real 16.48
user 12.64
sys 3.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309718/ft1_filtered_4FGL_J0811.4+0146_daily_bin983.fits evtable="EVENTS" scfile=/scratch/kocevski/309718/ft2_4FGL_J0811.4+0146_daily_bin983.fits sctable="SC_DATA" expcube=/scratch/kocevski/309718/ltcube_494121601_494380801_4FGL_J0811.4+0146_daily_bin983.fits outfile=/scratch/kocevski/309718/expmap_494121601_494380801_4FGL_J0811.4+0146_daily_bin983.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/309718/ltcube_494121601_494380801_4FGL_J0811.4+0146_daily_bin983.fits
.....................!
real 194.11
user 185.73
sys 7.97

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/309718/ft1_filtered_4FGL_J0811.4+0146_daily_bin983.fits scfile=/scratch/kocevski/309718/ft2_4FGL_J0811.4+0146_daily_bin983.fits outfile=/scratch/kocevski/309718/cmap_494121601_494380801_4FGL_J0811.4+0146_daily_bin983.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 3.58
user 0.36
sys 3.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309718/ft1_filtered_4FGL_J0811.4+0146_daily_bin983.fits scfile=/scratch/kocevski/309718/ft2_4FGL_J0811.4+0146_daily_bin983.fits outfile=/scratch/kocevski/309718/cmap_HighResolution_494121601_494380801_4FGL_J0811.4+0146_daily_bin983.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 3.56
user 0.41
sys 3.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.134       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.7311       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3857       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0952       1.0000         .10000E-03   10000.    
     8 'norm      '    20.901       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.994       1.0000         .10000E-03   10000.    
    10 'Prefactor '    34.173       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10409E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .92858E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.1446       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.2891       1.0000         .10000E-03   10000.    
    18 'Prefactor '    36.905       1.0000         .10000E-03   10000.    
    19 'norm      '    10.600       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .95995       1.0000         .10000E-03   10000.    
    22 'norm      '    15.407       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93265       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86170       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=   5479.309     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2792 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.124        53.199        .79027E-06    .13166E-03
   2  Prefactor     7.7317        7.3493        .26284E-07    .61779E-04
   3  Prefactor     .10000E-03    29.924       -.46582E-06** at limit **
   4  norm          1.3859        2.2093       -.53670E-06    .24719E-03
   5  Prefactor     .10000E-03    14.284        .38472E-06** at limit **
   6  norm          .10000E-03    30.862       -.66641E-07** at limit **
   7  Prefactor     1.0943        3.1839       -.39775E-05    .26684E-04
   8  norm          20.904        24.305        .82784E-06    .33926E-03
   9  Prefactor     19.998        15.971        .15672E-05    .71734E-03
  10  Prefactor     34.373        212.53       -.62430E-05   -.64304E-04
  11  Prefactor     .10001E-03    64.031       -.47819E-04** at limit **
  12  Prefactor     .10000E-03    7.5072        .43926E-06** at limit **
  13  norm          .10002E-03    6.7455        .11295E-05** at limit **
  14  norm          .10000E-03    1.6993       -.53228E-07** at limit **
  15  norm          2.1445        1.3042       -.14379E-06    .14100E-03
  16  norm          .10000E-03    6.7326       -.71892E-07** at limit **
  17  norm          6.2886        3.7307        .12395E-07    .38513E-03
  18  Prefactor     36.901        34.189        .65299E-06    .23590E-03
  19  norm          10.600        21.166       -.37191E-06    .76976E-05
  20  Prefactor     .10000E-03    8.5099       -.51439E-06** at limit **
  21  norm          .96021        1.2709       -.19593E-06   -.36234E-03
  22  norm          15.409        9.7923       -.41104E-06    .46230E-03
  23  Normalizat    .93243        .21065       -.37879E-06    .38766E-03
  24  Prefactor     .86179        .12809        .12150E-05    .13121E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.1238
  Prefactor  = 7.73171
  Prefactor  = 0.0001
  norm       = 1.38588
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.09428
  norm       = 20.9044
  Prefactor  = 19.9984
  Prefactor  = 34.3729
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  norm       = 0.000100016
  norm       = 0.0001
  norm       = 2.14454
  norm       = 0.0001
  norm       = 6.28865
  Prefactor  = 36.9005
  norm       = 10.5998
  Prefactor  = 0.0001
  norm       = 0.960213
  norm       = 15.4088
  Normalizat = 0.932434
  Prefactor  = 0.861786
 **********
 **   18 **HESSE 
 **********

 FCN=   5479.309     FROM HESSE     STATUS=OK           405 CALLS     3197 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.124        53.165        .51740E-04   -1.4156    
   2  Prefactor     7.7317        7.3481        .14422E-03   -1.5152    
   3  Prefactor     .10000E-03    30.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3859        2.1795        .12688E-03   -1.5473    
   5  Prefactor     .10000E-03    14.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    31.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.0943        3.1900        .21723E-03   -1.5499    
   8  norm          20.904        24.293        .87610E-04   -1.4793    
   9  Prefactor     19.998        16.041        .89573E-04   -1.4813    
  10  Prefactor     34.373        212.07        .34275E-03   -1.4535    
  11  Prefactor     .10001E-03    5.3289        .57008E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.5117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10002E-03    20.813        .36894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.7480        .18795E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1445        1.2968        .62689E-04   -1.5415    
  16  norm          .10000E-03    6.7445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2886        3.7258        .10655E-03   -1.5206    
  18  Prefactor     36.901        34.355        .65972E-04   -1.4492    
  19  norm          10.600        21.204        .12306E-03   -1.5057    
  20  Prefactor     .10000E-03    8.5539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .96021        1.1870        .88016E-03   -1.5512    
  22  norm          15.409        9.7621        .51019E-03   -1.4923    
  23  Normalizat    .93243        .24017        .29221E-03   -.95330    
  24  Prefactor     .86179        .14870        .19393E-03   -.97489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18927e-09
Minuit parameter uncertainties:
  1  53.2066
  2  7.34897
  3  0.000183991
  4  2.17965
  5  5.64811e-05
  6  2.74138e-05
  7  3.19049
  8  24.3047
  9  16.0442
  10  171.667
  11  0.00044497
  12  4.1359e-05
  13  0.00115538
  14  1.57385e-06
  15  1.29684
  16  3.1877e-05
  17  3.72597
  18  34.3731
  19  21.2188
  20  9.11124e-05
  21  1.18704
  22  9.76309
  23  0.240449
  24  0.148767
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  6.289e+00  3.726e+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.618e-01  1.488e-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.324e-01  2.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.99
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 4.51e-08 +/- 2.67e-08
Energy Flux (Fixed Index): 2.67e-05 +/- 1.58e-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) = 5477.41587766
delta logL = 1.89334047299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5476.85650612
delta logL = 2.4527120108

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8547       1.0000         .10000E-03   10000.    
     2 'alpha     '    .79673       1.0000          .0000       5.0000    
     3 'Normalizat'    .96226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85859       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=   5476.857     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      221 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8544        1.5857        .76517E-02   -.27569E-03
   2  alpha         .79663        .33483        .24604       -.29253E-04
   3  Normalizat    .96225        .19624        .45692E-01    .11880E-04
   4  Prefactor     .85861        .12654        .44475E-01    .44695E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.8544
  alpha      = 0.79663
  Normalizat = 0.962246
  Prefactor  = 0.858606
 **********
 **   18 **HESSE 
 **********

 FCN=   5476.857     FROM HESSE     STATUS=OK            31 CALLS      252 TOTAL
                     EDM=   .14E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8544        2.6351        .68303E-04   -1.5436    
   2  alpha         .79663        .55008        .10794E-02   -.74960    
   3  Normalizat    .96225        .22294        .28793E-03   -.94306    
   4  Prefactor     .85861        .14381        .19433E-03   -.97603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4334e-14
Minuit parameter uncertainties:
  1  2.6353
  2  0.558726
  3  0.223155
  4  0.143878
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309718': 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) = 5476.8565061
delta logL = 2.45271203056

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.854e+00  2.635e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  7.966e-01  5.587e-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.586e-01  1.439e-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.622e-01  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.86
Ra Dec: 122.861 1.776
Photon Index (Free Index): 0.80 +/- 0.56
Photon Flux (Free Index): 1.06e-08 +/- 9.07e-09
Energy Flux (Free Index): 1.34e-04 +/- 1.36e-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/309718/cmap_HighResolution_494121601_494380801_4FGL_J0811.4+0146_daily_bin983.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.51e-08', energy_flux2='1.34e-04', photon_flux_error='2.67e-08', dlogl='2.45e+00', energy_flux='2.67e-05', photon_flux2='1.06e-08', job_status='DONE', time_completed='2021-08-29 12:34:08.276584', photon_index_error2='0.56', photon_index2='0.80', ts='16.99', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.36e-04', EG='0.93', time_epoch_completed='1630265648.28', return_code='0', job_id='309718', GAL2='0.86', EG2='0.96', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='9.07e-09', ts2='21.86', photon_index='2.01' WHERE bin_id='983' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:34:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 309718: <4FGL_J0811.4+0146_daily_bin983> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin983> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:20:47 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:20:49 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:20:49 2021
Terminated at Sun Aug 29 12:34:09 2021
Results reported at Sun Aug 29 12:34:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin983 122.861 1.7756 494121601 494380801 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 :                                   647.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            802 sec.

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

