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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin192
RA = 122.861, Dec = 1.7756
tmin = 289094401, tmax = 289353601
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='303147', job_status='RUN', time_executed='2021-08-29 12:03:28.162392', time_epoch_executed='1630263808.16' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='192'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303147

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303147/ft1_4FGL_J0811.4+0146_daily_bin192.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303147/ft2_4FGL_J0811.4+0146_daily_bin192.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303147/ft1_4FGL_J0811.4+0146_daily_bin192.fits outfile=/scratch/kocevski/303147/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin192.fits ra=122.861 dec=1.7756 rad=12.0 tmin=289094401.0 tmax=289353601.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.70
user 3.31
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/303147/ft1_filtered_4FGL_J0811.4+0146_daily_bin192.fits" evtable="EVENTS" scfile=/scratch/kocevski/303147/ft2_4FGL_J0811.4+0146_daily_bin192.fits sctable="SC_DATA" outfile=/scratch/kocevski/303147/ltcube_289094401_289353601_4FGL_J0811.4+0146_daily_bin192.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/303147/ft2_4FGL_J0811.4+0146_daily_bin192.fits
.....................!
real 11.98
user 11.47
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303147/ft1_filtered_4FGL_J0811.4+0146_daily_bin192.fits evtable="EVENTS" scfile=/scratch/kocevski/303147/ft2_4FGL_J0811.4+0146_daily_bin192.fits sctable="SC_DATA" expcube=/scratch/kocevski/303147/ltcube_289094401_289353601_4FGL_J0811.4+0146_daily_bin192.fits outfile=/scratch/kocevski/303147/expmap_289094401_289353601_4FGL_J0811.4+0146_daily_bin192.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/303147/ltcube_289094401_289353601_4FGL_J0811.4+0146_daily_bin192.fits
.....................!
real 191.22
user 185.25
sys 4.84

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/303147/ft1_filtered_4FGL_J0811.4+0146_daily_bin192.fits scfile=/scratch/kocevski/303147/ft2_4FGL_J0811.4+0146_daily_bin192.fits outfile=/scratch/kocevski/303147/cmap_289094401_289353601_4FGL_J0811.4+0146_daily_bin192.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.62
user 0.37
sys 0.21

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303147/ft1_filtered_4FGL_J0811.4+0146_daily_bin192.fits scfile=/scratch/kocevski/303147/ft2_4FGL_J0811.4+0146_daily_bin192.fits outfile=/scratch/kocevski/303147/cmap_HighResolution_289094401_289353601_4FGL_J0811.4+0146_daily_bin192.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.61
user 0.38
sys 0.21

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.762       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.548       1.0000         .10000E-03   10000.    
     4 'norm      '    1.9701       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.687       1.0000         .10000E-03   10000.    
     6 'norm      '    11.205       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9824       1.0000         .10000E-03   10000.    
     8 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3596       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.4106       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .22058E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.7775       1.0000         .10000E-03   10000.    
    15 'norm      '    4.4493       1.0000         .10000E-03   10000.    
    16 'norm      '    .11200E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10207E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.361       1.0000         .10000E-03   10000.    
    19 'norm      '    9.7235       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.9647       1.0000         .10000E-03   10000.    
    22 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83261       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90728       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=   8094.434     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2783 TOTAL
                     EDM=   .80E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.004        .97623E-09** at limit **
   2  Prefactor     32.758        12.142        .27980E-08   -.83000E-05
   3  Prefactor     11.523        24.938        .28291E-05    .10272E-04
   4  norm          1.9702        1.2092       -.11272E-07   -.67089E-04
   5  Prefactor     14.686        13.850        .13702E-07   -.11136E-05
   6  norm          11.197        13.071       -.66182E-07   -.40768E-05
   7  Prefactor     2.9843        4.0694       -.15938E-06   -.31434E-04
   8  norm          .10000E-03    11.190        .47541E-06** at limit **
   9  Prefactor     3.3665        7.6988        .25658E-05   -.24807E-04
  10  Prefactor     .10000E-03    68.540       -.58381E-06** at limit **
  11  Prefactor     6.4095        5.6952        .92627E-07    .70302E-05
  12  Prefactor     .10000E-03    10.149       -.42808E-06** at limit **
  13  norm          .10000E-03    7.1381       -.12051E-06** at limit **
  14  norm          1.7771        1.5607        .28100E-07    .14761E-04
  15  norm          4.4490        1.1539        .20307E-07   -.18241E-04
  16  norm          .10000E-03    8.0694        .12310E-06** at limit **
  17  norm          .10000E-03    1.7092        .58041E-07** at limit **
  18  Prefactor     39.341        35.793        .20343E-05    .51655E-05
  19  norm          9.7227        10.005       -.11744E-06   -.97978E-06
  20  Prefactor     .10000E-03    6.3151       -.11160E-06** at limit **
  21  norm          2.9657        1.2056        .28761E-09   -.99990E-04
  22  norm          .10000E-03    1.8316        .22587E-07** at limit **
  23  Normalizat    .83200        .16707       -.24532E-06    .16907E-04
  24  Prefactor     .90767        .10691       -.37150E-06   -.40792E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 32.7585
  Prefactor  = 11.5225
  norm       = 1.97017
  Prefactor  = 14.6857
  norm       = 11.1974
  Prefactor  = 2.98431
  norm       = 0.0001
  Prefactor  = 3.36647
  Prefactor  = 0.0001
  Prefactor  = 6.40951
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.77714
  norm       = 4.44898
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 39.3408
  norm       = 9.7227
  Prefactor  = 0.0001
  norm       = 2.9657
  norm       = 0.0001
  Normalizat = 0.831999
  Prefactor  = 0.907668
 **********
 **   18 **HESSE 
 **********

 FCN=   8094.434     FROM HESSE     STATUS=OK           405 CALLS     3188 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     32.758        12.171        .70006E-04   -1.4563    
   3  Prefactor     11.523        25.003        .11789E-03   -1.5029    
   4  norm          1.9702        1.2072        .74447E-04   -1.5427    
   5  Prefactor     14.686        13.854        .10451E-03   -1.4941    
   6  norm          11.197        13.132        .11969E-03   -1.5039    
   7  Prefactor     2.9843        4.0633        .19975E-03   -1.5362    
   8  norm          .10000E-03    11.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.3665        7.7276        .11039E-02   -1.5341    
  10  Prefactor     .10000E-03    68.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.4095        5.6883        .15852E-03   -1.5202    
  12  Prefactor     .10000E-03    10.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.4407        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.7771        1.5595        .10089E-03   -1.5441    
  15  norm          4.4490        1.1545        .46731E-04   -1.5286    
  16  norm          .10000E-03    8.0797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.8055        .22775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     39.341        35.966        .63888E-04   -1.4453    
  19  norm          9.7227        10.008        .64255E-03   -1.5084    
  20  Prefactor     .10000E-03    6.3459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.9657        1.2080        .59042E-04   -1.5364    
  22  norm          .10000E-03    1.8385        .11890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .83200        .19152        .30539E-03   -.98892    
  24  Prefactor     .90767        .12364        .19234E-03   -.95874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70723e-11
Minuit parameter uncertainties:
  1  9.28366e-06
  2  12.1717
  3  25.0253
  4  1.20719
  5  13.8572
  6  13.135
  7  4.06368
  8  2.38319e-06
  9  7.72992
  10  1.34146e-05
  11  5.6888
  12  1.50108e-05
  13  1.44268e-05
  14  1.55955
  15  1.15446
  16  2.71626e-05
  17  2.02358e-06
  18  35.9853
  19  10.0093
  20  1.44765e-05
  21  1.20798
  22  1.28605e-06
  23  0.191679
  24  0.12368
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  2.024e-06  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.077e-01  1.237e-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.320e-01  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/303147/likelihoodResults_289094401_289353601_4FGL_J0811.4+0146_daily_bin192.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): 102
logL (Free Index) = 8094.43496003
delta logL = -0.00125059815309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8094.43371101
delta logL = -1.57681461133e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12435E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0636       1.0000          .0000       5.0000    
     3 'Normalizat'    .83220       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90757       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8094.377     FROM MIGRAD    STATUS=FAILED       196 CALLS      361 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17749        .53052        .20216E-02   -.62996E-01
   2  alpha         3.6762        1.0404        .50000       -.56211E-04
   3  Normalizat    .81075        .18476        .30539E-03   -.78177E-05
   4  Prefactor     .91439        .11698        .19234E-03    .12649E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8094.377     FROM SIMPLEX   STATUS=UNCHANGED     68 CALLS      429 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17749        .53052        .81595E-04   -1.5792    
   2  alpha         3.6762        1.0404        .46934E-02    2.6517    
   3  Normalizat    .81075        .18476        .33050E-03   -.99671    
   4  Prefactor     .91439        .11698        .13170E-03   -.95640    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8094.377     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      469 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17749        .64103        .40431E-03   -.19621E-03
   2  alpha         3.6762        1.6970        .42511E-01   -.96795E-05
   3  Normalizat    .81075        .18742        .12215E-04    .72593E-05
   4  Prefactor     .91439        .11765        .76937E-05    .65017E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.177495
  alpha      = 3.67624
  Normalizat = 0.810754
  Prefactor  = 0.914387
 **********
 **   18 **HESSE 
 **********

 FCN=   8094.377     FROM HESSE     STATUS=OK            27 CALLS      496 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17749        1.4989        .16173E-04   -1.5792    
   2  alpha         3.6762        3.0869        .17005E-02    2.6517    
   3  Normalizat    .81075        .18645        .24431E-05   -.99671    
   4  Prefactor     .91439        .11751        .15387E-05   -.95640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31221e-12
Minuit parameter uncertainties:
  1  1.03134
  2  3.15272
  3  0.186595
  4  0.117541
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303147': 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) = 8094.37662645
delta logL = 0.0570829832059

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.775e-01  1.031e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  3.676e+00  3.153e+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.144e-01  1.175e-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.108e-01  1.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.861 1.776

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/303147/cmap_HighResolution_289094401_289353601_4FGL_J0811.4+0146_daily_bin192.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-05', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2021-08-29 12:16:09.831700', job_id='303147', GAL2='0.91', fit_tolerance='1e-08', EG2='0.81', EG='0.83', time_epoch_completed='1630264569.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='5.71e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='192' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:16:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 303147: <4FGL_J0811.4+0146_daily_bin192> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin192> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 12:00:38 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:00:39 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:00:39 2021
Terminated at Sun Aug 29 12:16:10 2021
Results reported at Sun Aug 29 12:16:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin192 122.861 1.7756 289094401 289353601 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 :                                   760.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             287.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            932 sec.

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

