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


Performing analysis on: 4FGL_J1809.7+2910_daily_bin1710
RA = 272.441, Dec = 29.1709
tmin = 682560001, tmax = 682819201
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='192312', job_status='RUN', time_executed='2022-09-16 20:53:02.820917', time_epoch_executed='1663386782.82' WHERE source_name='4FGL J1809.7+2910' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192312

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192312/ft1_4FGL_J1809.7+2910_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192312/ft2_4FGL_J1809.7+2910_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192312/ft1_4FGL_J1809.7+2910_daily_bin1710.fits outfile=/scratch/kocevski/192312/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1710.fits ra=272.441 dec=29.1709 rad=12.0 tmin=682560001.0 tmax=682819201.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.66
user 3.41
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/192312/ft2_4FGL_J1809.7+2910_daily_bin1710.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/192312/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/192312/ft1_filtered_4FGL_J1809.7+2910_daily_bin1710.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.51
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 926

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192312/ft1_filtered_4FGL_J1809.7+2910_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/192312/ft2_4FGL_J1809.7+2910_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/192312/ltcube_682560001_682819201_4FGL_J1809.7+2910_daily_bin1710.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/192312/ft2_4FGL_J1809.7+2910_daily_bin1710.fits
.....................!
real 14.31
user 13.88
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192312/ft1_filtered_4FGL_J1809.7+2910_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/192312/ft2_4FGL_J1809.7+2910_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/192312/ltcube_682560001_682819201_4FGL_J1809.7+2910_daily_bin1710.fits outfile=/scratch/kocevski/192312/expmap_682560001_682819201_4FGL_J1809.7+2910_daily_bin1710.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/192312/ltcube_682560001_682819201_4FGL_J1809.7+2910_daily_bin1710.fits
.....................!
real 192.71
user 186.66
sys 5.51

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/192312/ft1_filtered_4FGL_J1809.7+2910_daily_bin1710.fits scfile=/scratch/kocevski/192312/ft2_4FGL_J1809.7+2910_daily_bin1710.fits outfile=/scratch/kocevski/192312/cmap_682560001_682819201_4FGL_J1809.7+2910_daily_bin1710.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192312/ft1_filtered_4FGL_J1809.7+2910_daily_bin1710.fits scfile=/scratch/kocevski/192312/ft2_4FGL_J1809.7+2910_daily_bin1710.fits outfile=/scratch/kocevski/192312/cmap_HighResolution_682560001_682819201_4FGL_J1809.7+2910_daily_bin1710.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/192312/ft1_filtered_4FGL_J1809.7+2910_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/192312/ft2_4FGL_J1809.7+2910_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192312/Model_4FGL_J1809.7+2910_daily_bin1710.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/192312/ft1_filtered_4FGL_J1809.7+2910_daily_bin1710.fits.....................!
real 85.31
user 83.47
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/192312/ft1_filtered_4FGL_J1809.7+2910_daily_bin1710.fits', '/scratch/kocevski/192312/ft2_4FGL_J1809.7+2910_daily_bin1710.fits', expMap='/scratch/kocevski/192312/expmap_682560001_682819201_4FGL_J1809.7+2910_daily_bin1710.fits', expCube='/scratch/kocevski/192312/ltcube_682560001_682819201_4FGL_J1809.7+2910_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/192312/Model_4FGL_J1809.7+2910_daily_bin1710.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/192312/ft1_filtered_4FGL_J1809.7+2910_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/192312/ft2_4FGL_J1809.7+2910_daily_bin1710.fits
Exposure map: /scratch/kocevski/192312/expmap_682560001_682819201_4FGL_J1809.7+2910_daily_bin1710.fits
Exposure cube: /scratch/kocevski/192312/ltcube_682560001_682819201_4FGL_J1809.7+2910_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/192312/Model_4FGL_J1809.7+2910_daily_bin1710.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) = 9755.91377746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .79945E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19621E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .72196       1.0000          .0000       .10000E+07
     4 'Prefactor '    .57120E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .52482E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    11.597       1.0000          .0000       .10000E+07
     7 'norm      '    .66613E-09   1.0000          .0000       .10000E+07
     8 'norm      '    42.919       1.0000          .0000       .10000E+07
     9 'Prefactor '    .55567E-07   1.0000          .0000       .10000E+07
    10 'norm      '    5.2693       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20178E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    23.135       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15217E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .24588E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    16 'norm      '    .22204E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    .24319E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1435       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .86059       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=   9755.909     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1408 TOTAL
                     EDM=   .55E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        40.556       -.38639E-07** at limit **
   2  Prefactor      .0000        90.111       -.27919E-06** at limit **
   3  Prefactor     .66548        2.6514       -.51806E-06   -.41439E-03
   4  Prefactor      .0000        16.529        .43143E-06** at limit **
   5  Prefactor      .0000        20.805        .69777E-06** at limit **
   6  Prefactor     11.581        9.2614        .44053E-06    .96653E-04
   7  norm           .0000        .66879        .86646E-07** at limit **
   8  norm          43.677        44.476        .10942E-05   -.18990E-03
   9  Prefactor      .0000        1.2819       -.67224E-06** at limit **
  10  norm          5.2639        5.1079       -.78557E-06    .21576E-04
  11  Prefactor      .0000        1.8625        .82791E-07** at limit **
  12  Prefactor     23.152        1.5093       -.33803E-07    .21693E-03
  13  Prefactor      .0000        2.4169        .79471E-06** at limit **
  14  norm           .0000        15.194       -.13318E-05** at limit **
  15  norm           .0000        1.1957       -.45319E-06** at limit **
  16  norm           .0000        .48182       -.82994E-07** at limit **
  17  Prefactor      .0000        6.1368       -.10097E-05** at limit **
  18  Normalizat    1.1434        .22398       -.67686E-06    .98680E-05
  19  Prefactor     .86060        .81085E-01   -.19365E-05    .90196E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0.665478
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 11.5808
  norm       = 0
  norm       = 43.6772
  Prefactor  = 0
  norm       = 5.26389
  Prefactor  = 0
  Prefactor  = 23.1525
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Normalizat = 1.14341
  Prefactor  = 0.8606
 **********
 **   18 **HESSE 
 **********

 FCN=   9755.909     FROM HESSE     STATUS=OK           300 CALLS     1708 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        40.575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        89.717        .17062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .66548        43.869        .58943E-03   -1.5692    
   4  Prefactor      .0000        16.526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        20.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.581        9.2669        .29393E-03   -1.5640    
   7  norm           .0000        .66745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          43.677        44.799        .15266E-03   -1.5576    
   9  Prefactor      .0000        1.2801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.2639        5.1548        .43763E-03   -1.5662    
  11  Prefactor      .0000        1.8604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.152        21.229        .20796E-03   -1.5612    
  13  Prefactor      .0000        2.4158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        15.198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.1884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .47990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        6.1278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1434        .20306        .82677E-01   -.88370    
  19  Prefactor     .86060        .71426E-01    .33918E-01   -.97532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09168e-07
Minuit parameter uncertainties:
  1  1.70157e-05
  2  3.02842e-06
  3  10.8063
  4  1.60025e-06
  5  1.61754e-05
  6  9.26695
  7  1.70505e-08
  8  44.7998
  9  9.4381e-07
  10  5.15483
  11  1.43216e-06
  12  21.2295
  13  1.50157e-08
  14  1.07233e-05
  15  2.68843e-07
  16  2.53951e-07
  17  2.45572e-06
  18  0.2032
  19  0.0714333
Done.

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

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  5.264e+00  5.155e+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:  8.606e-01  7.143e-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:  1.143e+00  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.04
Ra Dec: 272.441 29.171
Photon Index (Fixed Index): 1.76 +/- 0.00
Photon Flux (Fixed Index): 1.08e-08 +/- 1.06e-08
Energy Flux (Fixed Index): 1.49e-05 +/- 1.46e-05

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) = 9755.21363942
delta logL = 0.695007638968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9755.1078785
delta logL = 0.800768555111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8399       1.0000          .0000       .10000E+07
     2 'alpha     '    .73644       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1458       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86150       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=   9755.108     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      219 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8409        2.9953        .60314E-03   -.47492E-02
   2  alpha         .73624        .58705        .50000       -.30865E-04
   3  Normalizat    1.1460        .19661        .82606E-01    .25883E-04
   4  Prefactor     .86147        .71294E-01    .33907E-01    .54029E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.84087
  alpha      = 0.736236
  Normalizat = 1.14599
  Prefactor  = 0.861469
 **********
 **   18 **HESSE 
 **********

 FCN=   9755.108     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8409        4.0219        .16217E-04   -1.5674    
   2  alpha         .73624        .72142        .30816E-01   -.78314    
   3  Normalizat    1.1460        .22301        .36572E-03   -.88289    
   4  Prefactor     .86147        .81036E-01    .14982E-03   -.97501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.11055e-12
Minuit parameter uncertainties:
  1  4.02194
  2  0.743003
  3  0.22319
  4  0.0810475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192312': 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) = 9755.10787763
delta logL = 0.800769432506

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  2.841e+00  4.022e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        alpha:  7.362e-01  7.430e-01  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:  8.615e-01  8.105e-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:  1.146e+00  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.64
Ra Dec: 272.441 29.171
Photon Index (Free Index): 0.74 +/- 0.74
Photon Flux (Free Index): 3.62e-09 +/- 3.83e-09
Energy Flux (Free Index): 5.70e-05 +/- 7.98e-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/192312/cmap_HighResolution_682560001_682819201_4FGL_J1809.7+2910_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-08', energy_flux2='5.70e-05', photon_flux_error='1.06e-08', dlogl='8.01e-01', energy_flux='1.49e-05', photon_flux2='3.62e-09', job_status='DONE', time_completed='2022-09-16 21:04:54.736792', photon_index_error2='0.74', photon_index2='0.74', ts='8.04', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='7.98e-05', EG='1.14', time_epoch_completed='1663387494.74', return_code='0', job_id='192312', GAL2='0.86', EG2='1.15', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='3.83e-09', ts2='9.64', photon_index='1.76' WHERE bin_id='1710' AND source_name='4FGL J1809.7+2910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 21:04:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 192312: <4FGL_J1809.7+2910_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1809.7+2910_daily_bin1710> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 20:50:26 2022
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 20:51:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 20:51:51 2022
Terminated at Fri Sep 16 21:04:55 2022
Results reported at Fri Sep 16 21:04:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1809.7+2910_daily_bin1710 272.441 29.1709 682560001 682819201 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 :                                   713.02 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             367.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            869 sec.

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

