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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin650
RA = 122.861, Dec = 1.7756
tmin = 407808001, tmax = 408067201
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='307856', job_status='RUN', time_executed='2021-08-29 12:20:03.978820', time_epoch_executed='1630264803.98' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307856

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307856/ft1_4FGL_J0811.4+0146_daily_bin650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307856/ft2_4FGL_J0811.4+0146_daily_bin650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307856/ft1_4FGL_J0811.4+0146_daily_bin650.fits outfile=/scratch/kocevski/307856/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin650.fits ra=122.861 dec=1.7756 rad=12.0 tmin=407808001.0 tmax=408067201.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 5.28
user 3.87
sys 1.10

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307856/ft1_filtered_4FGL_J0811.4+0146_daily_bin650.fits" evtable="EVENTS" scfile=/scratch/kocevski/307856/ft2_4FGL_J0811.4+0146_daily_bin650.fits sctable="SC_DATA" outfile=/scratch/kocevski/307856/ltcube_407808001_408067201_4FGL_J0811.4+0146_daily_bin650.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/307856/ft2_4FGL_J0811.4+0146_daily_bin650.fits
.....................!
real 13.35
user 11.76
sys 1.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307856/ft1_filtered_4FGL_J0811.4+0146_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/307856/ft2_4FGL_J0811.4+0146_daily_bin650.fits sctable="SC_DATA" expcube=/scratch/kocevski/307856/ltcube_407808001_408067201_4FGL_J0811.4+0146_daily_bin650.fits outfile=/scratch/kocevski/307856/expmap_407808001_408067201_4FGL_J0811.4+0146_daily_bin650.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/307856/ltcube_407808001_408067201_4FGL_J0811.4+0146_daily_bin650.fits
.....................!
real 192.37
user 186.22
sys 5.77

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/307856/ft1_filtered_4FGL_J0811.4+0146_daily_bin650.fits scfile=/scratch/kocevski/307856/ft2_4FGL_J0811.4+0146_daily_bin650.fits outfile=/scratch/kocevski/307856/cmap_407808001_408067201_4FGL_J0811.4+0146_daily_bin650.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 1.45
user 0.37
sys 1.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307856/ft1_filtered_4FGL_J0811.4+0146_daily_bin650.fits scfile=/scratch/kocevski/307856/ft2_4FGL_J0811.4+0146_daily_bin650.fits outfile=/scratch/kocevski/307856/cmap_HighResolution_407808001_408067201_4FGL_J0811.4+0146_daily_bin650.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 1.42
user 0.40
sys 1.01

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.3593       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.8068       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.1880       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .27200       1.0000         .10000E-03   10000.    
     8 'norm      '    15.274       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    483.43       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.371       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .11124E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.1540       1.0000         .10000E-03   10000.    
    15 'norm      '    1.3844       1.0000         .10000E-03   10000.    
    16 'norm      '    20.226       1.0000         .10000E-03   10000.    
    17 'norm      '    4.0762       1.0000         .10000E-03   10000.    
    18 'Prefactor '    35.433       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.507       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    12.183       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92614       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99907       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=   6808.564     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2748 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    44.682        .47734E-06** at limit **
   2  Prefactor     6.3585        7.2917       -.30070E-08    .39071E-05
   3  Prefactor     .10000E-03    14.174       -.47254E-06** at limit **
   4  norm          1.8064        1.8091        .30042E-07    .13465E-03
   5  Prefactor     .10000E-03    20.924       -.10166E-05** at limit **
   6  norm          6.1868        9.5903        .29728E-07    .98636E-05
   7  Prefactor     .25699        4.2742       -.21066E-05    .89060E-03
   8  norm          15.273        19.292        .19823E-06   -.19848E-04
   9  Prefactor     .10000E-03    7.3094        .14246E-06** at limit **
  10  Prefactor     483.58        294.39       -.10809E-04   -.10297E-03
  11  Prefactor     11.373        8.8155       -.25331E-06    .11639E-03
  12  Prefactor     .10000E-03    21.236       -.17378E-05** at limit **
  13  norm          .10004E-03    8.8966       -.48523E-05** at limit **
  14  norm          4.1540        2.2391       -.79800E-08    .85986E-04
  15  norm          1.3842        .97824        .12200E-07    .13033E-03
  16  norm          20.215        31.286        .30879E-05    .99015E-04
  17  norm          4.0779        4.2443        .14097E-05    .17733E-02
  18  Prefactor     35.458        61.041       -.60909E-05   -.74119E-04
  19  norm          .10000E-03    4.8401       -.11474E-07** at limit **
  20  Prefactor     21.501        22.242        .16044E-05    .38075E-04
  21  norm          .10000E-03    .33527       -.20120E-08** at limit **
  22  norm          12.184        9.8137        .12271E-06    .22740E-04
  23  Normalizat    .92591        .20926       -.12277E-05    .31482E-04
  24  Prefactor     .99926        .12488        .20009E-06    .12374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.35852
  Prefactor  = 0.0001
  norm       = 1.80639
  Prefactor  = 0.0001
  norm       = 6.18676
  Prefactor  = 0.256992
  norm       = 15.2726
  Prefactor  = 0.0001
  Prefactor  = 483.576
  Prefactor  = 11.3728
  Prefactor  = 0.0001
  norm       = 0.000100041
  norm       = 4.15396
  norm       = 1.38415
  norm       = 20.2146
  norm       = 4.07788
  Prefactor  = 35.4583
  norm       = 0.0001
  Prefactor  = 21.501
  norm       = 0.0001
  norm       = 12.1842
  Normalizat = 0.925912
  Prefactor  = 0.999257
 **********
 **   18 **HESSE 
 **********

 FCN=   6808.564     FROM HESSE     STATUS=OK           403 CALLS     3151 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.3585        7.2948        .15917E-03   -1.5204    
   3  Prefactor     .10000E-03    14.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.8064        1.7985        .10540E-03   -1.5439    
   5  Prefactor     .10000E-03    20.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.1868        9.5953        .16138E-03   -1.5210    
   7  Prefactor     .25699        24.330        .26290E-02   -1.5607    
   8  norm          15.273        19.272        .10248E-03   -1.4926    
   9  Prefactor     .10000E-03    7.3228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     483.58        314.19        .93244E-04   -1.1274    
  11  Prefactor     11.373        8.7529        .11881E-03   -1.5033    
  12  Prefactor     .10000E-03    21.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10004E-03    18.640        .35320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.1540        2.2364        .86536E-04   -1.5300    
  15  norm          1.3842        .96553        .65156E-04   -1.5473    
  16  norm          20.215        31.338        .89058E-04   -1.4808    
  17  norm          4.0779        4.5354        .88161E-03   -1.5304    
  18  Prefactor     35.458        61.345        .67324E-04   -1.4516    
  19  norm          .10000E-03    4.8407        .17730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     21.501        22.411        .86369E-04   -1.4780    
  21  norm          .10000E-03    .34548        .93182E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          12.184        9.8462        .11477E-03   -1.5010    
  23  Normalizat    .92591        .24298        .32192E-03   -.95556    
  24  Prefactor     .99926        .14569        .19747E-03   -.92754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42232e-08
Minuit parameter uncertainties:
  1  4.58817e-05
  2  7.29584
  3  2.51884e-05
  4  1.79851
  5  6.36132e-05
  6  9.5977
  7  5.00221
  8  19.2796
  9  4.06543e-05
  10  315.321
  11  8.75387
  12  0.000151559
  13  0.00175215
  14  2.23646
  15  0.96554
  16  31.3639
  17  4.53576
  18  61.4542
  19  3.89958e-07
  20  22.4202
  21  4.44815e-07
  22  9.8475
  23  0.24327
  24  0.145752
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  4.078e+00  4.536e+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.993e-01  1.458e-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.259e-01  2.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.10
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 2.93e-08 +/- 3.25e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 1.93e-05

TS (Fixed Index): 1.10
Ra Dec: 122.861 1.776
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/307856/likelihoodResults_407808001_408067201_4FGL_J0811.4+0146_daily_bin650.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) = 6808.40905382
delta logL = 0.154707881445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6808.40420815
delta logL = 0.159553554685

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8070       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4029       1.0000          .0000       5.0000    
     3 'Normalizat'    .90781       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0047       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=   6808.404     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      238 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8073        4.3174        .14741E-03   -.72729E-03
   2  alpha         2.4033        .74763        .15332E-01   -.54668E-04
   3  Normalizat    .90777        .21943        .32479E-03    .30257E-03
   4  Prefactor     1.0047        .13817        .19696E-03    .67776E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.80731
  alpha      = 2.40325
  Normalizat = 0.907769
  Prefactor  = 1.0047
 **********
 **   18 **HESSE 
 **********

 FCN=   6808.404     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8073        4.1670        .58962E-05   -1.5318    
   2  alpha         2.4033        .72150        .61329E-03   -.38710E-01
   3  Normalizat    .90777        .21944        .12992E-04   -.96188    
   4  Prefactor     1.0047        .13816        .39392E-04   -.92573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.73286e-10
Minuit parameter uncertainties:
  1  4.16731
  2  0.73193
  3  0.219656
  4  0.138213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307856': 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) = 6808.404208
delta logL = 0.159553701968

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  3.807e+00  4.167e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.403e+00  7.319e-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.005e+00  1.382e-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.078e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.40 +/- 0.73
Photon Flux (Free Index): 4.62e-08 +/- 5.11e-08
Energy Flux (Free Index): 1.53e-05 +/- 1.53e-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/307856/cmap_HighResolution_407808001_408067201_4FGL_J0811.4+0146_daily_bin650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.01e-05', comment='SUCCESS', photon_flux='2.93e-08', energy_flux2='1.53e-05', photon_flux_error='3.25e-08', dlogl='1.60e-01', energy_flux='1.73e-05', photon_flux2='4.62e-08', job_status='DONE', time_completed='2021-08-29 12:31:26.898825', photon_index_error2='0.73', photon_index2='2.40', ts='1.10', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.53e-05', EG='0.93', time_epoch_completed='1630265486.9', return_code='0', job_id='307856', GAL2='1.00', EG2='0.91', return_code2='0', energy_flux_error='1.93e-05', photon_flux_error2='5.11e-08', ts2='1.42', photon_index='2.01' WHERE bin_id='650' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:31:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 307856: <4FGL_J0811.4+0146_daily_bin650> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin650> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 12:15:34 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:15:36 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:15:36 2021
Terminated at Sun Aug 29 12:31:27 2021
Results reported at Sun Aug 29 12:31:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin650 122.861 1.7756 407808001 408067201 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 :                                   695.50 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             287.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            953 sec.

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

