/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 116 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 = 7686
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0811.4+0146_daily_bin114
RA = 122.861, Dec = 1.7756
tmin = 268876801, tmax = 269136001
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='303036', job_status='RUN', time_executed='2021-08-29 12:03:00.610818', time_epoch_executed='1630263780.61' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='114'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303036

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303036/ft1_4FGL_J0811.4+0146_daily_bin114.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303036/ft2_4FGL_J0811.4+0146_daily_bin114.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303036/ft1_4FGL_J0811.4+0146_daily_bin114.fits outfile=/scratch/kocevski/303036/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin114.fits ra=122.861 dec=1.7756 rad=12.0 tmin=268876801.0 tmax=269136001.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 2.73
user 1.48
sys 1.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/303036/ft1_filtered_4FGL_J0811.4+0146_daily_bin114.fits" evtable="EVENTS" scfile=/scratch/kocevski/303036/ft2_4FGL_J0811.4+0146_daily_bin114.fits sctable="SC_DATA" outfile=/scratch/kocevski/303036/ltcube_268876801_269136001_4FGL_J0811.4+0146_daily_bin114.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/303036/ft2_4FGL_J0811.4+0146_daily_bin114.fits
.....................!
real 13.91
user 12.21
sys 1.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303036/ft1_filtered_4FGL_J0811.4+0146_daily_bin114.fits evtable="EVENTS" scfile=/scratch/kocevski/303036/ft2_4FGL_J0811.4+0146_daily_bin114.fits sctable="SC_DATA" expcube=/scratch/kocevski/303036/ltcube_268876801_269136001_4FGL_J0811.4+0146_daily_bin114.fits outfile=/scratch/kocevski/303036/expmap_268876801_269136001_4FGL_J0811.4+0146_daily_bin114.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/303036/ltcube_268876801_269136001_4FGL_J0811.4+0146_daily_bin114.fits
.....................!
real 193.08
user 186.22
sys 5.65

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/303036/ft1_filtered_4FGL_J0811.4+0146_daily_bin114.fits scfile=/scratch/kocevski/303036/ft2_4FGL_J0811.4+0146_daily_bin114.fits outfile=/scratch/kocevski/303036/cmap_268876801_269136001_4FGL_J0811.4+0146_daily_bin114.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.84
user 0.36
sys 1.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303036/ft1_filtered_4FGL_J0811.4+0146_daily_bin114.fits scfile=/scratch/kocevski/303036/ft2_4FGL_J0811.4+0146_daily_bin114.fits outfile=/scratch/kocevski/303036/cmap_HighResolution_268876801_269136001_4FGL_J0811.4+0146_daily_bin114.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.62
user 0.38
sys 1.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39448E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .21775       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11379E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.126       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.255       1.0000         .10000E-03   10000.    
     8 'norm      '    .10492E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9433       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23138E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4491       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.244       1.0000         .10000E-03   10000.    
    13 'norm      '    6.0068       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.6305       1.0000         .10000E-03   10000.    
    16 'norm      '    11.312       1.0000         .10000E-03   10000.    
    17 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.523       1.0000         .10000E-03   10000.    
    19 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.754       1.0000         .10000E-03   10000.    
    21 'norm      '    1.8915       1.0000         .10000E-03   10000.    
    22 'norm      '    4.5640       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0152       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97003       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=   6901.081     FROM MIGRAD    STATUS=CONVERGED    589 CALLS     2790 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10212E-03    35.342       -.14584E-05** at limit **
   2  Prefactor     .10000E-03    4.5695        .10293E-07** at limit **
   3  Prefactor     .10000E-03    15.019        .48130E-08** at limit **
   4  norm          .21592        1.1035       -.68273E-06   -.66933E-03
   5  Prefactor     .10000E-03    31.278       -.15872E-06** at limit **
   6  norm          12.129        12.736       -.22391E-05   -.14910E-04
   7  Prefactor     14.259        5.8351        .40885E-06    .13190E-03
   8  norm          .10000E-03    9.3386        .26953E-06** at limit **
   9  Prefactor     1.9392        13.473       -.83647E-05   -.25559E-03
  10  Prefactor     .10000E-03    69.946       -.56678E-05** at limit **
  11  Prefactor     2.4550        4.3851       -.22877E-06   -.32480E-03
  12  Prefactor     17.286        24.367       -.40403E-05   -.32396E-06
  13  norm          6.0029        12.435       -.80116E-06   -.87828E-04
  14  norm          .10000E-03    .45600        .19623E-08** at limit **
  15  norm          5.6303        1.4016       -.17623E-07    .31427E-04
  16  norm          11.298        18.032        .46717E-05    .14942E-04
  17  norm          .10000E-03    3.0125        .26664E-06** at limit **
  18  Prefactor     29.554        37.521       -.21398E-04   -.47917E-05
  19  norm          .10000E-03    18.411        .10571E-06** at limit **
  20  Prefactor     12.735        16.953        .12975E-04    .10238E-04
  21  norm          1.8914        .96793       -.14708E-07   -.13051E-03
  22  norm          4.5625        4.6778       -.10990E-07    .80025E-04
  23  Normalizat    1.0154        .20123        .99280E-06    .11540E-03
  24  Prefactor     .96998        .12222        .28880E-06    .23526E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102121
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.215917
  Prefactor  = 0.0001
  norm       = 12.1289
  Prefactor  = 14.2592
  norm       = 0.0001
  Prefactor  = 1.93924
  Prefactor  = 0.0001
  Prefactor  = 2.45498
  Prefactor  = 17.2863
  norm       = 6.00293
  norm       = 0.0001
  norm       = 5.63034
  norm       = 11.2977
  norm       = 0.0001
  Prefactor  = 29.5544
  norm       = 0.0001
  Prefactor  = 12.7348
  norm       = 1.89136
  norm       = 4.56247
  Normalizat = 1.01536
  Prefactor  = 0.969977
 **********
 **   18 **HESSE 
 **********

 FCN=   6901.081     FROM HESSE     STATUS=OK           415 CALLS     3205 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10212E-03    34.925        .15364       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.5941        .17341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .21592        2.2342        .16425E-02   -1.5615    
   5  Prefactor     .10000E-03    31.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.129        12.769        .11504E-03   -1.5011    
   7  Prefactor     14.259        5.8306        .10608E-03   -1.4953    
   8  norm          .10000E-03    9.3476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.9392        13.753        .29778E-03   -1.5429    
  10  Prefactor     .10000E-03    69.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4550        4.3582        .22449E-03   -1.5395    
  12  Prefactor     17.286        24.347        .96448E-04   -1.4876    
  13  norm          6.0029        12.394        .16383E-03   -1.5218    
  14  norm          .10000E-03    .45684        .54776E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.6303        1.4020        .47282E-04   -1.5233    
  16  norm          11.298        17.972        .11911E-03   -1.5036    
  17  norm          .10000E-03    7.6066        .27578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     29.554        37.475        .73737E-04   -1.4620    
  19  norm          .10000E-03    18.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.735        16.931        .11216E-03   -1.4994    
  21  norm          1.8914        .96570        .56171E-04   -1.5433    
  22  norm          4.5625        4.6798        .17679E-03   -1.5281    
  23  Normalizat    1.0154        .23300        .30692E-03   -.92518    
  24  Prefactor     .96998        .14177        .20168E-03   -.93737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.64395e-10
Minuit parameter uncertainties:
  1  0.0172217
  2  5.9379e-07
  3  6.30231e-06
  4  1.38886
  5  2.05526e-06
  6  12.7715
  7  5.8308
  8  8.15381e-05
  9  10.3317
  10  1.17113e-06
  11  4.35871
  12  24.3605
  13  12.3997
  14  9.91408e-09
  15  1.40201
  16  17.9804
  17  7.09285e-05
  18  37.5049
  19  9.07679e-06
  20  16.9374
  21  0.965707
  22  4.68017
  23  0.233237
  24  0.14182
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  7.093e-05  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.700e-01  1.418e-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.015e+00  2.332e-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: 7.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.15e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/303036/likelihoodResults_268876801_269136001_4FGL_J0811.4+0146_daily_bin114.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): 102
logL (Free Index) = 6901.08139675
delta logL = -0.000624192677606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6901.08077382
delta logL = -1.26420763991e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12794E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0480       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0153       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97001       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=   6901.023     FROM MIGRAD    STATUS=CONVERGED    178 CALLS      343 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18579E-01    .41448E-01    .67381E-02   -.41310E-02
   2  alpha         5.0000        4.9992        .50000    ** at limit **
   3  Normalizat    .98772        .22206        .30692E-03    .83972E-04
   4  Prefactor     .98020        .13864        .20168E-03    .10146E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0185792
  alpha      = 5
  Normalizat = 0.987717
  Prefactor  = 0.980201
 **********
 **   18 **HESSE 
 **********

 FCN=   6901.023     FROM HESSE     STATUS=OK            33 CALLS      376 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18579E-01    .57541E-01    .24078E-03   -1.5735    
   2  alpha         5.0000        4.9999        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .98772        .23007        .12277E-04   -.93443    
   4  Prefactor     .98020        .14045        .80674E-05   -.93392    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01166e-10
Minuit parameter uncertainties:
  1  0.0575411
  2  0.000211858
  3  0.230303
  4  0.140501
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303036': 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) = 6901.02307651
delta logL = 0.0576960479539

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  9.802e-01  1.405e-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.877e-01  2.303e-01  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 -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/303036/cmap_HighResolution_268876801_269136001_4FGL_J0811.4+0146_daily_bin114.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.15e-05', job_status='DONE', photon_flux_upper_limit='7.00e-08', time_completed='2021-08-29 12:14:43.153948', job_id='303036', GAL2='0.98', fit_tolerance='1e-08', EG2='0.99', EG='1.02', time_epoch_completed='1630264483.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.77e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='114' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:14:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 303036: <4FGL_J0811.4+0146_daily_bin114> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin114> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 12:00:31 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:00:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 12:00:33 2021
Terminated at Sun Aug 29 12:14:44 2021
Results reported at Sun Aug 29 12:14:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin114 122.861 1.7756 268876801 269136001 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 :                                   715.28 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             313.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            853 sec.

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

