/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 186 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 = 7388
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0811.4+0146_daily_bin169
RA = 122.861, Dec = 1.7756
tmin = 283132801, tmax = 283392001
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='303114', job_status='RUN', time_executed='2021-08-29 12:04:39.411085', time_epoch_executed='1630263879.41' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303114

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303114/ft1_4FGL_J0811.4+0146_daily_bin169.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303114/ft2_4FGL_J0811.4+0146_daily_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303114/ft1_4FGL_J0811.4+0146_daily_bin169.fits outfile=/scratch/kocevski/303114/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin169.fits ra=122.861 dec=1.7756 rad=12.0 tmin=283132801.0 tmax=283392001.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.18
user 3.55
sys 2.57

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/303114/ft1_filtered_4FGL_J0811.4+0146_daily_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/303114/ft2_4FGL_J0811.4+0146_daily_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/303114/ltcube_283132801_283392001_4FGL_J0811.4+0146_daily_bin169.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/303114/ft2_4FGL_J0811.4+0146_daily_bin169.fits
.....................!
real 14.31
user 11.29
sys 2.97

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303114/ft1_filtered_4FGL_J0811.4+0146_daily_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/303114/ft2_4FGL_J0811.4+0146_daily_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/303114/ltcube_283132801_283392001_4FGL_J0811.4+0146_daily_bin169.fits outfile=/scratch/kocevski/303114/expmap_283132801_283392001_4FGL_J0811.4+0146_daily_bin169.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/303114/ltcube_283132801_283392001_4FGL_J0811.4+0146_daily_bin169.fits
.....................!
real 193.31
user 184.82
sys 8.08

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/303114/ft1_filtered_4FGL_J0811.4+0146_daily_bin169.fits scfile=/scratch/kocevski/303114/ft2_4FGL_J0811.4+0146_daily_bin169.fits outfile=/scratch/kocevski/303114/cmap_283132801_283392001_4FGL_J0811.4+0146_daily_bin169.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 2.88
user 0.36
sys 2.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303114/ft1_filtered_4FGL_J0811.4+0146_daily_bin169.fits scfile=/scratch/kocevski/303114/ft2_4FGL_J0811.4+0146_daily_bin169.fits outfile=/scratch/kocevski/303114/cmap_HighResolution_283132801_283392001_4FGL_J0811.4+0146_daily_bin169.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 2.91
user 0.37
sys 2.52

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8533       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.5013       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .64318       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .69345       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.0455       1.0000         .10000E-03   10000.    
     8 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.168       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23717E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4187       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.027       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.9457       1.0000         .10000E-03   10000.    
    16 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.5604       1.0000         .10000E-03   10000.    
    18 'Prefactor '    97.906       1.0000         .10000E-03   10000.    
    19 'norm      '    .10373E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.3194       1.0000         .10000E-03   10000.    
    21 'norm      '    4.6003       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1584       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69440       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=   5516.278     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2696 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8074        166.52       -.17410E-03    .13188E-04
   2  Prefactor     6.5040        8.2940        .12274E-05    .79755E-04
   3  Prefactor     .10000E-03    18.526        .19516E-05** at limit **
   4  norm          .64363        1.9494        .92832E-06   -.44078E-03
   5  Prefactor     .10000E-03    17.734        .31281E-05** at limit **
   6  norm          .61192        10.116        .57127E-06   -.51964E-03
   7  Prefactor     5.0459        4.3680       -.50350E-07   -.15711E-03
   8  norm          .10000E-03    24.528       -.87487E-05** at limit **
   9  Prefactor     22.165        15.853       -.77084E-06    .10127E-03
  10  Prefactor     .10000E-03    65.459        .23465E-05** at limit **
  11  Prefactor     3.4198        5.8742        .12611E-05   -.17965E-03
  12  Prefactor     .10000E-03    17.799        .28894E-05** at limit **
  13  norm          10.027        9.7556       -.10002E-06   -.60642E-04
  14  norm          .10000E-03    1.0938       -.14266E-07** at limit **
  15  norm          6.9450        1.8677       -.14572E-06    .20738E-05
  16  norm          .10000E-03    15.258       -.43655E-05** at limit **
  17  norm          4.5615        3.4535       -.19497E-06   -.37195E-04
  18  Prefactor     97.931        50.394        .18100E-04   -.11893E-04
  19  norm          .10000E-03    8.9075        .99229E-07** at limit **
  20  Prefactor     7.3328        17.588       -.47804E-05   -.92307E-04
  21  norm          4.6001        1.4413       -.10322E-06   -.11435E-03
  22  norm          .10000E-03    3.9028       -.42677E-07** at limit **
  23  Normalizat    1.1583        .21909       -.78057E-05    .43776E-03
  24  Prefactor     .69453        .13144        .74567E-05   -.41365E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.80738
  Prefactor  = 6.50401
  Prefactor  = 0.0001
  norm       = 0.64363
  Prefactor  = 0.0001
  norm       = 0.611919
  Prefactor  = 5.04587
  norm       = 0.0001
  Prefactor  = 22.1646
  Prefactor  = 0.0001
  Prefactor  = 3.41977
  Prefactor  = 0.0001
  norm       = 10.0269
  norm       = 0.0001
  norm       = 6.94497
  norm       = 0.000100001
  norm       = 4.56152
  Prefactor  = 97.9314
  norm       = 0.0001
  Prefactor  = 7.33279
  norm       = 4.60012
  norm       = 0.0001
  Normalizat = 1.15826
  Prefactor  = 0.694531
 **********
 **   18 **HESSE 
 **********

 FCN=   5516.278     FROM HESSE     STATUS=OK           399 CALLS     3095 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8074        167.85        .20558E-03   -1.5318    
   2  Prefactor     6.5040        8.3004        .15740E-03   -1.5198    
   3  Prefactor     .10000E-03    18.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .64363        1.9166        .16577E-03   -1.5548    
   5  Prefactor     .10000E-03    17.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .61192        65.527        .45540E-02   -1.5552    
   7  Prefactor     5.0459        4.3647        .13835E-03   -1.5259    
   8  norm          .10000E-03    24.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.165        15.858        .85074E-04   -1.4766    
  10  Prefactor     .10000E-03    65.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4198        5.8538        .21878E-03   -1.5338    
  12  Prefactor     .10000E-03    17.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.027        9.7587        .12654E-03   -1.5075    
  14  norm          .10000E-03    1.1059        .75788E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.9450        1.8682        .50176E-04   -1.5181    
  16  norm          .10000E-03    15.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.5615        3.4542        .11640E-03   -1.5281    
  18  Prefactor     97.931        50.499        .20313E-03   -1.3726    
  19  norm          .10000E-03    8.9108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.3328        17.674        .14825E-03   -1.5166    
  21  norm          4.6001        1.4430        .47894E-04   -1.5279    
  22  norm          .10000E-03    3.9175        .14328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1583        .25224        .28282E-03   -.87903    
  24  Prefactor     .69453        .15171        .21752E-03   -1.0374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.35295e-09
Minuit parameter uncertainties:
  1  50.7112
  2  8.30183
  3  8.38059e-05
  4  1.91674
  5  2.66995e-05
  6  12.6777
  7  4.36502
  8  6.59994e-07
  9  15.8607
  10  6.75783e-06
  11  5.85479
  12  9.77125e-05
  13  9.7603
  14  1.80808e-06
  15  1.86823
  16  0.000233415
  17  3.45433
  18  50.5209
  19  5.86131e-06
  20  17.6862
  21  1.44297
  22  3.76599e-06
  23  0.252509
  24  0.151804
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  4.562e+00  3.454e+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:  6.945e-01  1.518e-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.158e+00  2.525e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.96
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 3.27e-08 +/- 2.48e-08
Energy Flux (Fixed Index): 1.94e-05 +/- 1.47e-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) = 5516.23480054
delta logL = 0.0435203194802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5516.23366648
delta logL = 0.0446543871803

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5142       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2454       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1466       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69791       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=   5516.234     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      191 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5142        87.086        .47372E-02    .29444E-04
   2  alpha         2.2454        2.7225        .41425        .44200E-04
   3  Normalizat    1.1466        .15122        .64207E-01    .35785E-05
   4  Prefactor     .69791        .56029E-01    .42373E-01    .12967E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.51421
  alpha      = 2.24537
  Normalizat = 1.14662
  Prefactor  = 0.697911
 **********
 **   18 **HESSE 
 **********

 FCN=   5516.234     FROM HESSE     STATUS=OK            33 CALLS      224 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5142        3.4017        .11046E-03   -1.5283    
   2  alpha         2.2454        .79803        .16135E-01   -.10203    
   3  Normalizat    1.1466        .23260        .28402E-03   -.88269    
   4  Prefactor     .69791        .14043        .21702E-03   -1.0361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.78729e-11
Minuit parameter uncertainties:
  1  3.40187
  2  0.8124
  3  0.232804
  4  0.140502
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303114': 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) = 5516.23366647
delta logL = 0.0446543874559

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  4.514e+00  3.402e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.245e+00  8.124e-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:  6.979e-01  1.405e-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.147e+00  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.04
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.25 +/- 0.81
Photon Flux (Free Index): 4.39e-08 +/- 5.03e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.34e-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/303114/cmap_HighResolution_283132801_283392001_4FGL_J0811.4+0146_daily_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.27e-08', energy_flux2='1.77e-05', photon_flux_error='2.48e-08', dlogl='4.47e-02', energy_flux='1.94e-05', photon_flux2='4.39e-08', job_status='DONE', time_completed='2021-08-29 12:14:21.550259', photon_index_error2='0.81', photon_index2='2.25', ts='4.96', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='1.34e-05', EG='1.16', time_epoch_completed='1630264461.55', return_code='0', job_id='303114', GAL2='0.70', EG2='1.15', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='5.03e-08', ts2='5.04', photon_index='2.01' WHERE bin_id='169' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:14:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 303114: <4FGL_J0811.4+0146_daily_bin169> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin169> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 12:00:36 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:00:37 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:00:37 2021
Terminated at Sun Aug 29 12:14:22 2021
Results reported at Sun Aug 29 12:14:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin169 122.861 1.7756 283132801 283392001 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 :                                   616.21 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             264.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            826 sec.

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

