aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 139 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0809.3+4053_daily_bin1755
RA = 122.33, Dec = 40.8954
tmin = 694224001, tmax = 694483201
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='819018', job_status='RUN', time_executed='2023-01-04 00:48:27.067747', time_epoch_executed='1672822107.07' WHERE source_name='4FGL J0809.3+4053' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/819018

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/819018/ft1_4FGL_J0809.3+4053_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/819018/ft2_4FGL_J0809.3+4053_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/819018/ft1_4FGL_J0809.3+4053_daily_bin1755.fits outfile=/scratch/kocevski/819018/ft1_filteredMKT_4FGL_J0809.3+4053_daily_bin1755.fits ra=122.33 dec=40.8954 rad=12.0 tmin=694224001.0 tmax=694483201.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.06
user 2.84
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/819018/ft2_4FGL_J0809.3+4053_daily_bin1755.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/819018/ft1_filteredMKT_4FGL_J0809.3+4053_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/819018/ft1_filtered_4FGL_J0809.3+4053_daily_bin1755.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 4

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/819018/ft1_filtered_4FGL_J0809.3+4053_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/819018/ft2_4FGL_J0809.3+4053_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/819018/ltcube_694224001_694483201_4FGL_J0809.3+4053_daily_bin1755.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/819018/ft2_4FGL_J0809.3+4053_daily_bin1755.fits
.....................!
real 18.04
user 17.57
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/819018/ft1_filtered_4FGL_J0809.3+4053_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/819018/ft2_4FGL_J0809.3+4053_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/819018/ltcube_694224001_694483201_4FGL_J0809.3+4053_daily_bin1755.fits outfile=/scratch/kocevski/819018/expmap_694224001_694483201_4FGL_J0809.3+4053_daily_bin1755.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/819018/ltcube_694224001_694483201_4FGL_J0809.3+4053_daily_bin1755.fits
.....................!
real 193.31
user 187.28
sys 5.39

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/819018/ft1_filtered_4FGL_J0809.3+4053_daily_bin1755.fits scfile=/scratch/kocevski/819018/ft2_4FGL_J0809.3+4053_daily_bin1755.fits outfile=/scratch/kocevski/819018/cmap_694224001_694483201_4FGL_J0809.3+4053_daily_bin1755.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/819018/ft1_filtered_4FGL_J0809.3+4053_daily_bin1755.fits scfile=/scratch/kocevski/819018/ft2_4FGL_J0809.3+4053_daily_bin1755.fits outfile=/scratch/kocevski/819018/cmap_HighResolution_694224001_694483201_4FGL_J0809.3+4053_daily_bin1755.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/819018/ft1_filtered_4FGL_J0809.3+4053_daily_bin1755.fits', '/scratch/kocevski/819018/ft2_4FGL_J0809.3+4053_daily_bin1755.fits', expMap='/scratch/kocevski/819018/expmap_694224001_694483201_4FGL_J0809.3+4053_daily_bin1755.fits', expCube='/scratch/kocevski/819018/ltcube_694224001_694483201_4FGL_J0809.3+4053_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/819018/Model_4FGL_J0809.3+4053_daily_bin1755.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  0.000e+00  1.000e+06 ( 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/819018/ft1_filtered_4FGL_J0809.3+4053_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/819018/ft2_4FGL_J0809.3+4053_daily_bin1755.fits
Exposure map: /scratch/kocevski/819018/expmap_694224001_694483201_4FGL_J0809.3+4053_daily_bin1755.fits
Exposure cube: /scratch/kocevski/819018/ltcube_694224001_694483201_4FGL_J0809.3+4053_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/819018/Model_4FGL_J0809.3+4053_daily_bin1755.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 53.0979846863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 52.4981134006

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10558E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    392.49       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25843E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .67668E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .85101       1.0000          .0000       .10000E+07
     6 'norm      '    9.5249       1.0000          .0000       .10000E+07
     7 'norm      '    .45625E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .55292E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.5649       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.3818       1.0000          .0000       .10000E+07
    11 'norm      '    .61917E-05   1.0000          .0000       .10000E+07
    12 'norm      '    47.690       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.4821       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.8343       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.3012       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.9748       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9035       1.0000          .0000       .10000E+07
    18 'norm      '    6.3487       1.0000          .0000       .10000E+07
    19 'Prefactor '    5.9597       1.0000          .0000       .10000E+07
    20 'Prefactor '    1.4222       1.0000          .0000       .10000E+07
    21 'Normalizat'    .51841       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .17304       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   45.76508     FROM MIGRAD    STATUS=CONVERGED    384 CALLS      720 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77716E-09    14.224       -.30659E-07** at limit **
   2  Prefactor     518.03        669.87       -.55442E-07   -.51598E-02
   3  Prefactor     .27756E-09    52.239       -.18279E-06** at limit **
   4  Prefactor     .22204E-09    40.506       -.10696E-06** at limit **
   5  Prefactor     .55511E-10    207.49       -.52052E-06** at limit **
   6  norm          9.5249        1.0014         .0000         .0000    
   7  norm          .55511E-10    13.118       -.18894E-06** at limit **
   8  Prefactor     .28553E-05    491.13       -.13596E-06** at limit **
   9  Prefactor     .25764E-03    7113.3        .57005E-06** at limit **
  10  Prefactor     .95783E+06    .75063E+06    .95180E-04   -.43898E-01
  11  norm           .0000        13.816        .99418E-07** at limit **
  12  norm          .99728E+06    .70001E+06    .11317E-03    .40896E-01
  13  Prefactor     1.4821        1.0727         .0000         .0000    
  14  Prefactor     35944.        31549.        .13030E-04   -.41957E-02
  15  Prefactor     1.3012        1.1044         .0000         .0000    
  16  Prefactor     1516.4        1272.3        .25018E-05   -.31919E-03
  17  Prefactor     85081.        72603.        .20142E-04   -.73808E-02
  18  norm          74040.        63804.        .18833E-04   -.13121E-01
  19  Prefactor     5.9597        1.0036         .0000         .0000    
  20  Prefactor     1.4222        1.0811         .0000         .0000    
  21  Normalizat    .10000E-01    .73543       -.82118E-04** at limit **
  22  Prefactor     .25990        .28523        .73122E-05   -.36192E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.77156e-10
  Prefactor  = 518.031
  Prefactor  = 2.77556e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 9.52487
  norm       = 5.55112e-11
  Prefactor  = 2.85533e-06
  Prefactor  = 0.000257636
  Prefactor  = 957830
  norm       = 0
  norm       = 997280
  Prefactor  = 1.48211
  Prefactor  = 35944.4
  Prefactor  = 1.30123
  Prefactor  = 1516.35
  Prefactor  = 85081.5
  norm       = 74040
  Prefactor  = 5.95967
  Prefactor  = 1.42219
  Normalizat = 0.01
  Prefactor  = 0.259899
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   45.76508     FROM HESSE     STATUS=FAILED        31 CALLS      751 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77716E-09    14.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     518.03        618.94        .50486E-04   -1.6163    
   3  Prefactor     .27756E-09    51.524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .22204E-09    40.530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    202.91        .49208E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          25115.        25106.         .0000       -1.5646    
   7  norm          .55511E-10    .44347E-01   -.18894E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .28553E-05    .44347E-01   -.13596E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25764E-03    .38305E-01    .57005E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .95783E+06    79.803        .95180E-04    1.1571    
  11  norm           .0000        .44347E-01    .99418E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .99728E+06    7.5428        .11317E-03    1.6752    
  13  Prefactor     1.4821        1.0727         .0000       -1.5684    
  14  Prefactor     35944.        112.39        .13030E-04   -1.1893    
  15  Prefactor     1.3012        1.1044         .0000       -1.5685    
  16  Prefactor     1516.4        13.009        .25018E-05   -1.4929    
  17  Prefactor     85081.        210.21        .20142E-04   -.97882    
  18  norm          74040.        104.24        .18833E-04   -1.0196    
  19  Prefactor     5.9597        1.0036         .0000       -1.5659    
  20  Prefactor     1.4222        1.0811         .0000       -1.5684    
  21  Normalizat    .10000E-01    .39063       -.82118E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .25990        .54347        .73122E-05   -1.2470    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13361e-10
Minuit parameter uncertainties:
  1  0.000211842
  2  619.018
  3  0.000240443
  4  0.000185935
  5  0.000248323
  6  1.00138
  7  3.28205e-06
  8  0.00071169
  9  0.00628291
  10  79.8031
  11  9.33031e-07
  12  7.54276
  13  1.07271
  14  112.393
  15  1.10437
  16  13.0088
  17  210.209
  18  104.243
  19  1.00356
  20  1.08114
  21  1.35286e-05
  22  0.554634
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 45.7650781791

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  9.578e+05  7.980e+01  0.000e+00  1.000e+06 ( 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:  2.599e-01  5.546e-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.000e-02  1.353e-05  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 1000000.0 is not large enough
delta logLike = 0.00916853631912

TS (Fixed Index): 0.47
Ra Dec: 122.330 40.895
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.82e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/819018/likelihoodResults_694224001_694483201_4FGL_J0809.3+4053_daily_bin1755.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) = 35.0871774061
delta logL = 10.677900773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 35.0859092068
delta logL = 10.6791689723

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    10.000       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=   35.08591     FROM MIGRAD    STATUS=CONVERGED     11 CALLS       51 TOTAL
                     EDM=   .56E-17    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       10.000        .29938        .45845E-01** at limit **
                               ERR DEF=  .500    
Final values: 
  Index      = 10
 **********
 **   18 **HESSE 
 **********

 FCN=   35.08591     FROM HESSE     STATUS=OK             5 CALLS       56 TOTAL
                     EDM=   .55E-17    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       10.000        .29933        .10131E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.5404e-18
Minuit parameter uncertainties:
  1  1.42663e-09
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/819018': 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) = 35.0859092068
delta logL = 10.6791689723

Extracting fit parameters...

4FGL J0809.3+4053
   Spectrum: PowerLaw
269    Prefactor:  9.578e+05  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12) fixed
270        Index:  1.000e+01  1.427e-09  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:  2.619e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 21.85
Ra Dec: 122.330 40.895
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 1.70e+03 +/- 4.16e-06
Energy Flux (Free Index): 1.90e+05 +/- 4.64e-04

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/819018/cmap_HighResolution_694224001_694483201_4FGL_J0809.3+4053_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.82e+04', comment='SUCCESS', energy_flux2='1.90e+05', dlogl='1.07e+01', photon_flux2='1.70e+03', job_status='DONE', time_completed='2023-01-04 00:53:57.672670', photon_index_error2='0.00', photon_index2='10.00', ts='0.47', fit_tolerance='1e-08', GAL='0.26', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='4.64e-04', EG='0.01', time_epoch_completed='1672822437.67', return_code='101', job_id='819018', GAL2='0.26', EG2='0.01', return_code2='0', photon_flux_error2='4.16e-06', ts2='21.85', photon_index='2.59' WHERE bin_id='1755' AND source_name='4FGL J0809.3+4053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 00:53:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 819018: <4FGL_J0809.3+4053_daily_bin1755> in cluster <slac> Done

Job <4FGL_J0809.3+4053_daily_bin1755> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Jan  4 00:45:30 2023
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:45:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:45:58 2023
Terminated at Wed Jan  4 00:53:58 2023
Results reported at Wed Jan  4 00:53:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0809.3+4053_daily_bin1755 122.33 40.8954 694224001 694483201 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 :                                   333.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             243.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   479 sec.
    Turnaround time :                            508 sec.

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

