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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin1326
RA = 120.888, Dec = 20.7678
tmin = 583027201, tmax = 583286401
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='75402', job_status='RUN', time_executed='2021-08-28 23:08:12.039220', time_epoch_executed='1630217292.04' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='1326'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75402

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75402/ft1_4FGL_J0803.5+2046_daily_bin1326.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75402/ft2_4FGL_J0803.5+2046_daily_bin1326.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75402/ft1_4FGL_J0803.5+2046_daily_bin1326.fits outfile=/scratch/kocevski/75402/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1326.fits ra=120.888 dec=20.7678 rad=12.0 tmin=583027201.0 tmax=583286401.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 3.93
user 3.32
sys 0.56

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75402/ft1_filtered_4FGL_J0803.5+2046_daily_bin1326.fits" evtable="EVENTS" scfile=/scratch/kocevski/75402/ft2_4FGL_J0803.5+2046_daily_bin1326.fits sctable="SC_DATA" outfile=/scratch/kocevski/75402/ltcube_583027201_583286401_4FGL_J0803.5+2046_daily_bin1326.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/75402/ft2_4FGL_J0803.5+2046_daily_bin1326.fits
.....................!
real 12.36
user 11.60
sys 0.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75402/ft1_filtered_4FGL_J0803.5+2046_daily_bin1326.fits evtable="EVENTS" scfile=/scratch/kocevski/75402/ft2_4FGL_J0803.5+2046_daily_bin1326.fits sctable="SC_DATA" expcube=/scratch/kocevski/75402/ltcube_583027201_583286401_4FGL_J0803.5+2046_daily_bin1326.fits outfile=/scratch/kocevski/75402/expmap_583027201_583286401_4FGL_J0803.5+2046_daily_bin1326.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/75402/ltcube_583027201_583286401_4FGL_J0803.5+2046_daily_bin1326.fits
.....................!
real 191.16
user 186.02
sys 4.71

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/75402/ft1_filtered_4FGL_J0803.5+2046_daily_bin1326.fits scfile=/scratch/kocevski/75402/ft2_4FGL_J0803.5+2046_daily_bin1326.fits outfile=/scratch/kocevski/75402/cmap_583027201_583286401_4FGL_J0803.5+2046_daily_bin1326.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 1.29
user 0.38
sys 0.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75402/ft1_filtered_4FGL_J0803.5+2046_daily_bin1326.fits scfile=/scratch/kocevski/75402/ft2_4FGL_J0803.5+2046_daily_bin1326.fits outfile=/scratch/kocevski/75402/cmap_HighResolution_583027201_583286401_4FGL_J0803.5+2046_daily_bin1326.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 1.09
user 0.37
sys 0.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2308       1.0000         .10000E-03   10000.    
     5 'norm      '    2.2426       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.2251       1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.184       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5058       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.6013       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.892       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    57.319       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .27572E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.417       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8921       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .20913       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.7874       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    25.513       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .74313       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2988       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=   6920.306     FROM MIGRAD    STATUS=CONVERGED    620 CALLS     2957 TOTAL
                     EDM=   .94E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.3197       -.13461E-07** at limit **
   2  norm          .10000E-03    .53697       -.25222E-07** at limit **
   3  norm          .10000E-03    .54958        .52507E-07** at limit **
   4  Prefactor     2.2330        7.1205        .24562E-05    .34069E-05
   5  norm          2.2435        4.9338        .45527E-07   -.62741E-05
   6  Prefactor     .10000E-03    18.857       -.43372E-07** at limit **
   7  Prefactor     6.2254        14.275       -.39045E-08   -.29303E-05
   8  Prefactor     23.187        31.540        .15297E-05    .25720E-05
   9  Prefactor     4.5067        3.5931       -.53741E-07   -.25663E-04
  10  Prefactor     .10000E-03    26.755       -.73027E-07** at limit **
  11  norm          .10000E-03    11.367        .17341E-07** at limit **
  12  Prefactor     7.6000        8.0729        .16795E-06    .39607E-05
  13  Prefactor     25.598        86.783        .42610E-06    .15245E-06
  14  norm          .10000E-03    37.225       -.54280E-07** at limit **
  15  Prefactor     57.331        41.705        .22480E-05   -.57826E-06
  16  Prefactor     .10000E-03    40.020       -.23179E-05** at limit **
  17  Prefactor     11.418        21.580        .10656E-05    .41907E-05
  18  Prefactor     2.9159        28.271       -.34358E-06   -.29077E-05
  19  Prefactor     .10000E-03    14.423       -.13345E-06** at limit **
  20  norm          .20897        .98618        .13340E-06   -.53481E-04
  21  Prefactor     1.7871        17.463        .32709E-06   -.87707E-05
  22  Prefactor     .10000E-03    5.2977       -.38391E-07** at limit **
  23  Prefactor     25.515        31.107        .10303E-05    .48859E-05
  24  Normalizat    .74310        .21469       -.26928E-06    .11688E-04
  25  Prefactor     1.2988        .14828        .96615E-07   -.14499E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.23304
  norm       = 2.24354
  Prefactor  = 0.0001
  Prefactor  = 6.22539
  Prefactor  = 23.187
  Prefactor  = 4.50667
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.59998
  Prefactor  = 25.5978
  norm       = 0.0001
  Prefactor  = 57.3308
  Prefactor  = 0.0001
  Prefactor  = 11.418
  Prefactor  = 2.91585
  Prefactor  = 0.0001
  norm       = 0.208971
  Prefactor  = 1.78715
  Prefactor  = 0.0001
  Prefactor  = 25.5148
  Normalizat = 0.743101
  Prefactor  = 1.29877
 **********
 **   18 **HESSE 
 **********

 FCN=   6920.306     FROM HESSE     STATUS=OK           439 CALLS     3396 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.3222        .14803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .55711        .11897E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .56194        .60210E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.2330        7.1320        .13762E-02   -1.5409    
   5  norm          2.2435        4.8718        .24364E-03   -1.5408    
   6  Prefactor     .10000E-03    18.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.2254        14.151        .16089E-03   -1.5209    
   8  Prefactor     23.187        31.521        .83190E-04   -1.4745    
   9  Prefactor     4.5067        3.5896        .13107E-03   -1.5283    
  10  Prefactor     .10000E-03    26.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    11.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.6000        8.0690        .14545E-03   -1.5157    
  13  Prefactor     25.598        86.767        .78727E-04   -1.4696    
  14  norm          .10000E-03    37.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     57.331        45.901        .52988E-04   -1.4192    
  16  Prefactor     .10000E-03    41.296        .13641       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.418        21.580        .11856E-03   -1.5032    
  18  Prefactor     2.9159        28.329        .23896E-03   -1.5366    
  19  Prefactor     .10000E-03    14.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .20897        .92529        .15018E-03   -1.5617    
  21  Prefactor     1.7871        16.775        .31292E-03   -1.5441    
  22  Prefactor     .10000E-03    5.3800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     25.515        31.115        .79308E-04   -1.4697    
  24  Normalizat    .74310        .24161        .33411E-03   -1.0222    
  25  Prefactor     1.2988        .16885        .19830E-03   -.83344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.909e-11
Minuit parameter uncertainties:
  1  8.05958e-07
  2  8.94455e-07
  3  3.64006e-06
  4  7.13474
  5  4.87267
  6  3.18374e-06
  7  14.1586
  8  31.5433
  9  3.58979
  10  4.18199e-06
  11  1.16083e-05
  12  8.07013
  13  87.1994
  14  1.13353e-05
  15  45.9295
  16  5.559e-07
  17  21.5945
  18  18.1882
  19  1.23657e-05
  20  0.879265
  21  10.9543
  22  9.20127e-06
  23  31.1351
  24  0.241954
  25  0.168922
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.000e-04  1.134e-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.299e+00  1.689e-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.431e-01  2.420e-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.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/75402/likelihoodResults_583027201_583286401_4FGL_J0803.5+2046_daily_bin1326.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) = 6920.3061754
delta logL = -0.000127800476548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6920.30604774
delta logL = -1.35883055918e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10092E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.6732       1.0000          .0000       5.0000    
     3 'Normalizat'    .74310       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2988       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=   6920.306     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      240 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    33.826        .90712E-02** at limit **
   2  alpha         4.6881        3.5134        .50000       -.26659E-05
   3  Normalizat    .74310        .19005        .75478E-01    .83417E-04
   4  Prefactor     1.2988        .14561        .32631E-01    .58240E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 4.68811
  Normalizat = 0.743101
  Prefactor  = 1.29877
 **********
 **   18 **HESSE 
 **********

 FCN=   6920.306     FROM HESSE     STATUS=OK            31 CALLS      271 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    34.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.6881        3.5118        .50000        1.0659    
   3  Normalizat    .74310        .21373        .33411E-03   -1.0222    
   4  Prefactor     1.2988        .16426        .19830E-03   -.83344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.98394e-11
Minuit parameter uncertainties:
  1  0.000482358
  2  1.20928
  3  0.213966
  4  0.164321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75402': 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) = 6920.30604769
delta logL = -9.02718966245e-08

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.000e-04  4.824e-04  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  4.688e+00  1.209e+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.299e+00  1.643e-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.431e-01  2.140e-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 -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/75402/cmap_HighResolution_583027201_583286401_4FGL_J0803.5+2046_daily_bin1326.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.74e-05', job_status='DONE', photon_flux_upper_limit='3.32e-08', time_completed='2021-08-28 23:20:03.512334', job_id='75402', GAL2='1.30', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1630218003.51', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='-9.03e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1326' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 23:20:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 75402: <4FGL_J0803.5+2046_daily_bin1326> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1326> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 28 23:05:59 2021
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 23:06: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 23:06:01 2021
Terminated at Sat Aug 28 23:20:03 2021
Results reported at Sat Aug 28 23:20:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin1326 120.888 20.7678 583027201 583286401 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 :                                   711.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            844 sec.

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

