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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin891
RA = 122.861, Dec = 1.7756
tmin = 470275201, tmax = 470534401
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='309572', job_status='RUN', time_executed='2021-08-29 12:24:40.434847', time_epoch_executed='1630265080.43' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='891'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309572

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309572/ft1_4FGL_J0811.4+0146_daily_bin891.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309572/ft2_4FGL_J0811.4+0146_daily_bin891.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309572/ft1_4FGL_J0811.4+0146_daily_bin891.fits outfile=/scratch/kocevski/309572/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin891.fits ra=122.861 dec=1.7756 rad=12.0 tmin=470275201.0 tmax=470534401.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.95
user 3.23
sys 0.70

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309572/ft1_filtered_4FGL_J0811.4+0146_daily_bin891.fits" evtable="EVENTS" scfile=/scratch/kocevski/309572/ft2_4FGL_J0811.4+0146_daily_bin891.fits sctable="SC_DATA" outfile=/scratch/kocevski/309572/ltcube_470275201_470534401_4FGL_J0811.4+0146_daily_bin891.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/309572/ft2_4FGL_J0811.4+0146_daily_bin891.fits
.....................!
real 12.41
user 11.49
sys 0.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309572/ft1_filtered_4FGL_J0811.4+0146_daily_bin891.fits evtable="EVENTS" scfile=/scratch/kocevski/309572/ft2_4FGL_J0811.4+0146_daily_bin891.fits sctable="SC_DATA" expcube=/scratch/kocevski/309572/ltcube_470275201_470534401_4FGL_J0811.4+0146_daily_bin891.fits outfile=/scratch/kocevski/309572/expmap_470275201_470534401_4FGL_J0811.4+0146_daily_bin891.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/309572/ltcube_470275201_470534401_4FGL_J0811.4+0146_daily_bin891.fits
.....................!
real 190.75
user 185.02
sys 5.35

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/309572/ft1_filtered_4FGL_J0811.4+0146_daily_bin891.fits scfile=/scratch/kocevski/309572/ft2_4FGL_J0811.4+0146_daily_bin891.fits outfile=/scratch/kocevski/309572/cmap_470275201_470534401_4FGL_J0811.4+0146_daily_bin891.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.06
user 0.36
sys 0.64

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309572/ft1_filtered_4FGL_J0811.4+0146_daily_bin891.fits scfile=/scratch/kocevski/309572/ft2_4FGL_J0811.4+0146_daily_bin891.fits outfile=/scratch/kocevski/309572/cmap_HighResolution_470275201_470534401_4FGL_J0811.4+0146_daily_bin891.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.04
user 0.37
sys 0.64

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.4061       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.956       1.0000         .10000E-03   10000.    
     4 'norm      '    5.7206       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .11146E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5300       1.0000         .10000E-03   10000.    
     8 'norm      '    4.2036       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.215       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8688       1.0000         .10000E-03   10000.    
    12 'Prefactor '    56.883       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .16981E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .10290E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    10.306       1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.820       1.0000         .10000E-03   10000.    
    19 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.002       1.0000         .10000E-03   10000.    
    21 'norm      '    .45368       1.0000         .10000E-03   10000.    
    22 'norm      '    1.2834       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89139       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86535       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=   5975.914     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2737 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.991       -.11072E-06** at limit **
   2  Prefactor     4.4052        5.5681        .65634E-07   -.79796E-04
   3  Prefactor     12.876        33.373        .49633E-05   -.10261E-03
   4  norm          5.7210        2.2798       -.90384E-07   -.99210E-03
   5  Prefactor     .10000E-03    11.611        .10200E-06** at limit **
   6  norm          .10004E-03    72.030        .33972E-05** at limit **
   7  Prefactor     4.5308        3.8588        .15605E-06   -.74548E-04
   8  norm          4.1997        12.380        .16548E-06   -.14248E-04
   9  Prefactor     20.218        14.121        .27932E-06   -.45806E-04
  10  Prefactor     .10000E-03    50.648       -.41753E-06** at limit **
  11  Prefactor     4.8688        5.2833        .22985E-06   -.28888E-05
  12  Prefactor     56.895        38.940        .23222E-06   -.79343E-04
  13  norm          .10000E-03    4.9426        .11954E-06** at limit **
  14  norm          .10000E-03    .64912        .37860E-07** at limit **
  15  norm          .19996E-01    .45453       -.17035E-06    .20930E-03
  16  norm          .10000E-03    15.255        .12237E-05** at limit **
  17  norm          10.307        5.2974        .16645E-06   -.10512E-03
  18  Prefactor     28.831        31.226        .22406E-06   -.44093E-04
  19  norm          .10000E-03    18.004        .64506E-08** at limit **
  20  Prefactor     20.007        15.842        .67993E-06   -.47694E-04
  21  norm          .45323        .76994       -.50267E-07   -.68110E-04
  22  norm          1.2806        10.363        .19425E-04   -.41113E-04
  23  Normalizat    .89108        .20290       -.60392E-05    .17299E-05
  24  Prefactor     .86561        .12000        .20122E-05    .42189E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 4.40519
  Prefactor  = 12.8764
  norm       = 5.72103
  Prefactor  = 0.0001
  norm       = 0.000100042
  Prefactor  = 4.53076
  norm       = 4.19967
  Prefactor  = 20.2183
  Prefactor  = 0.0001
  Prefactor  = 4.86883
  Prefactor  = 56.8953
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0199955
  norm       = 0.000100001
  norm       = 10.3071
  Prefactor  = 28.8312
  norm       = 0.0001
  Prefactor  = 20.0067
  norm       = 0.453233
  norm       = 1.2806
  Normalizat = 0.891082
  Prefactor  = 0.865612
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    46.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.4052        5.5677        .19186E-03   -1.5288    
   3  Prefactor     12.876        33.425        .11129E-03   -1.4990    
   4  norm          5.7210        2.2832        .69548E-04   -1.5230    
   5  Prefactor     .10000E-03    11.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10004E-03    74.986        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.5308        3.8594        .13340E-03   -1.5282    
   8  norm          4.1997        12.332        .19656E-03   -1.5298    
   9  Prefactor     20.218        14.088        .89083E-04   -1.4808    
  10  Prefactor     .10000E-03    50.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.8688        5.2832        .17983E-03   -1.5267    
  12  Prefactor     56.895        39.124        .53189E-04   -1.4198    
  13  norm          .10000E-03    4.9548        .16781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .65344        .60796E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .19996E-01    6.6344        .99791E-03   -1.5680    
  16  norm          .10000E-03    15.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.307        5.2973        .12070E-03   -1.5066    
  18  Prefactor     28.831        31.272        .74629E-04   -1.4634    
  19  norm          .10000E-03    18.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     20.007        15.914        .89555E-04   -1.4813    
  21  norm          .45323        .77132        .44321E-04   -1.5573    
  22  norm          1.2806        10.445        .19577E-02   -1.5482    
  23  Normalizat    .89108        .23257        .29889E-03   -.96774    
  24  Prefactor     .86561        .13946        .19228E-03   -.97353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6264e-09
Minuit parameter uncertainties:
  1  0.00073628
  2  5.56835
  3  33.474
  4  2.28321
  5  2.93363e-05
  6  0.00354086
  7  3.85958
  8  12.3392
  9  14.0905
  10  3.85253e-05
  11  5.28367
  12  39.1416
  13  1.7581e-05
  14  2.29253e-06
  15  0.726701
  16  0.000282804
  17  5.29751
  18  31.2897
  19  7.74097e-05
  20  15.9173
  21  0.771332
  22  7.3159
  23  0.232833
  24  0.139518
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.031e+01  5.298e+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.656e-01  1.395e-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:  8.911e-01  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.97
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 7.39e-08 +/- 3.80e-08
Energy Flux (Fixed Index): 4.38e-05 +/- 2.25e-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) = 5974.53440582
delta logL = 1.37953500399

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5974.53279037
delta logL = 1.38115045338

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5089       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8335       1.0000          .0000       5.0000    
     3 'Normalizat'    .79989       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89927       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=   5974.533     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      249 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5095        40.673        .39326E-02   -.12321E-02
   2  alpha         2.8336        3.8352        .19276       -.71921E-04
   3  Normalizat    .79987        .11585        .70767E-01    .16100E-04
   4  Prefactor     .89927        .57846E-01    .44996E-01    .18282E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.50955
  alpha      = 2.8336
  Normalizat = 0.799875
  Prefactor  = 0.899269
 **********
 **   18 **HESSE 
 **********

 FCN=   5974.533     FROM HESSE     STATUS=OK            31 CALLS      280 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5095        5.0101        .76088E-04   -1.5198    
   2  alpha         2.8336        .55537        .79289E-02    .13384    
   3  Normalizat    .79987        .22002        .31315E-03   -1.0007    
   4  Prefactor     .89927        .13640        .18885E-03   -.96167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88565e-10
Minuit parameter uncertainties:
  1  5.01041
  2  0.560131
  3  0.220269
  4  0.13645
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309572': 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) = 5974.5327902
delta logL = 1.38115062039

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  6.510e+00  5.010e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.834e+00  5.601e-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.993e-01  1.364e-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:  7.999e-01  2.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.98
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.83 +/- 0.56
Photon Flux (Free Index): 1.53e-07 +/- 7.45e-08
Energy Flux (Free Index): 3.54e-05 +/- 1.49e-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/309572/cmap_HighResolution_470275201_470534401_4FGL_J0811.4+0146_daily_bin891.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.39e-08', energy_flux2='3.54e-05', photon_flux_error='3.80e-08', dlogl='1.38e+00', energy_flux='4.38e-05', photon_flux2='1.53e-07', job_status='DONE', time_completed='2021-08-29 12:34:18.024818', photon_index_error2='0.56', photon_index2='2.83', ts='7.97', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.49e-05', EG='0.89', time_epoch_completed='1630265658.02', return_code='0', job_id='309572', GAL2='0.90', EG2='0.80', return_code2='0', energy_flux_error='2.25e-05', photon_flux_error2='7.45e-08', ts2='10.98', photon_index='2.01' WHERE bin_id='891' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:34:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 309572: <4FGL_J0811.4+0146_daily_bin891> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin891 122.861 1.7756 470275201 470534401 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 :                                   583.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             267.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            823 sec.

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

