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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin956
RA = 122.861, Dec = 1.7756
tmin = 487123201, tmax = 487382401
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='309674', job_status='RUN', time_executed='2021-08-29 12:21:55.003244', time_epoch_executed='1630264915.0' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='956'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309674

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309674/ft1_4FGL_J0811.4+0146_daily_bin956.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309674/ft2_4FGL_J0811.4+0146_daily_bin956.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309674/ft1_4FGL_J0811.4+0146_daily_bin956.fits outfile=/scratch/kocevski/309674/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin956.fits ra=122.861 dec=1.7756 rad=12.0 tmin=487123201.0 tmax=487382401.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 7.79
user 3.26
sys 4.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/309674/ft2_4FGL_J0811.4+0146_daily_bin956.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/309674/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin956.fits evtable="EVENTS" outfile="/scratch/kocevski/309674/ft1_filtered_4FGL_J0811.4+0146_daily_bin956.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 4.77
user 0.35
sys 4.22

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309674/ft1_filtered_4FGL_J0811.4+0146_daily_bin956.fits" evtable="EVENTS" scfile=/scratch/kocevski/309674/ft2_4FGL_J0811.4+0146_daily_bin956.fits sctable="SC_DATA" outfile=/scratch/kocevski/309674/ltcube_487123201_487382401_4FGL_J0811.4+0146_daily_bin956.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/309674/ft2_4FGL_J0811.4+0146_daily_bin956.fits
.....................!
real 16.31
user 11.39
sys 4.86

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309674/ft1_filtered_4FGL_J0811.4+0146_daily_bin956.fits evtable="EVENTS" scfile=/scratch/kocevski/309674/ft2_4FGL_J0811.4+0146_daily_bin956.fits sctable="SC_DATA" expcube=/scratch/kocevski/309674/ltcube_487123201_487382401_4FGL_J0811.4+0146_daily_bin956.fits outfile=/scratch/kocevski/309674/expmap_487123201_487382401_4FGL_J0811.4+0146_daily_bin956.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/309674/ltcube_487123201_487382401_4FGL_J0811.4+0146_daily_bin956.fits
.....................!
real 194.63
user 184.88
sys 9.30

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/309674/ft1_filtered_4FGL_J0811.4+0146_daily_bin956.fits scfile=/scratch/kocevski/309674/ft2_4FGL_J0811.4+0146_daily_bin956.fits outfile=/scratch/kocevski/309674/cmap_487123201_487382401_4FGL_J0811.4+0146_daily_bin956.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 4.70
user 0.39
sys 4.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309674/ft1_filtered_4FGL_J0811.4+0146_daily_bin956.fits scfile=/scratch/kocevski/309674/ft2_4FGL_J0811.4+0146_daily_bin956.fits outfile=/scratch/kocevski/309674/cmap_HighResolution_487123201_487382401_4FGL_J0811.4+0146_daily_bin956.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 4.53
user 0.38
sys 4.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.926       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14911E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    41.599       1.0000         .10000E-03   10000.    
     4 'norm      '    10.693       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .11855E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1643       1.0000         .10000E-03   10000.    
     8 'norm      '    .10402E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.0142       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.974       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10408E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10535E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .12630       1.0000         .10000E-03   10000.    
    15 'norm      '    4.7952       1.0000         .10000E-03   10000.    
    16 'norm      '    10.264       1.0000         .10000E-03   10000.    
    17 'norm      '    5.8615       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.9840       1.0000         .10000E-03   10000.    
    19 'norm      '    16.711       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.9450       1.0000         .10000E-03   10000.    
    21 'norm      '    1.5420       1.0000         .10000E-03   10000.    
    22 'norm      '    .10099E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1350       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .80379       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=   7912.892     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2735 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.974        47.279        .64570E-04   -.74419E-05
   2  Prefactor     .10000E-03    13.835        .38413E-05** at limit **
   3  Prefactor     41.606        37.805        .24807E-05   -.20937E-04
   4  norm          10.694        2.5651       -.10189E-05   -.19132E-03
   5  Prefactor     .10000E-03    9.2029       -.23038E-05** at limit **
   6  norm          .10000E-03    6.5101       -.25349E-06** at limit **
   7  Prefactor     3.1662        4.1177        .14319E-04    .11005E-02
   8  norm          .10000E-03    4.5804        .48726E-07** at limit **
   9  Prefactor     7.0144        6.8889        .19025E-05    .20134E-03
  10  Prefactor     13.557        503.69       -.10926E-02    .86005E-04
  11  Prefactor     .10000E-03    1.8126       -.61092E-07** at limit **
  12  Prefactor     .10000E-03    17.610       -.50436E-05** at limit **
  13  norm          .10000E-03    3.4581       -.63527E-07** at limit **
  14  norm          .12884        .98006       -.68014E-06    .26508E-03
  15  norm          4.7955        1.2892       -.18163E-06    .10911E-02
  16  norm          10.277        14.725       -.79516E-05    .32960E-04
  17  norm          5.8630        3.6621        .10855E-07    .16282E-04
  18  Prefactor     10.013        18.971       -.83413E-05    .15118E-04
  19  norm          16.690        17.050        .67413E-05    .14608E-04
  20  Prefactor     4.9485        5.6622        .30785E-06    .12272E-03
  21  norm          1.5420        1.0656       -.26686E-06   -.56760E-03
  22  norm          .10000E-03    7.6435        .11402E-05** at limit **
  23  Normalizat    1.1350        .18323        .69018E-05   -.12016E-03
  24  Prefactor     .80380        .11292       -.10503E-05    .54685E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.9744
  Prefactor  = 0.000100003
  Prefactor  = 41.6059
  norm       = 10.6935
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.16616
  norm       = 0.0001
  Prefactor  = 7.01439
  Prefactor  = 13.557
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.128839
  norm       = 4.79552
  norm       = 10.2774
  norm       = 5.86297
  Prefactor  = 10.0133
  norm       = 16.6902
  Prefactor  = 4.94852
  norm       = 1.54204
  norm       = 0.0001
  Normalizat = 1.13495
  Prefactor  = 0.803803
 **********
 **   18 **HESSE 
 **********

 FCN=   7912.892     FROM HESSE     STATUS=OK           405 CALLS     3140 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.974        47.328        .80235E-04   -1.4708    
   2  Prefactor     .10000E-03    14.332        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     41.606        37.806        .62152E-04   -1.4417    
   4  norm          10.694        2.5655        .65025E-04   -1.5054    
   5  Prefactor     .10000E-03    9.2076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.5430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.1662        4.1077        .19331E-03   -1.5352    
   8  norm          .10000E-03    4.5820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.0144        6.8916        .15147E-03   -1.5178    
  10  Prefactor     13.557        515.12        .53574E-03   -1.4971    
  11  Prefactor     .10000E-03    1.8146        .11695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.4779        .16153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .12884        8.6820        .16395E-02   -1.5636    
  15  norm          4.7955        1.2981        .48597E-04   -1.5270    
  16  norm          10.277        14.724        .12507E-03   -1.5067    
  17  norm          5.8630        3.6629        .12978E-03   -1.5224    
  18  Prefactor     10.013        18.984        .12682E-03   -1.5075    
  19  norm          16.690        17.059        .97976E-04   -1.4891    
  20  Prefactor     4.9485        5.6636        .18086E-03   -1.5263    
  21  norm          1.5420        1.0571        .72090E-04   -1.5460    
  22  norm          .10000E-03    7.9832        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1350        .21082        .29187E-03   -.88637    
  24  Prefactor     .80380        .13013        .21331E-03   -.99588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60631e-09
Minuit parameter uncertainties:
  1  47.3993
  2  0.000421789
  3  37.8276
  4  2.56554
  5  1.49211e-05
  6  8.9827e-06
  7  4.10807
  8  1.48799e-05
  9  6.89233
  10  168.722
  11  3.80989e-06
  12  0.000113297
  13  1.31774e-05
  14  2.11476
  15  1.29806
  16  14.7292
  17  3.66302
  18  18.9958
  19  17.0639
  20  5.66417
  21  1.05716
  22  8.94544e-05
  23  0.210972
  24  0.130182
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.863e+00  3.663e+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.038e-01  1.302e-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.135e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.99
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 4.21e-08 +/- 2.63e-08
Energy Flux (Fixed Index): 2.49e-05 +/- 1.56e-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) = 7912.76210908
delta logL = 0.130202030998

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7912.76017526
delta logL = 0.132135853857

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9312       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7105       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1487       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79894       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=   7912.760     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      209 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9312        4.8250        .41221E-02   -.24020E-02
   2  alpha         1.7108        .57412        .32897       -.28975E-04
   3  Normalizat    1.1488        .17720        .65627E-01    .12810E-04
   4  Prefactor     .79894        .11068        .43703E-01    .16402E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.93123
  alpha      = 1.71083
  Normalizat = 1.14877
  Prefactor  = 0.798939
 **********
 **   18 **HESSE 
 **********

 FCN=   7912.760     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9312        3.8450        .13411E-03   -1.5221    
   2  alpha         1.7108        .53992        .16402E-01   -.32116    
   3  Normalizat    1.1488        .20213        .29032E-03   -.88201    
   4  Prefactor     .79894        .12652        .21387E-03   -.99767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60761e-09
Minuit parameter uncertainties:
  1  3.84518
  2  0.544692
  3  0.202267
  4  0.126564
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309674': 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) = 7912.76017464
delta logL = 0.132136472003

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.931e+00  3.845e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.711e+00  5.447e-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.989e-01  1.266e-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.149e+00  2.023e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.23
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.71 +/- 0.54
Photon Flux (Free Index): 3.15e-08 +/- 2.71e-08
Energy Flux (Free Index): 3.54e-05 +/- 3.52e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/309674/cmap_HighResolution_487123201_487382401_4FGL_J0811.4+0146_daily_bin956.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.21e-08', energy_flux2='3.54e-05', photon_flux_error='2.63e-08', dlogl='1.32e-01', energy_flux='2.49e-05', photon_flux2='3.15e-08', job_status='DONE', time_completed='2021-08-29 12:33:54.347349', photon_index_error2='0.54', photon_index2='1.71', ts='6.99', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='3.52e-05', EG='1.13', time_epoch_completed='1630265634.35', return_code='0', job_id='309674', GAL2='0.80', EG2='1.15', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='2.71e-08', ts2='7.23', photon_index='2.01' WHERE bin_id='956' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:33:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 309674: <4FGL_J0811.4+0146_daily_bin956> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin956 122.861 1.7756 487123201 487382401 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 :                                   774.18 sec.
    Max Memory :                                 1204 MB
    Average Memory :                             285.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            791 sec.

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

