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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin546
RA = 122.861, Dec = 1.7756
tmin = 380851201, tmax = 381110401
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='307706', job_status='RUN', time_executed='2021-08-29 12:19:07.188702', time_epoch_executed='1630264747.19' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='546'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307706

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307706/ft1_4FGL_J0811.4+0146_daily_bin546.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307706/ft2_4FGL_J0811.4+0146_daily_bin546.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307706/ft1_4FGL_J0811.4+0146_daily_bin546.fits outfile=/scratch/kocevski/307706/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin546.fits ra=122.861 dec=1.7756 rad=12.0 tmin=380851201.0 tmax=381110401.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 4.79
user 3.23
sys 1.35

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307706/ft2_4FGL_J0811.4+0146_daily_bin546.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/307706/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin546.fits evtable="EVENTS" outfile="/scratch/kocevski/307706/ft1_filtered_4FGL_J0811.4+0146_daily_bin546.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.87
user 0.34
sys 1.35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307706/ft1_filtered_4FGL_J0811.4+0146_daily_bin546.fits" evtable="EVENTS" scfile=/scratch/kocevski/307706/ft2_4FGL_J0811.4+0146_daily_bin546.fits sctable="SC_DATA" outfile=/scratch/kocevski/307706/ltcube_380851201_381110401_4FGL_J0811.4+0146_daily_bin546.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/307706/ft2_4FGL_J0811.4+0146_daily_bin546.fits
.....................!
real 13.28
user 11.62
sys 1.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307706/ft1_filtered_4FGL_J0811.4+0146_daily_bin546.fits evtable="EVENTS" scfile=/scratch/kocevski/307706/ft2_4FGL_J0811.4+0146_daily_bin546.fits sctable="SC_DATA" expcube=/scratch/kocevski/307706/ltcube_380851201_381110401_4FGL_J0811.4+0146_daily_bin546.fits outfile=/scratch/kocevski/307706/expmap_380851201_381110401_4FGL_J0811.4+0146_daily_bin546.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/307706/ltcube_380851201_381110401_4FGL_J0811.4+0146_daily_bin546.fits
.....................!
real 192.27
user 185.91
sys 5.93

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/307706/ft1_filtered_4FGL_J0811.4+0146_daily_bin546.fits scfile=/scratch/kocevski/307706/ft2_4FGL_J0811.4+0146_daily_bin546.fits outfile=/scratch/kocevski/307706/cmap_380851201_381110401_4FGL_J0811.4+0146_daily_bin546.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.75
user 0.37
sys 1.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307706/ft1_filtered_4FGL_J0811.4+0146_daily_bin546.fits scfile=/scratch/kocevski/307706/ft2_4FGL_J0811.4+0146_daily_bin546.fits outfile=/scratch/kocevski/307706/cmap_HighResolution_380851201_381110401_4FGL_J0811.4+0146_daily_bin546.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.75
user 0.37
sys 1.33

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    7.9594       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.5585       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4304       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.6060       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14643E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.6124       1.0000         .10000E-03   10000.    
    14 'norm      '    .15192E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.5996       1.0000         .10000E-03   10000.    
    16 'norm      '    11.574       1.0000         .10000E-03   10000.    
    17 'norm      '    .10130E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.4008       1.0000         .10000E-03   10000.    
    22 'norm      '    7.3773       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1829       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73021       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=   6863.653     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2302 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.038       -.43542E-06** at limit **
   2  Prefactor     7.9591        7.6925        .88171E-06   -.30746E-03
   3  Prefactor     .10000E-03    28.401       -.20541E-05** at limit **
   4  norm          1.5586        1.2519        .25796E-08   -.24446E-04
   5  Prefactor     .10000E-03    10.061       -.11209E-05** at limit **
   6  norm          .10000E-03    7.9807        .10496E-05** at limit **
   7  Prefactor     2.4304        4.8769        .31825E-06   -.26492E-03
   8  norm          .10000E-03    12.149        .99638E-06** at limit **
   9  Prefactor     6.6080        10.879        .38577E-07   -.51707E-04
  10  Prefactor     .10000E-03    85.151       -.73246E-06** at limit **
  11  Prefactor     .10000E-03    1.9802       -.63257E-08** at limit **
  12  Prefactor     .10000E-03    30.720        .18319E-05** at limit **
  13  norm          6.6129        6.6225        .76692E-06   -.31348E-03
  14  norm          .10001E-03    .98152        .24920E-06** at limit **
  15  norm          3.5994        1.1756        .94332E-08   -.35860E-03
  16  norm          11.573        15.971        .11329E-06   -.34512E-04
  17  norm          .10000E-03    2.9721       -.17833E-07** at limit **
  18  Prefactor     .10000E-03    9.4687       -.53021E-07** at limit **
  19  norm          .10000E-03    7.1004       -.10144E-05** at limit **
  20  Prefactor     .10000E-03    30.029        .79310E-06** at limit **
  21  norm          2.4010        1.1293        .81147E-08   -.85286E-04
  22  norm          7.3776        6.4616        .52509E-06   -.24084E-03
  23  Normalizat    1.1828        .17728       -.14626E-06   -.77293E-04
  24  Prefactor     .73029        .10870       -.25593E-06   -.88598E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.95908
  Prefactor  = 0.000100001
  norm       = 1.55862
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.43042
  norm       = 0.0001
  Prefactor  = 6.60796
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 6.61293
  norm       = 0.000100006
  norm       = 3.59945
  norm       = 11.5727
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.40099
  norm       = 7.37757
  Normalizat = 1.18277
  Prefactor  = 0.730286
 **********
 **   18 **HESSE 
 **********

 FCN=   6863.653     FROM HESSE     STATUS=OK           397 CALLS     2699 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9591        7.8910        .71060E-03   -1.5144    
   3  Prefactor     .10000E-03    29.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5586        1.2477        .80006E-04   -1.5458    
   5  Prefactor     .10000E-03    10.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.2277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.4304        4.9576        .24812E-03   -1.5396    
   8  norm          .10000E-03    12.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.6080        10.835        .15613E-03   -1.5194    
  10  Prefactor     .10000E-03    85.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.9868        .11384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.6129        6.7586        .78028E-03   -1.5194    
  14  norm          .10001E-03    6.9266        .15457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.5994        1.1678        .48844E-04   -1.5329    
  16  norm          11.573        15.987        .11776E-03   -1.5027    
  17  norm          .10000E-03    3.0718        .27869E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.4723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.3184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    30.926        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.4010        1.1303        .57380E-04   -1.5398    
  22  norm          7.3776        6.5355        .73832E-03   -1.5165    
  23  Normalizat    1.1828        .20354        .26479E-03   -.87137    
  24  Prefactor     .73029        .12433        .20471E-03   -1.0235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33865e-09
Minuit parameter uncertainties:
  1  6.8256e-05
  2  7.89202
  3  0.000404991
  4  1.24772
  5  0.00013346
  6  0.000109462
  7  4.95842
  8  0.000132079
  9  10.8381
  10  0.000234144
  11  9.3239e-07
  12  0.000370167
  13  6.75939
  14  0.000407084
  15  1.16783
  16  15.9934
  17  2.44998e-06
  18  6.33892e-06
  19  0.000101566
  20  0.000139769
  21  1.13028
  22  6.53616
  23  0.203675
  24  0.124379
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  2.450e-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:  7.303e-01  1.244e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  1.183e+00  2.037e-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: 5.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.29e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/307706/likelihoodResults_380851201_381110401_4FGL_J0811.4+0146_daily_bin546.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) = 6863.65408484
delta logL = -0.00155319949135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6863.65251928
delta logL = 1.23622412502e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8141       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1828       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73027       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=   6863.653     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      276 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .24728        .53647E-01** at limit **
   2  alpha         2.8136        3.9053        .41570       -.68943E-06
   3  Normalizat    1.1828        .27831E-02    .59872E-01    .71615E-06
   4  Prefactor     .73029        .17409E-02    .42803E-01    .12609E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.81363
  Normalizat = 1.18277
  Prefactor  = 0.730287
 **********
 **   18 **HESSE 
 **********

 FCN=   6863.653     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      311 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    258.24        .13603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.8136        3.2123        .50000        .12578    
   3  Normalizat    1.1828        .21816E-01    .26479E-03   -.87137    
   4  Prefactor     .73029        .13649E-01    .20471E-03   -1.0235    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.71324e-08
Minuit parameter uncertainties:
  1  0.00012356
  2  477.527
  3  0.0218159
  4  0.0136491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307706': 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): 102
logL (Free Index) = 6863.65251925
delta logL = 1.23908557725e-05

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  1.236e-04  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.814e+00  4.775e+02  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:  7.303e-01  1.365e-02  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  1.183e+00  2.182e-02  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/307706/cmap_HighResolution_380851201_381110401_4FGL_J0811.4+0146_daily_bin546.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-05', job_status='DONE', photon_flux_upper_limit='5.56e-08', time_completed='2021-08-29 12:30:09.732234', job_id='307706', GAL2='0.73', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1630265409.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.24e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='546' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:30:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 307706: <4FGL_J0811.4+0146_daily_bin546> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin546> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 12:15:23 2021
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:15:25 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:25 2021
Terminated at Sun Aug 29 12:30:10 2021
Results reported at Sun Aug 29 12:30:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin546 122.861 1.7756 380851201 381110401 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 :                                   679.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            887 sec.

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

