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


Performing analysis on: 4FGL_J0809.8+0507_daily_bin742
RA = 122.453, Dec = 5.1313
tmin = 431654401, tmax = 431913601
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='252960', job_status='RUN', time_executed='2021-08-29 09:04:13.744331', time_epoch_executed='1630253053.74' WHERE source_name='4FGL J0809.8+0507' and cadence='daily' and bin_id='742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/252960

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/252960/ft1_4FGL_J0809.8+0507_daily_bin742.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/252960/ft2_4FGL_J0809.8+0507_daily_bin742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/252960/ft1_4FGL_J0809.8+0507_daily_bin742.fits outfile=/scratch/kocevski/252960/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin742.fits ra=122.453 dec=5.1313 rad=12.0 tmin=431654401.0 tmax=431913601.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.65
user 5.68
sys 0.94

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/252960/ft2_4FGL_J0809.8+0507_daily_bin742.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/252960/ft2_4FGL_J0809.8+0507_daily_bin742.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/252960/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin742.fits evtable="EVENTS" outfile="/scratch/kocevski/252960/ft1_filtered_4FGL_J0809.8+0507_daily_bin742.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 1.21
user 0.33
sys 0.85

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/252960/ft1_filtered_4FGL_J0809.8+0507_daily_bin742.fits" evtable="EVENTS" scfile=/scratch/kocevski/252960/ft2_4FGL_J0809.8+0507_daily_bin742.fits sctable="SC_DATA" outfile=/scratch/kocevski/252960/ltcube_431654401_431913601_4FGL_J0809.8+0507_daily_bin742.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/252960/ft2_4FGL_J0809.8+0507_daily_bin742.fits
.....................!
real 13.12
user 12.03
sys 1.05

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/252960/ft1_filtered_4FGL_J0809.8+0507_daily_bin742.fits evtable="EVENTS" scfile=/scratch/kocevski/252960/ft2_4FGL_J0809.8+0507_daily_bin742.fits sctable="SC_DATA" expcube=/scratch/kocevski/252960/ltcube_431654401_431913601_4FGL_J0809.8+0507_daily_bin742.fits outfile=/scratch/kocevski/252960/expmap_431654401_431913601_4FGL_J0809.8+0507_daily_bin742.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/252960/ltcube_431654401_431913601_4FGL_J0809.8+0507_daily_bin742.fits
.....................!
real 191.10
user 185.41
sys 5.32

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

Setting source of interest to:
4FGL J0809.8+0507 @ 122.453 5.1313

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/252960/ft1_filtered_4FGL_J0809.8+0507_daily_bin742.fits scfile=/scratch/kocevski/252960/ft2_4FGL_J0809.8+0507_daily_bin742.fits outfile=/scratch/kocevski/252960/cmap_431654401_431913601_4FGL_J0809.8+0507_daily_bin742.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=122.453 yref=5.1313 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.22
user 0.36
sys 0.83

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/252960/ft1_filtered_4FGL_J0809.8+0507_daily_bin742.fits scfile=/scratch/kocevski/252960/ft2_4FGL_J0809.8+0507_daily_bin742.fits outfile=/scratch/kocevski/252960/cmap_HighResolution_431654401_431913601_4FGL_J0809.8+0507_daily_bin742.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=122.453 yref=5.1313 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.61
user 0.39
sys 0.82

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/252960/ft1_filtered_4FGL_J0809.8+0507_daily_bin742.fits evtable="EVENTS" scfile=/scratch/kocevski/252960/ft2_4FGL_J0809.8+0507_daily_bin742.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/252960/Model_4FGL_J0809.8+0507_daily_bin742.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/252960/ft1_filtered_4FGL_J0809.8+0507_daily_bin742.fits.....................!
real 83.20
user 80.70
sys 2.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/252960/ft1_filtered_4FGL_J0809.8+0507_daily_bin742.fits', '/scratch/kocevski/252960/ft2_4FGL_J0809.8+0507_daily_bin742.fits', expMap='/scratch/kocevski/252960/expmap_431654401_431913601_4FGL_J0809.8+0507_daily_bin742.fits', expCube='/scratch/kocevski/252960/ltcube_431654401_431913601_4FGL_J0809.8+0507_daily_bin742.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/252960/Model_4FGL_J0809.8+0507_daily_bin742.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.8+0507'

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  4.437e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/252960/ft1_filtered_4FGL_J0809.8+0507_daily_bin742.fits
Spacecraft file(s): /scratch/kocevski/252960/ft2_4FGL_J0809.8+0507_daily_bin742.fits
Exposure map: /scratch/kocevski/252960/expmap_431654401_431913601_4FGL_J0809.8+0507_daily_bin742.fits
Exposure cube: /scratch/kocevski/252960/ltcube_431654401_431913601_4FGL_J0809.8+0507_daily_bin742.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/252960/Model_4FGL_J0809.8+0507_daily_bin742.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) = 6908.75363155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10964E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    91.456       1.0000         .10000E-03   10000.    
     3 'norm      '    .11124E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3456       1.0000         .10000E-03   10000.    
     6 'norm      '    6.7659       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.938       1.0000         .10000E-03   10000.    
    11 'norm      '    13.758       1.0000         .10000E-03   10000.    
    12 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10456       1.0000         .10000E-03   10000.    
    14 'norm      '    .10220E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10395E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    21.845       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0505       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91966       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6908.716     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     1968 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.518        .27497E-06** at limit **
   2  Prefactor     91.431        39.453        .97603E-05   -.19209E-05
   3  norm          .10000E-03    .63229       -.72259E-07** at limit **
   4  Prefactor     .10000E-03    15.291       -.18134E-06** at limit **
   5  Prefactor     2.3459        3.2155       -.73632E-07   -.71473E-03
   6  norm          6.7905        16.741       -.20805E-07   -.36928E-04
   7  Prefactor     .10000E-03    8.5250        .10899E-06** at limit **
   8  Prefactor     .10000E-03    31.848       -.23369E-06** at limit **
   9  Prefactor     .10000E-03    4.1446        .58254E-07** at limit **
  10  Prefactor     21.022        29.309        .50669E-05    .10999E-03
  11  norm          13.749        10.302        .13222E-05   -.52037E-04
  12  norm          .10000E-03    .65134       -.17414E-07** at limit **
  13  norm          .10003E-03    16.311       -.15852E-05** at limit **
  14  norm          .10000E-03    3.4254       -.52982E-07** at limit **
  15  Prefactor     .10000E-03    18.337        .85087E-06** at limit **
  16  Prefactor     .10000E-03    8.2093        .39539E-07** at limit **
  17  norm          .10000E-03    .47260        .91901E-07** at limit **
  18  norm          21.836        9.8311        .76299E-06   -.53308E-04
  19  Prefactor     .10000E-03    18.877       -.86797E-06** at limit **
  20  Normalizat    1.0502        .18292       -.17594E-05    .68423E-04
  21  Prefactor     .91995        .12091       -.97469E-06    .61654E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 91.4309
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.34593
  norm       = 6.79051
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.0217
  norm       = 13.7487
  norm       = 0.0001
  norm       = 0.000100031
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 21.8356
  Prefactor  = 0.0001
  Normalizat = 1.05023
  Prefactor  = 0.919954
 **********
 **   18 **HESSE 
 **********

 FCN=   6908.716     FROM HESSE     STATUS=OK           323 CALLS     2291 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     91.431        39.189        .42020E-04   -1.3793    
   3  norm          .10000E-03    .65713        .12898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3459        3.2099        .16513E-03   -1.5402    
   6  norm          6.7905        16.677        .15426E-03   -1.5187    
   7  Prefactor     .10000E-03    8.5366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    31.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.748        .32497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.022        29.666        .87533E-04   -1.4791    
  11  norm          13.749        10.201        .10799E-03   -1.4966    
  12  norm          .10000E-03    .65879        .65490E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10003E-03    21.024        .95030E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.5522        .30011E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.2473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .97549        .11003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          21.836        9.8173        .85699E-04   -1.4773    
  19  Prefactor     .10000E-03    18.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0502        .21059        .27883E-03   -.91366    
  21  Prefactor     .91995        .14008        .20301E-03   -.95447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38236e-10
Minuit parameter uncertainties:
  1  3.73007e-05
  2  39.1999
  3  4.85477e-06
  4  1.39389e-05
  5  3.21014
  6  16.6888
  7  1.23664e-05
  8  7.91823e-06
  9  4.7741e-06
  10  29.6872
  11  10.2021
  12  1.29029e-06
  13  0.00160583
  14  2.54932e-07
  15  9.3776e-06
  16  2.07207e-05
  17  9.35184e-06
  18  9.81804
  19  2.54299e-05
  20  0.210757
  21  0.140131
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  1.000e-04  1.606e-03  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.815e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.580e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.200e-01  1.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.050e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 122.453 5.131
Photon Flux Upper Limit: 7.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/252960/likelihoodResults_431654401_431913601_4FGL_J0809.8+0507_daily_bin742.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) = 6908.71586311
delta logL = -1.36259859573e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6908.71586311
delta logL = -1.36216385727e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96367E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8151       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+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=   6908.716     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      288 TOTAL
                     EDM=   .96E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    623.13        .94499E-01** at limit **
   2  alpha         2.8788        2.9168        .16629        .33568E-07
   3  Normalizat    1.0502        .26283        .27883E-03    .10030E-04
   4  Prefactor     .91995        .14211        .20301E-03    .17473E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 2.87883
  Normalizat = 1.05023
  Prefactor  = 0.919954
 **********
 **   18 **HESSE 
 **********

 FCN=   6908.716     FROM HESSE     STATUS=OK            33 CALLS      321 TOTAL
                     EDM=   .23E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    37.629        .98309E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.8788        3.9036        .66516E-02    .15212    
   3  Normalizat    1.0502        .20544        .11153E-04   -.91366    
   4  Prefactor     .91995        .13900        .81203E-05   -.95447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33432e-13
Minuit parameter uncertainties:
  1  0.000531118
  2  3.66482
  3  0.205599
  4  0.139053
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/252960': 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) = 6908.71586175
delta logL = -9.79525793809e-10

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  1.000e-04  5.311e-04  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.879e+00  3.665e+00  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  8.580e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  4.471e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.200e-01  1.391e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.050e+00  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.453 5.131

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/252960/cmap_HighResolution_431654401_431913601_4FGL_J0809.8+0507_daily_bin742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.03e-05', job_status='DONE', photon_flux_upper_limit='7.71e-08', time_completed='2021-08-29 09:15:05.441251', job_id='252960', GAL2='0.92', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630253705.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-9.80e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='742' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 09:15:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 252960: <4FGL_J0809.8+0507_daily_bin742> in cluster <slac> Done

Job <4FGL_J0809.8+0507_daily_bin742> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 29 09:00:36 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 09:00:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 09:00:37 2021
Terminated at Sun Aug 29 09:15:07 2021
Results reported at Sun Aug 29 09:15:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0809.8+0507_daily_bin742 122.453 5.1313 431654401 431913601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0809.8+0507 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   661.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            871 sec.

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

