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


Performing analysis on: 4FGL_J1809.7+2910_daily_bin1748
RA = 272.441, Dec = 29.1709
tmin = 692409601, tmax = 692668801
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='892582', job_status='RUN', time_executed='2022-12-14 01:04:22.297563', time_epoch_executed='1671008662.3' WHERE source_name='4FGL J1809.7+2910' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892582

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892582/ft1_4FGL_J1809.7+2910_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892582/ft2_4FGL_J1809.7+2910_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892582/ft1_4FGL_J1809.7+2910_daily_bin1748.fits outfile=/scratch/kocevski/892582/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1748.fits ra=272.441 dec=29.1709 rad=12.0 tmin=692409601.0 tmax=692668801.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.55
user 3.35
sys 0.19

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

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

Number of photons that the gtmktime cut: 983

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892582/ft1_filtered_4FGL_J1809.7+2910_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/892582/ft2_4FGL_J1809.7+2910_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/892582/ltcube_692409601_692668801_4FGL_J1809.7+2910_daily_bin1748.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/892582/ft2_4FGL_J1809.7+2910_daily_bin1748.fits
.....................!
real 11.89
user 11.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892582/ft1_filtered_4FGL_J1809.7+2910_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/892582/ft2_4FGL_J1809.7+2910_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/892582/ltcube_692409601_692668801_4FGL_J1809.7+2910_daily_bin1748.fits outfile=/scratch/kocevski/892582/expmap_692409601_692668801_4FGL_J1809.7+2910_daily_bin1748.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/892582/ltcube_692409601_692668801_4FGL_J1809.7+2910_daily_bin1748.fits
.....................!
real 190.26
user 184.95
sys 4.99

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/892582/ft1_filtered_4FGL_J1809.7+2910_daily_bin1748.fits scfile=/scratch/kocevski/892582/ft2_4FGL_J1809.7+2910_daily_bin1748.fits outfile=/scratch/kocevski/892582/cmap_692409601_692668801_4FGL_J1809.7+2910_daily_bin1748.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.55
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    47.336       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37046       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13131E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    51.101       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31725E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .80620E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.1078       1.0000          .0000       .10000E+07
     8 'norm      '    10.846       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4252       1.0000          .0000       .10000E+07
    10 'norm      '    13.865       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8380       1.0000          .0000       .10000E+07
    12 'Prefactor '    .29545E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.162       1.0000          .0000       .10000E+07
    14 'norm      '    .20907E-01   1.0000          .0000       .10000E+07
    15 'norm      '    1.3006       1.0000          .0000       .10000E+07
    16 'norm      '    .17058E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .14562E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0554       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96039       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=   10092.60     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1429 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.284        66.420       -.11497E-05   -.94768E-03
   2  Prefactor     .94683E-05    30.656        .97158E-06** at limit **
   3  Prefactor     .16653E-08    20.171        .33762E-05** at limit **
   4  Prefactor     51.746        6.6323        .43838E-06   -.83447E-02
   5  Prefactor     .11996E-06    57.391       -.18210E-05** at limit **
   6  Prefactor     .55511E-10    4.1265        .61292E-06** at limit **
   7  norm          1.1065        1.2737       -.10329E-06    .69789E-03
   8  norm          11.865        33.697        .50158E-05    .31381E-02
   9  Prefactor     3.4311        5.8256        .91244E-07   -.46144E-04
  10  norm          13.882        8.5577        .32533E-06    .12622E-02
  11  Prefactor     2.8334        4.5270        .60542E-07    .73242E-03
  12  Prefactor      .0000        8.4095        .72469E-06** at limit **
  13  Prefactor     18.260        8.9590       -.81762E-07   -.45453E-03
  14  norm          .55511E-10    18.535        .13099E-05** at limit **
  15  norm          1.2988        2.2917        .12310E-05   -.16753E-02
  16  norm          .77716E-08    33.034        .44243E-05** at limit **
  17  Prefactor     .33307E-09    11.121        .15550E-05** at limit **
  18  Normalizat    1.0542        .23880        .97252E-05    .10013E-03
  19  Prefactor     .96038        .86501E-01   -.32472E-05    .28629E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.284
  Prefactor  = 9.46826e-06
  Prefactor  = 1.66533e-09
  Prefactor  = 51.7458
  Prefactor  = 1.1996e-07
  Prefactor  = 5.55112e-11
  norm       = 1.10646
  norm       = 11.8654
  Prefactor  = 3.43107
  norm       = 13.8818
  Prefactor  = 2.83344
  Prefactor  = 0
  Prefactor  = 18.2601
  norm       = 5.55112e-11
  norm       = 1.29877
  norm       = 7.77156e-09
  Prefactor  = 3.33067e-10
  Normalizat = 1.05415
  Prefactor  = 0.960376
 **********
 **   18 **HESSE 
 **********

 FCN=   10092.60     FROM HESSE     STATUS=OK           312 CALLS     1741 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.284        66.336        .14536E-03   -1.5566    
   2  Prefactor     .94683E-05    325.38        .92992E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-08    20.152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     51.746        32.842        .13990E-03   -1.5564    
   5  Prefactor     .11996E-06    63.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    4.1166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1065        1.3010        .11236E-02   -1.5687    
   8  norm          11.865        34.304        .30397E-03   -1.5639    
   9  Prefactor     3.4311        5.8432        .54632E-03   -1.5671    
  10  norm          13.882        8.5587        .26874E-03   -1.5633    
  11  Prefactor     2.8334        4.5479        .60335E-03   -1.5674    
  12  Prefactor      .0000        8.4051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.260        9.0359        .23474E-03   -1.5622    
  14  norm          .55511E-10    18.537        .16978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.2988        2.7762        .96853E-03   -1.5685    
  16  norm          .77716E-08    1.6509        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .33307E-09    11.090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0542        .21531        .89502E-01   -.91238    
  19  Prefactor     .96038        .76598E-01    .34380E-01   -.94062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51809e-07
Minuit parameter uncertainties:
  1  66.3371
  2  0.111017
  3  0.000366311
  4  32.8423
  5  0.00552219
  6  3.10627e-05
  7  1.301
  8  34.3044
  9  5.84321
  10  8.5587
  11  4.54786
  12  2.17315e-05
  13  9.03595
  14  7.55551e-05
  15  2.7762
  16  0.000226931
  17  0.000117296
  18  0.215492
  19  0.0766063
Done.

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

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  1.388e+01  8.559e+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.604e-01  7.661e-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.054e+00  2.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.69
Ra Dec: 272.441 29.171
Photon Index (Fixed Index): 1.76 +/- 0.00
Photon Flux (Fixed Index): 2.86e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 3.93e-05 +/- 2.42e-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) = 10092.5514444
delta logL = 0.0482326209531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10092.5512893
delta logL = 0.0483876575054

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.972       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9142       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96042       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=   10092.55     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      309 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.982        8.8581        .11114E-04    .12070E-02
   2  alpha         1.9151        .49538        .14463E-01    .28249E-04
   3  Normalizat    1.0506        .23184        .39692E-03   -.56139E-05
   4  Prefactor     .96027        .85820E-01    .15191E-03    .21704E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.982
  alpha      = 1.91512
  Normalizat = 1.05061
  Prefactor  = 0.960267
 **********
 **   18 **HESSE 
 **********

 FCN=   10092.55     FROM HESSE     STATUS=OK            25 CALLS      334 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.982        8.6572        .44457E-06   -1.5636    
   2  alpha         1.9151        .48432        .57853E-03   -.23614    
   3  Normalizat    1.0506        .23193        .15877E-04   -.91354    
   4  Prefactor     .96027        .85872E-01    .60762E-05   -.94066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1915e-11
Minuit parameter uncertainties:
  1  8.65724
  2  0.487579
  3  0.232155
  4  0.0858841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892582': 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) = 10092.5512836
delta logL = 0.0483933575051

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  1.298e+01  8.657e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        alpha:  1.915e+00  4.876e-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.603e-01  8.588e-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.051e+00  2.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.79
Ra Dec: 272.441 29.171
Photon Index (Free Index): 1.92 +/- 0.49
Photon Flux (Free Index): 3.45e-08 +/- 2.87e-08
Energy Flux (Free Index): 3.35e-05 +/- 2.57e-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/892582/cmap_HighResolution_692409601_692668801_4FGL_J1809.7+2910_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.86e-08', energy_flux2='3.35e-05', photon_flux_error='1.76e-08', dlogl='4.84e-02', energy_flux='3.93e-05', photon_flux2='3.45e-08', job_status='DONE', time_completed='2022-12-14 01:16:41.666612', photon_index_error2='0.49', photon_index2='1.92', ts='10.69', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.57e-05', EG='1.05', time_epoch_completed='1671009401.67', return_code='0', job_id='892582', GAL2='0.96', EG2='1.05', return_code2='0', energy_flux_error='2.42e-05', photon_flux_error2='2.87e-08', ts2='10.79', photon_index='1.76' WHERE bin_id='1748' AND source_name='4FGL J1809.7+2910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:16:41 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 892582: <4FGL_J1809.7+2910_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1809.7+2910_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 01:00:22 2022
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:00:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:00:23 2022
Terminated at Wed Dec 14 01:16:42 2022
Results reported at Wed Dec 14 01:16:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1809.7+2910_daily_bin1748 272.441 29.1709 692409601 692668801 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 :                                   740.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             279.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

