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


Performing analysis on: 4FGL_J0809.3+4053_daily_bin231
RA = 122.33, Dec = 40.8954
tmin = 299203201, tmax = 299462401
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='226622', job_status='RUN', time_executed='2021-08-29 07:38:19.558652', time_epoch_executed='1630247899.56' WHERE source_name='4FGL J0809.3+4053' and cadence='daily' and bin_id='231'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/226622

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/226622/ft1_4FGL_J0809.3+4053_daily_bin231.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/226622/ft2_4FGL_J0809.3+4053_daily_bin231.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/226622/ft1_4FGL_J0809.3+4053_daily_bin231.fits outfile=/scratch/kocevski/226622/ft1_filteredMKT_4FGL_J0809.3+4053_daily_bin231.fits ra=122.33 dec=40.8954 rad=12.0 tmin=299203201.0 tmax=299462401.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.73
user 3.15
sys 0.56

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/226622/ft1_filtered_4FGL_J0809.3+4053_daily_bin231.fits" evtable="EVENTS" scfile=/scratch/kocevski/226622/ft2_4FGL_J0809.3+4053_daily_bin231.fits sctable="SC_DATA" outfile=/scratch/kocevski/226622/ltcube_299203201_299462401_4FGL_J0809.3+4053_daily_bin231.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/226622/ft2_4FGL_J0809.3+4053_daily_bin231.fits
.....................!
real 12.04
user 11.33
sys 0.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/226622/ft1_filtered_4FGL_J0809.3+4053_daily_bin231.fits evtable="EVENTS" scfile=/scratch/kocevski/226622/ft2_4FGL_J0809.3+4053_daily_bin231.fits sctable="SC_DATA" expcube=/scratch/kocevski/226622/ltcube_299203201_299462401_4FGL_J0809.3+4053_daily_bin231.fits outfile=/scratch/kocevski/226622/expmap_299203201_299462401_4FGL_J0809.3+4053_daily_bin231.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/226622/ltcube_299203201_299462401_4FGL_J0809.3+4053_daily_bin231.fits
.....................!
real 190.00
user 184.33
sys 5.25

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/226622/ft1_filtered_4FGL_J0809.3+4053_daily_bin231.fits scfile=/scratch/kocevski/226622/ft2_4FGL_J0809.3+4053_daily_bin231.fits outfile=/scratch/kocevski/226622/cmap_299203201_299462401_4FGL_J0809.3+4053_daily_bin231.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.86
user 0.35
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/226622/ft1_filtered_4FGL_J0809.3+4053_daily_bin231.fits scfile=/scratch/kocevski/226622/ft2_4FGL_J0809.3+4053_daily_bin231.fits outfile=/scratch/kocevski/226622/cmap_HighResolution_299203201_299462401_4FGL_J0809.3+4053_daily_bin231.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.87
user 0.37
sys 0.49

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.383       1.0000         .10000E-03   10000.    
     3 'Prefactor '    157.77       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11744E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.9613       1.0000         .10000E-03   10000.    
     6 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .44986       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .36695E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .41233       1.0000         .10000E-03   10000.    
    11 'norm      '    2.3896       1.0000         .10000E-03   10000.    
    12 'norm      '    1.1948       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .34217       1.0000         .10000E-03   10000.    
    18 'norm      '    .94399       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.5511       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .83074       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0962       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=   7212.335     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2683 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2207        .26047E-07** at limit **
   2  Prefactor     31.382        18.260       -.46786E-06   -.12979E-03
   3  Prefactor     157.76        44.116        .19515E-06    .52820E-04
   4  Prefactor     .10000E-03    11.523       -.46031E-06** at limit **
   5  Prefactor     3.9701        12.014       -.52145E-05   -.39886E-03
   6  norm          .10000E-03    6.2908        .32511E-07** at limit **
   7  norm          .45083        1.9871        .78905E-06   -.53258E-03
   8  Prefactor     .13332E-03    4.7664        .23225E-06** at limit **
   9  Prefactor     .10000E-03    12.935        .70956E-06** at limit **
  10  Prefactor     .41278        3.9933        .19022E-05   -.60545E-03
  11  norm          2.3897        1.6101       -.58382E-08   -.33281E-05
  12  norm          1.1948        .54961       -.15619E-07    .30270E-03
  13  Prefactor     .10000E-03    15.316       -.86921E-06** at limit **
  14  Prefactor     .10000E-03    4.2727       -.21616E-07** at limit **
  15  Prefactor     .10000E-03    1.7531       -.15060E-07** at limit **
  16  Prefactor     .10000E-03    7.2132        .47936E-07** at limit **
  17  Prefactor     .37215        6.1936       -.12328E-05    .30793E-03
  18  norm          .94386        5.4800        .15434E-05   -.42342E-03
  19  Prefactor     3.5506        2.9617       -.10314E-06   -.17752E-03
  20  Prefactor     .10000E-03    42.194       -.56070E-06** at limit **
  21  Prefactor     .10000E-03    2.8338        .10465E-06** at limit **
  22  Normalizat    .83067        .17357       -.67902E-07    .44258E-04
  23  Prefactor     1.0962        .13189        .63738E-07    .36935E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 31.3822
  Prefactor  = 157.76
  Prefactor  = 0.0001
  Prefactor  = 3.9701
  norm       = 0.0001
  norm       = 0.450831
  Prefactor  = 0.000133324
  Prefactor  = 0.0001
  Prefactor  = 0.412783
  norm       = 2.38966
  norm       = 1.19479
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.372146
  norm       = 0.94386
  Prefactor  = 3.55057
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.830667
  Prefactor  = 1.09624
 **********
 **   18 **HESSE 
 **********

 FCN=   7212.335     FROM HESSE     STATUS=OK           380 CALLS     3063 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2287        .12359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.382        18.361        .71524E-04   -1.4587    
   3  Prefactor     157.76        44.061        .32100E-04   -1.3189    
   4  Prefactor     .10000E-03    11.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9701        13.166        .20267E-03   -1.5309    
   6  norm          .10000E-03    6.3143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .45083        2.1283        .23813E-03   -1.5574    
   8  Prefactor     .13332E-03    5.6897        .59746E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .41278        4.8409        .35145E-03   -1.5579    
  11  norm          2.3897        1.6108        .86075E-04   -1.5399    
  12  norm          1.1948        .54743        .40796E-04   -1.5489    
  13  Prefactor     .10000E-03    15.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.2794        .17140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.7994        .21929E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.2163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .37215        29.427        .39123E-02   -1.5586    
  18  norm          .94386        6.2503        .39887E-03   -1.5514    
  19  Prefactor     3.5506        2.9460        .12725E-03   -1.5331    
  20  Prefactor     .10000E-03    42.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.9384        .27905E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .83067        .19731        .29961E-03   -.98941    
  23  Prefactor     1.0962        .15063        .20337E-03   -.89587    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93158e-09
Minuit parameter uncertainties:
  1  4.95937e-07
  2  18.3639
  3  44.07
  4  4.73336e-05
  5  13.1753
  6  1.04738e-06
  7  1.95897
  8  0.0275417
  9  7.97443e-05
  10  2.82714
  11  1.61088
  12  0.547429
  13  0.000100727
  14  2.69507e-06
  15  3.75648e-06
  16  7.09517e-06
  17  6.62093
  18  4.85822
  19  2.94612
  20  0.000112811
  21  1.12389e-06
  22  0.197485
  23  0.150685
Done.

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

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  4.128e-01  2.827e+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.096e+00  1.507e-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.307e-01  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/226622/likelihoodResults_299203201_299462401_4FGL_J0809.3+4053_daily_bin231.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) = 7212.21230458
delta logL = 0.122513231827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7212.18704206
delta logL = 0.14777575339

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2808       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7442       1.0000          .0000       10.000    
     3 'Normalizat'    .83535       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0914       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=   7212.187     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      248 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2820        3.0468        .98043E-02    .62466E-03
   2  Index         1.7452        1.1012        .27506E-01   -.23007E-04
   3  Normalizat    .83514        .16902        .67553E-01    .29985E-04
   4  Prefactor     1.0915        .13072        .37923E-01   -.77327E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.28198
  Index      = 1.74515
  Normalizat = 0.835138
  Prefactor  = 1.09147
 **********
 **   18 **HESSE 
 **********

 FCN=   7212.187     FROM HESSE     STATUS=OK            31 CALLS      279 TOTAL
                     EDM=   .89E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2820        2.8912        .20537E-03   -1.5482    
   2  Index         1.7452        1.0727        .11003E-02   -.70886    
   3  Normalizat    .83514        .19268        .29887E-03   -.98778    
   4  Prefactor     1.0915        .14931        .20371E-03   -.89740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.86456e-13
Minuit parameter uncertainties:
  1  2.89154
  2  1.0875
  3  0.19284
  4  0.149365
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/226622': 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) = 7212.18704076
delta logL = 0.147777049484

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  1.282e+00  2.892e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        Index:  1.745e+00  1.088e+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.091e+00  1.494e-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.351e-01  1.928e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/226622/cmap_HighResolution_299203201_299462401_4FGL_J0809.3+4053_daily_bin231.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.97e-03', job_status='DONE', photon_flux_upper_limit='7.63e-08', time_completed='2021-08-29 07:51:04.686033', job_id='226622', GAL2='1.09', fit_tolerance='1e-08', EG2='0.84', EG='0.83', time_epoch_completed='1630248664.69', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.48e-01', ts2='0.32', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='231' AND source_name='4FGL J0809.3+4053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:51:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 226622: <4FGL_J0809.3+4053_daily_bin231> in cluster <slac> Done

Job <4FGL_J0809.3+4053_daily_bin231> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Aug 29 07:35:40 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 07:35:42 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:35:42 2021
Terminated at Sun Aug 29 07:51:05 2021
Results reported at Sun Aug 29 07:51:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0809.3+4053_daily_bin231 122.33 40.8954 299203201 299462401 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 :                                   767.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            925 sec.

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

