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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1703
RA = 332.474, Dec = -50.4702
tmin = 680745601, tmax = 681004801
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='324138', job_status='RUN', time_executed='2022-08-01 01:24:30.826290', time_epoch_executed='1659342270.83' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324138

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324138/ft1_4FGL_J2209.8-5028_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324138/ft2_4FGL_J2209.8-5028_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324138/ft1_4FGL_J2209.8-5028_daily_bin1703.fits outfile=/scratch/kocevski/324138/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1703.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=680745601.0 tmax=681004801.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.80
user 2.76
sys 0.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/324138/ft2_4FGL_J2209.8-5028_daily_bin1703.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/324138/ft2_4FGL_J2209.8-5028_daily_bin1703.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/324138/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/324138/ft1_filtered_4FGL_J2209.8-5028_daily_bin1703.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.55
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 127

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324138/ft1_filtered_4FGL_J2209.8-5028_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/324138/ft2_4FGL_J2209.8-5028_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/324138/ltcube_680745601_681004801_4FGL_J2209.8-5028_daily_bin1703.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/324138/ft2_4FGL_J2209.8-5028_daily_bin1703.fits
.....................!
real 15.90
user 15.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324138/ft1_filtered_4FGL_J2209.8-5028_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324138/ft2_4FGL_J2209.8-5028_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/324138/ltcube_680745601_681004801_4FGL_J2209.8-5028_daily_bin1703.fits outfile=/scratch/kocevski/324138/expmap_680745601_681004801_4FGL_J2209.8-5028_daily_bin1703.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/324138/ltcube_680745601_681004801_4FGL_J2209.8-5028_daily_bin1703.fits
.....................!
real 196.15
user 189.19
sys 4.47

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

Setting source of interest to:
4FGL J2209.8-5028 @ 332.474 -50.4702

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/324138/ft1_filtered_4FGL_J2209.8-5028_daily_bin1703.fits scfile=/scratch/kocevski/324138/ft2_4FGL_J2209.8-5028_daily_bin1703.fits outfile=/scratch/kocevski/324138/cmap_680745601_681004801_4FGL_J2209.8-5028_daily_bin1703.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=332.474 yref=-50.4702 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324138/ft1_filtered_4FGL_J2209.8-5028_daily_bin1703.fits scfile=/scratch/kocevski/324138/ft2_4FGL_J2209.8-5028_daily_bin1703.fits outfile=/scratch/kocevski/324138/cmap_HighResolution_680745601_681004801_4FGL_J2209.8-5028_daily_bin1703.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=332.474 yref=-50.4702 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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/324138/ft1_filtered_4FGL_J2209.8-5028_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324138/ft2_4FGL_J2209.8-5028_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/324138/Model_4FGL_J2209.8-5028_daily_bin1703.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/324138/ft1_filtered_4FGL_J2209.8-5028_daily_bin1703.fits......................!
real 21.99
user 20.51
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/324138/ft1_filtered_4FGL_J2209.8-5028_daily_bin1703.fits', '/scratch/kocevski/324138/ft2_4FGL_J2209.8-5028_daily_bin1703.fits', expMap='/scratch/kocevski/324138/expmap_680745601_681004801_4FGL_J2209.8-5028_daily_bin1703.fits', expCube='/scratch/kocevski/324138/ltcube_680745601_681004801_4FGL_J2209.8-5028_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/324138/Model_4FGL_J2209.8-5028_daily_bin1703.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2209.8-5028'

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  7.258e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.372e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/324138/ft1_filtered_4FGL_J2209.8-5028_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/324138/ft2_4FGL_J2209.8-5028_daily_bin1703.fits
Exposure map: /scratch/kocevski/324138/expmap_680745601_681004801_4FGL_J2209.8-5028_daily_bin1703.fits
Exposure cube: /scratch/kocevski/324138/ltcube_680745601_681004801_4FGL_J2209.8-5028_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/324138/Model_4FGL_J2209.8-5028_daily_bin1703.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) = 1472.32772776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     2 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .31939E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .28093E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .34117E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20714E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .27978E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.228       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .21336E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19676E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.3777       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10960E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15644E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16556E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14151E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    101.30       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .62477       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1422       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1466.544     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2972 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        1375.9        .46871E-04** at limit **
   2  Prefactor    10000.0        9770.8        .68279E-03** at limit **
   3  Prefactor     .10000E-03    489.76        .46914E-04** at limit **
   4  Prefactor     .10000E-03    757.62        .31947E-04** at limit **
   5  Prefactor     .10000E-03    240.15       -.35482E-04** at limit **
   6  Prefactor     .10000E-03    44.464        .56750E-06** at limit **
   7  norm          .10000E-03    27.478       -.65839E-08** at limit **
   8  Prefactor     .10000E-03    85.994        .80442E-05** at limit **
   9  Prefactor     .10000E-03    97.408        .35034E-05** at limit **
  10  Prefactor     23.231        33.943       -.71675E-05   -.66605E-04
  11  Prefactor     .12036E-03    23.701        .84234E-06** at limit **
  12  Prefactor     .10000E-03    253.51        .10517E-03** at limit **
  13  norm          .10000E-03    6.0480        .24869E-07** at limit **
  14  Prefactor     8.3753        11.131        .42927E-05    .12843E-03
  15  Prefactor     .10000E-03    206.06       -.84954E-04** at limit **
  16  Prefactor     .10000E-03    16.843       -.50795E-06** at limit **
  17  Prefactor     .10000E-03    65.991       -.45465E-05** at limit **
  18  Prefactor     .10000E-03    32.580       -.36492E-07** at limit **
  19  Prefactor     .10000E-03    229.95        .16744E-04** at limit **
  20  Prefactor     .10000E-03    19.310       -.18054E-08** at limit **
  21  Prefactor     101.36        93.985        .25582E-04   -.61401E-05
  22  Prefactor     .10000E-03    5.8612        .74487E-08** at limit **
  23  norm          .10000E-03    3.5167        .15017E-07** at limit **
  24  Normalizat    .62410        .38083       -.65947E-05    .17473E-04
  25  Prefactor     1.1425        .34905       -.77892E-06   -.11123E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.2311
  Prefactor  = 0.000120359
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.37526
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 101.359
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.6241
  Prefactor  = 1.14246
 **********
 **   18 **HESSE 
 **********

 FCN=   1466.544     FROM HESSE     STATUS=OK           417 CALLS     3389 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        1375.8        .21352E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        9768.9        .20469E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    489.73        .21363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    757.60        .21417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    240.08        .21335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    44.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    27.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    86.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    97.460        .21419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.231        34.046        .83112E-04   -1.4744    
  11  Prefactor     .12036E-03    29.887        .49148E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    253.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.0482        .91995E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.3753        11.163        .13790E-03   -1.5129    
  15  Prefactor     .10000E-03    206.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.998        .15340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    66.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    32.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    230.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    19.585        .16430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     101.36        93.942        .19973E-03   -1.3691    
  22  Prefactor     .10000E-03    5.8637        .90561E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    3.5174        .70148E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .62410        .43759        .30533E-03   -1.0697    
  25  Prefactor     1.1425        .40285        .21834E-03   -.88121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.45923e-10
Minuit parameter uncertainties:
  1  0.000130569
  2  0.00798823
  3  0.000180548
  4  4.64905e-05
  5  0.000132073
  6  5.39747e-05
  7  4.70104e-06
  8  1.1518e-05
  9  0.000133848
  10  34.0747
  11  0.0493584
  12  0.000416097
  13  1.98503e-06
  14  11.1661
  15  0.000529635
  16  0.00022088
  17  0.000288455
  18  7.21929e-05
  19  0.000401207
  20  4.33874e-06
  21  94.0807
  22  6.88071e-06
  23  3.19911e-07
  24  0.440053
  25  0.403936
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  4.161e-04  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.372e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.142e+00  4.039e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  6.241e-01  4.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 332.474 -50.470
Photon Flux Upper Limit: 3.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.57e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/324138/likelihoodResults_680745601_681004801_4FGL_J2209.8-5028_daily_bin1703.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1466.54443591
delta logL = -1.86479362583e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1466.54441729
delta logL = -2.13776729652e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11229E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3437       1.0000          .0000       10.000    
     3 'Normalizat'    .62410       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1425       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1466.544     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      242 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    9751.2        .90712E-02** at limit **
   2  Index         2.3327        7.0841        .50000        .36345E-06
   3  Normalizat    .62409        .12617        .68989E-01   -.50997E-04
   4  Prefactor     1.1425        .11983        .36158E-01    .62962E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Index      = 2.3327
  Normalizat = 0.624091
  Prefactor  = 1.14247
 **********
 **   18 **HESSE 
 **********

 FCN=   1466.544     FROM HESSE     STATUS=OK            31 CALLS      273 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    340.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3327        6.1160        .50000       -.56269    
   3  Normalizat    .62409        .41283        .30533E-03   -1.0697    
   4  Prefactor     1.1425        .39370        .21833E-03   -.88120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41746e-10
Minuit parameter uncertainties:
  1  0.00354287
  2  5.114
  3  0.41489
  4  0.394709
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324138': 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) = 1466.54441726
delta logL = 3.25781002175e-09

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  3.543e-03  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.333e+00  5.114e+00  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.142e+00  3.947e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  6.241e-01  4.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 332.474 -50.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/324138/cmap_HighResolution_680745601_681004801_4FGL_J2209.8-5028_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.57e-02', job_status='DONE', photon_flux_upper_limit='3.33e-07', time_completed='2022-08-01 01:31:33.043394', job_id='324138', GAL2='1.14', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1659342693.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='3.26e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1703' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:31:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 324138: <4FGL_J2209.8-5028_daily_bin1703> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:20:20 2022
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:21:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:21:47 2022
Terminated at Mon Aug  1 01:31:33 2022
Results reported at Mon Aug  1 01:31:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1703 332.474 -50.4702 680745601 681004801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2209.8-5028 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   420.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             250.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   39 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   589 sec.
    Turnaround time :                            673 sec.

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

