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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin449
RA = 122.861, Dec = 1.7756
tmin = 355708801, tmax = 355968001
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='306288', job_status='RUN', time_executed='2021-08-29 12:13:16.724132', time_epoch_executed='1630264396.72' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='449'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/306288

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/306288/ft1_4FGL_J0811.4+0146_daily_bin449.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/306288/ft2_4FGL_J0811.4+0146_daily_bin449.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/306288/ft1_4FGL_J0811.4+0146_daily_bin449.fits outfile=/scratch/kocevski/306288/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin449.fits ra=122.861 dec=1.7756 rad=12.0 tmin=355708801.0 tmax=355968001.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.06
user 4.78
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/306288/ft1_filtered_4FGL_J0811.4+0146_daily_bin449.fits evtable="EVENTS" scfile=/scratch/kocevski/306288/ft2_4FGL_J0811.4+0146_daily_bin449.fits sctable="SC_DATA" expcube=/scratch/kocevski/306288/ltcube_355708801_355968001_4FGL_J0811.4+0146_daily_bin449.fits outfile=/scratch/kocevski/306288/expmap_355708801_355968001_4FGL_J0811.4+0146_daily_bin449.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/306288/ltcube_355708801_355968001_4FGL_J0811.4+0146_daily_bin449.fits
.....................!
real 189.00
user 184.91
sys 3.72

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/306288/ft1_filtered_4FGL_J0811.4+0146_daily_bin449.fits scfile=/scratch/kocevski/306288/ft2_4FGL_J0811.4+0146_daily_bin449.fits outfile=/scratch/kocevski/306288/cmap_355708801_355968001_4FGL_J0811.4+0146_daily_bin449.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.78
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/306288/ft1_filtered_4FGL_J0811.4+0146_daily_bin449.fits scfile=/scratch/kocevski/306288/ft2_4FGL_J0811.4+0146_daily_bin449.fits outfile=/scratch/kocevski/306288/cmap_HighResolution_355708801_355968001_4FGL_J0811.4+0146_daily_bin449.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.74
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.642       1.0000         .10000E-03   10000.    
     4 'norm      '    .59258       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4299       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.5684       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.273       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.686       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    14.943       1.0000         .10000E-03   10000.    
    14 'norm      '    4.1217       1.0000         .10000E-03   10000.    
    15 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.7131       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.990       1.0000         .10000E-03   10000.    
    21 'norm      '    1.4972       1.0000         .10000E-03   10000.    
    22 'norm      '    1.5206       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .90687       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1004       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=   5833.054     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     3359 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.075        .42381E-05** at limit **
   2  Prefactor     .10000E-03    6.0531       -.87117E-07** at limit **
   3  Prefactor     31.630        38.573       -.13156E-04   -.94409E-05
   4  norm          .59345        1.9332        .21286E-06   -.50817E-03
   5  Prefactor     .10000E-03    9.5686        .39235E-06** at limit **
   6  norm          .10000E-03    32.792        .20241E-07** at limit **
   7  Prefactor     1.4297        3.4847       -.31812E-05   -.11296E-02
   8  norm          .10000E-03    5.7985        .73719E-07** at limit **
   9  Prefactor     6.5682        6.4362       -.65916E-07    .12427E-03
  10  Prefactor     31.352        119.25        .13468E-03    .10659E-04
  11  Prefactor     12.687        9.5705       -.43430E-07   -.38715E-05
  12  Prefactor     .10000E-03    11.633       -.23324E-05** at limit **
  13  norm          14.943        11.658       -.19817E-07   -.10271E-04
  14  norm          4.1218        2.7907       -.35806E-07   -.36803E-04
  15  norm          .10000E-03    .58245       -.38536E-07** at limit **
  16  norm          .10000E-03    16.296       -.27122E-05** at limit **
  17  norm          5.7128        4.7171       -.31814E-06   -.15800E-03
  18  Prefactor     .10000E-03    47.623        .87369E-06** at limit **
  19  norm          .10000E-03    9.5878        .16339E-06** at limit **
  20  Prefactor     11.985        13.212       -.14315E-05   -.78870E-03
  21  norm          1.4971        .87241        .68349E-08    .83675E-04
  22  norm          1.5204        7.1894       -.20929E-05   -.67195E-03
  23  Normalizat    .90689        .20934       -.25641E-07    .56002E-04
  24  Prefactor     1.1004        .14079        .62531E-06    .42474E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.6304
  norm       = 0.593446
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.42967
  norm       = 0.0001
  Prefactor  = 6.56818
  Prefactor  = 31.3521
  Prefactor  = 12.6867
  Prefactor  = 0.0001
  norm       = 14.9428
  norm       = 4.12185
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.71283
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.9848
  norm       = 1.49714
  norm       = 1.52039
  Normalizat = 0.906888
  Prefactor  = 1.10039
 **********
 **   18 **HESSE 
 **********

 FCN=   5833.054     FROM HESSE     STATUS=OK           403 CALLS     3762 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.0808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.630        38.404        .71231E-04   -1.4583    
   4  norm          .59345        2.3572        .17053E-02   -1.5554    
   5  Prefactor     .10000E-03    9.5704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    33.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.4297        3.4813        .21369E-03   -1.5469    
   8  norm          .10000E-03    5.8020        .17962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.5682        6.4398        .15658E-03   -1.5195    
  10  Prefactor     31.352        118.52        .71649E-04   -1.4588    
  11  Prefactor     12.687        9.5650        .11246E-03   -1.4995    
  12  Prefactor     .10000E-03    11.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          14.943        11.655        .10361E-03   -1.4935    
  14  norm          4.1218        2.7584        .10008E-03   -1.5302    
  15  norm          .10000E-03    .98625        .11133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    16.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.7128        4.7132        .14427E-03   -1.5230    
  18  Prefactor     .10000E-03    47.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    9.5907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.985        13.281        .57845E-03   -1.5015    
  21  norm          1.4971        .87237        .52549E-04   -1.5463    
  22  norm          1.5204        7.1830        .34648E-03   -1.5461    
  23  Normalizat    .90689        .23563        .31899E-03   -.96219    
  24  Prefactor     1.1004        .15843        .19442E-03   -.89454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79877e-09
Minuit parameter uncertainties:
  1  1.21638e-05
  2  6.40714e-07
  3  38.4345
  4  2.35758
  5  5.80207e-07
  6  3.11055e-05
  7  3.48176
  8  2.31047e-06
  9  6.44046
  10  119.425
  11  9.56619
  12  6.8679e-06
  13  11.6565
  14  2.75851
  15  3.03275e-06
  16  1.09594e-05
  17  4.7135
  18  1.2689e-05
  19  1.28786e-06
  20  13.2844
  21  0.872376
  22  6.61046
  23  0.235896
  24  0.1585
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.713e+00  4.713e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.005e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  6.882e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  1.100e+00  1.585e-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.069e-01  2.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.53
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 4.10e-08 +/- 3.38e-08
Energy Flux (Fixed Index): 2.43e-05 +/- 2.00e-05

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

Saving results to:
/scratch/kocevski/306288/likelihoodResults_355708801_355968001_4FGL_J0811.4+0146_daily_bin449.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) = 5832.48609651
delta logL = 0.567956014018

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5832.47958014
delta logL = 0.574472385809

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7112       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7896       1.0000          .0000       5.0000    
     3 'Normalizat'    .85971       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1182       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=   5832.480     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      277 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7110        4.6974        .92553E-04    .61785E-04
   2  alpha         2.7897        .86946        .11278E-01    .12230E-04
   3  Normalizat    .85971        .23473        .32649E-03   -.66613E-04
   4  Prefactor     1.1182        .15401        .19299E-03   -.15363E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.71098
  alpha      = 2.78972
  Normalizat = 0.859706
  Prefactor  = 1.11822
 **********
 **   18 **HESSE 
 **********

 FCN=   5832.480     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7110        4.1495        .37021E-05   -1.5323    
   2  alpha         2.7897        .77085        .45111E-03    .11615    
   3  Normalizat    .85971        .23426        .13059E-04   -.97891    
   4  Prefactor     1.1182        .15378        .38598E-04   -.88886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82421e-11
Minuit parameter uncertainties:
  1  4.14986
  2  0.783796
  3  0.234533
  4  0.153844
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/306288': 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) = 5832.47958013
delta logL = 0.574472390558

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  3.711e+00  4.150e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.790e+00  7.838e-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.118e+00  1.538e-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.597e-01  2.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.74
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.79 +/- 0.78
Photon Flux (Free Index): 8.14e-08 +/- 6.13e-08
Energy Flux (Free Index): 1.94e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/306288/cmap_HighResolution_355708801_355968001_4FGL_J0811.4+0146_daily_bin449.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.99e-05', comment='SUCCESS', photon_flux='4.10e-08', energy_flux2='1.94e-05', photon_flux_error='3.38e-08', dlogl='5.74e-01', energy_flux='2.43e-05', photon_flux2='8.14e-08', job_status='DONE', time_completed='2021-08-29 12:24:17.965522', photon_index_error2='0.78', photon_index2='2.79', ts='2.53', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='1.32e-05', EG='0.91', time_epoch_completed='1630265057.97', return_code='0', job_id='306288', GAL2='1.12', EG2='0.86', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='6.13e-08', ts2='3.74', photon_index='2.01' WHERE bin_id='449' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:24:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 306288: <4FGL_J0811.4+0146_daily_bin449> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin449> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:10:34 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:10:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 12:10:35 2021
Terminated at Sun Aug 29 12:24:18 2021
Results reported at Sun Aug 29 12:24:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin449 122.861 1.7756 355708801 355968001 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 :                                   657.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            824 sec.

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

