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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1761
RA = 330.832, Dec = -50.1512
tmin = 695779201, tmax = 696038401
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='935048', job_status='RUN', time_executed='2023-01-22 01:44:30.665252', time_epoch_executed='1674380670.67' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/935048

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/935048/ft1_4FGL_J2203.3-5009_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/935048/ft2_4FGL_J2203.3-5009_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/935048/ft1_4FGL_J2203.3-5009_daily_bin1761.fits outfile=/scratch/kocevski/935048/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1761.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.10
user 4.79
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/935048/ft2_4FGL_J2203.3-5009_daily_bin1761.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/935048/ft2_4FGL_J2203.3-5009_daily_bin1761.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/935048/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/935048/ft1_filtered_4FGL_J2203.3-5009_daily_bin1761.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 541

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/935048/ft1_filtered_4FGL_J2203.3-5009_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/935048/ft2_4FGL_J2203.3-5009_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/935048/ltcube_695779201_696038401_4FGL_J2203.3-5009_daily_bin1761.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/935048/ft2_4FGL_J2203.3-5009_daily_bin1761.fits
.....................!
real 12.91
user 12.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/935048/ft1_filtered_4FGL_J2203.3-5009_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/935048/ft2_4FGL_J2203.3-5009_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/935048/ltcube_695779201_696038401_4FGL_J2203.3-5009_daily_bin1761.fits outfile=/scratch/kocevski/935048/expmap_695779201_696038401_4FGL_J2203.3-5009_daily_bin1761.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/935048/ltcube_695779201_696038401_4FGL_J2203.3-5009_daily_bin1761.fits
.....................!
real 191.35
user 186.02
sys 4.79

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

Setting source of interest to:
4FGL J2203.3-5009 @ 330.832 -50.1512

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/935048/ft1_filtered_4FGL_J2203.3-5009_daily_bin1761.fits scfile=/scratch/kocevski/935048/ft2_4FGL_J2203.3-5009_daily_bin1761.fits outfile=/scratch/kocevski/935048/cmap_695779201_696038401_4FGL_J2203.3-5009_daily_bin1761.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=330.832 yref=-50.1512 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/935048/ft1_filtered_4FGL_J2203.3-5009_daily_bin1761.fits scfile=/scratch/kocevski/935048/ft2_4FGL_J2203.3-5009_daily_bin1761.fits outfile=/scratch/kocevski/935048/cmap_HighResolution_695779201_696038401_4FGL_J2203.3-5009_daily_bin1761.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=330.832 yref=-50.1512 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/935048/ft1_filtered_4FGL_J2203.3-5009_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/935048/ft2_4FGL_J2203.3-5009_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/935048/Model_4FGL_J2203.3-5009_daily_bin1761.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/935048/ft1_filtered_4FGL_J2203.3-5009_daily_bin1761.fits.....................!
real 47.26
user 45.86
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/935048/ft1_filtered_4FGL_J2203.3-5009_daily_bin1761.fits', '/scratch/kocevski/935048/ft2_4FGL_J2203.3-5009_daily_bin1761.fits', expMap='/scratch/kocevski/935048/expmap_695779201_696038401_4FGL_J2203.3-5009_daily_bin1761.fits', expCube='/scratch/kocevski/935048/ltcube_695779201_696038401_4FGL_J2203.3-5009_daily_bin1761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/935048/Model_4FGL_J2203.3-5009_daily_bin1761.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2203.3-5009'

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.433e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  2.739e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  5.072e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/935048/ft1_filtered_4FGL_J2203.3-5009_daily_bin1761.fits
Spacecraft file(s): /scratch/kocevski/935048/ft2_4FGL_J2203.3-5009_daily_bin1761.fits
Exposure map: /scratch/kocevski/935048/expmap_695779201_696038401_4FGL_J2203.3-5009_daily_bin1761.fits
Exposure cube: /scratch/kocevski/935048/ltcube_695779201_696038401_4FGL_J2203.3-5009_daily_bin1761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/935048/Model_4FGL_J2203.3-5009_daily_bin1761.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) = 5920.7980462

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13434E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     3 'norm      '    .16376E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.1147       1.0000          .0000       .10000E+07
     5 'Prefactor '    60.659       1.0000          .0000       .10000E+07
     6 'Prefactor '    29.991       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.6317       1.0000          .0000       .10000E+07
     8 'norm      '    2.5349       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32419E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    51.179       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14623E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    21.024       1.0000          .0000       .10000E+07
    13 'Prefactor '    .33423E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .50793E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .79603E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .59180E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    16.174       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15442E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
    20 'Prefactor '    31.731       1.0000          .0000       .10000E+07
    21 'Prefactor '    .26090E-08   1.0000          .0000       .10000E+07
    22 'Normalizat'    .88153       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5920.765     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     2222 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    2.9124       -.92799E-06** at limit **
   2  Prefactor     .21649E-08    6.6701        .19057E-05** at limit **
   3  norm          .55511E-10    .97433        .27648E-06** at limit **
   4  Prefactor     6.1162        7.5541       -.77513E-06   -.30458E-03
   5  Prefactor     60.668        1.1159        .27852E-07   -.93823E-02
   6  Prefactor     29.994        1.6261        .54539E-06   -.16571E-01
   7  Prefactor     4.6311        4.4454       -.10382E-06    .17644E-02
   8  norm          2.5354        5.5225       -.18997E-05   -.45890E-02
   9  Prefactor     .38858E-09    9.2201       -.99455E-05** at limit **
  10  Prefactor     51.103        1.1620        .10025E-06   -.11284E-01
  11  Prefactor     .21427E-06    7.6787        .10121E-05** at limit **
  12  Prefactor     21.014        6.3851        .56209E-06   -.93131E-02
  13  Prefactor     .55511E-08    83.928        .46775E-06** at limit **
  14  norm          .26312E-06    7.6810        .30758E-05** at limit **
  15  Prefactor     .11102E-08    4.2704       -.11348E-05** at limit **
  16  Prefactor     .14433E-08    28.393        .13321E-04** at limit **
  17  Prefactor     16.168        7.8785       -.54188E-06   -.19424E-02
  18  Prefactor     .89373E-08    20.706       -.16957E-04** at limit **
  19  Prefactor     .11102E-09    2.2634       -.56612E-06** at limit **
  20  Prefactor     31.736        1.0445        .60836E-07   -.50336E-02
  21  Prefactor     .11102E-09    8.2868        .35803E-05** at limit **
  22  Normalizat    .88077        .23073        .33819E-04   -.48621E-03
  23  Prefactor     1.0152        .17349       -.92755E-05   -.90412E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 2.16493e-09
  norm       = 5.55112e-11
  Prefactor  = 6.11621
  Prefactor  = 60.6682
  Prefactor  = 29.9939
  Prefactor  = 4.63106
  norm       = 2.53543
  Prefactor  = 3.88578e-10
  Prefactor  = 51.1031
  Prefactor  = 2.14273e-07
  Prefactor  = 21.0143
  Prefactor  = 5.55112e-09
  norm       = 2.63123e-07
  Prefactor  = 1.11022e-09
  Prefactor  = 1.44329e-09
  Prefactor  = 16.1677
  Prefactor  = 8.9373e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 31.7361
  Prefactor  = 1.11022e-10
  Normalizat = 0.880766
  Prefactor  = 1.01516
 **********
 **   18 **HESSE 
 **********

 FCN=   5920.765     FROM HESSE     STATUS=OK           412 CALLS     2634 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    2.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .21649E-08    6.6786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    .96214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.1162        7.5996        .40577E-03   -1.5659    
   5  Prefactor     60.668        35.819        .12840E-03   -1.5552    
   6  Prefactor     29.994        27.670        .18263E-03   -1.5598    
   7  Prefactor     4.6311        4.4740        .46742E-03   -1.5665    
   8  norm          2.5354        6.0012        .64123E-03   -1.5676    
   9  Prefactor     .38858E-09    9.2250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     51.103        38.105        .13979E-03   -1.5565    
  11  Prefactor     .21427E-06    15.166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.014        6.3712        .21816E-03   -1.5616    
  13  Prefactor     .55511E-08    83.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .26312E-06    14.767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11102E-08    4.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .14433E-08    28.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.168        7.8880        .24878E-03   -1.5628    
  18  Prefactor     .89373E-08    20.963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11102E-09    2.2603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     31.736        36.169        .17755E-03   -1.5595    
  21  Prefactor     .11102E-09    8.2874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .88077        .20087        .66549E-01   -.97139    
  23  Prefactor     1.0152        .14885        .42701E-01   -.92226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28109e-07
Minuit parameter uncertainties:
  1  6.30168e-05
  2  0.000241502
  3  1.16187e-05
  4  7.5996
  5  35.8196
  6  27.6698
  7  4.47402
  8  6.00119
  9  0.000116019
  10  38.1054
  11  0.00360542
  12  6.37116
  13  0.00136375
  14  0.00394226
  15  0.000137997
  16  0.000403297
  17  7.88804
  18  0.00086501
  19  3.42186e-05
  20  36.1693
  21  6.55277e-05
  22  0.201036
  23  0.148907
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  2.143e-07  3.605e-03  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  2.739e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  5.072e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.015e+00  1.489e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  8.808e-01  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 330.832 -50.151
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/935048/likelihoodResults_695779201_696038401_4FGL_J2203.3-5009_daily_bin1761.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) = 5920.12847037
delta logL = 0.636098896676

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5919.87729974
delta logL = 0.887269519931

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55783E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .80364       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0532       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5919.877     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      452 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55760E-03    .52312E-03    .42118E-04** at limit **
   2  Index        10.0000        1.0852        .50000    ** at limit **
   3  Normalizat    .80364        .20251        .69188E-01    .22022E-04
   4  Prefactor     1.0533        .15172        .39728E-01   -.18597E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000557596
  Index      = 10
  Normalizat = 0.803638
  Prefactor  = 1.05329
 **********
 **   18 **HESSE 
 **********

 FCN=   5919.877     FROM HESSE     STATUS=OK            35 CALLS      487 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55760E-03    .53605E-03    .15919E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        1.2709        .47571        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .80364        .23267        .30614E-03   -.99934    
   4  Prefactor     1.0533        .17602        .20825E-03   -.90974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23572e-10
Minuit parameter uncertainties:
  1  0.00053605
  2  0.000333289
  3  0.232955
  4  0.17612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/935048': 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) = 5919.87729786
delta logL = 0.887271403722

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  5.576e-04  5.361e-04  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  1.000e+01  3.333e-04  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  5.072e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.053e+00  1.761e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  8.036e-01  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.87
Ra Dec: 330.832 -50.151
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 7.20e-08 +/- 6.71e-08
Energy Flux (Free Index): 8.05e-06 +/- 7.54e-06

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/935048/cmap_HighResolution_695779201_696038401_4FGL_J2203.3-5009_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.66e-03', comment='SUCCESS', energy_flux2='8.05e-06', dlogl='8.87e-01', photon_flux2='7.20e-08', job_status='DONE', time_completed='2023-01-22 01:55:19.768292', photon_index_error2='0.00', photon_index2='10.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='7.54e-06', EG='0.88', time_epoch_completed='1674381319.77', return_code='0', job_id='935048', GAL2='1.05', EG2='0.80', return_code2='0', photon_flux_error2='6.71e-08', ts2='1.87', photon_index='2.74' WHERE bin_id='1761' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:55:19 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 935048: <4FGL_J2203.3-5009_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1761> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sun Jan 22 01:40:19 2023
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:40:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:40:33 2023
Terminated at Sun Jan 22 01:55:20 2023
Results reported at Sun Jan 22 01:55:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1761 330.832 -50.1512 695779201 696038401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2203.3-5009 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   650.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            901 sec.

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

