/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 199 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 = 7534
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0809.8+0507_daily_bin134
RA = 122.453, Dec = 5.1313
tmin = 274060801, tmax = 274320001
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='248789', job_status='RUN', time_executed='2021-08-29 08:49:23.772553', time_epoch_executed='1630252163.77' WHERE source_name='4FGL J0809.8+0507' and cadence='daily' and bin_id='134'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248789

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248789/ft1_4FGL_J0809.8+0507_daily_bin134.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248789/ft2_4FGL_J0809.8+0507_daily_bin134.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248789/ft1_4FGL_J0809.8+0507_daily_bin134.fits outfile=/scratch/kocevski/248789/ft1_filteredMKT_4FGL_J0809.8+0507_daily_bin134.fits ra=122.453 dec=5.1313 rad=12.0 tmin=274060801.0 tmax=274320001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.27
user 3.43
sys 0.82

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248789/ft1_filtered_4FGL_J0809.8+0507_daily_bin134.fits" evtable="EVENTS" scfile=/scratch/kocevski/248789/ft2_4FGL_J0809.8+0507_daily_bin134.fits sctable="SC_DATA" outfile=/scratch/kocevski/248789/ltcube_274060801_274320001_4FGL_J0809.8+0507_daily_bin134.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/248789/ft2_4FGL_J0809.8+0507_daily_bin134.fits
.....................!
real 12.78
user 11.72
sys 1.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248789/ft1_filtered_4FGL_J0809.8+0507_daily_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/248789/ft2_4FGL_J0809.8+0507_daily_bin134.fits sctable="SC_DATA" expcube=/scratch/kocevski/248789/ltcube_274060801_274320001_4FGL_J0809.8+0507_daily_bin134.fits outfile=/scratch/kocevski/248789/expmap_274060801_274320001_4FGL_J0809.8+0507_daily_bin134.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/248789/ltcube_274060801_274320001_4FGL_J0809.8+0507_daily_bin134.fits
.....................!
real 192.44
user 186.77
sys 5.29

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/248789/ft1_filtered_4FGL_J0809.8+0507_daily_bin134.fits scfile=/scratch/kocevski/248789/ft2_4FGL_J0809.8+0507_daily_bin134.fits outfile=/scratch/kocevski/248789/cmap_274060801_274320001_4FGL_J0809.8+0507_daily_bin134.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.15
user 0.37
sys 0.76

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248789/ft1_filtered_4FGL_J0809.8+0507_daily_bin134.fits scfile=/scratch/kocevski/248789/ft2_4FGL_J0809.8+0507_daily_bin134.fits outfile=/scratch/kocevski/248789/cmap_HighResolution_274060801_274320001_4FGL_J0809.8+0507_daily_bin134.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.15
user 0.37
sys 0.77

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/248789/ft1_filtered_4FGL_J0809.8+0507_daily_bin134.fits', '/scratch/kocevski/248789/ft2_4FGL_J0809.8+0507_daily_bin134.fits', expMap='/scratch/kocevski/248789/expmap_274060801_274320001_4FGL_J0809.8+0507_daily_bin134.fits', expCube='/scratch/kocevski/248789/ltcube_274060801_274320001_4FGL_J0809.8+0507_daily_bin134.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/248789/Model_4FGL_J0809.8+0507_daily_bin134.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/248789/ft1_filtered_4FGL_J0809.8+0507_daily_bin134.fits
Spacecraft file(s): /scratch/kocevski/248789/ft2_4FGL_J0809.8+0507_daily_bin134.fits
Exposure map: /scratch/kocevski/248789/expmap_274060801_274320001_4FGL_J0809.8+0507_daily_bin134.fits
Exposure cube: /scratch/kocevski/248789/ltcube_274060801_274320001_4FGL_J0809.8+0507_daily_bin134.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/248789/Model_4FGL_J0809.8+0507_daily_bin134.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) = 6101.57807336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .91941       1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.275       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3982       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .34272       1.0000         .10000E-03   10000.    
    10 'Prefactor '    46.577       1.0000         .10000E-03   10000.    
    11 'norm      '    11.073       1.0000         .10000E-03   10000.    
    12 'norm      '    1.9137       1.0000         .10000E-03   10000.    
    13 'norm      '    .10671E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    36.664       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.0610       1.0000         .10000E-03   10000.    
    18 'norm      '    .85855       1.0000         .10000E-03   10000.    
    19 'Prefactor '    87.814       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .79577       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1363       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=   6101.562     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     2244 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.512       -.21270E-04** at limit **
   2  Prefactor     .10000E-03    52.530        .77243E-04** at limit **
   3  norm          .91753        2.4900       -.10286E-05   -.16533E-02
   4  Prefactor     24.278        23.420        .12285E-05    .68076E-05
   5  Prefactor     6.3988        3.8286       -.10591E-06   -.94578E-04
   6  norm          .10000E-03    6.0746       -.71808E-07** at limit **
   7  Prefactor     .10000E-03    4.2934        .18539E-06** at limit **
   8  Prefactor     .10000E-03    76.920       -.78864E-04** at limit **
   9  Prefactor     .33025        8.9436        .18759E-06   -.18637E-03
  10  Prefactor     46.588        37.073        .96186E-05   -.16235E-04
  11  norm          11.078        14.610       -.88064E-06   -.59737E-04
  12  norm          1.9138        2.2363        .55034E-07   -.11969E-03
  13  norm          .10000E-03    12.636       -.32168E-07** at limit **
  14  norm          .10000E-03    2.3491       -.26192E-06** at limit **
  15  Prefactor     36.672        28.520        .43151E-05   -.10067E-04
  16  Prefactor     .10000E-03    4.0562        .53194E-07** at limit **
  17  norm          4.0614        1.4397        .14741E-07    .29353E-04
  18  norm          .84891        5.5917       -.63710E-06    .65870E-04
  19  Prefactor     87.821        53.264        .61414E-05   -.48892E-05
  20  Normalizat    .79527        .22624       -.41188E-05   -.23036E-04
  21  Prefactor     1.1367        .14919        .84848E-06   -.29633E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.917534
  Prefactor  = 24.2778
  Prefactor  = 6.39883
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.33025
  Prefactor  = 46.5882
  norm       = 11.0777
  norm       = 1.91377
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 36.6718
  Prefactor  = 0.0001
  norm       = 4.0614
  norm       = 0.848911
  Prefactor  = 87.8212
  Normalizat = 0.79527
  Prefactor  = 1.1367
 **********
 **   18 **HESSE 
 **********

 FCN=   6101.562     FROM HESSE     STATUS=OK           319 CALLS     2563 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    52.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .91753        2.4935        .18283E-03   -1.5516    
   4  Prefactor     24.278        23.427        .81302E-04   -1.4722    
   5  Prefactor     6.3988        3.8338        .11110E-03   -1.5202    
   6  norm          .10000E-03    6.0769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.2993        .15806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    76.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33025        71.384        .41884E-02   -1.5593    
  10  Prefactor     46.588        37.103        .58751E-04   -1.4342    
  11  norm          11.078        14.597        .12040E-03   -1.5042    
  12  norm          1.9138        2.2237        .12056E-03   -1.5431    
  13  norm          .10000E-03    12.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.3738        .11684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     36.672        28.545        .66188E-04   -1.4496    
  16  Prefactor     .10000E-03    4.0594        .15364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.0614        1.4401        .52560E-04   -1.5305    
  18  norm          .84891        25.442        .34493E-02   -1.5524    
  19  Prefactor     87.821        53.276        .42875E-04   -1.3831    
  20  Normalizat    .79527        .25409        .34012E-03   -1.0024    
  21  Prefactor     1.1367        .16939        .19935E-03   -.88302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43302e-09
Minuit parameter uncertainties:
  1  2.97747e-05
  2  0.000300636
  3  2.49374
  4  23.4363
  5  3.83396
  6  4.1893e-07
  7  6.41264e-07
  8  5.80871e-05
  9  9.72101
  10  37.1212
  11  14.6012
  12  2.22379
  13  0.000138334
  14  1.01514e-05
  15  28.5559
  16  4.27502e-06
  17  1.44009
  18  9.29858
  19  53.3047
  20  0.254465
  21  0.169472
Done.

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

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  1.000e-04  1.383e-04  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:  1.137e+00  1.695e-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:  7.953e-01  2.545e-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.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/248789/likelihoodResults_274060801_274320001_4FGL_J0809.8+0507_daily_bin134.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) = 6101.56204672
delta logL = -0.000376389927624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6101.56167034
delta logL = -2.25008989219e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8132       1.0000          .0000       5.0000    
     3 'Normalizat'    .79527       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1367       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=   6101.562     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      218 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10012E-03    15.421        .18142E-02** at limit **
   2  alpha         2.7501        3.2086        .16627E-01    .37224E-06
   3  Normalizat    .79527        .23436        .34012E-03   -.19454E-04
   4  Prefactor     1.1367        .16264        .19935E-03   -.18637E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100116
  alpha      = 2.75013
  Normalizat = 0.795267
  Prefactor  = 1.1367
 **********
 **   18 **HESSE 
 **********

 FCN=   6101.562     FROM HESSE     STATUS=OK            23 CALLS      241 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10012E-03    12.762        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7501        3.0320        .33254E-02    .10022    
   3  Normalizat    .79527        .23451        .13605E-04   -1.0024    
   4  Prefactor     1.1367        .16275        .39870E-04   -.88302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72746e-08
Minuit parameter uncertainties:
  1  0.00243302
  2  648.034
  3  0.234805
  4  0.162817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248789': 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) = 6101.56167032
delta logL = 1.03364072856e-08

Extracting fit parameters...

4FGL J0809.8+0507
   Spectrum: LogParabola
280         norm:  1.001e-04  2.433e-03  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.750e+00  6.480e+02  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:  1.137e+00  1.628e-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:  7.953e-01  2.348e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/248789/cmap_HighResolution_274060801_274320001_4FGL_J0809.8+0507_daily_bin134.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.98e-05', job_status='DONE', photon_flux_upper_limit='7.51e-08', time_completed='2021-08-29 08:59:31.410543', job_id='248789', GAL2='1.14', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1630252771.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.03e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.82' WHERE bin_id='134' AND source_name='4FGL J0809.8+0507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 08:59:31 PDT 2021


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

Job <4FGL_J0809.8+0507_daily_bin134> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 08:45:44 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 08:45:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 08:45:45 2021
Terminated at Sun Aug 29 08:59:32 2021
Results reported at Sun Aug 29 08:59:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0809.8+0507_daily_bin134 122.453 5.1313 274060801 274320001 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 :                                   618.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             241.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            828 sec.

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

