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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin1364
RA = 120.888, Dec = 20.7678
tmin = 592876801, tmax = 593136001
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='75452', job_status='RUN', time_executed='2021-08-28 23:07:50.582898', time_epoch_executed='1630217270.58' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='1364'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75452

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75452/ft1_4FGL_J0803.5+2046_daily_bin1364.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75452/ft2_4FGL_J0803.5+2046_daily_bin1364.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75452/ft1_4FGL_J0803.5+2046_daily_bin1364.fits outfile=/scratch/kocevski/75452/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1364.fits ra=120.888 dec=20.7678 rad=12.0 tmin=592876801.0 tmax=593136001.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 8.95
user 3.58
sys 5.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/75452/ft2_4FGL_J0803.5+2046_daily_bin1364.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/75452/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1364.fits evtable="EVENTS" outfile="/scratch/kocevski/75452/ft1_filtered_4FGL_J0803.5+2046_daily_bin1364.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 5.68
user 0.35
sys 5.30

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75452/ft1_filtered_4FGL_J0803.5+2046_daily_bin1364.fits" evtable="EVENTS" scfile=/scratch/kocevski/75452/ft2_4FGL_J0803.5+2046_daily_bin1364.fits sctable="SC_DATA" outfile=/scratch/kocevski/75452/ltcube_592876801_593136001_4FGL_J0803.5+2046_daily_bin1364.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/75452/ft2_4FGL_J0803.5+2046_daily_bin1364.fits
.....................!
real 17.57
user 11.44
sys 6.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75452/ft1_filtered_4FGL_J0803.5+2046_daily_bin1364.fits evtable="EVENTS" scfile=/scratch/kocevski/75452/ft2_4FGL_J0803.5+2046_daily_bin1364.fits sctable="SC_DATA" expcube=/scratch/kocevski/75452/ltcube_592876801_593136001_4FGL_J0803.5+2046_daily_bin1364.fits outfile=/scratch/kocevski/75452/expmap_592876801_593136001_4FGL_J0803.5+2046_daily_bin1364.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/75452/ltcube_592876801_593136001_4FGL_J0803.5+2046_daily_bin1364.fits
.....................!
real 198.38
user 185.99
sys 11.76

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/75452/ft1_filtered_4FGL_J0803.5+2046_daily_bin1364.fits scfile=/scratch/kocevski/75452/ft2_4FGL_J0803.5+2046_daily_bin1364.fits outfile=/scratch/kocevski/75452/cmap_592876801_593136001_4FGL_J0803.5+2046_daily_bin1364.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 5.64
user 0.38
sys 5.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75452/ft1_filtered_4FGL_J0803.5+2046_daily_bin1364.fits scfile=/scratch/kocevski/75452/ft2_4FGL_J0803.5+2046_daily_bin1364.fits outfile=/scratch/kocevski/75452/cmap_HighResolution_592876801_593136001_4FGL_J0803.5+2046_daily_bin1364.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 5.53
user 0.39
sys 5.12

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.799       1.0000         .10000E-03   10000.    
     2 'norm      '    .24571E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    4.8016       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17728E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    3.1268       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16381E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.2177       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.6749       1.0000         .10000E-03   10000.    
    13 'Prefactor '    38.089       1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.9536       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.383       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.5812       1.0000         .10000E-03   10000.    
    20 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19989       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.2290       1.0000         .10000E-03   10000.    
    23 'Prefactor '    36.930       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0529       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0539       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=   7647.686     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2951 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.799        12.357       -.12197E-08   -.77671E-04
   2  norm          .30224E-01    .45291       -.20886E-06   -.12485E-03
   3  norm          4.8057        2.0505       -.28359E-06   -.40750E-02
   4  Prefactor     .10169E-03    8.6585        .30929E-05** at limit **
   5  norm          3.1302        3.6641       -.72841E-06   -.12385E-02
   6  Prefactor     .10000E-03    21.395        .14353E-04** at limit **
   7  Prefactor     .10000E-03    12.250        .36225E-05** at limit **
   8  Prefactor     .10000E-03    112.59       -.30505E-04** at limit **
   9  Prefactor     1.2153        2.6955       -.29704E-06   -.13056E-02
  10  Prefactor     .10000E-03    21.120        .21415E-04** at limit **
  11  norm          .10000E-03    8.3727       -.22303E-06** at limit **
  12  Prefactor     7.6729        8.7648        .77976E-07   -.22695E-04
  13  Prefactor     38.068        68.388       -.27013E-04   -.67612E-06
  14  norm          .10000E-03    53.837        .14486E-04** at limit **
  15  Prefactor     .10000E-03    13.660       -.69154E-05** at limit **
  16  Prefactor     4.9581        18.767       -.26839E-05   -.26909E-05
  17  Prefactor     .10000E-03    23.592       -.38425E-04** at limit **
  18  Prefactor     18.385        17.085       -.17325E-06   -.16269E-05
  19  Prefactor     7.5758        20.048        .25489E-05    .54198E-04
  20  norm          .10000E-03    .38861       -.75734E-07** at limit **
  21  Prefactor     .17009        5.5196       -.13564E-05    .24403E-03
  22  Prefactor     7.2331        7.9171        .69300E-07    .75825E-04
  23  Prefactor     36.924        45.688       -.78518E-05    .19466E-04
  24  Normalizat    1.0529        .19487        .14749E-05   -.11102E-04
  25  Prefactor     1.0539        .13739        .29863E-06    .27715E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.799
  norm       = 0.0302241
  norm       = 4.80567
  Prefactor  = 0.000101687
  norm       = 3.1302
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.21534
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.6729
  Prefactor  = 38.0676
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.95813
  Prefactor  = 0.0001
  Prefactor  = 18.3854
  Prefactor  = 7.5758
  norm       = 0.0001
  Prefactor  = 0.170088
  Prefactor  = 7.23315
  Prefactor  = 36.9243
  Normalizat = 1.0529
  Prefactor  = 1.05392
 **********
 **   18 **HESSE 
 **********

 FCN=   7647.686     FROM HESSE     STATUS=OK           435 CALLS     3386 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.799        12.360        .83888E-04   -1.4753    
   2  norm          .30224E-01    5.9714        .11331E-02   -1.5673    
   3  norm          4.8057        1.7544        .66769E-04   -1.5269    
   4  Prefactor     .10169E-03    77.138        .41289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.1302        3.6725        .17157E-03   -1.5354    
   6  Prefactor     .10000E-03    21.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    113.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.2153        2.6875        .20104E-03   -1.5487    
  10  Prefactor     .10000E-03    21.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    8.3838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.6729        8.7505        .14475E-03   -1.5154    
  13  Prefactor     38.068        68.182        .64942E-04   -1.4473    
  14  norm          .10000E-03    53.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.9581        18.759        .18070E-03   -1.5263    
  17  Prefactor     .10000E-03    23.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.385        17.124        .93413E-04   -1.4850    
  19  Prefactor     7.5758        19.998        .14565E-03   -1.5157    
  20  norm          .10000E-03    .39304        .10570E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .17009        148.32        .37239E-02   -1.5626    
  22  Prefactor     7.2331        7.9514        .14919E-03   -1.5170    
  23  Prefactor     36.924        45.909        .65950E-04   -1.4492    
  24  Normalizat    1.0529        .23536        .28399E-03   -.91279    
  25  Prefactor     1.0539        .16577        .21558E-03   -.90953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75337e-08
Minuit parameter uncertainties:
  1  12.361
  2  0.84834
  3  1.75446
  4  0.0228456
  5  3.6728
  6  4.43498e-05
  7  4.4979e-06
  8  4.80127e-05
  9  2.68775
  10  4.13694e-05
  11  2.72994e-06
  12  8.75191
  13  68.3226
  14  2.46521e-05
  15  1.43485e-06
  16  18.7811
  17  3.82485e-05
  18  17.1284
  19  20.0158
  20  3.26509e-06
  21  10.0675
  22  7.95256
  23  45.9534
  24  0.235589
  25  0.165855
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.000e-04  2.465e-05  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.054e+00  1.659e-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.053e+00  2.356e-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: 3.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.95e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/75452/likelihoodResults_592876801_593136001_4FGL_J0803.5+2046_daily_bin1364.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) = 7647.68624254
delta logL = -8.83920001797e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7647.68615396
delta logL = 1.83013071364e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2846       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0539       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7647.686     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      299 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10295E-03    4.5448        .18142    ** at limit **
   2  alpha         3.6398        4.2282        .50000        .76466E-07
   3  Normalizat    1.0529        .19941E-02    .28399E-03   -.14259E-03
   4  Prefactor     1.0539        .15232E-02    .21558E-03   -.64284E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000102954
  alpha      = 3.63978
  Normalizat = 1.0529
  Prefactor  = 1.05392
 **********
 **   18 **HESSE 
 **********

 FCN=   7647.686     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      336 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10295E-03    10.539        .13003       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6398        4.0312        .50000        .47340    
   3  Normalizat    1.0529        .23831E-02    .11360E-04   -.91279    
   4  Prefactor     1.0539        .18203E-02    .86232E-05   -.90953    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.70104e-11
Minuit parameter uncertainties:
  1  0.0111619
  2  338.537
  3  0.0023831
  4  0.00182028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75452': 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) = 7647.68615323
delta logL = 9.10657945496e-07

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.030e-04  1.116e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  3.640e+00  3.385e+02  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.054e+00  1.820e-03  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.053e+00  2.383e-03  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/75452/cmap_HighResolution_592876801_593136001_4FGL_J0803.5+2046_daily_bin1364.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-05', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2021-08-28 23:22:07.506223', job_id='75452', GAL2='1.05', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630218127.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='9.11e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1364' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 23:22:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 75452: <4FGL_J0803.5+2046_daily_bin1364> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1364> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 28 23:06:04 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 23:06:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 23:06:05 2021
Terminated at Sat Aug 28 23:22:08 2021
Results reported at Sat Aug 28 23:22:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin1364 120.888 20.7678 592876801 593136001 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 :                                   933.10 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             316.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   963 sec.
    Turnaround time :                            964 sec.

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

