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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin98
RA = 120.888, Dec = 20.7678
tmin = 264729601, tmax = 264988801
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='69144', job_status='RUN', time_executed='2021-08-28 22:49:14.040047', time_epoch_executed='1630216154.04' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='98'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/69144

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/69144/ft1_4FGL_J0803.5+2046_daily_bin98.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/69144/ft2_4FGL_J0803.5+2046_daily_bin98.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/69144/ft1_4FGL_J0803.5+2046_daily_bin98.fits outfile=/scratch/kocevski/69144/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin98.fits ra=120.888 dec=20.7678 rad=12.0 tmin=264729601.0 tmax=264988801.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 4.66
user 1.26
sys 3.38

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/69144/ft2_4FGL_J0803.5+2046_daily_bin98.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/69144/ft2_4FGL_J0803.5+2046_daily_bin98.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/69144/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin98.fits evtable="EVENTS" outfile="/scratch/kocevski/69144/ft1_filtered_4FGL_J0803.5+2046_daily_bin98.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 3.75
user 0.31
sys 3.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/69144/ft1_filtered_4FGL_J0803.5+2046_daily_bin98.fits" evtable="EVENTS" scfile=/scratch/kocevski/69144/ft2_4FGL_J0803.5+2046_daily_bin98.fits sctable="SC_DATA" outfile=/scratch/kocevski/69144/ltcube_264729601_264988801_4FGL_J0803.5+2046_daily_bin98.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/69144/ft2_4FGL_J0803.5+2046_daily_bin98.fits
.....................!
real 16.17
user 12.15
sys 3.97

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/69144/ft1_filtered_4FGL_J0803.5+2046_daily_bin98.fits evtable="EVENTS" scfile=/scratch/kocevski/69144/ft2_4FGL_J0803.5+2046_daily_bin98.fits sctable="SC_DATA" expcube=/scratch/kocevski/69144/ltcube_264729601_264988801_4FGL_J0803.5+2046_daily_bin98.fits outfile=/scratch/kocevski/69144/expmap_264729601_264988801_4FGL_J0803.5+2046_daily_bin98.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/69144/ltcube_264729601_264988801_4FGL_J0803.5+2046_daily_bin98.fits
.....................!
real 194.32
user 185.38
sys 8.60

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

Setting source of interest to:
4FGL J0803.5+2046 @ 120.888 20.7678

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/69144/ft1_filtered_4FGL_J0803.5+2046_daily_bin98.fits scfile=/scratch/kocevski/69144/ft2_4FGL_J0803.5+2046_daily_bin98.fits outfile=/scratch/kocevski/69144/cmap_264729601_264988801_4FGL_J0803.5+2046_daily_bin98.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=120.888 yref=20.7678 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 3.70
user 0.39
sys 3.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/69144/ft1_filtered_4FGL_J0803.5+2046_daily_bin98.fits scfile=/scratch/kocevski/69144/ft2_4FGL_J0803.5+2046_daily_bin98.fits outfile=/scratch/kocevski/69144/cmap_HighResolution_264729601_264988801_4FGL_J0803.5+2046_daily_bin98.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=120.888 yref=20.7678 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 3.68
user 0.38
sys 3.28

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/69144/ft1_filtered_4FGL_J0803.5+2046_daily_bin98.fits evtable="EVENTS" scfile=/scratch/kocevski/69144/ft2_4FGL_J0803.5+2046_daily_bin98.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/69144/Model_4FGL_J0803.5+2046_daily_bin98.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/69144/ft1_filtered_4FGL_J0803.5+2046_daily_bin98.fits.....................!
real 83.04
user 77.36
sys 5.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/69144/ft1_filtered_4FGL_J0803.5+2046_daily_bin98.fits', '/scratch/kocevski/69144/ft2_4FGL_J0803.5+2046_daily_bin98.fits', expMap='/scratch/kocevski/69144/expmap_264729601_264988801_4FGL_J0803.5+2046_daily_bin98.fits', expCube='/scratch/kocevski/69144/ltcube_264729601_264988801_4FGL_J0803.5+2046_daily_bin98.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/69144/Model_4FGL_J0803.5+2046_daily_bin98.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0803.5+2046'

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  9.736e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  7.702e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/69144/ft1_filtered_4FGL_J0803.5+2046_daily_bin98.fits
Spacecraft file(s): /scratch/kocevski/69144/ft2_4FGL_J0803.5+2046_daily_bin98.fits
Exposure map: /scratch/kocevski/69144/expmap_264729601_264988801_4FGL_J0803.5+2046_daily_bin98.fits
Exposure cube: /scratch/kocevski/69144/ltcube_264729601_264988801_4FGL_J0803.5+2046_daily_bin98.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/69144/Model_4FGL_J0803.5+2046_daily_bin98.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) = 7463.1395454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.858       1.0000         .10000E-03   10000.    
     2 'norm      '    2.2729       1.0000         .10000E-03   10000.    
     3 'norm      '    1.3474       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.033       1.0000         .10000E-03   10000.    
     5 'norm      '    4.9763       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23147E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9811       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .73767       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.345       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.4557       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.402       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    67.475       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0846       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .91259       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7463.136     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2879 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          51.859        17.894       -.10856E-06   -.83011E-04
   2  norm          2.2729        1.2708       -.32562E-07    .96163E-05
   3  norm          1.3478        1.3574       -.53201E-06    .23206E-03
   4  Prefactor     11.016        10.552        .31398E-05    .55252E-03
   5  norm          4.9768        4.1062        .26880E-06    .12210E-03
   6  Prefactor     .10000E-03    19.861        .14032E-06** at limit **
   7  Prefactor     .10000E-03    5.7034        .96886E-07** at limit **
   8  Prefactor     .10000E-03    98.853        .88561E-06** at limit **
   9  Prefactor     2.9809        2.2171        .20857E-07    .79203E-05
  10  Prefactor     .10000E-03    11.049       -.18538E-06** at limit **
  11  norm          .10000E-03    6.4845        .82519E-06** at limit **
  12  Prefactor     .10000E-03    5.9301       -.39788E-06** at limit **
  13  Prefactor     .10000E-03    26.807        .11941E-06** at limit **
  14  norm          .10001E-03    42.631        .19160E-05** at limit **
  15  Prefactor     .10000E-03    7.0651       -.10113E-05** at limit **
  16  Prefactor     .10000E-03    7.8634        .58384E-06** at limit **
  17  Prefactor     .63122        26.320       -.52501E-05    .53809E-03
  18  Prefactor     10.346        14.085        .25152E-06   -.14451E-04
  19  Prefactor     .10001E-03    34.958       -.16800E-05** at limit **
  20  norm          2.4557        1.2989        .73811E-08    .20197E-05
  21  Prefactor     10.404        10.067        .24752E-06   -.11530E-04
  22  Prefactor     .10000E-03    3.4681        .97872E-07** at limit **
  23  Prefactor     67.483        46.706        .93648E-06    .17896E-03
  24  Normalizat    1.0845        .18620       -.15487E-05    .15620E-03
  25  Prefactor     .91262        .13046        .45215E-06    .70888E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 51.859
  norm       = 2.27293
  norm       = 1.34781
  Prefactor  = 11.016
  norm       = 4.97675
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 2.98088
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100009
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 0.631217
  Prefactor  = 10.3457
  Prefactor  = 0.000100006
  norm       = 2.45574
  Prefactor  = 10.4041
  Prefactor  = 0.0001
  Prefactor  = 67.4834
  Normalizat = 1.08454
  Prefactor  = 0.912619
 **********
 **   18 **HESSE 
 **********

 FCN=   7463.136     FROM HESSE     STATUS=OK           425 CALLS     3304 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          51.859        17.899        .55693E-04   -1.4266    
   2  norm          2.2729        1.2693        .70033E-04   -1.5406    
   3  norm          1.3478        1.3615        .84043E-04   -1.5476    
   4  Prefactor     11.016        10.750        .60307E-03   -1.5044    
   5  norm          4.9768        4.1150        .14957E-03   -1.5262    
   6  Prefactor     .10000E-03    19.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.7092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    100.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.9809        2.2203        .10692E-03   -1.5363    
  10  Prefactor     .10000E-03    11.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    6.5648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.9906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    26.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10001E-03    43.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.1692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.9028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .63122        225.71        .64240E-02   -1.5549    
  18  Prefactor     10.346        14.123        .12458E-03   -1.5065    
  19  Prefactor     .10001E-03    35.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.4557        1.2935        .65579E-04   -1.5395    
  21  Prefactor     10.404        10.087        .12423E-03   -1.5063    
  22  Prefactor     .10000E-03    3.5049        .15707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     67.483        46.987        .48862E-04   -1.4063    
  24  Normalizat    1.0845        .21596        .27277E-03   -.90250    
  25  Prefactor     .91262        .15192        .22357E-03   -.95702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02514e-08
Minuit parameter uncertainties:
  1  17.9006
  2  1.26934
  3  1.36153
  4  10.7518
  5  4.1152
  6  7.15857e-05
  7  2.63838e-05
  8  0.00122451
  9  2.22035
  10  5.93715e-05
  11  0.000211646
  12  9.61473e-05
  13  6.251e-05
  14  0.00124987
  15  0.000267316
  16  0.00016822
  17  23.962
  18  14.1279
  19  0.000892997
  20  1.29348
  21  10.0883
  22  1.12318e-05
  23  47.0132
  24  0.216135
  25  0.151991
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.000e-04  1.250e-03  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  7.702e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  9.126e-01  1.520e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.085e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 120.888 20.768
Photon Flux Upper Limit: 2.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.54e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/69144/likelihoodResults_264729601_264988801_4FGL_J0803.5+2046_daily_bin98.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) = 7463.13609993
delta logL = -0.000110615689664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7463.13598935
delta logL = -3.20151229971e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10250E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9977       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0845       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91263       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7463.136     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      191 TOTAL
                     EDM=   .55E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    42.349        .90712E-02** at limit **
   2  alpha         2.0028        3.4168        .42254       -.58501E-06
   3  Normalizat    1.0845        .16808        .61672E-01    .13714E-04
   4  Prefactor     .91262        .12822        .45166E-01    .11163E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.00283
  Normalizat = 1.08454
  Prefactor  = 0.91262
 **********
 **   18 **HESSE 
 **********

 FCN=   7463.136     FROM HESSE     STATUS=OK            31 CALLS      222 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    42.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0028        3.4166        .16901       -.20020    
   3  Normalizat    1.0845        .19408        .27277E-03   -.90250    
   4  Prefactor     .91262        .14815        .22357E-03   -.95702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45289e-13
Minuit parameter uncertainties:
  1  1.23069e-06
  2  2.45009
  3  0.194208
  4  0.148217
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/69144': 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) = 7463.13598932
delta logL = 1.01772457128e-09

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.000e-04  1.231e-06  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  2.003e+00  2.450e+00  0.000e+00  5.000e+00 ( 1.000e+00)
275         beta:  7.702e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  9.126e-01  1.482e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.085e+00  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 120.888 20.768

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/69144/cmap_HighResolution_264729601_264988801_4FGL_J0803.5+2046_daily_bin98.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.54e-05', job_status='DONE', photon_flux_upper_limit='2.93e-08', time_completed='2021-08-28 23:02:24.836675', job_id='69144', GAL2='0.91', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1630216944.84', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.02e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='98' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 23:02:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0179>
Subject: Job 69144: <4FGL_J0803.5+2046_daily_bin98> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin98> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Aug 28 22:46:01 2021
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 22:46:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 22:46:03 2021
Terminated at Sat Aug 28 23:02:26 2021
Results reported at Sat Aug 28 23:02:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin98 120.888 20.7678 264729601 264988801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0803.5+2046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   841.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            985 sec.

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

