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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin925
RA = 122.861, Dec = 1.7756
tmin = 479088001, tmax = 479347201
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='309625', job_status='RUN', time_executed='2021-08-29 12:24:43.475803', time_epoch_executed='1630265083.48' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='925'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309625

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309625/ft1_4FGL_J0811.4+0146_daily_bin925.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309625/ft2_4FGL_J0811.4+0146_daily_bin925.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309625/ft1_4FGL_J0811.4+0146_daily_bin925.fits outfile=/scratch/kocevski/309625/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin925.fits ra=122.861 dec=1.7756 rad=12.0 tmin=479088001.0 tmax=479347201.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.91
user 3.22
sys 0.67

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/309625/ft2_4FGL_J0811.4+0146_daily_bin925.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/309625/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin925.fits evtable="EVENTS" outfile="/scratch/kocevski/309625/ft1_filtered_4FGL_J0811.4+0146_daily_bin925.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.33
sys 0.60

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309625/ft1_filtered_4FGL_J0811.4+0146_daily_bin925.fits" evtable="EVENTS" scfile=/scratch/kocevski/309625/ft2_4FGL_J0811.4+0146_daily_bin925.fits sctable="SC_DATA" outfile=/scratch/kocevski/309625/ltcube_479088001_479347201_4FGL_J0811.4+0146_daily_bin925.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/309625/ft2_4FGL_J0811.4+0146_daily_bin925.fits
.....................!
real 12.23
user 11.36
sys 0.83

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309625/ft1_filtered_4FGL_J0811.4+0146_daily_bin925.fits evtable="EVENTS" scfile=/scratch/kocevski/309625/ft2_4FGL_J0811.4+0146_daily_bin925.fits sctable="SC_DATA" expcube=/scratch/kocevski/309625/ltcube_479088001_479347201_4FGL_J0811.4+0146_daily_bin925.fits outfile=/scratch/kocevski/309625/expmap_479088001_479347201_4FGL_J0811.4+0146_daily_bin925.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/309625/ltcube_479088001_479347201_4FGL_J0811.4+0146_daily_bin925.fits
.....................!
real 192.83
user 187.39
sys 5.03

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/309625/ft1_filtered_4FGL_J0811.4+0146_daily_bin925.fits scfile=/scratch/kocevski/309625/ft2_4FGL_J0811.4+0146_daily_bin925.fits outfile=/scratch/kocevski/309625/cmap_479088001_479347201_4FGL_J0811.4+0146_daily_bin925.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 1.01
user 0.38
sys 0.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309625/ft1_filtered_4FGL_J0811.4+0146_daily_bin925.fits scfile=/scratch/kocevski/309625/ft2_4FGL_J0811.4+0146_daily_bin925.fits outfile=/scratch/kocevski/309625/cmap_HighResolution_479088001_479347201_4FGL_J0811.4+0146_daily_bin925.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.01
user 0.38
sys 0.61

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    88.437       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    101.81       1.0000         .10000E-03   10000.    
     4 'norm      '    .79086       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    53.692       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10333E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .78411E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    12.289       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .23063E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    15.746       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12112E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    1.2200       1.0000         .10000E-03   10000.    
    22 'norm      '    5.9284       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5012       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79778       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=   6427.769     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2729 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     88.451        54.066       -.80558E-06   -.15607E-03
   2  Prefactor     .10002E-03    7.0223       -.57423E-05** at limit **
   3  Prefactor     101.72        53.548       -.45914E-06   -.12441E-03
   4  norm          .79159        1.4499        .88478E-06   -.45614E-04
   5  Prefactor     .10000E-03    19.502       -.26441E-07** at limit **
   6  norm          .10000E-03    5.6511        .17971E-07** at limit **
   7  Prefactor     .10000E-03    3.1179       -.10584E-07** at limit **
   8  norm          53.698        25.452       -.72036E-07   -.24943E-03
   9  Prefactor     .10000E-03    13.168       -.80197E-08** at limit **
  10  Prefactor     .10002E-03    622.47        .56433E-05** at limit **
  11  Prefactor     .10000E-03    14.200        .33030E-06** at limit **
  12  Prefactor     .10000E-03    25.707       -.14611E-06** at limit **
  13  norm          .10000E-03    6.9189        .90985E-07** at limit **
  14  norm          .10000E-03    .78463        .53939E-07** at limit **
  15  norm          .10000E-03    .33947        .59683E-07** at limit **
  16  norm          .10000E-03    19.688        .10033E-06** at limit **
  17  norm          12.286        5.2340       -.98549E-08   -.18595E-03
  18  Prefactor     .10000E-03    48.938        .69920E-06** at limit **
  19  norm          15.752        14.821        .34562E-07   -.12985E-04
  20  Prefactor     .10005E-03    67.740        .23753E-04** at limit **
  21  norm          1.2199        1.1763        .20701E-07   -.38041E-03
  22  norm          5.9284        11.036        .24038E-06    .78750E-04
  23  Normalizat    1.5012        .22155        .38546E-06   -.66626E-03
  24  Prefactor     .79794        .12993       -.99189E-06   -.95054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 88.451
  Prefactor  = 0.00010002
  Prefactor  = 101.724
  norm       = 0.791592
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 53.6982
  Prefactor  = 0.0001
  Prefactor  = 0.000100018
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 12.2857
  Prefactor  = 0.000100001
  norm       = 15.7518
  Prefactor  = 0.000100051
  norm       = 1.21985
  norm       = 5.92836
  Normalizat = 1.50117
  Prefactor  = 0.797937
 **********
 **   18 **HESSE 
 **********

 FCN=   6427.769     FROM HESSE     STATUS=OK           389 CALLS     3118 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     88.451        54.164        .21362E-03   -1.3824    
   2  Prefactor     .10002E-03    18.493        .32114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     101.72        53.738        .19923E-03   -1.3687    
   4  norm          .79159        1.4544        .13426E-02   -1.5530    
   5  Prefactor     .10000E-03    19.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.6554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.1508        .13818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          53.698        25.451        .54738E-04   -1.4241    
   9  Prefactor     .10000E-03    13.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    624.94        .20914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    25.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.9547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .79096        .69360E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .34882        .91252E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    19.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.286        5.2380        .11427E-03   -1.5007    
  18  Prefactor     .10000E-03    49.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          15.752        14.822        .10093E-03   -1.4914    
  20  Prefactor     .10005E-03    80.454        .45871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.2199        1.1803        .40842E-04   -1.5487    
  22  norm          5.9284        11.036        .16492E-03   -1.5221    
  23  Normalizat    1.5012        .24979        .28459E-03   -.77746    
  24  Prefactor     .79794        .14822        .22740E-03   -.99804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.79676e-09
Minuit parameter uncertainties:
  1  54.1945
  2  0.00122619
  3  53.7641
  4  1.45447
  5  4.40157e-05
  6  1.31037e-05
  7  9.16424e-06
  8  25.4565
  9  5.43461e-06
  10  0.00682941
  11  0.000296678
  12  7.7934e-06
  13  6.04155e-05
  14  9.12294e-06
  15  6.55261e-06
  16  8.37417e-05
  17  5.23821
  18  0.000357344
  19  14.8259
  20  0.00404422
  21  1.1803
  22  11.0399
  23  0.249995
  24  0.148292
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.229e+01  5.238e+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:  7.979e-01  1.483e-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.501e+00  2.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 32.45
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 8.81e-08 +/- 3.76e-08
Energy Flux (Fixed Index): 5.22e-05 +/- 2.23e-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) = 6426.45639053
delta logL = 1.31305772035

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6426.22417119
delta logL = 1.54527705769

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.6724       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2700       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5551       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78765       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=   6426.224     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      211 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.6724        4.3788        .36194E-02    .49674E-03
   2  alpha         1.2700        .29877        .22539       -.37734E-04
   3  Normalizat    1.5551        .21062        .63476E-01    .17643E-04
   4  Prefactor     .78765        .12799        .43556E-01    .85323E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.67235
  alpha      = 1.26999
  Normalizat = 1.55508
  Prefactor  = 0.787651
 **********
 **   18 **HESSE 
 **********

 FCN=   6426.224     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.6724        6.0739        .10982E-03   -1.5154    
   2  alpha         1.2700        .43038        .95713E-02   -.51439    
   3  Normalizat    1.5551        .24082        .28073E-03   -.76242    
   4  Prefactor     .78765        .14623        .22902E-03   -1.0019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99628e-10
Minuit parameter uncertainties:
  1  6.07443
  2  0.43324
  3  0.240996
  4  0.146305
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309625': 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) = 6426.22417119
delta logL = 1.54527706344

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  7.672e+00  6.074e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.270e+00  4.332e-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:  7.877e-01  1.463e-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.555e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 35.47
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.27 +/- 0.43
Photon Flux (Free Index): 3.28e-08 +/- 2.64e-08
Energy Flux (Free Index): 1.23e-04 +/- 9.65e-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/309625/cmap_HighResolution_479088001_479347201_4FGL_J0811.4+0146_daily_bin925.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.81e-08', energy_flux2='1.23e-04', photon_flux_error='3.76e-08', dlogl='1.55e+00', energy_flux='5.22e-05', photon_flux2='3.28e-08', job_status='DONE', time_completed='2021-08-29 12:34:41.042083', photon_index_error2='0.43', photon_index2='1.27', ts='32.45', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='9.65e-05', EG='1.50', time_epoch_completed='1630265681.04', return_code='0', job_id='309625', GAL2='0.79', EG2='1.56', return_code2='0', energy_flux_error='2.23e-05', photon_flux_error2='2.64e-08', ts2='35.47', photon_index='2.01' WHERE bin_id='925' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:34:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 309625: <4FGL_J0811.4+0146_daily_bin925> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin925 122.861 1.7756 479088001 479347201 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 :                                   604.17 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             257.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            841 sec.

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

