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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin178
RA = 122.861, Dec = 1.7756
tmin = 285465601, tmax = 285724801
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='303127', job_status='RUN', time_executed='2021-08-29 12:04:27.495407', time_epoch_executed='1630263867.5' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='178'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303127

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303127/ft1_4FGL_J0811.4+0146_daily_bin178.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303127/ft2_4FGL_J0811.4+0146_daily_bin178.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303127/ft1_4FGL_J0811.4+0146_daily_bin178.fits outfile=/scratch/kocevski/303127/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin178.fits ra=122.861 dec=1.7756 rad=12.0 tmin=285465601.0 tmax=285724801.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.75
user 3.23
sys 0.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/303127/ft2_4FGL_J0811.4+0146_daily_bin178.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/303127/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin178.fits evtable="EVENTS" outfile="/scratch/kocevski/303127/ft1_filtered_4FGL_J0811.4+0146_daily_bin178.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.81
user 0.31
sys 0.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/303127/ft1_filtered_4FGL_J0811.4+0146_daily_bin178.fits" evtable="EVENTS" scfile=/scratch/kocevski/303127/ft2_4FGL_J0811.4+0146_daily_bin178.fits sctable="SC_DATA" outfile=/scratch/kocevski/303127/ltcube_285465601_285724801_4FGL_J0811.4+0146_daily_bin178.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/303127/ft2_4FGL_J0811.4+0146_daily_bin178.fits
.....................!
real 12.18
user 11.46
sys 0.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303127/ft1_filtered_4FGL_J0811.4+0146_daily_bin178.fits evtable="EVENTS" scfile=/scratch/kocevski/303127/ft2_4FGL_J0811.4+0146_daily_bin178.fits sctable="SC_DATA" expcube=/scratch/kocevski/303127/ltcube_285465601_285724801_4FGL_J0811.4+0146_daily_bin178.fits outfile=/scratch/kocevski/303127/expmap_285465601_285724801_4FGL_J0811.4+0146_daily_bin178.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/303127/ltcube_285465601_285724801_4FGL_J0811.4+0146_daily_bin178.fits
.....................!
real 193.65
user 187.70
sys 5.56

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/303127/ft1_filtered_4FGL_J0811.4+0146_daily_bin178.fits scfile=/scratch/kocevski/303127/ft2_4FGL_J0811.4+0146_daily_bin178.fits outfile=/scratch/kocevski/303127/cmap_285465601_285724801_4FGL_J0811.4+0146_daily_bin178.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.83
user 0.36
sys 0.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303127/ft1_filtered_4FGL_J0811.4+0146_daily_bin178.fits scfile=/scratch/kocevski/303127/ft2_4FGL_J0811.4+0146_daily_bin178.fits outfile=/scratch/kocevski/303127/cmap_HighResolution_285465601_285724801_4FGL_J0811.4+0146_daily_bin178.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.85
user 0.39
sys 0.45

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.498       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.134       1.0000         .10000E-03   10000.    
     4 'norm      '    1.3512       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .81629E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .28465E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.1805       1.0000         .10000E-03   10000.    
    14 'norm      '    1.3900       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7721       1.0000         .10000E-03   10000.    
    16 'norm      '    27.426       1.0000         .10000E-03   10000.    
    17 'norm      '    3.2573       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.9305       1.0000         .10000E-03   10000.    
    22 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96533       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99781       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=   6927.268     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     2715 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.500        37.502        .12355E-06    .86077E-05
   2  Prefactor     .10000E-03    6.6636       -.77080E-07** at limit **
   3  Prefactor     37.111        35.784       -.11285E-05   -.20385E-03
   4  norm          1.3505        1.3171        .18628E-07   -.18588E-04
   5  Prefactor     .10000E-03    15.445       -.33959E-07** at limit **
   6  norm          .10000E-03    7.6088        .30950E-06** at limit **
   7  Prefactor     .10004E-03    2.5229        .31554E-07** at limit **
   8  norm          .10000E-03    20.345        .11402E-06** at limit **
   9  Prefactor     .10000E-03    5.0039        .19371E-07** at limit **
  10  Prefactor     .10000E-03    51.656       -.28418E-06** at limit **
  11  Prefactor     .10000E-03    3.9680       -.77399E-07** at limit **
  12  Prefactor     .10001E-03    98.436        .52808E-05** at limit **
  13  norm          7.1720        9.0971        .22227E-05   -.34786E-03
  14  norm          1.3898        1.3390       -.49460E-07    .29623E-04
  15  norm          1.7717        1.1798        .38551E-07   -.85409E-04
  16  norm          27.408        20.577        .90833E-06    .16421E-03
  17  norm          3.2552        3.4980        .10012E-07   -.10780E-03
  18  Prefactor     .10000E-03    12.373        .21994E-07** at limit **
  19  norm          .10000E-03    9.4593        .11908E-06** at limit **
  20  Prefactor     .10000E-03    8.0209       -.28674E-06** at limit **
  21  norm          4.9291        1.4655        .56786E-08   -.72122E-04
  22  norm          .10000E-03    6.2105        .49222E-07** at limit **
  23  Normalizat    .96625        .20076       -.52769E-06   -.32839E-04
  24  Prefactor     .99750        .12238        .84526E-07   -.74649E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.5002
  Prefactor  = 0.0001
  Prefactor  = 37.111
  norm       = 1.35055
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100043
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 7.17202
  norm       = 1.3898
  norm       = 1.77175
  norm       = 27.4078
  norm       = 3.25524
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.92906
  norm       = 0.0001
  Normalizat = 0.966248
  Prefactor  = 0.997501
 **********
 **   18 **HESSE 
 **********

 FCN=   6927.268     FROM HESSE     STATUS=OK           397 CALLS     3112 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.500        37.530        .60786E-04   -1.4388    
   2  Prefactor     .10000E-03    6.7287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.111        36.928        .65769E-04   -1.4489    
   4  norm          1.3505        1.3152        .90478E-04   -1.5476    
   5  Prefactor     .10000E-03    15.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.6503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10004E-03    6.1159        .42040E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    20.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.0149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    51.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.9950        .16194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    101.34        .21412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.1720        9.3811        .74847E-03   -1.5172    
  14  norm          1.3898        1.3592        .91349E-04   -1.5472    
  15  norm          1.7717        1.1719        .69853E-04   -1.5442    
  16  norm          27.408        20.650        .76498E-04   -1.4660    
  17  norm          3.2552        3.4920        .15528E-03   -1.5347    
  18  Prefactor     .10000E-03    12.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    9.4876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.0834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.9291        1.4710        .52237E-04   -1.5264    
  22  norm          .10000E-03    6.2654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .96625        .23384        .31845E-03   -.94170    
  24  Prefactor     .99750        .14244        .19703E-03   -.92813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35667e-10
Minuit parameter uncertainties:
  1  37.5509
  2  1.08538e-05
  3  36.9508
  4  1.31522
  5  9.56776e-06
  6  4.69417e-05
  7  0.00102359
  8  1.84218e-05
  9  4.62684e-07
  10  0.000119293
  11  7.83352e-06
  12  0.00169038
  13  9.38305
  14  1.35919
  15  1.17195
  16  20.6555
  17  3.49217
  18  9.49103e-06
  19  1.95771e-05
  20  5.19339e-05
  21  1.47101
  22  3.7623e-06
  23  0.234088
  24  0.142492
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  3.255e+00  3.492e+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.975e-01  1.425e-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.662e-01  2.341e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.68
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 2.50e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 1.48e-05

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

Saving results to:
/scratch/kocevski/303127/likelihoodResults_285465601_285724801_4FGL_J0811.4+0146_daily_bin178.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) = 6926.71724042
delta logL = 0.55048608396

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6926.69112971
delta logL = 0.576596792966

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5035       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1786       1.0000          .0000       5.0000    
     3 'Normalizat'    .97319       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99685       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=   6926.691     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5110        2.2500        .64569E-02    .46401E-04
   2  alpha         1.1798        .39672        .38257       -.60125E-04
   3  Normalizat    .97322        .19042        .71700E-01    .19402E-04
   4  Prefactor     .99681        .12026        .46228E-01    .43680E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.51103
  alpha      = 1.17979
  Normalizat = 0.97322
  Prefactor  = 0.99681
 **********
 **   18 **HESSE 
 **********

 FCN=   6926.691     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5110        3.0322        .11447E-03   -1.5391    
   2  alpha         1.1798        .59399        .15172E-01   -.55634    
   3  Normalizat    .97322        .21948        .31723E-03   -.93933    
   4  Prefactor     .99681        .13886        .19708E-03   -.92836    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.45592e-12
Minuit parameter uncertainties:
  1  3.03241
  2  0.602023
  3  0.219686
  4  0.138914
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303127': 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) = 6926.69112684
delta logL = 0.576599664929

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.511e+00  3.032e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.180e+00  6.020e-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.968e-01  1.389e-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.732e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.83
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.18 +/- 0.60
Photon Flux (Free Index): 1.08e-08 +/- 1.23e-08
Energy Flux (Free Index): 5.21e-05 +/- 6.84e-05

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/303127/cmap_HighResolution_285465601_285724801_4FGL_J0811.4+0146_daily_bin178.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-05', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='5.21e-05', photon_flux_error='2.50e-08', dlogl='5.77e-01', energy_flux='1.38e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2021-08-29 12:15:40.467654', photon_index_error2='0.60', photon_index2='1.18', ts='1.68', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='8.79e-08', energy_flux_error2='6.84e-05', EG='0.97', time_epoch_completed='1630264540.47', return_code='0', job_id='303127', GAL2='1.00', EG2='0.97', return_code2='0', energy_flux_error='1.48e-05', photon_flux_error2='1.23e-08', ts2='2.83', photon_index='2.01' WHERE bin_id='178' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:15:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 303127: <4FGL_J0811.4+0146_daily_bin178> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin178 122.861 1.7756 285465601 285724801 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 :                                   678.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            904 sec.

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

