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


Performing analysis on: 4FGL_J1809.7+2910_daily_bin1761
RA = 272.441, Dec = 29.1709
tmin = 695779201, tmax = 696038401
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='927868', job_status='RUN', time_executed='2023-01-22 01:19:10.235192', time_epoch_executed='1674379150.24' WHERE source_name='4FGL J1809.7+2910' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/927868

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/927868/ft1_4FGL_J1809.7+2910_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/927868/ft2_4FGL_J1809.7+2910_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/927868/ft1_4FGL_J1809.7+2910_daily_bin1761.fits outfile=/scratch/kocevski/927868/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1761.fits ra=272.441 dec=29.1709 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.12
user 4.78
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/927868/ft2_4FGL_J1809.7+2910_daily_bin1761.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/927868/ft2_4FGL_J1809.7+2910_daily_bin1761.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/927868/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/927868/ft1_filtered_4FGL_J1809.7+2910_daily_bin1761.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.55
user 0.34
sys 0.20

Number of photons that the gtmktime cut: 862

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/927868/ft1_filtered_4FGL_J1809.7+2910_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/927868/ft2_4FGL_J1809.7+2910_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/927868/ltcube_695779201_696038401_4FGL_J1809.7+2910_daily_bin1761.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/927868/ft2_4FGL_J1809.7+2910_daily_bin1761.fits
.....................!
real 15.57
user 15.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/927868/ft1_filtered_4FGL_J1809.7+2910_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/927868/ft2_4FGL_J1809.7+2910_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/927868/ltcube_695779201_696038401_4FGL_J1809.7+2910_daily_bin1761.fits outfile=/scratch/kocevski/927868/expmap_695779201_696038401_4FGL_J1809.7+2910_daily_bin1761.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/927868/ltcube_695779201_696038401_4FGL_J1809.7+2910_daily_bin1761.fits
.....................!
real 194.76
user 187.70
sys 5.12

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

Setting source of interest to:
4FGL J1809.7+2910 @ 272.441 29.1709

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/927868/ft1_filtered_4FGL_J1809.7+2910_daily_bin1761.fits scfile=/scratch/kocevski/927868/ft2_4FGL_J1809.7+2910_daily_bin1761.fits outfile=/scratch/kocevski/927868/cmap_695779201_696038401_4FGL_J1809.7+2910_daily_bin1761.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=272.441 yref=29.1709 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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/927868/ft1_filtered_4FGL_J1809.7+2910_daily_bin1761.fits scfile=/scratch/kocevski/927868/ft2_4FGL_J1809.7+2910_daily_bin1761.fits outfile=/scratch/kocevski/927868/cmap_HighResolution_695779201_696038401_4FGL_J1809.7+2910_daily_bin1761.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=272.441 yref=29.1709 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/927868/ft1_filtered_4FGL_J1809.7+2910_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/927868/ft2_4FGL_J1809.7+2910_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/927868/Model_4FGL_J1809.7+2910_daily_bin1761.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/927868/ft1_filtered_4FGL_J1809.7+2910_daily_bin1761.fits.....................!
real 81.59
user 79.95
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/927868/ft1_filtered_4FGL_J1809.7+2910_daily_bin1761.fits', '/scratch/kocevski/927868/ft2_4FGL_J1809.7+2910_daily_bin1761.fits', expMap='/scratch/kocevski/927868/expmap_695779201_696038401_4FGL_J1809.7+2910_daily_bin1761.fits', expCube='/scratch/kocevski/927868/ltcube_695779201_696038401_4FGL_J1809.7+2910_daily_bin1761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/927868/Model_4FGL_J1809.7+2910_daily_bin1761.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1809.7+2910'

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  1.835e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        alpha:  1.763e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
341         beta:  1.007e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
342           Eb:  2.273e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/927868/ft1_filtered_4FGL_J1809.7+2910_daily_bin1761.fits
Spacecraft file(s): /scratch/kocevski/927868/ft2_4FGL_J1809.7+2910_daily_bin1761.fits
Exposure map: /scratch/kocevski/927868/expmap_695779201_696038401_4FGL_J1809.7+2910_daily_bin1761.fits
Exposure cube: /scratch/kocevski/927868/ltcube_695779201_696038401_4FGL_J1809.7+2910_daily_bin1761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/927868/Model_4FGL_J1809.7+2910_daily_bin1761.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) = 9325.24943064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10319       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11440       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55817E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    35.208       1.0000          .0000       .10000E+07
     5 'Prefactor '    .26241E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16819E-03   1.0000          .0000       .10000E+07
     7 'norm      '    4.9614       1.0000          .0000       .10000E+07
     8 'norm      '    .93584E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .29971       1.0000          .0000       .10000E+07
    10 'norm      '    7.9679       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.7741       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15957E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16391       1.0000          .0000       .10000E+07
    14 'norm      '    .26084E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .89984E-07   1.0000          .0000       .10000E+07
    16 'norm      '    1.0484       1.0000          .0000       .10000E+07
    17 'Prefactor '    .14929E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .93191       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99994       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9325.232     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1144 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14168E-05    35.925        .36021E-05** at limit **
   2  Prefactor     .44298E-07    4.9769        .10484E-05** at limit **
   3  Prefactor     .94924E-08    4.4031       -.30319E-06** at limit **
   4  Prefactor     35.733        13.307        .24876E-06   -.20149    
   5  Prefactor     .14216E-05    21.594       -.74469E-06** at limit **
   6  Prefactor     .25646E-07    6.0131        .48780E-06** at limit **
   7  norm          4.9586        2.6861       -.20749E-06    .57165E-03
   8  norm          .35766E-05    23.766        .14812E-06** at limit **
   9  Prefactor     .28978        14.183       -.19348E-06    .45776E-02
  10  norm          7.9692        1.5831       -.13666E-06   -.14827E-01
  11  Prefactor     2.7747        4.0735        .17022E-06    .49743E-03
  12  Prefactor     .55511E-10    24.353        .16270E-05** at limit **
  13  Prefactor     .18573        .59209        .11993E-06** at limit **
  14  norm           .0000        14.817        .28480E-06** at limit **
  15  norm          .11102E-09    3.4360        .79648E-07** at limit **
  16  norm          1.0489        1.4902       -.29525E-06    .15516E-03
  17  Prefactor     .47073E-07    5.4627        .11302E-05** at limit **
  18  Normalizat    .93149        .24965        .23097E-05    .93342E-04
  19  Prefactor     .99997        .89955E-01    .28607E-05    .25017E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.41676e-06
  Prefactor  = 4.42979e-08
  Prefactor  = 9.49241e-09
  Prefactor  = 35.7325
  Prefactor  = 1.42159e-06
  Prefactor  = 2.56462e-08
  norm       = 4.95862
  norm       = 3.57664e-06
  Prefactor  = 0.289781
  norm       = 7.96924
  Prefactor  = 2.77468
  Prefactor  = 5.55112e-11
  Prefactor  = 0.185731
  norm       = 0
  norm       = 1.11022e-10
  norm       = 1.04893
  Prefactor  = 4.70735e-08
  Normalizat = 0.931488
  Prefactor  = 0.99997
 **********
 **   18 **HESSE 
 **********

 FCN=   9325.232     FROM HESSE     STATUS=OK           318 CALLS     1462 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14168E-05    41.882        .13844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44298E-07    43.417        .13558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .94924E-08    4.4481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     35.733        29.285        .16855E-03   -1.5588    
   5  Prefactor     .14216E-05    22.769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .25646E-07    6.0245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.9586        2.6974        .45127E-03   -1.5663    
   8  norm          .35766E-05    26.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .28978        3.3722        .57118E-02   -1.5697    
  10  norm          7.9692        8.6790        .35497E-03   -1.5652    
  11  Prefactor     2.7747        4.1042        .61075E-03   -1.5675    
  12  Prefactor     .55511E-10    23.545        .17319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18573        3.2159        .93349E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        14.796        .16665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .11102E-09    3.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0489        1.7419        .31461E-02   -1.5687    
  17  Prefactor     .47073E-07    5.4945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .93149        .22814        .96408E-01   -.95362    
  19  Prefactor     .99997        .80211E-01    .33810E-01   -.92731    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22647e-06
Minuit parameter uncertainties:
  1  0.0154062
  2  0.00277306
  3  0.000410934
  4  29.2853
  5  0.0113787
  6  0.000786545
  7  2.69737
  8  0.0195268
  9  1.97707
  10  8.67897
  11  4.10419
  12  8.80917e-05
  13  1.54569
  14  2.6546e-05
  15  3.56688e-05
  16  1.74186
  17  0.00101694
  18  0.228382
  19  0.0802203
Done.

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

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  7.969e+00  8.679e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        alpha:  1.763e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
341         beta:  1.007e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
342           Eb:  2.273e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  1.000e+00  8.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  9.315e-01  2.284e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.51
Ra Dec: 272.441 29.171
Photon Index (Fixed Index): 1.76 +/- 0.00
Photon Flux (Fixed Index): 1.64e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 2.25e-05 +/- 2.46e-05

TS (Fixed Index): 1.51
Ra Dec: 272.441 29.171
Photon Flux Upper Limit: 6.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/927868/likelihoodResults_695779201_696038401_4FGL_J1809.7+2910_daily_bin1761.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) = 9323.86293432
delta logL = 1.36914679731

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9323.83768877
delta logL = 1.39439234955

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8866       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0214       1.0000          .0000       5.0000    
     3 'Normalizat'    .86757       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0073       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9323.838     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      261 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8846        25.689        .59791E-03    .64387E-02
   2  alpha         3.0217        1.9088        .23434        .13461E-03
   3  Normalizat    .86754        .76977E-01    .99337E-01    .41485E-04
   4  Prefactor     1.0073        .25511E-01    .43751E-01   -.58855E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.88456
  alpha      = 3.02165
  Normalizat = 0.86754
  Prefactor  = 1.00732
 **********
 **   18 **HESSE 
 **********

 FCN=   9323.838     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8846        9.3501        .93475E-05   -1.5674    
   2  alpha         3.0217        1.4299        .82428E-02    .21021    
   3  Normalizat    .86754        .25983        .44018E-03   -.97610    
   4  Prefactor     1.0073        .91383E-01    .14874E-03   -.92486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19173e-10
Minuit parameter uncertainties:
  1  9.35017
  2  1.52737
  3  0.260204
  4  0.0913971
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/927868': 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) = 9323.83768867
delta logL = 1.39439245101

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  2.885e+00  9.350e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        alpha:  3.022e+00  1.527e+00  0.000e+00  5.000e+00 ( 1.000e+00)
341         beta:  1.007e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
342           Eb:  2.273e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  1.007e+00  9.140e-02  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  8.675e-01  2.602e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.34
Ra Dec: 272.441 29.171
Photon Index (Free Index): 3.02 +/- 1.53
Photon Flux (Free Index): 8.96e-08 +/- 7.87e-08
Energy Flux (Free Index): 2.12e-05 +/- 1.40e-05

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/927868/cmap_HighResolution_695779201_696038401_4FGL_J1809.7+2910_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.70e-05', comment='SUCCESS', photon_flux='1.64e-08', energy_flux2='2.12e-05', photon_flux_error='1.79e-08', dlogl='1.39e+00', energy_flux='2.25e-05', photon_flux2='8.96e-08', job_status='DONE', time_completed='2023-01-22 01:31:20.956759', photon_index_error2='1.53', photon_index2='3.02', ts='1.51', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='6.33e-08', energy_flux_error2='1.40e-05', EG='0.93', time_epoch_completed='1674379880.96', return_code='0', job_id='927868', GAL2='1.01', EG2='0.87', return_code2='0', energy_flux_error='2.46e-05', photon_flux_error2='7.87e-08', ts2='4.34', photon_index='1.76' WHERE bin_id='1761' AND source_name='4FGL J1809.7+2910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:31:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 927868: <4FGL_J1809.7+2910_daily_bin1761> in cluster <slac> Done

Job <4FGL_J1809.7+2910_daily_bin1761> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Jan 22 01:15:26 2023
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:17:40 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:17:40 2023
Terminated at Sun Jan 22 01:31:21 2023
Results reported at Sun Jan 22 01:31:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1809.7+2910_daily_bin1761 272.441 29.1709 695779201 696038401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1809.7+2910 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   730.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             317.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            955 sec.

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

