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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin681
RA = 122.861, Dec = 1.7756
tmin = 415843201, tmax = 416102401
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='309337', job_status='RUN', time_executed='2021-08-29 12:25:32.954831', time_epoch_executed='1630265132.95' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='681'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309337

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309337/ft1_4FGL_J0811.4+0146_daily_bin681.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309337/ft2_4FGL_J0811.4+0146_daily_bin681.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309337/ft1_4FGL_J0811.4+0146_daily_bin681.fits outfile=/scratch/kocevski/309337/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin681.fits ra=122.861 dec=1.7756 rad=12.0 tmin=415843201.0 tmax=416102401.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 12.80
user 5.60
sys 7.10

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309337/ft1_filtered_4FGL_J0811.4+0146_daily_bin681.fits" evtable="EVENTS" scfile=/scratch/kocevski/309337/ft2_4FGL_J0811.4+0146_daily_bin681.fits sctable="SC_DATA" outfile=/scratch/kocevski/309337/ltcube_415843201_416102401_4FGL_J0811.4+0146_daily_bin681.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/309337/ft2_4FGL_J0811.4+0146_daily_bin681.fits
.....................!
real 21.15
user 12.04
sys 9.03

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309337/ft1_filtered_4FGL_J0811.4+0146_daily_bin681.fits evtable="EVENTS" scfile=/scratch/kocevski/309337/ft2_4FGL_J0811.4+0146_daily_bin681.fits sctable="SC_DATA" expcube=/scratch/kocevski/309337/ltcube_415843201_416102401_4FGL_J0811.4+0146_daily_bin681.fits outfile=/scratch/kocevski/309337/expmap_415843201_416102401_4FGL_J0811.4+0146_daily_bin681.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/309337/ltcube_415843201_416102401_4FGL_J0811.4+0146_daily_bin681.fits
.....................!
real 199.66
user 185.44
sys 13.82

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/309337/ft1_filtered_4FGL_J0811.4+0146_daily_bin681.fits scfile=/scratch/kocevski/309337/ft2_4FGL_J0811.4+0146_daily_bin681.fits outfile=/scratch/kocevski/309337/cmap_415843201_416102401_4FGL_J0811.4+0146_daily_bin681.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 8.41
user 0.37
sys 6.81

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309337/ft1_filtered_4FGL_J0811.4+0146_daily_bin681.fits scfile=/scratch/kocevski/309337/ft2_4FGL_J0811.4+0146_daily_bin681.fits outfile=/scratch/kocevski/309337/cmap_HighResolution_415843201_416102401_4FGL_J0811.4+0146_daily_bin681.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 8.42
user 0.39
sys 7.39

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .26625E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.3037       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.909       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10398E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .62011       1.0000         .10000E-03   10000.    
    15 'norm      '    .21936       1.0000         .10000E-03   10000.    
    16 'norm      '    22.533       1.0000         .10000E-03   10000.    
    17 'norm      '    .77070       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .58105       1.0000         .10000E-03   10000.    
    22 'norm      '    11.474       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .95302       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92710       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=   4553.738     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2739 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    52.518        .21188E-04** at limit **
   2  Prefactor     .10001E-03    8.0182        .63545E-06** at limit **
   3  Prefactor     .10000E-03    38.421       -.12158E-04** at limit **
   4  norm          7.3029        2.7404       -.54887E-07   -.70442E-04
   5  Prefactor     .10000E-03    12.896       -.76048E-05** at limit **
   6  norm          .10000E-03    7.5355        .11315E-06** at limit **
   7  Prefactor     .10000E-03    1.1633       -.27484E-07** at limit **
   8  norm          .10000E-03    9.4955       -.28567E-05** at limit **
   9  Prefactor     18.910        13.059        .68921E-08    .49823E-04
  10  Prefactor     .10000E-03    85.774       -.13800E-04** at limit **
  11  Prefactor     .10000E-03    3.9390       -.25241E-07** at limit **
  12  Prefactor     .10000E-03    26.908       -.28497E-07** at limit **
  13  norm          .10000E-03    3.8668       -.48755E-08** at limit **
  14  norm          .61995        1.6735       -.31729E-06   -.10511E-02
  15  norm          .21873        .86693       -.37338E-06   -.73208E-03
  16  norm          22.530        24.904       -.51367E-06    .18427E-04
  17  norm          .76881        2.5415       -.60451E-06   -.81784E-03
  18  Prefactor     .10000E-03    15.308        .49524E-05** at limit **
  19  norm          .10000E-03    10.597        .61379E-05** at limit **
  20  Prefactor     .10000E-03    3.5545       -.25575E-07** at limit **
  21  norm          .58112        1.2407       -.24305E-06   -.98703E-03
  22  norm          11.474        9.5584       -.96246E-06   -.11437E-02
  23  Normalizat    .95311        .22263        .87957E-06    .57625E-04
  24  Prefactor     .92700        .13987        .88019E-07    .85057E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Prefactor  = 0.000100007
  Prefactor  = 0.000100002
  norm       = 7.30287
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.9104
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.619954
  norm       = 0.218732
  norm       = 22.5304
  norm       = 0.768812
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.581115
  norm       = 11.4738
  Normalizat = 0.953113
  Prefactor  = 0.927001
 **********
 **   18 **HESSE 
 **********

 FCN=   4553.738     FROM HESSE     STATUS=OK           399 CALLS     3138 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    51.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    22.894        .36906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    38.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.3029        2.7356        .64569E-04   -1.5167    
   5  Prefactor     .10000E-03    12.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.5421        .18093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.1652        .71071E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    9.4802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.910        13.077        .92107E-04   -1.4838    
  10  Prefactor     .10000E-03    85.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.9542        .13079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    26.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.8733        .12959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61995        1.3710        .13837E-02   -1.5551    
  15  norm          .21873        1.3795        .11737E-02   -1.5614    
  16  norm          22.530        24.898        .84381E-04   -1.4758    
  17  norm          .76881        2.4541        .19025E-02   -1.5533    
  18  Prefactor     .10000E-03    15.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    10.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.5564        .12425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .58112        1.2229        .10251E-03   -1.5556    
  22  norm          11.474        9.7969        .59134E-03   -1.5030    
  23  Normalizat    .95311        .25699        .28892E-03   -.94618    
  24  Prefactor     .92700        .16219        .18972E-03   -.95204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8761e-09
Minuit parameter uncertainties:
  1  0.00116612
  2  0.000805256
  3  0.000547468
  4  2.7356
  5  0.000197763
  6  3.13434e-06
  7  2.2235e-07
  8  6.31772e-05
  9  13.079
  10  0.000925649
  11  1.36703e-06
  12  1.50419e-05
  13  4.77301e-07
  14  1.37112
  15  1.09842
  16  24.9096
  17  2.45444
  18  0.000140193
  19  0.000147108
  20  2.86846e-07
  21  1.22291
  22  9.79828
  23  0.257326
  24  0.162278
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  7.688e-01  2.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:  9.270e-01  1.623e-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:  9.531e-01  2.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 122.861 1.776
Photon Flux Upper Limit: 6.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.97e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/309337/likelihoodResults_415843201_416102401_4FGL_J0811.4+0146_daily_bin681.txt

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) = 4553.60053433
delta logL = 0.137743314711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4553.59852648
delta logL = 0.139751165

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71688       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8315       1.0000          .0000       5.0000    
     3 'Normalizat'    .94097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93044       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4553.599     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      256 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71678        2.5200        .11821E-02    .19529E-03
   2  alpha         2.8316        1.8724        .23523E-01    .11801E-04
   3  Normalizat    .94097        .24341        .29054E-03   -.70747E-04
   4  Prefactor     .93045        .15787        .18936E-03   -.88061E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.716776
  alpha      = 2.83159
  Normalizat = 0.940966
  Prefactor  = 0.930446
 **********
 **   18 **HESSE 
 **********

 FCN=   4553.599     FROM HESSE     STATUS=OK            27 CALLS      283 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71678        1.8193        .47284E-04   -1.5539    
   2  alpha         2.8316        1.4375        .94091E-03    .13303    
   3  Normalizat    .94097        .24360        .11622E-04   -.95035    
   4  Prefactor     .93045        .15793        .37873E-04   -.95085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43269e-11
Minuit parameter uncertainties:
  1  1.8194
  2  1.53351
  3  0.243887
  4  0.158009
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309337': 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) = 4553.59852648
delta logL = 0.139751168581

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  7.168e-01  1.819e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.832e+00  1.534e+00  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:  9.304e-01  1.580e-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:  9.410e-01  2.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 122.861 1.776

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/309337/cmap_HighResolution_415843201_416102401_4FGL_J0811.4+0146_daily_bin681.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.97e-05', job_status='DONE', photon_flux_upper_limit='6.71e-08', time_completed='2021-08-29 12:36:47.859754', job_id='309337', GAL2='0.93', fit_tolerance='1e-08', EG2='0.94', EG='0.95', time_epoch_completed='1630265807.86', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.40e-01', ts2='0.41', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='681' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:36:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 309337: <4FGL_J0811.4+0146_daily_bin681> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin681 122.861 1.7756 415843201 416102401 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 :                                   778.17 sec.
    Max Memory :                                 1028 MB
    Average Memory :                             201.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            992 sec.

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

