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


Performing analysis on: 4FGL_J1809.7+2910_daily_bin1776
RA = 272.441, Dec = 29.1709
tmin = 699667201, tmax = 699926401
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='839624', job_status='RUN', time_executed='2023-03-08 01:02:38.580508', time_epoch_executed='1678266158.58' WHERE source_name='4FGL J1809.7+2910' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/839624

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/839624/ft1_4FGL_J1809.7+2910_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/839624/ft2_4FGL_J1809.7+2910_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/839624/ft1_4FGL_J1809.7+2910_daily_bin1776.fits outfile=/scratch/kocevski/839624/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1776.fits ra=272.441 dec=29.1709 rad=12.0 tmin=699667201.0 tmax=699926401.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.91
user 3.63
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/839624/ft2_4FGL_J1809.7+2910_daily_bin1776.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/839624/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/839624/ft1_filtered_4FGL_J1809.7+2910_daily_bin1776.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 1095

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/839624/ft1_filtered_4FGL_J1809.7+2910_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/839624/ft2_4FGL_J1809.7+2910_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/839624/ltcube_699667201_699926401_4FGL_J1809.7+2910_daily_bin1776.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/839624/ft2_4FGL_J1809.7+2910_daily_bin1776.fits
.....................!
real 11.84
user 11.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/839624/ft1_filtered_4FGL_J1809.7+2910_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/839624/ft2_4FGL_J1809.7+2910_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/839624/ltcube_699667201_699926401_4FGL_J1809.7+2910_daily_bin1776.fits outfile=/scratch/kocevski/839624/expmap_699667201_699926401_4FGL_J1809.7+2910_daily_bin1776.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/839624/ltcube_699667201_699926401_4FGL_J1809.7+2910_daily_bin1776.fits
.....................!
real 190.77
user 184.93
sys 5.53

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/839624/ft1_filtered_4FGL_J1809.7+2910_daily_bin1776.fits scfile=/scratch/kocevski/839624/ft2_4FGL_J1809.7+2910_daily_bin1776.fits outfile=/scratch/kocevski/839624/cmap_699667201_699926401_4FGL_J1809.7+2910_daily_bin1776.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/839624/ft1_filtered_4FGL_J1809.7+2910_daily_bin1776.fits scfile=/scratch/kocevski/839624/ft2_4FGL_J1809.7+2910_daily_bin1776.fits outfile=/scratch/kocevski/839624/cmap_HighResolution_699667201_699926401_4FGL_J1809.7+2910_daily_bin1776.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/839624/ft1_filtered_4FGL_J1809.7+2910_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/839624/ft2_4FGL_J1809.7+2910_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/839624/Model_4FGL_J1809.7+2910_daily_bin1776.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/839624/ft1_filtered_4FGL_J1809.7+2910_daily_bin1776.fits.....................!
real 98.80
user 97.48
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15893       1.0000          .0000       .10000E+07
     2 'Prefactor '    31.998       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.0177       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.015       1.0000          .0000       .10000E+07
     5 'Prefactor '    .44600E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .31134E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .13878E-08   1.0000          .0000       .10000E+07
     8 'norm      '    .74881E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.6944       1.0000          .0000       .10000E+07
    10 'norm      '    12.712       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.1941       1.0000          .0000       .10000E+07
    12 'Prefactor '    .49708E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    8.2534       1.0000          .0000       .10000E+07
    14 'norm      '    .83962E-04   1.0000          .0000       .10000E+07
    15 'norm      '    1.8310       1.0000          .0000       .10000E+07
    16 'norm      '    .15876E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.7461       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1156       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .95321       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=   11851.39     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1449 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .33307E-08    87.683        .70022E-07** at limit **
   2  Prefactor     33.092        85.793        .67136E-05    .55717E-03
   3  Prefactor     7.9939        9.4529       -.14634E-06    .17791E-02
   4  Prefactor     12.063        32.928       -.22662E-04    .91586E-03
   5  Prefactor     .34417E-08    43.283       -.26314E-05** at limit **
   6  Prefactor      .0000        3.4266        .35244E-07** at limit **
   7  norm           .0000        .48037       -.13551E-07** at limit **
   8  norm          .72164E-09    29.723        .14273E-05** at limit **
   9  Prefactor     1.6947        3.0567       -.52551E-07    .63633E-03
  10  norm          12.548        7.7979        .13937E-06    .10454E-02
  11  Prefactor     3.1960        2.8716        .54264E-07    .54840E-03
  12  Prefactor      .0000        5.7769        .35988E-07** at limit **
  13  Prefactor     8.2530        6.7782       -.14115E-06    .45866E-03
  14  norm          .55511E-10    12.785        .24314E-07** at limit **
  15  norm          1.8332        2.4248       -.86381E-07    .24124E-02
  16  norm           .0000        .88711        .31184E-08** at limit **
  17  Prefactor     2.8500        5.9089       -.64496E-07    .71357E-03
  18  Normalizat    1.1152        .23359        .31331E-04    .19475E-03
  19  Prefactor     .95320        .79852E-01   -.50127E-05    .43800E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.33067e-09
  Prefactor  = 33.0918
  Prefactor  = 7.99395
  Prefactor  = 12.0633
  Prefactor  = 3.44169e-09
  Prefactor  = 0
  norm       = 0
  norm       = 7.21645e-10
  Prefactor  = 1.69466
  norm       = 12.5477
  Prefactor  = 3.19599
  Prefactor  = 0
  Prefactor  = 8.25297
  norm       = 5.55112e-11
  norm       = 1.83317
  norm       = 0
  Prefactor  = 2.85
  Normalizat = 1.11516
  Prefactor  = 0.953202
 **********
 **   18 **HESSE 
 **********

 FCN=   11851.39     FROM HESSE     STATUS=OK           308 CALLS     1757 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .33307E-08    86.988        .12558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.092        85.502        .17681E-03   -1.5593    
   3  Prefactor     7.9939        9.4504        .35386E-03   -1.5651    
   4  Prefactor     12.063        32.867        .28875E-03   -1.5638    
   5  Prefactor     .34417E-08    43.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .48176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .72164E-09    29.704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6947        3.0931        .80817E-03   -1.5682    
  10  norm          12.548        7.7965        .28070E-03   -1.5637    
  11  Prefactor     3.1960        2.8676        .56670E-03   -1.5672    
  12  Prefactor      .0000        5.7765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.2530        6.7888        .34873E-03   -1.5651    
  14  norm          .55511E-10    12.781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8332        2.4462        .77097E-03   -1.5681    
  16  norm           .0000        .88533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.8500        5.9303        .61408E-03   -1.5674    
  18  Normalizat    1.1152        .20610        .91804E-01   -.89266    
  19  Prefactor     .95320        .70236E-01    .34713E-01   -.94306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57985e-09
Minuit parameter uncertainties:
  1  0.00107246
  2  85.505
  3  9.45044
  4  32.8675
  5  0.000774482
  6  1.1791e-05
  7  5.13934e-06
  8  0.000287474
  9  3.09311
  10  7.79652
  11  2.86758
  12  1.0129e-05
  13  6.78876
  14  5.054e-05
  15  2.4462
  16  4.80963e-07
  17  5.93028
  18  0.206253
  19  0.0702423
Done.

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

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  1.255e+01  7.797e+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:  9.532e-01  7.024e-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.115e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.96
Ra Dec: 272.441 29.171
Photon Index (Fixed Index): 1.76 +/- 0.00
Photon Flux (Fixed Index): 2.58e-08 +/- 1.61e-08
Energy Flux (Fixed Index): 3.55e-05 +/- 2.21e-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) = 11851.3038045
delta logL = 0.0854203871731

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11851.3033522
delta logL = 0.0858726903971

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.641       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9779       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1095       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95316       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11851.30     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      316 TOTAL
                     EDM=   .83E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.653        7.8530        .11735E-04    .58129E-05
   2  alpha         1.9792        .52859        .16106E-01    .13198E-04
   3  Normalizat    1.1093        .22206        .40751E-03   -.23434E-05
   4  Prefactor     .95316        .78484E-01    .15336E-03   -.12602E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.653
  alpha      = 1.9792
  Normalizat = 1.1093
  Prefactor  = 0.953158
 **********
 **   18 **HESSE 
 **********

 FCN=   11851.30     FROM HESSE     STATUS=OK            25 CALLS      341 TOTAL
                     EDM=   .50E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.653        7.6473        .46938E-06   -1.5640    
   2  alpha         1.9792        .51484        .64426E-03   -.20986    
   3  Normalizat    1.1093        .22211        .16300E-04   -.89454    
   4  Prefactor     .95316        .78535E-01    .61345E-05   -.94308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.98696e-14
Minuit parameter uncertainties:
  1  7.64729
  2  0.518718
  3  0.222293
  4  0.0785445
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/839624': 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) = 11851.3033445
delta logL = 0.0858803935134

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  1.165e+01  7.647e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        alpha:  1.979e+00  5.187e-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:  9.532e-01  7.854e-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.109e+00  2.223e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.13
Ra Dec: 272.441 29.171
Photon Index (Free Index): 1.98 +/- 0.52
Photon Flux (Free Index): 3.48e-08 +/- 3.12e-08
Energy Flux (Free Index): 2.95e-05 +/- 2.09e-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/839624/cmap_HighResolution_699667201_699926401_4FGL_J1809.7+2910_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.58e-08', energy_flux2='2.95e-05', photon_flux_error='1.61e-08', dlogl='8.59e-02', energy_flux='3.55e-05', photon_flux2='3.48e-08', job_status='DONE', time_completed='2023-03-08 01:15:54.739105', photon_index_error2='0.52', photon_index2='1.98', ts='8.96', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.09e-05', EG='1.12', time_epoch_completed='1678266954.74', return_code='0', job_id='839624', GAL2='0.95', EG2='1.11', return_code2='0', energy_flux_error='2.21e-05', photon_flux_error2='3.12e-08', ts2='9.13', photon_index='1.76' WHERE bin_id='1776' AND source_name='4FGL J1809.7+2910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:15:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 839624: <4FGL_J1809.7+2910_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1809.7+2910_daily_bin1776> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Mar  8 01:00:20 2023
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 01:00:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 01:00:20 2023
Terminated at Wed Mar  8 01:15:55 2023
Results reported at Wed Mar  8 01:15:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1809.7+2910_daily_bin1776 272.441 29.1709 699667201 699926401 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 :                                   798.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             313.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            935 sec.

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

