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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin84
RA = 122.861, Dec = 1.7756
tmin = 261100801, tmax = 261360001
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='301678', job_status='RUN', time_executed='2021-08-29 11:57:04.701208', time_epoch_executed='1630263424.7' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='84'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/301678

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/301678/ft1_4FGL_J0811.4+0146_daily_bin84.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/301678/ft2_4FGL_J0811.4+0146_daily_bin84.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/301678/ft1_4FGL_J0811.4+0146_daily_bin84.fits outfile=/scratch/kocevski/301678/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin84.fits ra=122.861 dec=1.7756 rad=12.0 tmin=261100801.0 tmax=261360001.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.32
user 1.30
sys 1.00

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/301678/ft1_filtered_4FGL_J0811.4+0146_daily_bin84.fits" evtable="EVENTS" scfile=/scratch/kocevski/301678/ft2_4FGL_J0811.4+0146_daily_bin84.fits sctable="SC_DATA" outfile=/scratch/kocevski/301678/ltcube_261100801_261360001_4FGL_J0811.4+0146_daily_bin84.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/301678/ft2_4FGL_J0811.4+0146_daily_bin84.fits
.....................!
real 13.24
user 11.97
sys 1.20

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/301678/ft1_filtered_4FGL_J0811.4+0146_daily_bin84.fits evtable="EVENTS" scfile=/scratch/kocevski/301678/ft2_4FGL_J0811.4+0146_daily_bin84.fits sctable="SC_DATA" expcube=/scratch/kocevski/301678/ltcube_261100801_261360001_4FGL_J0811.4+0146_daily_bin84.fits outfile=/scratch/kocevski/301678/expmap_261100801_261360001_4FGL_J0811.4+0146_daily_bin84.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/301678/ltcube_261100801_261360001_4FGL_J0811.4+0146_daily_bin84.fits
.....................!
real 190.96
user 185.17
sys 5.43

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/301678/ft1_filtered_4FGL_J0811.4+0146_daily_bin84.fits scfile=/scratch/kocevski/301678/ft2_4FGL_J0811.4+0146_daily_bin84.fits outfile=/scratch/kocevski/301678/cmap_261100801_261360001_4FGL_J0811.4+0146_daily_bin84.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.33
user 0.38
sys 0.93

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/301678/ft1_filtered_4FGL_J0811.4+0146_daily_bin84.fits scfile=/scratch/kocevski/301678/ft2_4FGL_J0811.4+0146_daily_bin84.fits outfile=/scratch/kocevski/301678/cmap_HighResolution_261100801_261360001_4FGL_J0811.4+0146_daily_bin84.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.32
user 0.38
sys 0.93

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.2725       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10374E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.7079       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.005       1.0000         .10000E-03   10000.    
     6 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10330E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.328       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .16813E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.6820       1.0000         .10000E-03   10000.    
    15 'norm      '    6.7061       1.0000         .10000E-03   10000.    
    16 'norm      '    4.2686       1.0000         .10000E-03   10000.    
    17 'norm      '    2.7804       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.7241       1.0000         .10000E-03   10000.    
    21 'norm      '    .65943E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    11.211       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .95094       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95130       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=   10228.90     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2383 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.175        .16165E-04** at limit **
   2  Prefactor     7.2727        6.4368       -.24854E-06   -.10624E-03
   3  Prefactor     .10000E-03    80.408       -.27911E-04** at limit **
   4  norm          1.7077        1.2691       -.20424E-07   -.99491E-04
   5  Prefactor     11.005        13.307       -.12369E-07    .34434E-04
   6  norm          .10000E-03    24.956       -.10203E-04** at limit **
   7  Prefactor     .10000E-03    1.7566        .12973E-07** at limit **
   8  norm          .10000E-03    6.2489        .24977E-06** at limit **
   9  Prefactor     28.325        12.719       -.16284E-06    .23484E-04
  10  Prefactor     .10000E-03    51.795        .34844E-04** at limit **
  11  Prefactor     .10000E-03    2.4160        .43921E-07** at limit **
  12  Prefactor     .10000E-03    37.338       -.11240E-04** at limit **
  13  norm          .10015E-03    3.6270       -.19417E-05** at limit **
  14  norm          2.6819        1.4741        .22916E-07    .33177E-03
  15  norm          6.7062        1.2535        .27199E-08    .44631E-03
  16  norm          4.2636        11.295       -.16832E-06   -.27205E-05
  17  norm          2.7790        3.5168       -.34704E-06   -.56554E-03
  18  Prefactor     .10000E-03    8.2632        .22188E-06** at limit **
  19  norm          .10000E-03    6.7175       -.74737E-07** at limit **
  20  Prefactor     6.7240        10.191       -.35021E-06   -.83270E-04
  21  norm          .65383E-01    .31652       -.12870E-06   -.50302E-03
  22  norm          11.211        6.1625       -.21787E-06    .48663E-04
  23  Normalizat    .95097        .15410        .57005E-06    .63371E-03
  24  Prefactor     .95126        .97044E-01    .17686E-06    .92501E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.27271
  Prefactor  = 0.000100001
  norm       = 1.70771
  Prefactor  = 11.0049
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 28.3253
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.00010015
  norm       = 2.68194
  norm       = 6.70624
  norm       = 4.26357
  norm       = 2.77902
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.724
  norm       = 0.0653832
  norm       = 11.2114
  Normalizat = 0.950966
  Prefactor  = 0.951255
 **********
 **   18 **HESSE 
 **********

 FCN=   10228.90     FROM HESSE     STATUS=OK           395 CALLS     2778 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.2727        6.4466        .14873E-03   -1.5169    
   3  Prefactor     .10000E-03    81.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7077        1.2630        .93446E-04   -1.5447    
   5  Prefactor     11.005        13.310        .12077E-03   -1.5044    
   6  norm          .10000E-03    25.563        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.7824        .13075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.2585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     28.325        12.742        .75273E-04   -1.4643    
  10  Prefactor     .10000E-03    51.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.4336        .15348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    37.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10015E-03    17.109        .36362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.6819        1.4748        .88193E-04   -1.5380    
  15  norm          6.7062        1.2542        .46978E-04   -1.5190    
  16  norm          4.2636        11.276        .19501E-03   -1.5295    
  17  norm          2.7790        3.5047        .20232E-03   -1.5375    
  18  Prefactor     .10000E-03    8.2714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.7292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.7240        10.214        .15474E-03   -1.5189    
  21  norm          .65383E-01    2.1151        .10673E-02   -1.5657    
  22  norm          11.211        6.1609        .11965E-03   -1.5038    
  23  Normalizat    .95097        .17581        .29987E-03   -.94692    
  24  Prefactor     .95126        .11163        .19742E-03   -.94372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.58058e-09
Minuit parameter uncertainties:
  1  6.18076e-06
  2  6.44722
  3  0.000449774
  4  1.26302
  5  13.3135
  6  0.000125034
  7  1.23563e-06
  8  1.14887e-06
  9  12.7432
  10  3.85502e-06
  11  3.1426e-06
  12  0.000142617
  13  0.00321002
  14  1.47485
  15  1.25417
  16  11.2814
  17  3.505
  18  1.29395e-06
  19  1.42414e-06
  20  10.2163
  21  0.743209
  22  6.16124
  23  0.175916
  24  0.111661
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.779e+00  3.505e+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.513e-01  1.117e-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.510e-01  1.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/301678/likelihoodResults_261100801_261360001_4FGL_J0811.4+0146_daily_bin84.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) = 10227.946274
delta logL = 0.951661739147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10227.9304025
delta logL = 0.967533258317

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6044       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1818       1.0000          .0000       5.0000    
     3 'Normalizat'    .88949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97346       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10227.93     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      281 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6043        3.8250        .16730E-03   -.28541E-03
   2  alpha         3.1815        1.3837        .12947E-01    .27000E-04
   3  Normalizat    .88947        .17532        .30900E-03    .41943E-05
   4  Prefactor     .97348        .11238        .19535E-03   -.71348E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.60431
  alpha      = 3.18151
  Normalizat = 0.889468
  Prefactor  = 0.973481
 **********
 **   18 **HESSE 
 **********

 FCN=   10227.93     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6043        2.3549        .66918E-05   -1.5455    
   2  alpha         3.1815        .88442        .51790E-03    .27610    
   3  Normalizat    .88947        .17374        .12360E-04   -.96831    
   4  Prefactor     .97348        .11130        .78141E-05   -.93619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.974e-11
Minuit parameter uncertainties:
  1  2.35508
  2  0.905667
  3  0.173853
  4  0.111323
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/301678': 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) = 10227.9304022
delta logL = 0.967533558189

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.604e+00  2.355e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  3.182e+00  9.057e-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:  9.735e-01  1.113e-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.895e-01  1.739e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.82
Ra Dec: 122.861 1.776
Photon Index (Free Index): 3.18 +/- 0.91
Photon Flux (Free Index): 6.76e-08 +/- 5.00e-08
Energy Flux (Free Index): 1.31e-05 +/- 9.20e-06

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/301678/cmap_HighResolution_261100801_261360001_4FGL_J0811.4+0146_daily_bin84.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-05', comment='SUCCESS', energy_flux2='1.31e-05', dlogl='9.68e-01', photon_flux2='6.76e-08', job_status='DONE', time_completed='2021-08-29 12:10:46.714613', photon_index_error2='0.91', photon_index2='3.18', ts='0.76', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='7.32e-08', energy_flux_error2='9.20e-06', EG='0.95', time_epoch_completed='1630264246.71', return_code='0', job_id='301678', GAL2='0.97', EG2='0.89', return_code2='0', photon_flux_error2='5.00e-08', ts2='2.82', photon_index='2.01' WHERE bin_id='84' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:10:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 301678: <4FGL_J0811.4+0146_daily_bin84> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin84> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Aug 29 11:55:33 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 11:55:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 11:55:34 2021
Terminated at Sun Aug 29 12:10:47 2021
Results reported at Sun Aug 29 12:10:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin84 122.861 1.7756 261100801 261360001 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 :                                   834.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            914 sec.

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

