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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin112
RA = 122.861, Dec = 1.7756
tmin = 268358401, tmax = 268617601
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='303033', job_status='RUN', time_executed='2021-08-29 12:03:41.310794', time_epoch_executed='1630263821.31' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='112'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303033

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303033/ft1_4FGL_J0811.4+0146_daily_bin112.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303033/ft2_4FGL_J0811.4+0146_daily_bin112.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303033/ft1_4FGL_J0811.4+0146_daily_bin112.fits outfile=/scratch/kocevski/303033/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin112.fits ra=122.861 dec=1.7756 rad=12.0 tmin=268358401.0 tmax=268617601.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 1.45
user 1.26
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303033/ft1_filtered_4FGL_J0811.4+0146_daily_bin112.fits evtable="EVENTS" scfile=/scratch/kocevski/303033/ft2_4FGL_J0811.4+0146_daily_bin112.fits sctable="SC_DATA" expcube=/scratch/kocevski/303033/ltcube_268358401_268617601_4FGL_J0811.4+0146_daily_bin112.fits outfile=/scratch/kocevski/303033/expmap_268358401_268617601_4FGL_J0811.4+0146_daily_bin112.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/303033/ltcube_268358401_268617601_4FGL_J0811.4+0146_daily_bin112.fits
.....................!
real 190.22
user 185.30
sys 4.41

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/303033/ft1_filtered_4FGL_J0811.4+0146_daily_bin112.fits scfile=/scratch/kocevski/303033/ft2_4FGL_J0811.4+0146_daily_bin112.fits outfile=/scratch/kocevski/303033/cmap_268358401_268617601_4FGL_J0811.4+0146_daily_bin112.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303033/ft1_filtered_4FGL_J0811.4+0146_daily_bin112.fits scfile=/scratch/kocevski/303033/ft2_4FGL_J0811.4+0146_daily_bin112.fits outfile=/scratch/kocevski/303033/cmap_HighResolution_268358401_268617601_4FGL_J0811.4+0146_daily_bin112.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    8.2169       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1329       1.0000         .10000E-03   10000.    
     4 'norm      '    6.6967       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.788       1.0000         .10000E-03   10000.    
     8 'norm      '    6.9493       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.225       1.0000         .10000E-03   10000.    
    10 'Prefactor '    97.343       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.685       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .86487       1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.795       1.0000         .10000E-03   10000.    
    16 'norm      '    5.4101       1.0000         .10000E-03   10000.    
    17 'norm      '    2.5545       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.718       1.0000         .10000E-03   10000.    
    19 'norm      '    .60683       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .61496       1.0000         .10000E-03   10000.    
    22 'norm      '    .19701E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .90726       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96460       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=   6898.089     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2739 TOTAL
                     EDM=   .78E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.040       -.15667E-06** at limit **
   2  Prefactor     8.2162        7.9060        .63336E-06   -.28397E-04
   3  Prefactor     4.1051        47.439        .83508E-06   -.17031E-04
   4  norm          6.6967        2.3208        .10025E-07   -.93289E-04
   5  Prefactor     .10000E-03    26.851        .43035E-06** at limit **
   6  norm          .10000E-03    10.352        .12775E-06** at limit **
   7  Prefactor     13.789        6.1530        .93058E-07   -.11141E-04
   8  norm          6.9491        17.681        .29990E-06   -.62101E-05
   9  Prefactor     16.225        13.445        .60146E-07   -.55158E-05
  10  Prefactor     97.125        207.41       -.16053E-05   -.42178E-04
  11  Prefactor     14.687        9.1960       -.14265E-06   -.97840E-04
  12  Prefactor     .10000E-03    16.402        .40723E-07** at limit **
  13  norm          .86255        9.7978        .56823E-05   -.51612E-04
  14  norm          .10000E-03    1.0158        .49465E-07** at limit **
  15  norm          10.795        1.9007        .62551E-08   -.26187E-03
  16  norm          5.4096        18.584        .23486E-06   -.18775E-04
  17  norm          2.5555        3.5617        .84683E-07   -.14217E-03
  18  Prefactor     18.715        37.824        .96929E-08   -.22540E-04
  19  norm          .45986        17.444        .70216E-06   -.67755E-04
  20  Prefactor     .10000E-03    7.4966        .12223E-07** at limit **
  21  norm          .61447        1.1756        .53057E-06   -.17757E-05
  22  norm          .10000E-03    8.7338        .26219E-06** at limit **
  23  Normalizat    .90713        .20623       -.11986E-05   -.13405E-03
  24  Prefactor     .96472        .12780       -.35407E-06   -.21230E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.2162
  Prefactor  = 4.10507
  norm       = 6.69665
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.7887
  norm       = 6.94909
  Prefactor  = 16.2245
  Prefactor  = 97.125
  Prefactor  = 14.687
  Prefactor  = 0.0001
  norm       = 0.862552
  norm       = 0.0001
  norm       = 10.7953
  norm       = 5.40957
  norm       = 2.55545
  Prefactor  = 18.7147
  norm       = 0.459857
  Prefactor  = 0.0001
  norm       = 0.61447
  norm       = 0.0001
  Normalizat = 0.907134
  Prefactor  = 0.964718
 **********
 **   18 **HESSE 
 **********

 FCN=   6898.089     FROM HESSE     STATUS=OK           405 CALLS     3144 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.2162        7.9200        .69930E-03   -1.5135    
   3  Prefactor     4.1051        47.552        .19828E-03   -1.5303    
   4  norm          6.6967        2.3198        .70307E-04   -1.5190    
   5  Prefactor     .10000E-03    27.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.789        6.1587        .10787E-03   -1.4965    
   8  norm          6.9491        17.650        .15219E-03   -1.5181    
   9  Prefactor     16.225        13.436        .99433E-04   -1.4902    
  10  Prefactor     97.125        208.06        .20371E-03   -1.3734    
  11  Prefactor     14.687        9.1879        .10452E-03   -1.4941    
  12  Prefactor     .10000E-03    16.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .86255        9.7486        .49671E-03   -1.5522    
  14  norm          .10000E-03    1.0249        .81660E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.795        1.8987        .45546E-04   -1.5051    
  16  norm          5.4096        18.506        .17277E-03   -1.5243    
  17  norm          2.5555        3.5396        .17697E-03   -1.5388    
  18  Prefactor     18.715        37.949        .92575E-04   -1.4842    
  19  norm          .45986        188.63        .66642E-02   -1.5572    
  20  Prefactor     .10000E-03    7.5255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .61447        1.1698        .11463E-03   -1.5551    
  22  norm          .10000E-03    9.1321        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .90713        .23689        .32747E-03   -.96210    
  24  Prefactor     .96472        .14887        .20567E-03   -.93915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08158e-10
Minuit parameter uncertainties:
  1  6.07997e-05
  2  7.921
  3  27.9709
  4  2.31979
  5  7.23641e-05
  6  3.56423e-06
  7  6.15899
  8  17.6636
  9  13.438
  10  209.649
  11  9.18879
  12  8.97458e-06
  13  5.80041
  14  9.41545e-07
  15  1.89869
  16  18.5256
  17  3.53986
  18  37.998
  19  18.6848
  20  6.4477e-06
  21  1.16983
  22  3.89093e-07
  23  0.237159
  24  0.148933
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  9.647e-01  1.489e-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.071e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.71
Ra Dec: 122.861 1.776
Photon Flux Upper Limit: 8.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.82e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/303033/likelihoodResults_268358401_268617601_4FGL_J0811.4+0146_daily_bin112.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) = 6898.08195652
delta logL = 0.00720318524418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6898.08153123
delta logL = 0.00762847823989

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4764       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8248       1.0000          .0000       5.0000    
     3 'Normalizat'    .91169       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96336       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=   6898.082     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      275 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4759        3.6692        .17826E-03    .13712E-04
   2  alpha         1.8245        1.3323        .27843E-01   -.10132E-03
   3  Normalizat    .91165        .22030        .32672E-03    .59118E-04
   4  Prefactor     .96339        .14167        .20580E-03    .23257E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.47592
  alpha      = 1.82448
  Normalizat = 0.911648
  Prefactor  = 0.96339
 **********
 **   18 **HESSE 
 **********

 FCN=   6898.082     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4759        3.7819        .71303E-05   -1.5393    
   2  alpha         1.8245        1.3704        .55686E-02   -.27361    
   3  Normalizat    .91165        .22059        .13069E-04   -.96052    
   4  Prefactor     .96339        .14176        .82318E-05   -.93960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30148e-11
Minuit parameter uncertainties:
  1  3.78223
  2  1.45789
  3  0.220806
  4  0.141818
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303033': 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) = 6898.08153119
delta logL = 0.00762852434764

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.476e+00  3.782e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.824e+00  1.458e+00  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.634e-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:  9.116e-01  2.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.71
Ra Dec: 122.861 1.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/303033/cmap_HighResolution_268358401_268617601_4FGL_J0811.4+0146_daily_bin112.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.82e-05', job_status='DONE', photon_flux_upper_limit='8.13e-08', time_completed='2021-08-29 12:15:03.202476', job_id='303033', GAL2='0.96', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1630264503.2', return_code2='0', ts='0.71', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='7.63e-03', ts2='0.72', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='112' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:15:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0201>
Subject: Job 303033: <4FGL_J0811.4+0146_daily_bin112> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin112> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 12:00:30 2021
Job was executed on host(s) <bullet0201>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:00:32 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:32 2021
Terminated at Sun Aug 29 12:15:03 2021
Results reported at Sun Aug 29 12:15:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin112 122.861 1.7756 268358401 268617601 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 :                                   682.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             303.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            873 sec.

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

