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 77 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1809.7+2910_weekly_bin730
RA = 272.441, Dec = 29.1709
tmin = 680486401, tmax = 681091201
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='659741', job_status='RUN', time_executed='2022-08-02 02:50:21.991466', time_epoch_executed='1659433821.99' WHERE source_name='4FGL J1809.7+2910' and cadence='weekly' and bin_id='730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659741

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659741/ft1_4FGL_J1809.7+2910_weekly_bin730.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659741/ft2_4FGL_J1809.7+2910_weekly_bin730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659741/ft1_4FGL_J1809.7+2910_weekly_bin730.fits outfile=/scratch/kocevski/659741/ft1_filteredMKT_4FGL_J1809.7+2910_weekly_bin730.fits ra=272.441 dec=29.1709 rad=12.0 tmin=680486401.0 tmax=681091201.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 6.19
user 5.92
sys 0.25

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

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

Number of photons that the gtmktime cut: 3469

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659741/ft1_filtered_4FGL_J1809.7+2910_weekly_bin730.fits" evtable="EVENTS" scfile=/scratch/kocevski/659741/ft2_4FGL_J1809.7+2910_weekly_bin730.fits sctable="SC_DATA" outfile=/scratch/kocevski/659741/ltcube_680486401_681091201_4FGL_J1809.7+2910_weekly_bin730.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/659741/ft2_4FGL_J1809.7+2910_weekly_bin730.fits
.....................!
real 31.09
user 30.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659741/ft1_filtered_4FGL_J1809.7+2910_weekly_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/659741/ft2_4FGL_J1809.7+2910_weekly_bin730.fits sctable="SC_DATA" expcube=/scratch/kocevski/659741/ltcube_680486401_681091201_4FGL_J1809.7+2910_weekly_bin730.fits outfile=/scratch/kocevski/659741/expmap_680486401_681091201_4FGL_J1809.7+2910_weekly_bin730.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/659741/ltcube_680486401_681091201_4FGL_J1809.7+2910_weekly_bin730.fits
.....................!
real 190.24
user 185.57
sys 4.21

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/659741/ft1_filtered_4FGL_J1809.7+2910_weekly_bin730.fits scfile=/scratch/kocevski/659741/ft2_4FGL_J1809.7+2910_weekly_bin730.fits outfile=/scratch/kocevski/659741/cmap_680486401_681091201_4FGL_J1809.7+2910_weekly_bin730.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.59
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659741/ft1_filtered_4FGL_J1809.7+2910_weekly_bin730.fits scfile=/scratch/kocevski/659741/ft2_4FGL_J1809.7+2910_weekly_bin730.fits outfile=/scratch/kocevski/659741/cmap_HighResolution_680486401_681091201_4FGL_J1809.7+2910_weekly_bin730.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.59
user 0.42
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/659741/ft1_filtered_4FGL_J1809.7+2910_weekly_bin730.fits', '/scratch/kocevski/659741/ft2_4FGL_J1809.7+2910_weekly_bin730.fits', expMap='/scratch/kocevski/659741/expmap_680486401_681091201_4FGL_J1809.7+2910_weekly_bin730.fits', expCube='/scratch/kocevski/659741/ltcube_680486401_681091201_4FGL_J1809.7+2910_weekly_bin730.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/659741/Model_4FGL_J1809.7+2910_weekly_bin730.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  1.000e-04  1.000e+04 ( 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  0.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/659741/ft1_filtered_4FGL_J1809.7+2910_weekly_bin730.fits
Spacecraft file(s): /scratch/kocevski/659741/ft2_4FGL_J1809.7+2910_weekly_bin730.fits
Exposure map: /scratch/kocevski/659741/expmap_680486401_681091201_4FGL_J1809.7+2910_weekly_bin730.fits
Exposure cube: /scratch/kocevski/659741/ltcube_680486401_681091201_4FGL_J1809.7+2910_weekly_bin730.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/659741/Model_4FGL_J1809.7+2910_weekly_bin730.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) = 36922.1170122

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.9202       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.6650       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4430       1.0000         .10000E-03   10000.    
     9 'norm      '    .42008       1.0000         .10000E-03   10000.    
    10 'norm      '    38.814       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4022       1.0000         .10000E-03   10000.    
    12 'norm      '    7.1817       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7004       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9704       1.0000         .10000E-03   10000.    
    17 'norm      '    5.6493       1.0000         .10000E-03   10000.    
    18 'norm      '    .81325       1.0000         .10000E-03   10000.    
    19 'norm      '    .10748E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .58971E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.556       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1298       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95835       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.

 FCN=   36922.03     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2310 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3717        .15992E-07** at limit **
   2  norm          .10000E-03    6.9209       -.57702E-08** at limit **
   3  Prefactor     2.8918        79.507        .82934E-05   -.21951E-05
   4  Prefactor     4.6652        5.2081        .20682E-05    .25282E-03
   5  Prefactor     .10000E-03    20.974       -.26961E-06** at limit **
   6  Prefactor     .10000E-03    25.234        .31476E-06** at limit **
   7  Prefactor     .10000E-03    68.473       -.30939E-06** at limit **
   8  Prefactor     4.4426        3.4369        .19700E-06    .23852E-04
   9  norm          .42039        .60387        .97089E-09   -.75700E-03
  10  norm          38.812        26.338       -.59069E-06   -.23884E-04
  11  Prefactor     3.4025        2.5238        .17743E-06    .20320E-04
  12  norm          7.1815        3.1624       -.40022E-07   -.29642E-04
  13  Prefactor     2.7002        2.0001        .10934E-06    .13886E-05
  14  Prefactor     .10000E-03    5.4577        .70593E-07** at limit **
  15  norm          .10000E-03    3.9292        .38124E-08** at limit **
  16  Prefactor     3.9705        3.2202        .67680E-07   -.17837E-03
  17  norm          5.6497        15.492       -.20133E-07   -.20155E-04
  18  norm          .81257        1.3379        .92701E-07   -.12856E-02
  19  norm          .10000E-03    .24783        .46169E-07** at limit **
  20  Prefactor     .67667E-01    1.9254       -.95593E-06    .78592E-03
  21  Prefactor     11.554        20.957       -.42133E-06   -.99017E-04
  22  Normalizat    1.1298        .11214       -.48405E-06   -.27123E-03
  23  Prefactor     .95833        .41078E-01   -.15181E-06   -.93068E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.89178
  Prefactor  = 4.66517
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.44265
  norm       = 0.42039
  norm       = 38.8116
  Prefactor  = 3.40249
  norm       = 7.1815
  Prefactor  = 2.70017
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.9705
  norm       = 5.64973
  norm       = 0.812567
  norm       = 0.0001
  Prefactor  = 0.0676674
  Prefactor  = 11.5541
  Normalizat = 1.12985
  Prefactor  = 0.958333
 **********
 **   18 **HESSE 
 **********

 FCN=   36922.03     FROM HESSE     STATUS=OK           384 CALLS     2694 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.4352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.9216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8918        76.621        .23773E-03   -1.5368    
   4  Prefactor     4.6652        5.1925        .93164E-03   -1.5276    
   5  Prefactor     .10000E-03    21.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    25.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    69.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.4426        3.4362        .19104E-03   -1.5286    
   9  norm          .42039        .50408        .17251E-02   -1.5578    
  10  norm          38.812        26.284        .64335E-04   -1.4461    
  11  Prefactor     3.4025        2.5185        .21934E-03   -1.5339    
  12  norm          7.1815        3.1617        .14968E-03   -1.5172    
  13  Prefactor     2.7002        1.9983        .22450E-03   -1.5379    
  14  Prefactor     .10000E-03    5.5026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.9348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9705        3.2009        .20242E-03   -1.5309    
  17  norm          5.6497        15.468        .16901E-03   -1.5233    
  18  norm          .81257        1.2247        .24838E-03   -1.5528    
  19  norm          .10000E-03    2.7210        .15777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .67667E-01    1.8203        .79961E-01   -1.5656    
  21  Prefactor     11.554        20.740        .11785E-03   -1.5028    
  22  Normalizat    1.1298        .12741        .38603E-03   -.88799    
  23  Prefactor     .95833        .47221E-01    .15532E-03   -.94132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2646e-08
Minuit parameter uncertainties:
  1  5.41545e-07
  2  5.83953e-07
  3  29.8124
  4  5.19296
  5  6.21161e-06
  6  3.58151e-05
  7  4.12547e-06
  8  3.43635
  9  0.504083
  10  26.2914
  11  2.51858
  12  3.1618
  13  1.99831
  14  9.26569e-06
  15  8.77391e-07
  16  3.20105
  17  15.479
  18  1.2247
  19  1.39377e-05
  20  0.701439
  21  20.7525
  22  0.127445
  23  0.0472231
Done.

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

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  7.182e+00  3.162e+00  1.000e-04  1.000e+04 ( 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  0.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.583e-01  4.722e-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.130e+00  1.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.24
Ra Dec: 272.441 29.171
Photon Index (Fixed Index): 1.76 +/- 0.00
Photon Flux (Fixed Index): 1.48e-08 +/- 6.51e-09
Energy Flux (Fixed Index): 2.03e-05 +/- 8.95e-06

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) = 36922.0155002
delta logL = 0.0148587038784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 36922.0153427
delta logL = 0.0150162184436

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2338       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6908       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1307       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95842       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=   36922.02     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      216 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2338        56.567        .37284E-02   -.26741E-03
   2  alpha         1.6908        3.2830        .44276        .29179E-04
   3  Normalizat    1.1307        .86414E-01    .87148E-01    .10158E-03
   4  Prefactor     .95842        .21936E-01    .35150E-01   -.13211E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.23384
  alpha      = 1.69076
  Normalizat = 1.13066
  Prefactor  = 0.958418
 **********
 **   18 **HESSE 
 **********

 FCN=   36922.02     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2338        3.2276        .14914E-03   -1.5170    
   2  alpha         1.6908        .41174        .22987E-01   -.32963    
   3  Normalizat    1.1307        .12248        .38592E-03   -.88774    
   4  Prefactor     .95842        .46118E-01    .15531E-03   -.94129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02544e-12
Minuit parameter uncertainties:
  1  3.2277
  2  0.413851
  3  0.122509
  4  0.0461201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659741': 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) = 36922.0153427
delta logL = 0.0150162199134

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  7.234e+00  3.228e+00  1.000e-04  1.000e+04 ( 1.000e-13)
340        alpha:  1.691e+00  4.139e-01  0.000e+00  5.000e+00 ( 1.000e+00)
341         beta:  1.007e-01  0.000e+00  0.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.584e-01  4.612e-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.131e+00  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.27
Ra Dec: 272.441 29.171
Photon Index (Free Index): 1.69 +/- 0.41
Photon Flux (Free Index): 1.34e-08 +/- 9.62e-09
Energy Flux (Free Index): 2.19e-05 +/- 1.39e-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/659741/cmap_HighResolution_680486401_681091201_4FGL_J1809.7+2910_weekly_bin730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-08', energy_flux2='2.19e-05', photon_flux_error='6.51e-09', dlogl='1.50e-02', energy_flux='2.03e-05', photon_flux2='1.34e-08', job_status='DONE', time_completed='2022-08-02 03:30:18.671644', photon_index_error2='0.41', photon_index2='1.69', ts='22.24', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.39e-05', EG='1.13', time_epoch_completed='1659436218.67', return_code='0', job_id='659741', GAL2='0.96', EG2='1.13', return_code2='0', energy_flux_error='8.95e-06', photon_flux_error2='9.62e-09', ts2='22.27', photon_index='1.76' WHERE bin_id='730' AND source_name='4FGL J1809.7+2910' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug  2 03:30:18 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 659739: <4FGL_J1809.7+2910_weekly_bin730> in cluster <slac> Done

Job <4FGL_J1809.7+2910_weekly_bin730> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug  2 00:06:57 2022
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug  2 02:24:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug  2 02:24:49 2022
Terminated at Tue Aug  2 03:08:30 2022
Results reported at Tue Aug  2 03:08:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1809.7+2910_weekly_bin730 272.441 29.1709 680486401 681091201 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 :                                   2410.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             354.99 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2620 sec.
    Turnaround time :                            10893 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 659741: <4FGL_J1809.7+2910_weekly_bin730> in cluster <slac> Done

Job <4FGL_J1809.7+2910_weekly_bin730> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug  2 00:06:57 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug  2 02:48:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug  2 02:48:55 2022
Terminated at Tue Aug  2 03:30:19 2022
Results reported at Tue Aug  2 03:30:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1809.7+2910_weekly_bin730 272.441 29.1709 680486401 681091201 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 :                                   2394.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             375.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2484 sec.
    Turnaround time :                            12202 sec.

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

