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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin78
RA = 120.888, Dec = 20.7678
tmin = 259545601, tmax = 259804801
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='69121', job_status='RUN', time_executed='2021-08-28 22:50:03.528026', time_epoch_executed='1630216203.53' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='78'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/69121

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/69121/ft1_4FGL_J0803.5+2046_daily_bin78.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/69121/ft2_4FGL_J0803.5+2046_daily_bin78.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/69121/ft1_4FGL_J0803.5+2046_daily_bin78.fits outfile=/scratch/kocevski/69121/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin78.fits ra=120.888 dec=20.7678 rad=12.0 tmin=259545601.0 tmax=259804801.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 6.10
user 1.48
sys 4.51

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/69121/ft2_4FGL_J0803.5+2046_daily_bin78.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/69121/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin78.fits evtable="EVENTS" outfile="/scratch/kocevski/69121/ft1_filtered_4FGL_J0803.5+2046_daily_bin78.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 4.85
user 0.33
sys 4.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/69121/ft1_filtered_4FGL_J0803.5+2046_daily_bin78.fits" evtable="EVENTS" scfile=/scratch/kocevski/69121/ft2_4FGL_J0803.5+2046_daily_bin78.fits sctable="SC_DATA" outfile=/scratch/kocevski/69121/ltcube_259545601_259804801_4FGL_J0803.5+2046_daily_bin78.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/69121/ft2_4FGL_J0803.5+2046_daily_bin78.fits
.....................!
real 17.22
user 12.01
sys 5.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/69121/ft1_filtered_4FGL_J0803.5+2046_daily_bin78.fits evtable="EVENTS" scfile=/scratch/kocevski/69121/ft2_4FGL_J0803.5+2046_daily_bin78.fits sctable="SC_DATA" expcube=/scratch/kocevski/69121/ltcube_259545601_259804801_4FGL_J0803.5+2046_daily_bin78.fits outfile=/scratch/kocevski/69121/expmap_259545601_259804801_4FGL_J0803.5+2046_daily_bin78.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/69121/ltcube_259545601_259804801_4FGL_J0803.5+2046_daily_bin78.fits
.....................!
real 196.68
user 186.51
sys 9.79

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/69121/ft1_filtered_4FGL_J0803.5+2046_daily_bin78.fits scfile=/scratch/kocevski/69121/ft2_4FGL_J0803.5+2046_daily_bin78.fits outfile=/scratch/kocevski/69121/cmap_259545601_259804801_4FGL_J0803.5+2046_daily_bin78.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 4.78
user 0.37
sys 4.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/69121/ft1_filtered_4FGL_J0803.5+2046_daily_bin78.fits scfile=/scratch/kocevski/69121/ft2_4FGL_J0803.5+2046_daily_bin78.fits outfile=/scratch/kocevski/69121/cmap_HighResolution_259545601_259804801_4FGL_J0803.5+2046_daily_bin78.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 4.87
user 0.39
sys 4.44

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/69121/ft1_filtered_4FGL_J0803.5+2046_daily_bin78.fits', '/scratch/kocevski/69121/ft2_4FGL_J0803.5+2046_daily_bin78.fits', expMap='/scratch/kocevski/69121/expmap_259545601_259804801_4FGL_J0803.5+2046_daily_bin78.fits', expCube='/scratch/kocevski/69121/ltcube_259545601_259804801_4FGL_J0803.5+2046_daily_bin78.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/69121/Model_4FGL_J0803.5+2046_daily_bin78.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/69121/ft1_filtered_4FGL_J0803.5+2046_daily_bin78.fits
Spacecraft file(s): /scratch/kocevski/69121/ft2_4FGL_J0803.5+2046_daily_bin78.fits
Exposure map: /scratch/kocevski/69121/expmap_259545601_259804801_4FGL_J0803.5+2046_daily_bin78.fits
Exposure cube: /scratch/kocevski/69121/ltcube_259545601_259804801_4FGL_J0803.5+2046_daily_bin78.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/69121/Model_4FGL_J0803.5+2046_daily_bin78.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) = 6171.68176366

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.624       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3560       1.0000         .10000E-03   10000.    
     3 'norm      '    2.4219       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11990E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .23456       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10286E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    81.753       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.786       1.0000         .10000E-03   10000.    
    11 'norm      '    8.9787       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.136       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.609       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.2913       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.1961       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.026       1.0000         .10000E-03   10000.    
    20 'norm      '    .10283E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.4471       1.0000         .10000E-03   10000.    
    23 'Prefactor '    39.463       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .78107       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1927       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=   6171.667     FROM MIGRAD    STATUS=CONVERGED    586 CALLS     2973 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.621        13.225        .10555E-07   -.10419E-04
   2  norm          2.3556        1.4855       -.35304E-07   -.15819E-03
   3  norm          2.4214        1.5728        .36382E-07   -.27403E-03
   4  Prefactor     .10000E-03    10.224        .15175E-05** at limit **
   5  norm          .21467        19.883       -.15843E-05    .26300E-04
   6  Prefactor     .10000E-03    23.639       -.17291E-05** at limit **
   7  Prefactor     .10000E-03    15.442        .29976E-06** at limit **
   8  Prefactor     81.737        44.689        .26608E-06   -.14072E-04
   9  Prefactor     .10000E-03    1.9721        .68933E-06** at limit **
  10  Prefactor     10.881        39.861        .15387E-05    .90319E-05
  11  norm          8.9764        17.689       -.36237E-06   -.34332E-04
  12  Prefactor     13.136        10.551       -.29572E-06   -.92571E-04
  13  Prefactor     .10000E-03    95.439       -.21268E-05** at limit **
  14  norm          .10000E-03    110.50        .26952E-05** at limit **
  15  Prefactor     .10000E-03    9.3134        .84260E-07** at limit **
  16  Prefactor     12.605        27.481        .29759E-07   -.12171E-04
  17  Prefactor     3.2837        42.016       -.58129E-07   -.26548E-05
  18  Prefactor     4.1951        15.047       -.49959E-06   -.17417E-04
  19  Prefactor     26.021        21.358       -.15027E-05   -.29022E-03
  20  norm          .10000E-03    .64256        .55705E-06** at limit **
  21  Prefactor     .10000E-03    5.7379        .66353E-06** at limit **
  22  Prefactor     4.4470        6.5956       -.22534E-06   -.55104E-04
  23  Prefactor     39.464        40.224       -.16563E-06   -.59484E-05
  24  Normalizat    .78087        .20631        .50480E-06   -.19590E-03
  25  Prefactor     1.1930        .15399       -.57198E-06   -.16496E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 21.6213
  norm       = 2.35558
  norm       = 2.4214
  Prefactor  = 0.0001
  norm       = 0.214667
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 81.7369
  Prefactor  = 0.000100002
  Prefactor  = 10.8807
  norm       = 8.97637
  Prefactor  = 13.1362
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6054
  Prefactor  = 3.28372
  Prefactor  = 4.19507
  Prefactor  = 26.021
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.447
  Prefactor  = 39.4636
  Normalizat = 0.780869
  Prefactor  = 1.19302
 **********
 **   18 **HESSE 
 **********

 FCN=   6171.667     FROM HESSE     STATUS=OK           431 CALLS     3404 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.621        13.235        .86135E-04   -1.4778    
   2  norm          2.3556        1.4807        .73024E-04   -1.5401    
   3  norm          2.4214        1.5608        .75855E-04   -1.5397    
   4  Prefactor     .10000E-03    10.275        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .21467        21.299        .20803E-02   -1.5615    
   6  Prefactor     .10000E-03    23.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     81.737        44.692        .44422E-04   -1.3897    
   9  Prefactor     .10000E-03    3.7109        .20118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.881        40.808        .12199E-03   -1.5048    
  11  norm          8.9764        17.674        .13376E-03   -1.5109    
  12  Prefactor     13.136        10.538        .11052E-03   -1.4983    
  13  Prefactor     .10000E-03    96.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    110.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.3171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.605        27.477        .11281E-03   -1.4998    
  17  Prefactor     3.2837        42.089        .22318E-03   -1.5346    
  18  Prefactor     4.1951        15.063        .19674E-03   -1.5298    
  19  Prefactor     26.021        22.027        .78525E-04   -1.4687    
  20  norm          .10000E-03    .97131        .11566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.7881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.4470        6.5939        .19095E-03   -1.5286    
  23  Prefactor     39.464        40.276        .63805E-04   -1.4451    
  24  Normalizat    .78087        .23415        .30948E-03   -1.0078    
  25  Prefactor     1.1930        .17578        .20290E-03   -.86547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.55537e-10
Minuit parameter uncertainties:
  1  13.2368
  2  1.48075
  3  1.56086
  4  2.52916e-06
  5  4.27711
  6  0.000105721
  7  8.9083e-06
  8  44.7106
  9  0.000153256
  10  40.9131
  11  17.6843
  12  10.5398
  13  0.000450967
  14  0.000383418
  15  1.82103e-08
  16  27.504
  17  23.5324
  18  15.077
  19  22.0338
  20  1.21475e-05
  21  3.76318e-06
  22  6.59494
  23  40.3039
  24  0.234454
  25  0.175868
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.000e-04  3.834e-04  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:  1.193e+00  1.759e-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:  7.809e-01  2.345e-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: 4.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/69121/likelihoodResults_259545601_259804801_4FGL_J0803.5+2046_daily_bin78.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) = 6171.66704292
delta logL = -4.28764824392e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6171.66704291
delta logL = -4.28733001172e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96353E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9991       1.0000          .0000       5.0000    
     3 'Normalizat'    .78087       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1930       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=   6171.667     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      187 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10023E-03    106.43        .90713E-02** at limit **
   2  alpha         1.9882        3.4120        .42247        .48521E-06
   3  Normalizat    .78087        .18904        .69938E-01   -.14140E-03
   4  Prefactor     1.1930        .15084        .34798E-01   -.18822E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010023
  alpha      = 1.98819
  Normalizat = 0.780868
  Prefactor  = 1.19302
 **********
 **   18 **HESSE 
 **********

 FCN=   6171.667     FROM HESSE     STATUS=OK            27 CALLS      214 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10023E-03    106.58        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9882        3.4119        .16899       -.20618    
   3  Normalizat    .78087        .21474        .30948E-03   -1.0078    
   4  Prefactor     1.1930        .17168        .20290E-03   -.86546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12557e-09
Minuit parameter uncertainties:
  1  0.00992592
  2  2.44707
  3  0.214969
  4  0.171758
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/69121': 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) = 6171.66700004
delta logL = 1.09139364213e-09

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.002e-04  9.926e-03  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  1.988e+00  2.447e+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:  1.193e+00  1.718e-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:  7.809e-01  2.150e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/69121/cmap_HighResolution_259545601_259804801_4FGL_J0803.5+2046_daily_bin78.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.27e-05', job_status='DONE', photon_flux_upper_limit='4.31e-08', time_completed='2021-08-28 23:02:23.639587', job_id='69121', GAL2='1.19', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1630216943.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='1.09e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='78' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 23:02:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 69121: <4FGL_J0803.5+2046_daily_bin78> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin78> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Aug 28 22:45:59 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 22:46:01 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:01 2021
Terminated at Sat Aug 28 23:02:25 2021
Results reported at Sat Aug 28 23:02:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin78 120.888 20.7678 259545601 259804801 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 :                                   808.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             268.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            986 sec.

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

