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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin756
RA = 122.861, Dec = 1.7756
tmin = 435283201, tmax = 435542401
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='308013', job_status='RUN', time_executed='2021-08-29 12:19:58.731004', time_epoch_executed='1630264798.73' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/308013

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/308013/ft1_4FGL_J0811.4+0146_daily_bin756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/308013/ft2_4FGL_J0811.4+0146_daily_bin756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/308013/ft1_4FGL_J0811.4+0146_daily_bin756.fits outfile=/scratch/kocevski/308013/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin756.fits ra=122.861 dec=1.7756 rad=12.0 tmin=435283201.0 tmax=435542401.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.44
user 4.89
sys 0.43

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/308013/ft2_4FGL_J0811.4+0146_daily_bin756.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/308013/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin756.fits evtable="EVENTS" outfile="/scratch/kocevski/308013/ft1_filtered_4FGL_J0811.4+0146_daily_bin756.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.88
user 0.32
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/308013/ft1_filtered_4FGL_J0811.4+0146_daily_bin756.fits" evtable="EVENTS" scfile=/scratch/kocevski/308013/ft2_4FGL_J0811.4+0146_daily_bin756.fits sctable="SC_DATA" outfile=/scratch/kocevski/308013/ltcube_435283201_435542401_4FGL_J0811.4+0146_daily_bin756.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/308013/ft2_4FGL_J0811.4+0146_daily_bin756.fits
.....................!
real 12.69
user 11.87
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/308013/ft1_filtered_4FGL_J0811.4+0146_daily_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/308013/ft2_4FGL_J0811.4+0146_daily_bin756.fits sctable="SC_DATA" expcube=/scratch/kocevski/308013/ltcube_435283201_435542401_4FGL_J0811.4+0146_daily_bin756.fits outfile=/scratch/kocevski/308013/expmap_435283201_435542401_4FGL_J0811.4+0146_daily_bin756.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/308013/ltcube_435283201_435542401_4FGL_J0811.4+0146_daily_bin756.fits
.....................!
real 192.10
user 186.63
sys 4.98

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/308013/ft1_filtered_4FGL_J0811.4+0146_daily_bin756.fits scfile=/scratch/kocevski/308013/ft2_4FGL_J0811.4+0146_daily_bin756.fits outfile=/scratch/kocevski/308013/cmap_435283201_435542401_4FGL_J0811.4+0146_daily_bin756.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.91
user 0.37
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/308013/ft1_filtered_4FGL_J0811.4+0146_daily_bin756.fits scfile=/scratch/kocevski/308013/ft2_4FGL_J0811.4+0146_daily_bin756.fits outfile=/scratch/kocevski/308013/cmap_HighResolution_435283201_435542401_4FGL_J0811.4+0146_daily_bin756.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.01
user 0.38
sys 0.36

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.082       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.308       1.0000         .10000E-03   10000.    
     6 'norm      '    .10493E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .17195E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .22355E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.513       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.633       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.365       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.6046       1.0000         .10000E-03   10000.    
    15 'norm      '    .15554       1.0000         .10000E-03   10000.    
    16 'norm      '    .10279E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    10.028       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.269       1.0000         .10000E-03   10000.    
    19 'norm      '    1.7272       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10373E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.1745       1.0000         .10000E-03   10000.    
    22 'norm      '    9.4984       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .74255       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1338       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=   6390.643     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     2407 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.426       -.14340E-05** at limit **
   2  Prefactor     .10000E-03    3.0207       -.24005E-06** at limit **
   3  Prefactor     40.075        40.614        .98961E-06    .64257E-04
   4  norm          .10000E-03    .79837       -.15042E-06** at limit **
   5  Prefactor     23.293        26.461        .13243E-05    .24981E-04
   6  norm          .10000E-03    33.090        .56439E-05** at limit **
   7  Prefactor     .10001E-03    2.2602        .22427E-07** at limit **
   8  norm          .10001E-03    147.51       -.48531E-04** at limit **
   9  Prefactor     11.503        10.594        .11718E-05    .77748E-03
  10  Prefactor     .10000E-03    62.983       -.11392E-04** at limit **
  11  Prefactor     18.632        10.422        .45474E-06    .26272E-04
  12  Prefactor     22.358        31.531        .10007E-06    .17000E-04
  13  norm          .10000E-03    15.944        .66598E-06** at limit **
  14  norm          3.6070        3.3295        .19636E-06    .40799E-03
  15  norm          .15085        .76145       -.51064E-07    .22946E-03
  16  norm          .10000E-03    12.376        .11319E-05** at limit **
  17  norm          10.030        4.7780       -.17953E-07    .28134E-04
  18  Prefactor     12.232        30.940        .68604E-05    .58162E-04
  19  norm          1.7303        36.270       -.68460E-05    .41719E-04
  20  Prefactor     .10000E-03    21.139       -.26847E-05** at limit **
  21  norm          1.1748        1.0983       -.45267E-06   -.24736E-03
  22  norm          9.4959        9.7162       -.27958E-06    .81408E-04
  23  Normalizat    .74280        .21742       -.19019E-06    .61192E-03
  24  Prefactor     1.1337        .13765        .20161E-05    .20821E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.0753
  norm       = 0.0001
  Prefactor  = 23.2934
  norm       = 0.000100002
  Prefactor  = 0.000100009
  norm       = 0.000100008
  Prefactor  = 11.5026
  Prefactor  = 0.0001
  Prefactor  = 18.6323
  Prefactor  = 22.358
  norm       = 0.000100001
  norm       = 3.60701
  norm       = 0.150854
  norm       = 0.0001
  norm       = 10.03
  Prefactor  = 12.232
  norm       = 1.7303
  Prefactor  = 0.000100001
  norm       = 1.17476
  norm       = 9.49593
  Normalizat = 0.742795
  Prefactor  = 1.13369
 **********
 **   18 **HESSE 
 **********

 FCN=   6390.643     FROM HESSE     STATUS=OK           407 CALLS     2814 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.0264        .13571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     40.075        40.634        .63313E-04   -1.4441    
   4  norm          .10000E-03    .81708        .69701E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.293        26.513        .82969E-04   -1.4742    
   6  norm          .10000E-03    33.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    10.475        .22966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10001E-03    14.966        .92005E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.503        10.742        .11806E-03   -1.5030    
  10  Prefactor     .10000E-03    63.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.632        10.404        .92785E-04   -1.4844    
  12  Prefactor     22.358        31.540        .84697E-04   -1.4762    
  13  norm          .10000E-03    16.308        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.6070        3.2899        .12593E-03   -1.5328    
  15  norm          .15085        2.4682        .12374E-02   -1.5630    
  16  norm          .10000E-03    12.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.030        4.7763        .11572E-03   -1.5074    
  18  Prefactor     12.232        31.042        .11436E-03   -1.5008    
  19  norm          1.7303        36.267        .31950E-03   -1.5445    
  20  Prefactor     .10000E-03    21.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.1748        1.0779        .77109E-04   -1.5491    
  22  norm          9.4959        9.7113        .13003E-03   -1.5092    
  23  Normalizat    .74280        .23822        .35421E-03   -1.0223    
  24  Prefactor     1.1337        .15170        .18965E-03   -.88397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79202e-09
Minuit parameter uncertainties:
  1  6.0096e-05
  2  1.06245e-05
  3  40.6617
  4  1.46775e-05
  5  26.5259
  6  0.000463063
  7  0.000598491
  8  0.000679251
  9  10.744
  10  0.000125628
  11  10.4053
  12  31.5637
  13  0.000229296
  14  3.29004
  15  1.22005
  16  0.000140762
  17  4.77645
  18  31.0828
  19  15.854
  20  0.000236888
  21  1.07793
  22  9.71293
  23  0.238556
  24  0.151762
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.003e+01  4.776e+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.134e+00  1.518e-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:  7.428e-01  2.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.61
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 7.20e-08 +/- 3.43e-08
Energy Flux (Fixed Index): 4.26e-05 +/- 2.03e-05

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) = 6390.35385633
delta logL = 0.289576999445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6390.33987985
delta logL = 0.303553476747

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0497       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3405       1.0000          .0000       5.0000    
     3 'Normalizat'    .71299       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1435       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=   6390.340     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      269 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0498        4.6830        .10238E-03   -.22352E-03
   2  alpha         2.3404        .44177        .10216E-01   -.43367E-04
   3  Normalizat    .71300        .22963        .36078E-03    .31827E-04
   4  Prefactor     1.1435        .14748        .18887E-03    .54596E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.04982
  alpha      = 2.34044
  Normalizat = 0.712995
  Prefactor  = 1.1435
 **********
 **   18 **HESSE 
 **********

 FCN=   6390.340     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0498        4.5964        .40953E-05   -1.5106    
   2  alpha         2.3404        .43326        .40864E-03   -.63867E-01
   3  Normalizat    .71300        .22962        .14431E-04   -1.0338    
   4  Prefactor     1.1435        .14751        .37773E-04   -.88088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.70685e-11
Minuit parameter uncertainties:
  1  4.59655
  2  0.435469
  3  0.229926
  4  0.147568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/308013': 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) = 6390.33987985
delta logL = 0.303553479591

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  9.050e+00  4.597e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.340e+00  4.355e-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.143e+00  1.476e-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:  7.130e-01  2.299e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.23
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.34 +/- 0.44
Photon Flux (Free Index): 1.00e-07 +/- 5.78e-08
Energy Flux (Free Index): 3.57e-05 +/- 1.68e-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/308013/cmap_HighResolution_435283201_435542401_4FGL_J0811.4+0146_daily_bin756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.20e-08', energy_flux2='3.57e-05', photon_flux_error='3.43e-08', dlogl='3.04e-01', energy_flux='4.26e-05', photon_flux2='1.00e-07', job_status='DONE', time_completed='2021-08-29 12:29:35.504758', photon_index_error2='0.44', photon_index2='2.34', ts='14.61', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.68e-05', EG='0.74', time_epoch_completed='1630265375.5', return_code='0', job_id='308013', GAL2='1.14', EG2='0.71', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='5.78e-08', ts2='15.23', photon_index='2.01' WHERE bin_id='756' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:29:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 308013: <4FGL_J0811.4+0146_daily_bin756> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin756 122.861 1.7756 435283201 435542401 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 :                                   576.53 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             259.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            830 sec.

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

