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


Performing analysis on: 4FGL_J0806.5+4503_daily_bin1264
RA = 121.628, Dec = 45.0605
tmin = 566956801, tmax = 567216001
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='156652', job_status='RUN', time_executed='2021-08-29 03:26:28.634809', time_epoch_executed='1630232788.63' WHERE source_name='4FGL J0806.5+4503' and cadence='daily' and bin_id='1264'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156652

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156652/ft1_4FGL_J0806.5+4503_daily_bin1264.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156652/ft2_4FGL_J0806.5+4503_daily_bin1264.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156652/ft1_4FGL_J0806.5+4503_daily_bin1264.fits outfile=/scratch/kocevski/156652/ft1_filteredMKT_4FGL_J0806.5+4503_daily_bin1264.fits ra=121.628 dec=45.0605 rad=12.0 tmin=566956801.0 tmax=567216001.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.56
user 2.32
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/156652/ft2_4FGL_J0806.5+4503_daily_bin1264.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/156652/ft2_4FGL_J0806.5+4503_daily_bin1264.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/156652/ft1_filteredMKT_4FGL_J0806.5+4503_daily_bin1264.fits evtable="EVENTS" outfile="/scratch/kocevski/156652/ft1_filtered_4FGL_J0806.5+4503_daily_bin1264.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156652/ft1_filtered_4FGL_J0806.5+4503_daily_bin1264.fits" evtable="EVENTS" scfile=/scratch/kocevski/156652/ft2_4FGL_J0806.5+4503_daily_bin1264.fits sctable="SC_DATA" outfile=/scratch/kocevski/156652/ltcube_566956801_567216001_4FGL_J0806.5+4503_daily_bin1264.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/156652/ft2_4FGL_J0806.5+4503_daily_bin1264.fits
.....................!
real 13.01
user 12.63
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156652/ft1_filtered_4FGL_J0806.5+4503_daily_bin1264.fits evtable="EVENTS" scfile=/scratch/kocevski/156652/ft2_4FGL_J0806.5+4503_daily_bin1264.fits sctable="SC_DATA" expcube=/scratch/kocevski/156652/ltcube_566956801_567216001_4FGL_J0806.5+4503_daily_bin1264.fits outfile=/scratch/kocevski/156652/expmap_566956801_567216001_4FGL_J0806.5+4503_daily_bin1264.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/156652/ltcube_566956801_567216001_4FGL_J0806.5+4503_daily_bin1264.fits
.....................!
real 191.48
user 186.28
sys 4.70

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 207 point sources and 0 extended sources

Setting source of interest to:
4FGL J0806.5+4503 @ 121.628 45.0605

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/156652/ft1_filtered_4FGL_J0806.5+4503_daily_bin1264.fits scfile=/scratch/kocevski/156652/ft2_4FGL_J0806.5+4503_daily_bin1264.fits outfile=/scratch/kocevski/156652/cmap_566956801_567216001_4FGL_J0806.5+4503_daily_bin1264.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=121.628 yref=45.0605 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156652/ft1_filtered_4FGL_J0806.5+4503_daily_bin1264.fits scfile=/scratch/kocevski/156652/ft2_4FGL_J0806.5+4503_daily_bin1264.fits outfile=/scratch/kocevski/156652/cmap_HighResolution_566956801_567216001_4FGL_J0806.5+4503_daily_bin1264.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=121.628 yref=45.0605 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.57
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/156652/ft1_filtered_4FGL_J0806.5+4503_daily_bin1264.fits evtable="EVENTS" scfile=/scratch/kocevski/156652/ft2_4FGL_J0806.5+4503_daily_bin1264.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/156652/Model_4FGL_J0806.5+4503_daily_bin1264.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/156652/ft1_filtered_4FGL_J0806.5+4503_daily_bin1264.fits......................!
real 29.82
user 28.38
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/156652/ft1_filtered_4FGL_J0806.5+4503_daily_bin1264.fits', '/scratch/kocevski/156652/ft2_4FGL_J0806.5+4503_daily_bin1264.fits', expMap='/scratch/kocevski/156652/expmap_566956801_567216001_4FGL_J0806.5+4503_daily_bin1264.fits', expCube='/scratch/kocevski/156652/ltcube_566956801_567216001_4FGL_J0806.5+4503_daily_bin1264.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/156652/Model_4FGL_J0806.5+4503_daily_bin1264.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0806.5+4503'

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  6.264e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.607e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.910e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/156652/ft1_filtered_4FGL_J0806.5+4503_daily_bin1264.fits
Spacecraft file(s): /scratch/kocevski/156652/ft2_4FGL_J0806.5+4503_daily_bin1264.fits
Exposure map: /scratch/kocevski/156652/expmap_566956801_567216001_4FGL_J0806.5+4503_daily_bin1264.fits
Exposure cube: /scratch/kocevski/156652/ltcube_566956801_567216001_4FGL_J0806.5+4503_daily_bin1264.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/156652/Model_4FGL_J0806.5+4503_daily_bin1264.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) = 1969.74904248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5886.8       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11025E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .31935E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.141       1.0000         .10000E-03   10000.    
    14 'norm      '    1.6691       1.0000         .10000E-03   10000.    
    15 'norm      '    1.9356       1.0000         .10000E-03   10000.    
    16 'norm      '    .10321E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.3519       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.583       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.2091       1.0000         .10000E-03   10000.    
    23 'norm      '    12.953       1.0000         .10000E-03   10000.    
    24 'norm      '    .80404       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    16.690       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0943       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .67687       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1969.673     FROM MIGRAD    STATUS=CONVERGED    755 CALLS     3796 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5888.7        2511.8       -.42392E-04    .84469E-05
   2  Prefactor     .10000E-03    143.17       -.96241E-07** at limit **
   3  Prefactor     .10000E-03    733.54        .45237E-05** at limit **
   4  norm          .10000E-03    78.974       -.10326E-05** at limit **
   5  Prefactor     .10000E-03    37.603        .74574E-07** at limit **
   6  Prefactor     .10001E-03    258.63        .66515E-06** at limit **
   7  norm          .10000E-03    1.6568        .97499E-06** at limit **
   8  Prefactor     .10000E-03    19.205        .73242E-06** at limit **
   9  Prefactor     .10000E-03    19.973        .29013E-06** at limit **
  10  norm          .10000E-03    3.2339        .17399E-06** at limit **
  11  Prefactor     .10000E-03    8.6465        .14547E-06** at limit **
  12  Prefactor     .10000E-03    70.926        .13603E-05** at limit **
  13  Prefactor     26.152        17.571       -.22744E-07   -.63458E-04
  14  norm          1.6673        16.688        .14364E-04   -.14219E-03
  15  norm          1.9367        4.0484       -.24013E-05    .17117E-03
  16  norm          .10000E-03    1.0995        .35831E-06** at limit **
  17  Prefactor     .10000E-03    16.748        .87160E-07** at limit **
  18  Prefactor     .10000E-03    6.8112        .48432E-06** at limit **
  19  Prefactor     4.3528        4.6478        .13726E-06    .25811E-04
  20  Prefactor     .10000E-03    73.178       -.29470E-06** at limit **
  21  Prefactor     10.587        17.903        .38148E-06    .33596E-04
  22  Prefactor     8.2103        9.1642        .82190E-06    .44821E-03
  23  norm          12.957        10.548        .14942E-05    .62361E-03
  24  norm          .79767        15.193        .11113E-05    .12660E-04
  25  Prefactor     .10000E-03    1.7600       -.46209E-06** at limit **
  26  Prefactor     16.696        21.912        .86937E-06    .19184E-03
  27  Prefactor     .10000E-03    95.854        .15553E-05** at limit **
  28  Normalizat    1.0932        .34830       -.35511E-05    .19963E-03
  29  Prefactor     .67777        .26253        .39838E-05    .28501E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5888.72
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.1518
  norm       = 1.66727
  norm       = 1.93673
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.35277
  Prefactor  = 0.0001
  Prefactor  = 10.5873
  Prefactor  = 8.21032
  norm       = 12.9566
  norm       = 0.797665
  Prefactor  = 0.0001
  Prefactor  = 16.6956
  Prefactor  = 0.000100001
  Normalizat = 1.09319
  Prefactor  = 0.677771
 **********
 **   18 **HESSE 
 **********

 FCN=   1969.673     FROM HESSE     STATUS=OK           539 CALLS     4335 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5888.7        2510.3        .40644E-04    .17869    
   2  Prefactor     .10000E-03    143.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    733.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    78.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    37.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    258.23        .21363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.6906        .56138E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.2390        .77956E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.6485        .12748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    70.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.152        17.198        .78351E-04   -1.4685    
  14  norm          1.6673        17.671        .14483E-02   -1.5450    
  15  norm          1.9367        4.0999        .10454E-03   -1.5430    
  16  norm          .10000E-03    1.9525        .87472E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.765        .17738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.8799        .11312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.3528        4.6447        .94280E-04   -1.5291    
  20  Prefactor     .10000E-03    73.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.587        17.836        .12316E-03   -1.5057    
  22  Prefactor     8.2103        9.0838        .13168E-03   -1.5135    
  23  norm          12.957        10.508        .11130E-03   -1.4988    
  24  norm          .79767        25.142        .28117E-02   -1.5529    
  25  Prefactor     .10000E-03    1.7881        .57527E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     16.696        21.822        .98038E-04   -1.4891    
  27  Prefactor     .10000E-03    95.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0932        .39858        .26557E-03   -.89971    
  29  Prefactor     .67777        .30289        .26625E-03   -1.0440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55325e-09
Minuit parameter uncertainties:
  1  2634.32
  2  0.000655389
  3  0.00185409
  4  0.000306334
  5  1.89558e-05
  6  0.00323
  7  6.02926e-05
  8  0.000184874
  9  3.10517e-05
  10  1.70711e-05
  11  2.14399e-05
  12  0.000194364
  13  17.2015
  14  10.8596
  15  4.10054
  16  1.82095e-07
  17  2.04958e-05
  18  4.16741e-05
  19  4.64508
  20  4.86152e-05
  21  17.8447
  22  9.08535
  23  10.5094
  24  8.96008
  25  3.06061e-05
  26  21.8321
  27  0.000521122
  28  0.399683
  29  0.303627
Done.

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

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  1.944e-04  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.607e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.910e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  6.778e-01  3.036e-01  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.093e+00  3.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 121.628 45.060
Photon Flux Upper Limit: 2.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.70e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/156652/likelihoodResults_566956801_567216001_4FGL_J0806.5+4503_daily_bin1264.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) = 1969.67262034
delta logL = -6.69948042287e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1969.67255362
delta logL = -2.74423200608e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.7709       1.0000          .0000       10.000    
     3 'Normalizat'    1.0932       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67777       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+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=   1969.662     FROM MIGRAD    STATUS=CONVERGED    177 CALLS      369 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35763        14.293        .34949E-01    .37777E-03
   2  Index         5.2689        2.1461        .46065        .42501E-05
   3  Normalizat    1.0786        .22401E-01    .26558E-03    .38526E-06
   4  Prefactor     .68441        .18173E-01    .26624E-03    .70455E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.35763
  Index      = 5.26889
  Normalizat = 1.07863
  Prefactor  = 0.684411
 **********
 **   18 **HESSE 
 **********

 FCN=   1969.662     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      400 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35763        800.14        .12513E-02   -1.5588    
   2  Index         5.2689        6.1438        .73510E-02    .53805E-01
   3  Normalizat    1.0786        .28972        .10623E-04   -.90441    
   4  Prefactor     .68441        .21211        .10650E-04   -1.0414    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.68878e-10
Minuit parameter uncertainties:
  1  34.2961
  2  50.0039
  3  0.290142
  4  0.21236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156652': 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): 102
logL (Free Index) = 1969.66160005
delta logL = 0.0109532997049

Extracting fit parameters...

4FGL J0806.5+4503
   Spectrum: PowerLaw
282    Prefactor:  3.576e-01  3.430e+01  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  5.269e+00  5.000e+01  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  6.910e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  6.844e-01  2.124e-01  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.079e+00  2.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 121.628 45.060

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/156652/cmap_HighResolution_566956801_567216001_4FGL_J0806.5+4503_daily_bin1264.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.70e-02', job_status='DONE', photon_flux_upper_limit='2.17e-07', time_completed='2021-08-29 03:35:01.779022', job_id='156652', GAL2='0.68', fit_tolerance='1e-08', EG2='1.08', EG='1.09', time_epoch_completed='1630233301.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='1.10e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1264' AND source_name='4FGL J0806.5+4503' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 03:35:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 156652: <4FGL_J0806.5+4503_daily_bin1264> in cluster <slac> Done

Job <4FGL_J0806.5+4503_daily_bin1264> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 03:26:17 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 03:26:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 03:26:19 2021
Terminated at Sun Aug 29 03:35:02 2021
Results reported at Sun Aug 29 03:35:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0806.5+4503_daily_bin1264 121.628 45.0605 566956801 567216001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0806.5+4503 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   509.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   523 sec.
    Turnaround time :                            525 sec.

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

