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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1669
RA = 330.832, Dec = -50.1512
tmin = 671932801, tmax = 672192001
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='692174', job_status='RUN', time_executed='2022-04-21 00:39:02.239002', time_epoch_executed='1650526742.24' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/692174

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/692174/ft1_4FGL_J2203.3-5009_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/692174/ft2_4FGL_J2203.3-5009_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/692174/ft1_4FGL_J2203.3-5009_daily_bin1669.fits outfile=/scratch/kocevski/692174/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1669.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=671932801.0 tmax=672192001.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.79
user 3.59
sys 0.19

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

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

Number of photons that the gtmktime cut: 652

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/692174/ft1_filtered_4FGL_J2203.3-5009_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/692174/ft2_4FGL_J2203.3-5009_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/692174/ltcube_671932801_672192001_4FGL_J2203.3-5009_daily_bin1669.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/692174/ft2_4FGL_J2203.3-5009_daily_bin1669.fits
.....................!
real 12.22
user 11.63
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/692174/ft1_filtered_4FGL_J2203.3-5009_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692174/ft2_4FGL_J2203.3-5009_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/692174/ltcube_671932801_672192001_4FGL_J2203.3-5009_daily_bin1669.fits outfile=/scratch/kocevski/692174/expmap_671932801_672192001_4FGL_J2203.3-5009_daily_bin1669.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/692174/ltcube_671932801_672192001_4FGL_J2203.3-5009_daily_bin1669.fits
.....................!
real 191.41
user 186.51
sys 4.45

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/692174/ft1_filtered_4FGL_J2203.3-5009_daily_bin1669.fits scfile=/scratch/kocevski/692174/ft2_4FGL_J2203.3-5009_daily_bin1669.fits outfile=/scratch/kocevski/692174/cmap_671932801_672192001_4FGL_J2203.3-5009_daily_bin1669.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/692174/ft1_filtered_4FGL_J2203.3-5009_daily_bin1669.fits scfile=/scratch/kocevski/692174/ft2_4FGL_J2203.3-5009_daily_bin1669.fits outfile=/scratch/kocevski/692174/cmap_HighResolution_671932801_672192001_4FGL_J2203.3-5009_daily_bin1669.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/692174/ft1_filtered_4FGL_J2203.3-5009_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692174/ft2_4FGL_J2203.3-5009_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692174/Model_4FGL_J2203.3-5009_daily_bin1669.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/692174/ft1_filtered_4FGL_J2203.3-5009_daily_bin1669.fits.....................!
real 51.70
user 50.25
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/692174/ft1_filtered_4FGL_J2203.3-5009_daily_bin1669.fits', '/scratch/kocevski/692174/ft2_4FGL_J2203.3-5009_daily_bin1669.fits', expMap='/scratch/kocevski/692174/expmap_671932801_672192001_4FGL_J2203.3-5009_daily_bin1669.fits', expCube='/scratch/kocevski/692174/ltcube_671932801_672192001_4FGL_J2203.3-5009_daily_bin1669.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/692174/Model_4FGL_J2203.3-5009_daily_bin1669.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  1.000e-04  1.000e+04 ( 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/692174/ft1_filtered_4FGL_J2203.3-5009_daily_bin1669.fits
Spacecraft file(s): /scratch/kocevski/692174/ft2_4FGL_J2203.3-5009_daily_bin1669.fits
Exposure map: /scratch/kocevski/692174/expmap_671932801_672192001_4FGL_J2203.3-5009_daily_bin1669.fits
Exposure cube: /scratch/kocevski/692174/ltcube_671932801_672192001_4FGL_J2203.3-5009_daily_bin1669.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/692174/Model_4FGL_J2203.3-5009_daily_bin1669.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) = 7078.93679112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8279       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.9289       1.0000         .10000E-03   10000.    
     3 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    83.048       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.1739       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.9547       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9951       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18935       1.0000         .10000E-03   10000.    
     9 'norm      '    7.4953       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9406       1.0000         .10000E-03   10000.    
    11 'Prefactor '    78.953       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.8953       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.3973       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2812       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.1859       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10615E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.378       1.0000         .10000E-03   10000.    
    21 'Prefactor '    79.826       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .53139       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .69143       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94906       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7078.806     FROM MIGRAD    STATUS=CONVERGED    610 CALLS     2773 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8278        3.3352        .18256E-06    .70459E-04
   2  Prefactor     6.9279        14.912       -.16444E-07   -.26034E-04
   3  norm          .10000E-03    .93854        .68589E-07** at limit **
   4  Prefactor     83.048        46.582       -.99922E-07   -.71144E-06
   5  Prefactor     5.1743        4.7356        .16531E-05   -.26149E-02
   6  Prefactor     4.9429        19.308       -.76839E-05   -.20890E-03
   7  Prefactor     1.9950        21.771        .42156E-06   -.45708E-04
   8  Prefactor     .18892        1.4744       -.18957E-06   -.66660E-05
   9  norm          7.4960        3.5610       -.49752E-07   -.23688E-03
  10  Prefactor     2.9408        4.2878        .40971E-06    .25916E-04
  11  Prefactor     78.962        34.567        .31684E-05    .41081E-03
  12  Prefactor     1.8917        5.3252       -.52323E-06   -.36900E-03
  13  Prefactor     5.3974        3.4018        .30713E-07   -.38530E-04
  14  Prefactor     .10000E-03    33.160        .54094E-06** at limit **
  15  norm          .10000E-03    2.0443       -.51987E-07** at limit **
  16  Prefactor     2.2811        2.5866       -.35097E-08   -.12734E-03
  17  Prefactor     .10000E-03    10.870        .12376E-06** at limit **
  18  Prefactor     4.1856        3.5904        .75121E-06   -.25218E-02
  19  Prefactor     .10000E-03    17.431       -.35446E-06** at limit **
  20  Prefactor     10.377        10.245       -.99287E-06   -.40769E-04
  21  Prefactor     79.847        72.419        .10829E-04    .28878E-03
  22  Prefactor     .52608        4.7769       -.17678E-06   -.86892E-04
  23  Prefactor     .10000E-03    9.6218       -.74148E-08** at limit **
  24  Prefactor     .10000E-03    3.2385       -.39810E-08** at limit **
  25  Normalizat    .69143        .15243       -.10480E-05    .92333E-04
  26  Prefactor     .94909        .11691        .11085E-06    .34356E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.8278
  Prefactor  = 6.92792
  norm       = 0.0001
  Prefactor  = 83.0476
  Prefactor  = 5.17431
  Prefactor  = 4.9429
  Prefactor  = 1.99498
  Prefactor  = 0.188916
  norm       = 7.49605
  Prefactor  = 2.94081
  Prefactor  = 78.9618
  Prefactor  = 1.8917
  Prefactor  = 5.39736
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.28109
  Prefactor  = 0.0001
  Prefactor  = 4.1856
  Prefactor  = 0.0001
  Prefactor  = 10.3774
  Prefactor  = 79.8474
  Prefactor  = 0.526076
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.691434
  Prefactor  = 0.949092
 **********
 **   18 **HESSE 
 **********

 FCN=   7078.806     FROM HESSE     STATUS=OK           468 CALLS     3241 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8278        3.3319        .12222E-03   -1.5268    
   2  Prefactor     6.9279        14.892        .15241E-03   -1.5181    
   3  norm          .10000E-03    2.0583        .15737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     83.048        46.503        .44077E-04   -1.3883    
   5  Prefactor     5.1743        5.7301        .88368E-03   -1.5253    
   6  Prefactor     4.9429        19.387        .18068E-03   -1.5263    
   7  Prefactor     1.9950        21.766        .29327E-03   -1.5425    
   8  Prefactor     .18892        11.751        .19341E-02   -1.5621    
   9  norm          7.4960        3.5527        .10311E-03   -1.5160    
  10  Prefactor     2.9408        4.2764        .20442E-03   -1.5365    
  11  Prefactor     78.962        34.903        .45197E-04   -1.3928    
  12  Prefactor     1.8917        5.3415        .30218E-03   -1.5433    
  13  Prefactor     5.3974        3.3985        .11750E-03   -1.5243    
  14  Prefactor     .10000E-03    33.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.0456        .11748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2811        2.5742        .13721E-03   -1.5406    
  17  Prefactor     .10000E-03    10.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.1856        3.9808        .78254E-03   -1.5299    
  19  Prefactor     .10000E-03    17.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.377        10.277        .12437E-03   -1.5064    
  21  Prefactor     79.847        73.861        .22475E-03   -1.3918    
  22  Prefactor     .52608        13.505        .35306E-02   -1.5563    
  23  Prefactor     .10000E-03    9.6239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.2397        .14787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .69143        .17667        .27397E-03   -1.0423    
  26  Prefactor     .94909        .13619        .18968E-03   -.94446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.12108e-08
Minuit parameter uncertainties:
  1  3.33205
  2  14.8998
  3  5.11785e-06
  4  46.5232
  5  5.73075
  6  19.4117
  7  13.1851
  8  2.97974
  9  3.55276
  10  4.27687
  11  34.9116
  12  5.34285
  13  3.39866
  14  5.86148e-05
  15  1.21993e-06
  16  2.57432
  17  8.65311e-06
  18  3.981
  19  6.6739e-05
  20  10.2789
  21  73.9457
  22  5.33173
  23  6.33435e-06
  24  1.16045e-06
  25  0.17682
  26  0.136242
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.892e+00  5.343e+00  1.000e-04  1.000e+04 ( 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:  9.491e-01  1.362e-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:  6.914e-01  1.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 330.832 -50.151
Photon Flux Upper Limit: 7.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/692174/likelihoodResults_671932801_672192001_4FGL_J2203.3-5009_daily_bin1669.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) = 7078.79481232
delta logL = 0.0112292099047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7078.79322724
delta logL = 0.0128142882841

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6152       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0728       1.0000          .0000       10.000    
     3 'Normalizat'    .68911       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95021       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7078.793     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      273 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6247        5.9256        .12977E-02   -.79780E-03
   2  Index         3.0733        2.4959        .10766E-01   -.84305E-04
   3  Normalizat    .68884        .16676        .27443E-03   -.20444E-03
   4  Prefactor     .95039        .13331        .18956E-03    .35804E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.62471
  Index      = 3.0733
  Normalizat = 0.688837
  Prefactor  = 0.950387
 **********
 **   18 **HESSE 
 **********

 FCN=   7078.793     FROM HESSE     STATUS=OK            23 CALLS      296 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6247        5.0475        .51909E-04   -1.5453    
   2  Index         3.0733        2.1595        .43064E-03   -.39558    
   3  Normalizat    .68884        .16694        .10977E-04   -1.0434    
   4  Prefactor     .95039        .13338        .75825E-05   -.94402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31165e-09
Minuit parameter uncertainties:
  1  5.04882
  2  2.24734
  3  0.167068
  4  0.133421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/692174': 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) = 7078.79322327
delta logL = 0.0128182529525

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.625e+00  5.049e+00  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  3.073e+00  2.247e+00  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:  9.504e-01  1.334e-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:  6.888e-01  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
Ra Dec: 330.832 -50.151

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/692174/cmap_HighResolution_671932801_672192001_4FGL_J2203.3-5009_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.86e-03', job_status='DONE', photon_flux_upper_limit='7.42e-08', time_completed='2022-04-21 00:51:36.100579', job_id='692174', GAL2='0.95', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1650527496.1', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.28e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1669' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:51:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 692174: <4FGL_J2203.3-5009_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1669> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Apr 21 00:35:35 2022
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:35:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:35:36 2022
Terminated at Thu Apr 21 00:51:36 2022
Results reported at Thu Apr 21 00:51:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1669 330.832 -50.1512 671932801 672192001 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 :                                   755.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            961 sec.

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

