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


Performing analysis on: 4FGL_J0809.3+4053_daily_bin754
RA = 122.33, Dec = 40.8954
tmin = 434764801, tmax = 435024001
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='229546', job_status='RUN', time_executed='2021-08-29 07:48:40.303021', time_epoch_executed='1630248520.3' WHERE source_name='4FGL J0809.3+4053' and cadence='daily' and bin_id='754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229546

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229546/ft1_4FGL_J0809.3+4053_daily_bin754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229546/ft2_4FGL_J0809.3+4053_daily_bin754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229546/ft1_4FGL_J0809.3+4053_daily_bin754.fits outfile=/scratch/kocevski/229546/ft1_filteredMKT_4FGL_J0809.3+4053_daily_bin754.fits ra=122.33 dec=40.8954 rad=12.0 tmin=434764801.0 tmax=435024001.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 9.88
user 5.41
sys 4.43

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/229546/ft2_4FGL_J0809.3+4053_daily_bin754.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/229546/ft1_filteredMKT_4FGL_J0809.3+4053_daily_bin754.fits evtable="EVENTS" outfile="/scratch/kocevski/229546/ft1_filtered_4FGL_J0809.3+4053_daily_bin754.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 4.70
user 0.34
sys 4.34

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/229546/ft1_filtered_4FGL_J0809.3+4053_daily_bin754.fits" evtable="EVENTS" scfile=/scratch/kocevski/229546/ft2_4FGL_J0809.3+4053_daily_bin754.fits sctable="SC_DATA" outfile=/scratch/kocevski/229546/ltcube_434764801_435024001_4FGL_J0809.3+4053_daily_bin754.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/229546/ft2_4FGL_J0809.3+4053_daily_bin754.fits
.....................!
real 19.42
user 14.84
sys 4.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229546/ft1_filtered_4FGL_J0809.3+4053_daily_bin754.fits evtable="EVENTS" scfile=/scratch/kocevski/229546/ft2_4FGL_J0809.3+4053_daily_bin754.fits sctable="SC_DATA" expcube=/scratch/kocevski/229546/ltcube_434764801_435024001_4FGL_J0809.3+4053_daily_bin754.fits outfile=/scratch/kocevski/229546/expmap_434764801_435024001_4FGL_J0809.3+4053_daily_bin754.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/229546/ltcube_434764801_435024001_4FGL_J0809.3+4053_daily_bin754.fits
.....................!
real 196.22
user 185.09
sys 10.71

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/229546/ft1_filtered_4FGL_J0809.3+4053_daily_bin754.fits scfile=/scratch/kocevski/229546/ft2_4FGL_J0809.3+4053_daily_bin754.fits outfile=/scratch/kocevski/229546/cmap_434764801_435024001_4FGL_J0809.3+4053_daily_bin754.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 4.66
user 0.38
sys 4.24

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229546/ft1_filtered_4FGL_J0809.3+4053_daily_bin754.fits scfile=/scratch/kocevski/229546/ft2_4FGL_J0809.3+4053_daily_bin754.fits outfile=/scratch/kocevski/229546/cmap_HighResolution_434764801_435024001_4FGL_J0809.3+4053_daily_bin754.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 4.72
user 0.38
sys 4.27

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    84.569       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10450E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    15.459       1.0000         .10000E-03   10000.    
     7 'norm      '    6.0324       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11777E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.719       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9964       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5471       1.0000         .10000E-03   10000.    
    12 'norm      '    .28722       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.8926       1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.763       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.463       1.0000         .10000E-03   10000.    
    18 'norm      '    8.6040       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.4650       1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.500       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .65768       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0633       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=   4978.987     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2542 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.5206       -.39558E-06** at limit **
   2  Prefactor     .10000E-03    11.114        .49726E-05** at limit **
   3  Prefactor     84.584        46.777       -.13895E-05   -.29053E-05
   4  Prefactor     .10000E-03    10.915        .20202E-05** at limit **
   5  Prefactor     .10000E-03    10.456       -.57663E-05** at limit **
   6  norm          15.459        14.672       -.12890E-04   -.23051E-04
   7  norm          6.0350        3.6361       -.20482E-06   -.13343E-04
   8  Prefactor     .10000E-03    4.3352       -.30996E-06** at limit **
   9  Prefactor     26.520        46.660       -.49404E-05    .21052E-04
  10  Prefactor     2.9983        5.2519       -.10649E-05   -.52344E-03
  11  norm          1.5471        1.6119       -.11122E-06   -.55202E-04
  12  norm          .28741        .30933        .23803E-06    .65064E-02
  13  Prefactor     .10000E-03    13.930       -.19430E-05** at limit **
  14  Prefactor     .10000E-03    7.0700        .28561E-06** at limit **
  15  Prefactor     3.8933        3.5519       -.22884E-06   -.27138E-03
  16  Prefactor     32.765        32.025       -.45454E-05    .10109E-05
  17  Prefactor     17.466        14.386       -.46303E-05   -.26253E-05
  18  norm          8.6043        7.1734       -.30686E-06   -.50683E-04
  19  Prefactor     2.4651        2.7230       -.20626E-06   -.17639E-03
  20  Prefactor     15.493        54.474       -.14828E-04   -.14034E-05
  21  Prefactor     .10000E-03    4.2324        .36055E-06** at limit **
  22  Normalizat    .65742        .19998        .78618E-05   -.84017E-04
  23  Prefactor     1.0635        .14459       -.53452E-07    .12800E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 84.5838
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.4588
  norm       = 6.03497
  Prefactor  = 0.0001
  Prefactor  = 26.52
  Prefactor  = 2.9983
  norm       = 1.54707
  norm       = 0.287413
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.89327
  Prefactor  = 32.765
  Prefactor  = 17.4658
  norm       = 8.60434
  Prefactor  = 2.46505
  Prefactor  = 15.4931
  Prefactor  = 0.0001
  Normalizat = 0.657421
  Prefactor  = 1.06353
 **********
 **   18 **HESSE 
 **********

 FCN=   4978.987     FROM HESSE     STATUS=OK           372 CALLS     2914 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.5806        .16190E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     84.584        46.760        .43682E-04   -1.3866    
   4  Prefactor     .10000E-03    10.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          15.459        14.606        .10187E-03   -1.4921    
   7  norm          6.0350        3.6337        .10020E-03   -1.5217    
   8  Prefactor     .10000E-03    4.3463        .14340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.520        46.653        .77501E-04   -1.4678    
  10  Prefactor     2.9983        5.2343        .19920E-03   -1.5362    
  11  norm          1.5471        1.6069        .89133E-04   -1.5459    
  12  norm          .28741        .30660        .19907E-03   -1.5601    
  13  Prefactor     .10000E-03    13.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.0829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.8933        3.5393        .11770E-03   -1.5313    
  16  Prefactor     32.765        31.986        .70005E-04   -1.4563    
  17  Prefactor     17.466        14.371        .95843E-04   -1.4872    
  18  norm          8.6043        7.1698        .13666E-03   -1.5121    
  19  Prefactor     2.4651        2.7121        .11826E-03   -1.5394    
  20  Prefactor     15.493        54.446        .10173E-03   -1.4921    
  21  Prefactor     .10000E-03    4.3747        .28313E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .65742        .22288        .30440E-03   -1.0560    
  23  Prefactor     1.0635        .16282        .18954E-03   -.90641    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91924e-09
Minuit parameter uncertainties:
  1  2.8739e-05
  2  4.769e-05
  3  46.7801
  4  2.68434e-05
  5  1.36022e-05
  6  14.6091
  7  3.63386
  8  3.96398e-06
  9  46.717
  10  5.2351
  11  1.60698
  12  0.306603
  13  2.17808e-05
  14  1.75311e-05
  15  3.53953
  16  32.003
  17  14.3742
  18  7.17049
  19  2.71225
  20  54.6211
  21  5.679e-06
  22  0.223185
  23  0.162891
Done.

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

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  2.998e+00  5.235e+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.064e+00  1.629e-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:  6.574e-01  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 122.330 40.895
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/229546/likelihoodResults_434764801_435024001_4FGL_J0809.3+4053_daily_bin754.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) = 4978.98567523
delta logL = 0.00162822325819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4978.98503593
delta logL = 0.00226752838989

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2123       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5203       1.0000          .0000       10.000    
     3 'Normalizat'    .65830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0629       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=   4978.985     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2104        229.49        .56510E-02    .45636E-03
   2  Index         2.5198        5.9286        .23464        .31445E-04
   3  Normalizat    .65830        .57610E-01    .68739E-01   -.25325E-04
   4  Prefactor     1.0629        .47259E-01    .39209E-01   -.72125E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.21035
  Index      = 2.51985
  Normalizat = 0.658298
  Prefactor  = 1.0629
 **********
 **   18 **HESSE 
 **********

 FCN=   4978.985     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2104        6.4898        .20515E-03   -1.5350    
   2  Index         2.5198        1.0339        .10611E-01   -.51902    
   3  Normalizat    .65830        .20826        .30420E-03   -1.0556    
   4  Prefactor     1.0629        .16213        .18959E-03   -.90661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35407e-09
Minuit parameter uncertainties:
  1  6.49124
  2  1.04396
  3  0.208508
  4  0.162206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229546': 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) = 4978.98503563
delta logL = 0.00226782220852

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  3.210e+00  6.491e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  2.520e+00  1.044e+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.063e+00  1.622e-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:  6.583e-01  2.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
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/229546/cmap_HighResolution_434764801_435024001_4FGL_J0809.3+4053_daily_bin754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.45e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-08-29 08:00:17.247528', job_id='229546', GAL2='1.06', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1630249217.25', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='2.27e-03', ts2='0.40', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='754' AND source_name='4FGL J0809.3+4053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 08:00:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 229546: <4FGL_J0809.3+4053_daily_bin754> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0809.3+4053_daily_bin754 122.33 40.8954 434764801 435024001 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 :                                   759.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             238.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            883 sec.

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

