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


Performing analysis on: 4FGL_J0809.3+4053_daily_bin416
RA = 122.33, Dec = 40.8954
tmin = 347155201, tmax = 347414401
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='229289', job_status='RUN', time_executed='2021-08-29 07:49:22.954478', time_epoch_executed='1630248562.95' WHERE source_name='4FGL J0809.3+4053' and cadence='daily' and bin_id='416'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229289

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229289/ft1_4FGL_J0809.3+4053_daily_bin416.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229289/ft2_4FGL_J0809.3+4053_daily_bin416.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229289/ft1_4FGL_J0809.3+4053_daily_bin416.fits outfile=/scratch/kocevski/229289/ft1_filteredMKT_4FGL_J0809.3+4053_daily_bin416.fits ra=122.33 dec=40.8954 rad=12.0 tmin=347155201.0 tmax=347414401.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.77
user 3.24
sys 0.51

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/229289/ft2_4FGL_J0809.3+4053_daily_bin416.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/229289/ft2_4FGL_J0809.3+4053_daily_bin416.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/229289/ft1_filteredMKT_4FGL_J0809.3+4053_daily_bin416.fits evtable="EVENTS" outfile="/scratch/kocevski/229289/ft1_filtered_4FGL_J0809.3+4053_daily_bin416.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.81
user 0.32
sys 0.45

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/229289/ft1_filtered_4FGL_J0809.3+4053_daily_bin416.fits" evtable="EVENTS" scfile=/scratch/kocevski/229289/ft2_4FGL_J0809.3+4053_daily_bin416.fits sctable="SC_DATA" outfile=/scratch/kocevski/229289/ltcube_347155201_347414401_4FGL_J0809.3+4053_daily_bin416.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/229289/ft2_4FGL_J0809.3+4053_daily_bin416.fits
.....................!
real 13.47
user 11.97
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229289/ft1_filtered_4FGL_J0809.3+4053_daily_bin416.fits evtable="EVENTS" scfile=/scratch/kocevski/229289/ft2_4FGL_J0809.3+4053_daily_bin416.fits sctable="SC_DATA" expcube=/scratch/kocevski/229289/ltcube_347155201_347414401_4FGL_J0809.3+4053_daily_bin416.fits outfile=/scratch/kocevski/229289/expmap_347155201_347414401_4FGL_J0809.3+4053_daily_bin416.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/229289/ltcube_347155201_347414401_4FGL_J0809.3+4053_daily_bin416.fits
.....................!
real 190.61
user 185.63
sys 4.44

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

Setting source of interest to:
4FGL J0809.3+4053 @ 122.33 40.8954

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/229289/ft1_filtered_4FGL_J0809.3+4053_daily_bin416.fits scfile=/scratch/kocevski/229289/ft2_4FGL_J0809.3+4053_daily_bin416.fits outfile=/scratch/kocevski/229289/cmap_347155201_347414401_4FGL_J0809.3+4053_daily_bin416.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.33 yref=40.8954 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 0.84
user 0.37
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229289/ft1_filtered_4FGL_J0809.3+4053_daily_bin416.fits scfile=/scratch/kocevski/229289/ft2_4FGL_J0809.3+4053_daily_bin416.fits outfile=/scratch/kocevski/229289/cmap_HighResolution_347155201_347414401_4FGL_J0809.3+4053_daily_bin416.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.33 yref=40.8954 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 0.84
user 0.39
sys 0.44

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/229289/ft1_filtered_4FGL_J0809.3+4053_daily_bin416.fits evtable="EVENTS" scfile=/scratch/kocevski/229289/ft2_4FGL_J0809.3+4053_daily_bin416.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/229289/Model_4FGL_J0809.3+4053_daily_bin416.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/229289/ft1_filtered_4FGL_J0809.3+4053_daily_bin416.fits.....................!
real 64.42
user 62.65
sys 1.53

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/229289/ft1_filtered_4FGL_J0809.3+4053_daily_bin416.fits', '/scratch/kocevski/229289/ft2_4FGL_J0809.3+4053_daily_bin416.fits', expMap='/scratch/kocevski/229289/expmap_347155201_347414401_4FGL_J0809.3+4053_daily_bin416.fits', expCube='/scratch/kocevski/229289/ltcube_347155201_347414401_4FGL_J0809.3+4053_daily_bin416.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/229289/Model_4FGL_J0809.3+4053_daily_bin416.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0809.3+4053'

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  1.019e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  2.588e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.589e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/229289/ft1_filtered_4FGL_J0809.3+4053_daily_bin416.fits
Spacecraft file(s): /scratch/kocevski/229289/ft2_4FGL_J0809.3+4053_daily_bin416.fits
Exposure map: /scratch/kocevski/229289/expmap_347155201_347414401_4FGL_J0809.3+4053_daily_bin416.fits
Exposure cube: /scratch/kocevski/229289/ltcube_347155201_347414401_4FGL_J0809.3+4053_daily_bin416.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/229289/Model_4FGL_J0809.3+4053_daily_bin416.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) = 6388.04198062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6884       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .35095E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.904       1.0000         .10000E-03   10000.    
     6 'norm      '    11.309       1.0000         .10000E-03   10000.    
     7 'norm      '    5.0870       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12346E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10346E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1885       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0100       1.0000         .10000E-03   10000.    
    12 'norm      '    .67284       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .90062E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.9418       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3070       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.154       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8369       1.0000         .10000E-03   10000.    
    18 'norm      '    5.5695       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.0431       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87529       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6388.001     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2233 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6913        8.3976        .70683E-06   -.54234E-04
   2  Prefactor     .10000E-03    6.4266        .16187E-06** at limit **
   3  Prefactor     .10000E-03    122.68        .67787E-05** at limit **
   4  Prefactor     .10000E-03    6.9863       -.30435E-06** at limit **
   5  Prefactor     14.900        15.582        .71336E-07   -.98805E-04
   6  norm          11.305        10.833       -.46953E-07   -.59588E-04
   7  norm          5.0935        3.1722        .15450E-07   -.39307E-03
   8  Prefactor     .10000E-03    6.1548        .33037E-05** at limit **
   9  Prefactor     .10000E-03    57.096       -.11083E-05** at limit **
  10  Prefactor     1.1858        4.0497        .55765E-06    .28074E-04
  11  norm          1.0102        .98497       -.78653E-08   -.92230E-04
  12  norm          .67270        .50017       -.40861E-07   -.29815E-03
  13  Prefactor     .10008E-03    29.334       -.94630E-05** at limit **
  14  Prefactor     2.9409        5.7794        .34003E-05    .15293E-03
  15  Prefactor     1.3065        2.0757       -.45230E-07    .15323E-03
  16  Prefactor     10.150        13.476       -.30309E-06   -.43910E-04
  17  Prefactor     3.8408        6.1847        .20874E-06    .26257E-04
  18  norm          5.5670        6.6412        .14714E-05    .80109E-04
  19  Prefactor     2.0420        2.9950        .53186E-07    .45990E-04
  20  Prefactor     .10000E-03    12.555        .47834E-06** at limit **
  21  Prefactor     .10000E-03    .96481       -.31038E-07** at limit **
  22  Normalizat    .87551        .17599       -.14701E-05   -.43373E-03
  23  Prefactor     1.0125        .13533       -.14498E-06   -.54951E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.69131
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 14.8998
  norm       = 11.3045
  norm       = 5.09354
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.18583
  norm       = 1.01021
  norm       = 0.672696
  Prefactor  = 0.00010008
  Prefactor  = 2.94086
  Prefactor  = 1.30654
  Prefactor  = 10.1496
  Prefactor  = 3.84075
  norm       = 5.56696
  Prefactor  = 2.04202
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.875508
  Prefactor  = 1.01254
 **********
 **   18 **HESSE 
 **********

 FCN=   6388.001     FROM HESSE     STATUS=OK           382 CALLS     2615 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6913        8.4292        .32401E-03   -1.5448    
   2  Prefactor     .10000E-03    6.4549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    122.85        .42645E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.0245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.900        15.525        .10375E-03   -1.4936    
   6  norm          11.305        10.825        .11913E-03   -1.5035    
   7  norm          5.0935        3.1682        .10820E-03   -1.5257    
   8  Prefactor     .10000E-03    15.670        .34748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    57.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.1858        3.9757        .27226E-03   -1.5490    
  11  norm          1.0102        1.0205        .76413E-03   -1.5507    
  12  norm          .67270        .47921        .45941E-03   -1.5544    
  13  Prefactor     .10008E-03    82.346        .61717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.9409        6.2429        .11840E-02   -1.5365    
  15  Prefactor     1.3065        2.0385        .13694E-03   -1.5479    
  16  Prefactor     10.150        13.463        .12575E-03   -1.5071    
  17  Prefactor     3.8408        6.1716        .20604E-03   -1.5316    
  18  norm          5.5670        6.7616        .85118E-03   -1.5236    
  19  Prefactor     2.0420        2.9795        .15628E-03   -1.5422    
  20  Prefactor     .10000E-03    12.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .96757        .76660E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .87551        .19992        .27301E-03   -.97326    
  23  Prefactor     1.0125        .15518        .20074E-03   -.92313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36783e-09
Minuit parameter uncertainties:
  1  7.553
  2  1.64737e-05
  3  0.00050272
  4  3.52718e-05
  5  15.5291
  6  10.8273
  7  3.16832
  8  0.000195356
  9  1.67134e-05
  10  3.97659
  11  1.02055
  12  0.479217
  13  0.00513271
  14  6.24428
  15  2.03856
  16  13.4666
  17  6.17258
  18  6.76255
  19  2.97976
  20  3.81531e-05
  21  2.4388e-07
  22  0.200092
  23  0.155253
Done.

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

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  1.186e+00  3.977e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  2.588e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  6.589e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.013e+00  1.553e-01  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  8.755e-01  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.10
Ra Dec: 122.330 40.895
Photon Flux Upper Limit: 8.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/229289/likelihoodResults_347155201_347414401_4FGL_J0809.3+4053_daily_bin416.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) = 6387.98366666
delta logL = 0.0168525482932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6387.97870837
delta logL = 0.0218108363915

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78940       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1628       1.0000          .0000       10.000    
     3 'Normalizat'    .86910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0159       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6387.979     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      229 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .78646        20.418        .12400E-01    .78203E-03
   2  Index         3.1651        1.5312        .48778       -.10825E-04
   3  Normalizat    .86915        .17246E-01    .44506E-01    .83635E-04
   4  Prefactor     1.0159        .13620E-01    .42578E-01   -.14683E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.786459
  Index      = 3.16513
  Normalizat = 0.869154
  Prefactor  = 1.01585
 **********
 **   18 **HESSE 
 **********

 FCN=   6387.979     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .78646        11.784        .18254E-03   -1.5531    
   2  Index         3.1651        6.5813        .67731E-02   -.37575    
   3  Normalizat    .86915        .19872        .27390E-03   -.97553    
   4  Prefactor     1.0159        .15497        .20045E-03   -.92203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.90473e-10
Minuit parameter uncertainties:
  1  6.08949
  2  5.40941
  3  0.198891
  4  0.155037
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229289': 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) = 6387.97870808
delta logL = 0.0218111276445

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  7.865e-01  6.089e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  3.165e+00  5.409e+00  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  6.589e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.016e+00  1.550e-01  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  8.692e-01  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
Ra Dec: 122.330 40.895

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/229289/cmap_HighResolution_347155201_347414401_4FGL_J0809.3+4053_daily_bin416.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.94e-03', job_status='DONE', photon_flux_upper_limit='8.88e-08', time_completed='2021-08-29 08:00:48.549310', job_id='229289', GAL2='1.02', fit_tolerance='1e-08', EG2='0.87', EG='0.88', time_epoch_completed='1630249248.55', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.18e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='416' AND source_name='4FGL J0809.3+4053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 08:00:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 229289: <4FGL_J0809.3+4053_daily_bin416> in cluster <slac> Done

Job <4FGL_J0809.3+4053_daily_bin416> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sun Aug 29 07:45:16 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 07:45:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 07:45:18 2021
Terminated at Sun Aug 29 08:00:49 2021
Results reported at Sun Aug 29 08:00:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0809.3+4053_daily_bin416 122.33 40.8954 347155201 347414401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0809.3+4053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   689.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            933 sec.

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

