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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin783
RA = 122.861, Dec = 1.7756
tmin = 442281601, tmax = 442540801
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='309365', job_status='RUN', time_executed='2021-08-29 12:22:55.960174', time_epoch_executed='1630264975.96' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='783'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309365

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309365/ft1_4FGL_J0811.4+0146_daily_bin783.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309365/ft2_4FGL_J0811.4+0146_daily_bin783.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309365/ft1_4FGL_J0811.4+0146_daily_bin783.fits outfile=/scratch/kocevski/309365/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin783.fits ra=122.861 dec=1.7756 rad=12.0 tmin=442281601.0 tmax=442540801.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.16
user 3.25
sys 8.71

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309365/ft1_filtered_4FGL_J0811.4+0146_daily_bin783.fits" evtable="EVENTS" scfile=/scratch/kocevski/309365/ft2_4FGL_J0811.4+0146_daily_bin783.fits sctable="SC_DATA" outfile=/scratch/kocevski/309365/ltcube_442281601_442540801_4FGL_J0811.4+0146_daily_bin783.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/309365/ft2_4FGL_J0811.4+0146_daily_bin783.fits
.....................!
real 22.47
user 12.49
sys 9.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309365/ft1_filtered_4FGL_J0811.4+0146_daily_bin783.fits evtable="EVENTS" scfile=/scratch/kocevski/309365/ft2_4FGL_J0811.4+0146_daily_bin783.fits sctable="SC_DATA" expcube=/scratch/kocevski/309365/ltcube_442281601_442540801_4FGL_J0811.4+0146_daily_bin783.fits outfile=/scratch/kocevski/309365/expmap_442281601_442540801_4FGL_J0811.4+0146_daily_bin783.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/309365/ltcube_442281601_442540801_4FGL_J0811.4+0146_daily_bin783.fits
.....................!
real 203.48
user 187.27
sys 15.74

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/309365/ft1_filtered_4FGL_J0811.4+0146_daily_bin783.fits scfile=/scratch/kocevski/309365/ft2_4FGL_J0811.4+0146_daily_bin783.fits outfile=/scratch/kocevski/309365/cmap_442281601_442540801_4FGL_J0811.4+0146_daily_bin783.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.92
user 0.40
sys 8.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309365/ft1_filtered_4FGL_J0811.4+0146_daily_bin783.fits scfile=/scratch/kocevski/309365/ft2_4FGL_J0811.4+0146_daily_bin783.fits outfile=/scratch/kocevski/309365/cmap_HighResolution_442281601_442540801_4FGL_J0811.4+0146_daily_bin783.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.96
user 0.39
sys 8.50

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.722       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12692E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.304       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.940       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.937       1.0000         .10000E-03   10000.    
    13 'norm      '    12.654       1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.0502       1.0000         .10000E-03   10000.    
    16 'norm      '    .10623E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    11.235       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.413       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.2638       1.0000         .10000E-03   10000.    
    22 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0141       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96848       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=   6832.151     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2763 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    64.006        .90712E-02** at limit **
   2  Prefactor     .10000E-03    5.8926        .90712E-02** at limit **
   3  Prefactor     .10000E-03    53.471        .90712E-02** at limit **
   4  norm          10.722        2.9878        .30589E-02    .75506E-04
   5  Prefactor     .10000E-03    34.051        .13201    ** at limit **
   6  norm          .10000E-03    9.3852        .90712E-02** at limit **
   7  Prefactor     .10000E-03    3.3423        .90712E-02** at limit **
   8  norm          .10000E-03    9.1859        .90712E-02** at limit **
   9  Prefactor     18.303        16.237        .23404E-02   -.93305E-04
  10  Prefactor     .10000E-03    164.82        .90712E-02** at limit **
  11  Prefactor     15.941        9.3781        .25079E-02   -.62870E-04
  12  Prefactor     45.933        39.017        .14789E-02   -.37654E-03
  13  norm          12.651        14.733        .28151E-02    .34943E-03
  14  norm          .10000E-03    .70370        .90712E-02** at limit **
  15  norm          2.0503        1.0204        .72179E-03    .24193E-04
  16  norm          .10000E-03    39.112        .90712E-02** at limit **
  17  norm          11.235        5.6316        .29880E-02    .15621E-02
  18  Prefactor     18.401        40.194        .23335E-02   -.60157E-03
  19  norm          .10000E-03    10.201        .90712E-02** at limit **
  20  Prefactor     .10000E-03    5.0217        .90712E-02** at limit **
  21  norm          1.2637        1.0413        .99112E-02    .34330E-03
  22  norm          .10000E-03    3.4329        .90712E-02** at limit **
  23  Normalizat    1.0144        .21825        .74479E-01    .77889E-05
  24  Prefactor     .96828        .12926        .45872E-01   -.14838E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.7218
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.3029
  Prefactor  = 0.0001
  Prefactor  = 15.9406
  Prefactor  = 45.9332
  norm       = 12.6513
  norm       = 0.0001
  norm       = 2.05025
  norm       = 0.0001
  norm       = 11.2349
  Prefactor  = 18.4011
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.26373
  norm       = 0.0001
  Normalizat = 1.01436
  Prefactor  = 0.968284
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.151     FROM HESSE     STATUS=OK           401 CALLS     3164 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    64.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.9188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    53.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.722        2.9922        .70809E-04   -1.5053    
   5  Prefactor     .10000E-03    33.907        .13273       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.4281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3733        .14739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    9.1939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.303        16.262        .93615E-04   -1.4852    
  10  Prefactor     .10000E-03    164.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.941        9.3739        .10032E-03   -1.4909    
  12  Prefactor     45.933        39.062        .59157E-04   -1.4351    
  13  norm          12.651        14.738        .11261E-03   -1.4996    
  14  norm          .10000E-03    .70685        .67688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0503        1.0212        .28872E-04   -1.5422    
  16  norm          .10000E-03    39.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          11.235        5.6294        .59761E-03   -1.5037    
  18  Prefactor     18.401        40.491        .93338E-04   -1.4850    
  19  norm          .10000E-03    10.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.0273        .18088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.2637        1.0359        .72875E-04   -1.5483    
  22  norm          .10000E-03    3.4492        .14954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0144        .25186        .32958E-03   -.92551    
  24  Prefactor     .96828        .14935        .20910E-03   -.93794    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59245e-09
Minuit parameter uncertainties:
  1  1.28863e-05
  2  4.9069e-07
  3  3.58713e-05
  4  2.99223
  5  0.000730913
  6  1.187e-06
  7  3.58897e-07
  8  4.3767e-07
  9  16.2662
  10  0.000360357
  11  9.37474
  12  39.0834
  13  14.7423
  14  1.92667e-07
  15  1.02118
  16  1.02056e-06
  17  5.62965
  18  40.551
  19  4.8821e-07
  20  1.92105e-07
  21  1.03593
  22  1.70105e-07
  23  0.252161
  24  0.149414
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.123e+01  5.630e+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.683e-01  1.494e-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.014e+00  2.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.90
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 8.06e-08 +/- 4.04e-08
Energy Flux (Fixed Index): 4.78e-05 +/- 2.39e-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) = 6830.47254302
delta logL = 1.67829513522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6829.7592291
delta logL = 2.39160905954

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1635       1.0000         .10000E-03   10000.    
     2 'alpha     '    .83833       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96423       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=   6829.759     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      227 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1629        2.3014        .56968E-02   -.15888E-03
   2  alpha         .83829        .27030        .21856       -.41064E-04
   3  Normalizat    1.0630        .20125        .73037E-01    .17185E-04
   4  Prefactor     .96428        .12583        .45818E-01    .58066E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.1629
  alpha      = 0.838294
  Normalizat = 1.06302
  Prefactor  = 0.964283
 **********
 **   18 **HESSE 
 **********

 FCN=   6829.759     FROM HESSE     STATUS=OK            31 CALLS      258 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1629        4.4799        .85163E-04   -1.5352    
   2  alpha         .83829        .52599        .95653E-03   -.72707    
   3  Normalizat    1.0630        .22946        .32320E-03   -.90948    
   4  Prefactor     .96428        .14377        .20989E-03   -.93930    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50919e-13
Minuit parameter uncertainties:
  1  4.48036
  2  0.533202
  3  0.229678
  4  0.143832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309365': 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) = 6829.75922895
delta logL = 2.39160921071

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  3.163e+00  4.480e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  8.383e-01  5.332e-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:  9.643e-01  1.438e-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.063e+00  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.62
Ra Dec: 122.861 1.776
Photon Index (Free Index): 0.84 +/- 0.53
Photon Flux (Free Index): 1.72e-08 +/- 1.50e-08
Energy Flux (Free Index): 1.98e-04 +/- 1.62e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/309365/cmap_HighResolution_442281601_442540801_4FGL_J0811.4+0146_daily_bin783.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.06e-08', energy_flux2='1.98e-04', photon_flux_error='4.04e-08', dlogl='2.39e+00', energy_flux='4.78e-05', photon_flux2='1.72e-08', job_status='DONE', time_completed='2021-08-29 12:35:23.032293', photon_index_error2='0.53', photon_index2='0.84', ts='16.90', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.62e-04', EG='1.01', time_epoch_completed='1630265723.03', return_code='0', job_id='309365', GAL2='0.96', EG2='1.06', return_code2='0', energy_flux_error='2.39e-05', photon_flux_error2='1.50e-08', ts2='21.62', photon_index='2.01' WHERE bin_id='783' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:35:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 309365: <4FGL_J0811.4+0146_daily_bin783> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin783 122.861 1.7756 442281601 442540801 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 :                                   875.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            906 sec.

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

