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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin356
RA = 122.861, Dec = 1.7756
tmin = 331603201, tmax = 331862401
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='304694', job_status='RUN', time_executed='2021-08-29 12:08:48.405597', time_epoch_executed='1630264128.41' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='356'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304694

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304694/ft1_4FGL_J0811.4+0146_daily_bin356.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304694/ft2_4FGL_J0811.4+0146_daily_bin356.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/304694/ft1_4FGL_J0811.4+0146_daily_bin356.fits outfile=/scratch/kocevski/304694/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin356.fits ra=122.861 dec=1.7756 rad=12.0 tmin=331603201.0 tmax=331862401.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.53
user 3.06
sys 0.44

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/304694/ft1_filtered_4FGL_J0811.4+0146_daily_bin356.fits" evtable="EVENTS" scfile=/scratch/kocevski/304694/ft2_4FGL_J0811.4+0146_daily_bin356.fits sctable="SC_DATA" outfile=/scratch/kocevski/304694/ltcube_331603201_331862401_4FGL_J0811.4+0146_daily_bin356.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/304694/ft2_4FGL_J0811.4+0146_daily_bin356.fits
.....................!
real 12.47
user 11.80
sys 0.62

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304694/ft1_filtered_4FGL_J0811.4+0146_daily_bin356.fits evtable="EVENTS" scfile=/scratch/kocevski/304694/ft2_4FGL_J0811.4+0146_daily_bin356.fits sctable="SC_DATA" expcube=/scratch/kocevski/304694/ltcube_331603201_331862401_4FGL_J0811.4+0146_daily_bin356.fits outfile=/scratch/kocevski/304694/expmap_331603201_331862401_4FGL_J0811.4+0146_daily_bin356.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/304694/ltcube_331603201_331862401_4FGL_J0811.4+0146_daily_bin356.fits
.....................!
real 190.45
user 184.96
sys 4.62

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/304694/ft1_filtered_4FGL_J0811.4+0146_daily_bin356.fits scfile=/scratch/kocevski/304694/ft2_4FGL_J0811.4+0146_daily_bin356.fits outfile=/scratch/kocevski/304694/cmap_331603201_331862401_4FGL_J0811.4+0146_daily_bin356.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 0.79
user 0.38
sys 0.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304694/ft1_filtered_4FGL_J0811.4+0146_daily_bin356.fits scfile=/scratch/kocevski/304694/ft2_4FGL_J0811.4+0146_daily_bin356.fits outfile=/scratch/kocevski/304694/cmap_HighResolution_331603201_331862401_4FGL_J0811.4+0146_daily_bin356.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 0.80
user 0.39
sys 0.40

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0010       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.725       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.116       1.0000         .10000E-03   10000.    
     4 'norm      '    5.3775       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3998       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.813       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10475E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.309       1.0000         .10000E-03   10000.    
    13 'norm      '    11.313       1.0000         .10000E-03   10000.    
    14 'norm      '    .16441E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    2.6603       1.0000         .10000E-03   10000.    
    16 'norm      '    .14198E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.4113       1.0000         .10000E-03   10000.    
    18 'Prefactor '    101.24       1.0000         .10000E-03   10000.    
    19 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.1939       1.0000         .10000E-03   10000.    
    22 'norm      '    2.8539       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .64142       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3004       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7670.291     FROM MIGRAD    STATUS=CONVERGED     97 CALLS     2299 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9527        12.651       -.24250E-04    .35241E-02
   2  Prefactor     13.734        1.3114        .85211E-06   -.65678E-03
   3  Prefactor     12.134        3.6090        .31570E-05   -.28321E-02
   4  norm          5.3780        2.3904        .20531E-06    .31404E-03
   5  Prefactor     .10003E-03    21.965       -.33228E-05** at limit **
   6  norm          .10000E-03    5.9769       -.13862E-05** at limit **
   7  Prefactor     4.3974        4.2807        .85253E-05    .77110E-02
   8  norm          .10000E-03    10.718        .34250E-06** at limit **
   9  Prefactor     27.827        1.5667       -.50134E-06    .38061E-02
  10  Prefactor     .11025E-03    117.98       -.47039E-05** at limit **
  11  Prefactor     .10000E-03    3.4079        .73787E-06** at limit **
  12  Prefactor     29.271        6.5762       -.35695E-05    .72400E-02
  13  norm          11.316        1.0371        .48868E-07   -.29785E-03
  14  norm          .10030E-03    10.241        .24090E-04** at limit **
  15  norm          2.6602        1.2197        .27232E-06    .27851E-03
  16  norm          .10028E-03    43.608        .47106E-05** at limit **
  17  norm          7.4119        4.4539        .30926E-05    .34974E-02
  18  Prefactor     101.26        3.0441        .10305E-05   -.84009E-02
  19  norm          .10000E-03    4.5918       -.17037E-06** at limit **
  20  Prefactor     .10002E-03    11.199       -.97438E-05** at limit **
  21  norm          1.1939        1.1604       -.51109E-07    .44291E-03
  22  norm          2.8560        3.9291        .13937E-06    .16192E-03
  23  Normalizat    .64139        .24289       -.96118E-05    .43546E-04
  24  Prefactor     1.3004        .15536        .28723E-05    .18310E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.95267
  Prefactor  = 13.7336
  Prefactor  = 12.1343
  norm       = 5.37803
  Prefactor  = 0.000100033
  norm       = 0.0001
  Prefactor  = 4.39743
  norm       = 0.0001
  Prefactor  = 27.8271
  Prefactor  = 0.000110248
  Prefactor  = 0.0001
  Prefactor  = 29.2706
  norm       = 11.316
  norm       = 0.000100302
  norm       = 2.66018
  norm       = 0.000100275
  norm       = 7.41194
  Prefactor  = 101.256
  norm       = 0.0001
  Prefactor  = 0.000100017
  norm       = 1.19391
  norm       = 2.85601
  Normalizat = 0.641389
  Prefactor  = 1.30042
 **********
 **   18 **HESSE 
 **********

 FCN=   7670.291     FROM HESSE     STATUS=OK           453 CALLS     2752 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9527        389.42        .73193E-02   -1.5428    
   2  Prefactor     13.734        12.776        .27030E-02   -1.4967    
   3  Prefactor     12.134        40.841        .28772E-02   -1.5011    
   4  norm          5.3780        2.4481        .43324E-02   -1.5244    
   5  Prefactor     .10003E-03    21.931        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.9701        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3974        6.2880        .48000E-02   -1.5289    
   8  norm          .10000E-03    10.818        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.827        18.259        .18991E-02   -1.4652    
  10  Prefactor     .11025E-03    122.87        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.3959        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.271        38.546        .18501E-02   -1.4625    
  13  norm          11.316        10.600        .29777E-02   -1.5035    
  14  norm          .10030E-03    1.1143        .58731E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.6602        1.2457        .62476E-02   -1.5382    
  16  norm          .10028E-03    43.577        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.4119        4.5468        .36831E-02   -1.5163    
  18  Prefactor     101.26        50.231        .99892E-03   -1.3692    
  19  norm          .10000E-03    4.5917        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10002E-03    12.138        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.1939        1.1677        .10409E-02   -1.5489    
  22  norm          2.8560        3.9441        .60165E-02   -1.5370    
  23  Normalizat    .64139        .24631        .94963E-01   -1.0625    
  24  Prefactor     1.3004        .14928        .32602E-01   -.83295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8479e-06
Minuit parameter uncertainties:
  1  55.5194
  2  12.778
  3  40.9348
  4  2.44817
  5  0.00168982
  6  1.03631e-05
  7  6.28892
  8  6.02987e-05
  9  18.2623
  10  0.0711156
  11  5.7155e-06
  12  38.5788
  13  10.6014
  14  0.00116085
  15  1.24576
  16  0.00693445
  17  4.54699
  18  50.2521
  19  8.22758e-06
  20  0.000895839
  21  1.16772
  22  3.94441
  23  0.246735
  24  0.149334
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  7.412e+00  4.547e+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:  1.300e+00  1.493e-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:  6.414e-01  2.467e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.67
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 5.32e-08 +/- 3.26e-08
Energy Flux (Fixed Index): 3.15e-05 +/- 1.93e-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) = 7669.63554564
delta logL = 0.655497935174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7669.57309918
delta logL = 0.717944393847

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4479       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4199       1.0000          .0000       5.0000    
     3 'Normalizat'    .66766       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2957       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=   7669.573     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      220 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4466        3.8622        .43039E-02    .35156E-04
   2  alpha         1.4200        .34552        .31993       -.44197E-04
   3  Normalizat    .66774        .21843        .93220E-01    .39552E-04
   4  Prefactor     1.2956        .14089        .32685E-01   -.48007E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.44662
  alpha      = 1.41997
  Normalizat = 0.667741
  Prefactor  = 1.29563
 **********
 **   18 **HESSE 
 **********

 FCN=   7669.573     FROM HESSE     STATUS=OK            33 CALLS      253 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4466        5.1647        .13886E-03   -1.5241    
   2  alpha         1.4200        .50327        .12925E-01   -.44672    
   3  Normalizat    .66774        .23625        .41304E-03   -1.0518    
   4  Prefactor     1.2956        .15304        .19656E-03   -.83437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30262e-12
Minuit parameter uncertainties:
  1  5.16515
  2  0.507545
  3  0.236605
  4  0.153097
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304694': 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) = 7669.57309903
delta logL = 0.717944540205

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.447e+00  5.165e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.420e+00  5.075e-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:  1.296e+00  1.531e-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:  6.677e-01  2.366e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.08
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.42 +/- 0.51
Photon Flux (Free Index): 2.40e-08 +/- 2.61e-08
Energy Flux (Free Index): 5.89e-05 +/- 5.41e-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/304694/cmap_HighResolution_331603201_331862401_4FGL_J0811.4+0146_daily_bin356.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.32e-08', energy_flux2='5.89e-05', photon_flux_error='3.26e-08', dlogl='7.18e-01', energy_flux='3.15e-05', photon_flux2='2.40e-08', job_status='DONE', time_completed='2021-08-29 12:19:09.869577', photon_index_error2='0.51', photon_index2='1.42', ts='8.67', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', energy_flux_error2='5.41e-05', EG='0.64', time_epoch_completed='1630264749.87', return_code='0', job_id='304694', GAL2='1.30', EG2='0.67', return_code2='0', energy_flux_error='1.93e-05', photon_flux_error2='2.61e-08', ts2='10.08', photon_index='2.01' WHERE bin_id='356' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:19:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 304694: <4FGL_J0811.4+0146_daily_bin356> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin356> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 29 12:05:30 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:05:32 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:05:32 2021
Terminated at Sun Aug 29 12:19:10 2021
Results reported at Sun Aug 29 12:19:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin356 122.861 1.7756 331603201 331862401 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 :                                   625.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            820 sec.

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

