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


Performing analysis on: 4FGL_J0809.3+4053_daily_bin778
RA = 122.33, Dec = 40.8954
tmin = 440985601, tmax = 441244801
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='229579', job_status='RUN', time_executed='2021-08-29 07:48:14.416772', time_epoch_executed='1630248494.42' WHERE source_name='4FGL J0809.3+4053' and cadence='daily' and bin_id='778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229579

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229579/ft1_4FGL_J0809.3+4053_daily_bin778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229579/ft2_4FGL_J0809.3+4053_daily_bin778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229579/ft1_4FGL_J0809.3+4053_daily_bin778.fits outfile=/scratch/kocevski/229579/ft1_filteredMKT_4FGL_J0809.3+4053_daily_bin778.fits ra=122.33 dec=40.8954 rad=12.0 tmin=440985601.0 tmax=441244801.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.27
sys 0.64

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/229579/ft2_4FGL_J0809.3+4053_daily_bin778.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/229579/ft1_filteredMKT_4FGL_J0809.3+4053_daily_bin778.fits evtable="EVENTS" outfile="/scratch/kocevski/229579/ft1_filtered_4FGL_J0809.3+4053_daily_bin778.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.93
user 0.30
sys 0.60

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/229579/ft1_filtered_4FGL_J0809.3+4053_daily_bin778.fits" evtable="EVENTS" scfile=/scratch/kocevski/229579/ft2_4FGL_J0809.3+4053_daily_bin778.fits sctable="SC_DATA" outfile=/scratch/kocevski/229579/ltcube_440985601_441244801_4FGL_J0809.3+4053_daily_bin778.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/229579/ft2_4FGL_J0809.3+4053_daily_bin778.fits
.....................!
real 13.02
user 12.16
sys 0.80

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229579/ft1_filtered_4FGL_J0809.3+4053_daily_bin778.fits evtable="EVENTS" scfile=/scratch/kocevski/229579/ft2_4FGL_J0809.3+4053_daily_bin778.fits sctable="SC_DATA" expcube=/scratch/kocevski/229579/ltcube_440985601_441244801_4FGL_J0809.3+4053_daily_bin778.fits outfile=/scratch/kocevski/229579/expmap_440985601_441244801_4FGL_J0809.3+4053_daily_bin778.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/229579/ltcube_440985601_441244801_4FGL_J0809.3+4053_daily_bin778.fits
.....................!
real 191.96
user 185.62
sys 5.91

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/229579/ft1_filtered_4FGL_J0809.3+4053_daily_bin778.fits scfile=/scratch/kocevski/229579/ft2_4FGL_J0809.3+4053_daily_bin778.fits outfile=/scratch/kocevski/229579/cmap_440985601_441244801_4FGL_J0809.3+4053_daily_bin778.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.98
user 0.37
sys 0.56

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229579/ft1_filtered_4FGL_J0809.3+4053_daily_bin778.fits scfile=/scratch/kocevski/229579/ft2_4FGL_J0809.3+4053_daily_bin778.fits outfile=/scratch/kocevski/229579/cmap_HighResolution_440985601_441244801_4FGL_J0809.3+4053_daily_bin778.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 1.01
user 0.37
sys 0.59

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/229579/ft1_filtered_4FGL_J0809.3+4053_daily_bin778.fits', '/scratch/kocevski/229579/ft2_4FGL_J0809.3+4053_daily_bin778.fits', expMap='/scratch/kocevski/229579/expmap_440985601_441244801_4FGL_J0809.3+4053_daily_bin778.fits', expCube='/scratch/kocevski/229579/ltcube_440985601_441244801_4FGL_J0809.3+4053_daily_bin778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/229579/Model_4FGL_J0809.3+4053_daily_bin778.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/229579/ft1_filtered_4FGL_J0809.3+4053_daily_bin778.fits
Spacecraft file(s): /scratch/kocevski/229579/ft2_4FGL_J0809.3+4053_daily_bin778.fits
Exposure map: /scratch/kocevski/229579/expmap_440985601_441244801_4FGL_J0809.3+4053_daily_bin778.fits
Exposure cube: /scratch/kocevski/229579/ltcube_440985601_441244801_4FGL_J0809.3+4053_daily_bin778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/229579/Model_4FGL_J0809.3+4053_daily_bin778.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) = 6756.81690327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3036       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.3616       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.2326       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13166E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.457       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10506       1.0000         .10000E-03   10000.    
    11 'norm      '    2.4336       1.0000         .10000E-03   10000.    
    12 'norm      '    1.1171       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.8779       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15034E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.8740       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4809       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0586       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87295       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=   6756.805     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2563 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3060        7.0353       -.40143E-06   -.97748E-04
   2  Prefactor     5.3659        12.895       -.41747E-05   -.59588E-04
   3  Prefactor     .10000E-03    12.413        .87075E-05** at limit **
   4  Prefactor     .10000E-03    2.9992        .11208E-06** at limit **
   5  Prefactor     .10000E-03    8.9128        .45065E-05** at limit **
   6  norm          .10000E-03    7.3839       -.14083E-05** at limit **
   7  norm          3.2334        2.5577        .18126E-06   -.53567E-04
   8  Prefactor     .10002E-03    11.392       -.76234E-05** at limit **
   9  Prefactor     22.434        46.793       -.33276E-04    .14062E-03
  10  Prefactor     .16590        2.6050       -.28000E-06    .80361E-03
  11  norm          2.4340        1.8065       -.94555E-07   -.11745E-03
  12  norm          1.1156        .57163        .15946E-06    .16347E-02
  13  Prefactor     6.8802        18.025       -.27743E-05   -.26520E-04
  14  Prefactor     .10000E-03    6.5441        .40355E-07** at limit **
  15  Prefactor     .10000E-03    1.4504       -.77616E-07** at limit **
  16  Prefactor     .10000E-03    93.905       -.49485E-05** at limit **
  17  Prefactor     4.8699        6.3117        .24353E-06    .27931E-04
  18  norm          1.4822        4.5700       -.15240E-05   -.98226E-03
  19  Prefactor     .10000E-03    1.1762       -.62449E-07** at limit **
  20  Prefactor     .10000E-03    28.761       -.11906E-04** at limit **
  21  Prefactor     .10000E-03    1.5681       -.73691E-07** at limit **
  22  Normalizat    1.0584        .17098        .30809E-05    .12009E-03
  23  Prefactor     .87288        .12498        .61450E-06    .32676E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.30602
  Prefactor  = 5.36594
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.23336
  Prefactor  = 0.000100016
  Prefactor  = 22.4341
  Prefactor  = 0.165896
  norm       = 2.43404
  norm       = 1.11561
  Prefactor  = 6.88021
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.86986
  norm       = 1.48222
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.0584
  Prefactor  = 0.872885
 **********
 **   18 **HESSE 
 **********

 FCN=   6756.805     FROM HESSE     STATUS=OK           366 CALLS     2929 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3060        7.0541        .14841E-03   -1.5167    
   2  Prefactor     5.3659        12.920        .17356E-03   -1.5245    
   3  Prefactor     .10000E-03    12.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.0018        .13902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.0098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.4426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.2334        2.5528        .11277E-03   -1.5348    
   8  Prefactor     .10002E-03    11.053        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.434        46.328        .84524E-04   -1.4760    
  10  Prefactor     .16590        33.493        .24405E-02   -1.5627    
  11  norm          2.4340        1.8040        .92492E-04   -1.5396    
  12  norm          1.1156        .57687        .41874E-04   -1.5497    
  13  Prefactor     6.8802        18.033        .15298E-03   -1.5183    
  14  Prefactor     .10000E-03    6.5670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.4780        .96559E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    95.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.8699        6.3030        .18220E-03   -1.5267    
  18  norm          1.4822        4.5886        .30108E-03   -1.5464    
  19  Prefactor     .10000E-03    1.1942        .87022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    28.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.5776        .10051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0584        .19801        .26033E-03   -.91099    
  23  Prefactor     .87288        .14559        .20969E-03   -.97095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1944e-08
Minuit parameter uncertainties:
  1  7.05489
  2  12.9265
  3  1.50877e-05
  4  1.32656e-06
  5  6.66239e-05
  6  1.89753e-05
  7  2.55284
  8  0.00084467
  9  46.4024
  10  4.71561
  11  1.80403
  12  0.576876
  13  18.0472
  14  3.4526e-06
  15  4.41328e-06
  16  6.54208e-05
  17  6.30389
  18  4.58969
  19  2.50432e-06
  20  2.2996e-05
  21  4.82099e-06
  22  0.198152
  23  0.145656
Done.

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

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  1.659e-01  4.716e+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:  8.729e-01  1.457e-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:  1.058e+00  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/229579/likelihoodResults_440985601_441244801_4FGL_J0809.3+4053_daily_bin778.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) = 6756.80410882
delta logL = 0.000980485698165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6756.80190277
delta logL = 0.0031865376468

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48981       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2547       1.0000          .0000       10.000    
     3 'Normalizat'    1.0584       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87206       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=   6756.802     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      261 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48981        24.267        .80559E-01    .34967E-03
   2  Index         2.2544        2.8730        .50000        .26182E-04
   3  Normalizat    1.0583        .12901E-01    .58868E-01    .49036E-03
   4  Prefactor     .87217        .95854E-02    .44648E-01   -.12018E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.48981
  Index      = 2.25437
  Normalizat = 1.0583
  Prefactor  = 0.872167
 **********
 **   18 **HESSE 
 **********

 FCN=   6756.802     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48981        18.862        .27458E-02   -1.5568    
   2  Index         2.2544        3.0605        .21118E-01   -.58132    
   3  Normalizat    1.0583        .19308        .26033E-03   -.91102    
   4  Prefactor     .87217        .14373        .20977E-03   -.97121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84105e-08
Minuit parameter uncertainties:
  1  6.08045
  2  3.43421
  3  0.193206
  4  0.143796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229579': 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) = 6756.80190243
delta logL = 0.00318687387971

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  4.898e-01  6.080e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  2.254e+00  3.434e+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:  8.722e-01  1.438e-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:  1.058e+00  1.932e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/229579/cmap_HighResolution_440985601_441244801_4FGL_J0809.3+4053_daily_bin778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.53e-03', job_status='DONE', photon_flux_upper_limit='9.62e-08', time_completed='2021-08-29 08:00:25.395394', job_id='229579', GAL2='0.87', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1630249225.4', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.19e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='778' AND source_name='4FGL J0809.3+4053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 08:00:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 229579: <4FGL_J0809.3+4053_daily_bin778> in cluster <slac> Done

Job <4FGL_J0809.3+4053_daily_bin778> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sun Aug 29 07:45:38 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 07:45:40 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:40 2021
Terminated at Sun Aug 29 08:00:26 2021
Results reported at Sun Aug 29 08:00:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0809.3+4053_daily_bin778 122.33 40.8954 440985601 441244801 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 :                                   735.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             286.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            888 sec.

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

