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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1702
RA = 332.474, Dec = -50.4702
tmin = 680486401, tmax = 680745601
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='257718', job_status='RUN', time_executed='2022-07-29 01:36:02.173443', time_epoch_executed='1659083762.17' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/257718

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=680486401.0 && nMetStart<680745601.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<680745601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/257718/ft1_4FGL_J2209.8-5028_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/257718/ft2_4FGL_J2209.8-5028_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/257718/ft1_4FGL_J2209.8-5028_daily_bin1702.fits outfile=/scratch/kocevski/257718/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1702.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=680486401.0 tmax=680745601.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 2.98
user 2.78
sys 0.19

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

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

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

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

Number of photons that the gtmktime cut: 19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/257718/ft1_filtered_4FGL_J2209.8-5028_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/257718/ft2_4FGL_J2209.8-5028_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/257718/ltcube_680486401_680745601_4FGL_J2209.8-5028_daily_bin1702.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/257718/ft2_4FGL_J2209.8-5028_daily_bin1702.fits
.....................!
real 15.48
user 15.10
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/257718/ft1_filtered_4FGL_J2209.8-5028_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/257718/ft2_4FGL_J2209.8-5028_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/257718/ltcube_680486401_680745601_4FGL_J2209.8-5028_daily_bin1702.fits outfile=/scratch/kocevski/257718/expmap_680486401_680745601_4FGL_J2209.8-5028_daily_bin1702.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/257718/ltcube_680486401_680745601_4FGL_J2209.8-5028_daily_bin1702.fits
.....................!
real 191.16
user 185.89
sys 4.85

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/257718/ft1_filtered_4FGL_J2209.8-5028_daily_bin1702.fits scfile=/scratch/kocevski/257718/ft2_4FGL_J2209.8-5028_daily_bin1702.fits outfile=/scratch/kocevski/257718/cmap_680486401_680745601_4FGL_J2209.8-5028_daily_bin1702.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/257718/ft1_filtered_4FGL_J2209.8-5028_daily_bin1702.fits scfile=/scratch/kocevski/257718/ft2_4FGL_J2209.8-5028_daily_bin1702.fits outfile=/scratch/kocevski/257718/cmap_HighResolution_680486401_680745601_4FGL_J2209.8-5028_daily_bin1702.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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/257718/ft1_filtered_4FGL_J2209.8-5028_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/257718/ft2_4FGL_J2209.8-5028_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/257718/Model_4FGL_J2209.8-5028_daily_bin1702.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/257718/ft1_filtered_4FGL_J2209.8-5028_daily_bin1702.fits...................!
real 15.01
user 13.63
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/257718/ft1_filtered_4FGL_J2209.8-5028_daily_bin1702.fits', '/scratch/kocevski/257718/ft2_4FGL_J2209.8-5028_daily_bin1702.fits', expMap='/scratch/kocevski/257718/expmap_680486401_680745601_4FGL_J2209.8-5028_daily_bin1702.fits', expCube='/scratch/kocevski/257718/ltcube_680486401_680745601_4FGL_J2209.8-5028_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/257718/Model_4FGL_J2209.8-5028_daily_bin1702.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/257718/ft1_filtered_4FGL_J2209.8-5028_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/257718/ft2_4FGL_J2209.8-5028_daily_bin1702.fits
Exposure map: /scratch/kocevski/257718/expmap_680486401_680745601_4FGL_J2209.8-5028_daily_bin1702.fits
Exposure cube: /scratch/kocevski/257718/ltcube_680486401_680745601_4FGL_J2209.8-5028_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/257718/Model_4FGL_J2209.8-5028_daily_bin1702.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) = 229.293956184

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .31537E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     4 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     5 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     7 'norm      '    .56775E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10993E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10313E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .19522E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24925E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2634.1       1.0000         .10000E-03   10000.    
    13 'norm      '    .10450E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13089E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .34421E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    306.59       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.6879       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .17318E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    .20582       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=   228.7837     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     3850 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    329.65        .14592E-06** at limit **
   2  Prefactor     .10000E-03    6897.4       -.85696E-06** at limit **
   3  Prefactor    10000.0        7055.9        .15326E-08** at limit **
   4  Prefactor    10000.0        9776.7        .10039E-05** at limit **
   5  Prefactor    10000.0        6389.9       -.58267E-05** at limit **
   6  Prefactor    10000.0        1128.4       -.28868E-06** at limit **
   7  norm          .10000E-03    1447.7        .23885E-06** at limit **
   8  Prefactor     .10000E-03    754.40       -.87826E-07** at limit **
   9  Prefactor     .10000E-03    1257.6        .14042E-05** at limit **
  10  Prefactor     .10000E-03    520.33        .72519E-05** at limit **
  11  Prefactor     .10000E-03    443.42        .47868E-05** at limit **
  12  Prefactor     2637.8        3122.6        .65347E-06   -.18321E-05
  13  norm          .10000E-03    48.299        .41394E-06** at limit **
  14  Prefactor     .10000E-03    10.447        .10421E-06** at limit **
  15  Prefactor     .10000E-03    118.90        .20170E-07** at limit **
  16  Prefactor     .10000E-03    14.176        .54077E-06** at limit **
  17  Prefactor     .10000E-03    68.050        .18452E-05** at limit **
  18  Prefactor     .10000E-03    84.812        .10284E-04** at limit **
  19  Prefactor     306.95        404.06        .10561E-05   -.21130E-04
  20  Prefactor     8.6898        15.418       -.13293E-07   -.64957E-04
  21  Prefactor     .10000E-03    114.99        .11163E-05** at limit **
  22  Prefactor     .10000E-03    21.351        .43758E-06** at limit **
  23  norm          .10000E-03    5.9115       -.94315E-08** at limit **
  24  Normalizat    .10000E-01    .16800        .62455E-05** at limit **
  25  Prefactor     .20583        .16744       -.23433E-05   -.61594E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2637.82
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 306.95
  Prefactor  = 8.68983
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.205835
 **********
 **   18 **HESSE 
 **********

 FCN=   228.7837     FROM HESSE     STATUS=OK           405 CALLS     4255 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    329.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6898.2        .18359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor    10000.0        7056.1        .19365E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor    10000.0        9777.0        .18368E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor    10000.0        6383.1        .21297E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor    10000.0        1128.7        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1447.6        .21093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    754.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1257.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    518.41        .20250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    442.69        .21466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2637.8        3122.5        .45404E-04   -.49205    
  13  norm          .10000E-03    48.290        .10285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.449        .47784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    118.90        .16154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.174        .55677E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    67.938        .12203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    82.298        .13409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     306.95        403.55        .11602E-03   -1.2186    
  20  Prefactor     8.6898        15.414        .74710E-04   -1.5118    
  21  Prefactor     .10000E-03    115.05        .15888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    21.412        .68348E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    5.9122        .35955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .17715        .38076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .20583        .16887        .16415E-03   -1.2829    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75495e-11
Minuit parameter uncertainties:
  1  0.000268265
  2  0.00625922
  3  0.00243073
  4  0.0151764
  5  0.00351258
  6  0.000909732
  7  0.000211942
  8  0.00035392
  9  0.00107432
  10  9.84473e-05
  11  1.61073e-05
  12  3470.14
  13  1.75645e-06
  14  1.23271e-06
  15  1.18258e-06
  16  3.93445e-07
  17  5.74415e-06
  18  2.7849e-05
  19  407.328
  20  15.4214
  21  2.82393e-05
  22  9.93172e-06
  23  1.12777e-06
  24  8.49185e-07
  25  0.169274
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  2.638e+03  3.470e+03  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:  2.058e-01  1.693e-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:  1.000e-02  8.492e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.24
Ra Dec: 332.474 -50.470
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 9.27e-07 +/- 1.22e-06
Energy Flux (Fixed Index): 3.16e-04 +/- 4.15e-04
calc_int error: parameter max 10000.0 is not large enough
delta logLike = -1.07143561698

TS (Fixed Index): 1.24
Ra Dec: 332.474 -50.470
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.71e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/257718/likelihoodResults_680486401_680745601_4FGL_J2209.8-5028_daily_bin1702.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): 0
logL (Free Index) = 228.777041027
delta logL = 0.00667147270374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 228.777038367
delta logL = 0.00667413263903

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.2618       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=   228.7770     FROM MIGRAD    STATUS=CONVERGED     22 CALLS       68 TOTAL
                     EDM=   .58E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.2618        .91308        .75757E-01    .34694E-05
                               ERR DEF=  .500    
Final values: 
  Index      = 2.26183
 **********
 **   18 **HESSE 
 **********

 FCN=   228.7770     FROM HESSE     STATUS=OK             9 CALLS       77 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       2.2618        .94219        .32535E-02   -.57953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.002e-11
Minuit parameter uncertainties:
  1  0.950337
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/257718': 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) = 228.777038367
delta logL = 0.00667413264

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  2.638e+03  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14) fixed
348        Index:  2.262e+00  9.503e-01  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:  2.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 1.26
Ra Dec: 332.474 -50.470
Photon Index (Free Index): 2.26 +/- 0.95
Photon Flux (Free Index): 7.57e-07 +/- 1.30e-06
Energy Flux (Free Index): 3.05e-04 +/- 4.03e-05

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/257718/cmap_HighResolution_680486401_680745601_4FGL_J2209.8-5028_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.71e+04', comment='SUCCESS', photon_flux='9.27e-07', energy_flux2='3.05e-04', photon_flux_error='1.22e-06', dlogl='6.67e-03', energy_flux='3.16e-04', photon_flux2='7.57e-07', job_status='DONE', time_completed='2022-07-29 01:41:42.956788', photon_index_error2='0.95', photon_index2='2.26', ts='1.24', fit_tolerance='1e-08', GAL='0.21', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='4.03e-05', EG='0.01', time_epoch_completed='1659084102.96', return_code='0', job_id='257718', GAL2='0.21', EG2='0.01', return_code2='0', energy_flux_error='4.15e-04', photon_flux_error2='1.30e-06', ts2='1.26', photon_index='2.37' WHERE bin_id='1702' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:41:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 257718: <4FGL_J2209.8-5028_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1702> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jul 29 01:30:35 2022
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:33:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:33:26 2022
Terminated at Fri Jul 29 01:41:43 2022
Results reported at Fri Jul 29 01:41:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1702 332.474 -50.4702 680486401 680745601 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 :                                   343.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   497 sec.
    Turnaround time :                            668 sec.

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

