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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin388
RA = 122.861, Dec = 1.7756
tmin = 339897601, tmax = 340156801
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='306189', job_status='RUN', time_executed='2021-08-29 12:12:58.114789', time_epoch_executed='1630264378.11' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='388'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/306189

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/306189/ft1_4FGL_J0811.4+0146_daily_bin388.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/306189/ft2_4FGL_J0811.4+0146_daily_bin388.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/306189/ft1_4FGL_J0811.4+0146_daily_bin388.fits outfile=/scratch/kocevski/306189/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin388.fits ra=122.861 dec=1.7756 rad=12.0 tmin=339897601.0 tmax=340156801.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.57
user 3.09
sys 0.41

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/306189/ft1_filtered_4FGL_J0811.4+0146_daily_bin388.fits" evtable="EVENTS" scfile=/scratch/kocevski/306189/ft2_4FGL_J0811.4+0146_daily_bin388.fits sctable="SC_DATA" outfile=/scratch/kocevski/306189/ltcube_339897601_340156801_4FGL_J0811.4+0146_daily_bin388.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/306189/ft2_4FGL_J0811.4+0146_daily_bin388.fits
.....................!
real 12.21
user 11.42
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/306189/ft1_filtered_4FGL_J0811.4+0146_daily_bin388.fits evtable="EVENTS" scfile=/scratch/kocevski/306189/ft2_4FGL_J0811.4+0146_daily_bin388.fits sctable="SC_DATA" expcube=/scratch/kocevski/306189/ltcube_339897601_340156801_4FGL_J0811.4+0146_daily_bin388.fits outfile=/scratch/kocevski/306189/expmap_339897601_340156801_4FGL_J0811.4+0146_daily_bin388.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/306189/ltcube_339897601_340156801_4FGL_J0811.4+0146_daily_bin388.fits
.....................!
real 192.91
user 186.23
sys 5.75

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/306189/ft1_filtered_4FGL_J0811.4+0146_daily_bin388.fits scfile=/scratch/kocevski/306189/ft2_4FGL_J0811.4+0146_daily_bin388.fits outfile=/scratch/kocevski/306189/cmap_339897601_340156801_4FGL_J0811.4+0146_daily_bin388.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.80
user 0.36
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/306189/ft1_filtered_4FGL_J0811.4+0146_daily_bin388.fits scfile=/scratch/kocevski/306189/ft2_4FGL_J0811.4+0146_daily_bin388.fits outfile=/scratch/kocevski/306189/cmap_HighResolution_339897601_340156801_4FGL_J0811.4+0146_daily_bin388.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.78
user 0.38
sys 0.34

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6449       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .38504       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.0511       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1982       1.0000         .10000E-03   10000.    
     8 'norm      '    .10543E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.1263       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0733       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.1715       1.0000         .10000E-03   10000.    
    15 'norm      '    .75508       1.0000         .10000E-03   10000.    
    16 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    11.094       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.9319       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.1229       1.0000         .10000E-03   10000.    
    21 'norm      '    .59714       1.0000         .10000E-03   10000.    
    22 'norm      '    1.7810       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92576       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0596       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=   8925.771     FROM MIGRAD    STATUS=CONVERGED    970 CALLS     2800 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6453        35.740        .14504E-03   -.23516E-05
   2  Prefactor     .10000E-03    2.6920        .15115E-02** at limit **
   3  Prefactor     .10000E-03    12.113        .18142E-02** at limit **
   4  norm          .38484        1.2832        .18306E-03   -.16022E-04
   5  Prefactor     .10000E-03    8.0617        .18142E-02** at limit **
   6  norm          7.0532        9.5272        .15107E-03    .15051E-05
   7  Prefactor     5.1981        4.2996        .17015E-03   -.26191E-04
   8  norm          .10000E-03    103.57        .57975E-02** at limit **
   9  Prefactor     6.1249        7.1959        .16220E-03    .55651E-04
  10  Prefactor     .10000E-03    89.169        .18142E-02** at limit **
  11  Prefactor     3.0737        3.9993        .10478E-02    .35026E-04
  12  Prefactor     .10000E-03    9.9198        .18142E-02** at limit **
  13  norm          .10000E-03    4.0123        .18142E-02** at limit **
  14  norm          3.1719        1.9308        .97658E-04    .93130E-04
  15  norm          .75478        .80007        .87595E-03    .62061E-02
  16  norm          .10000E-03    17.233        .18142E-02** at limit **
  17  norm          11.094        4.1248        .11236E-03    .47554E-04
  18  Prefactor     .10000E-03    6.2323        .18142E-02** at limit **
  19  norm          3.9415        17.591        .20345E-03    .72645E-05
  20  Prefactor     4.1223        12.344        .99264E-03    .99641E-05
  21  norm          .59709        .58790        .71805E-03    .10013E-03
  22  norm          1.7805        6.4667        .31360E-03    .47854E-05
  23  Normalizat    .92580        .18834        .30526E-03    .38061E-04
  24  Prefactor     1.0596        .12397        .18836E-03    .27160E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.64532
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.384837
  Prefactor  = 0.0001
  norm       = 7.05318
  Prefactor  = 5.19807
  norm       = 0.0001
  Prefactor  = 6.12493
  Prefactor  = 0.0001
  Prefactor  = 3.07369
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.17195
  norm       = 0.754777
  norm       = 0.0001
  norm       = 11.0937
  Prefactor  = 0.0001
  norm       = 3.94151
  Prefactor  = 4.12234
  norm       = 0.597087
  norm       = 1.78053
  Normalizat = 0.925795
  Prefactor  = 1.05957
 **********
 **   18 **HESSE 
 **********

 FCN=   8925.771     FROM HESSE     STATUS=OK           381 CALLS     3181 TOTAL
                     EDM=   .79E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6453        35.725        .58014E-05   -1.5155    
   2  Prefactor     .10000E-03    2.6922        .30230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.114        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .38484        1.2827        .73225E-05   -1.5584    
   5  Prefactor     .10000E-03    8.0620        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.0532        9.5274        .60429E-05   -1.5177    
   7  Prefactor     5.1981        4.2988        .68061E-05   -1.5252    
   8  norm          .10000E-03    107.33        .23190E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.1249        7.1741        .64881E-05   -1.5213    
  10  Prefactor     .10000E-03    89.170        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.0737        3.9985        .41910E-04   -1.5357    
  12  Prefactor     .10000E-03    9.9204        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.0134        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.1719        1.9301        .39063E-05   -1.5352    
  15  norm          .75478        .79935        .17519E-03   -1.5534    
  16  norm          .10000E-03    17.246        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          11.094        4.1247        .44945E-05   -1.5042    
  18  Prefactor     .10000E-03    6.2324        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.9415        17.584        .81378E-05   -1.5311    
  20  Prefactor     4.1223        12.338        .39705E-04   -1.5302    
  21  norm          .59709        .58764        .28722E-04   -1.5553    
  22  norm          1.7805        6.4648        .12544E-04   -1.5441    
  23  Normalizat    .92580        .18837        .12211E-04   -.95560    
  24  Prefactor     1.0596        .12404        .37672E-04   -.90769    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.8796e-12
Minuit parameter uncertainties:
  1  33.0854
  2  2.21594e-07
  3  1.97858e-06
  4  1.28284
  5  5.34974e-08
  6  9.52942
  7  4.29907
  8  2.67696e-05
  9  7.1751
  10  1.51939e-05
  11  3.99887
  12  8.95354e-07
  13  1.28884e-06
  14  1.93013
  15  0.799364
  16  1.37876e-05
  17  4.12481
  18  1.53157e-07
  19  16.6581
  20  12.3453
  21  0.587645
  22  6.46735
  23  0.188508
  24  0.124078
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.109e+01  4.125e+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.060e+00  1.241e-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.258e-01  1.885e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 28.15
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 7.96e-08 +/- 2.96e-08
Energy Flux (Fixed Index): 4.72e-05 +/- 1.75e-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) = 8925.22961572
delta logL = 0.541194069699

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8925.22066422
delta logL = 0.550145570656

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8972       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3756       1.0000          .0000       5.0000    
     3 'Normalizat'    .88186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0746       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=   8925.221     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      239 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8972        44.788        .31843E-02    .92976E-04
   2  alpha         2.3756        3.6621        .23111        .85906E-04
   3  Normalizat    .88187        .13729        .70454E-01    .23485E-03
   4  Prefactor     1.0746        .56306E-01    .38642E-01    .22164E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.89719
  alpha      = 2.37555
  Normalizat = 0.881867
  Prefactor  = 1.07463
 **********
 **   18 **HESSE 
 **********

 FCN=   8925.221     FROM HESSE     STATUS=OK            31 CALLS      270 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8972        4.0118        .93790E-04   -1.5079    
   2  alpha         2.3756        .35791        .90973E-02   -.49800E-01
   3  Normalizat    .88187        .18690        .31173E-03   -.97100    
   4  Prefactor     1.0746        .11999        .18708E-03   -.90282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84459e-11
Minuit parameter uncertainties:
  1  4.0119
  2  0.359146
  3  0.187035
  4  0.120019
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/306189': 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) = 8925.22066422
delta logL = 0.550145571284

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  9.897e+00  4.012e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.376e+00  3.591e-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.075e+00  1.200e-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.819e-01  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 29.36
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.38 +/- 0.36
Photon Flux (Free Index): 1.15e-07 +/- 4.99e-08
Energy Flux (Free Index): 3.94e-05 +/- 1.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/306189/cmap_HighResolution_339897601_340156801_4FGL_J0811.4+0146_daily_bin388.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.96e-08', energy_flux2='3.94e-05', photon_flux_error='2.96e-08', dlogl='5.50e-01', energy_flux='4.72e-05', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-08-29 12:25:06.520925', photon_index_error2='0.36', photon_index2='2.38', ts='28.15', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.41e-05', EG='0.93', time_epoch_completed='1630265106.52', return_code='0', job_id='306189', GAL2='1.07', EG2='0.88', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='4.99e-08', ts2='29.36', photon_index='2.01' WHERE bin_id='388' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:25:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 306189: <4FGL_J0811.4+0146_daily_bin388> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin388> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:10:26 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:10:28 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:10:28 2021
Terminated at Sun Aug 29 12:25:07 2021
Results reported at Sun Aug 29 12:25:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin388 122.861 1.7756 339897601 340156801 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 :                                   725.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             256.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            881 sec.

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

