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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1764
RA = 330.832, Dec = -50.1512
tmin = 696556801, tmax = 696816001
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='466034', job_status='RUN', time_executed='2023-01-31 02:02:08.252691', time_epoch_executed='1675159328.25' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/466034

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/466034/ft1_4FGL_J2203.3-5009_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/466034/ft2_4FGL_J2203.3-5009_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/466034/ft1_4FGL_J2203.3-5009_daily_bin1764.fits outfile=/scratch/kocevski/466034/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1764.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=696556801.0 tmax=696816001.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.49
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/466034/ft2_4FGL_J2203.3-5009_daily_bin1764.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/466034/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/466034/ft1_filtered_4FGL_J2203.3-5009_daily_bin1764.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.54
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 495

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/466034/ft1_filtered_4FGL_J2203.3-5009_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/466034/ft2_4FGL_J2203.3-5009_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/466034/ltcube_696556801_696816001_4FGL_J2203.3-5009_daily_bin1764.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/466034/ft2_4FGL_J2203.3-5009_daily_bin1764.fits
.....................!
real 15.56
user 15.02
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/466034/ft1_filtered_4FGL_J2203.3-5009_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/466034/ft2_4FGL_J2203.3-5009_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/466034/ltcube_696556801_696816001_4FGL_J2203.3-5009_daily_bin1764.fits outfile=/scratch/kocevski/466034/expmap_696556801_696816001_4FGL_J2203.3-5009_daily_bin1764.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/466034/ltcube_696556801_696816001_4FGL_J2203.3-5009_daily_bin1764.fits
.....................!
real 195.20
user 187.16
sys 5.68

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/466034/ft1_filtered_4FGL_J2203.3-5009_daily_bin1764.fits scfile=/scratch/kocevski/466034/ft2_4FGL_J2203.3-5009_daily_bin1764.fits outfile=/scratch/kocevski/466034/cmap_696556801_696816001_4FGL_J2203.3-5009_daily_bin1764.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.57
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/466034/ft1_filtered_4FGL_J2203.3-5009_daily_bin1764.fits scfile=/scratch/kocevski/466034/ft2_4FGL_J2203.3-5009_daily_bin1764.fits outfile=/scratch/kocevski/466034/cmap_HighResolution_696556801_696816001_4FGL_J2203.3-5009_daily_bin1764.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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/466034/ft1_filtered_4FGL_J2203.3-5009_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/466034/ft2_4FGL_J2203.3-5009_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/466034/Model_4FGL_J2203.3-5009_daily_bin1764.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/466034/ft1_filtered_4FGL_J2203.3-5009_daily_bin1764.fits.....................!
real 43.98
user 42.09
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/466034/ft1_filtered_4FGL_J2203.3-5009_daily_bin1764.fits', '/scratch/kocevski/466034/ft2_4FGL_J2203.3-5009_daily_bin1764.fits', expMap='/scratch/kocevski/466034/expmap_696556801_696816001_4FGL_J2203.3-5009_daily_bin1764.fits', expCube='/scratch/kocevski/466034/ltcube_696556801_696816001_4FGL_J2203.3-5009_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/466034/Model_4FGL_J2203.3-5009_daily_bin1764.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/466034/ft1_filtered_4FGL_J2203.3-5009_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/466034/ft2_4FGL_J2203.3-5009_daily_bin1764.fits
Exposure map: /scratch/kocevski/466034/expmap_696556801_696816001_4FGL_J2203.3-5009_daily_bin1764.fits
Exposure cube: /scratch/kocevski/466034/ltcube_696556801_696816001_4FGL_J2203.3-5009_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/466034/Model_4FGL_J2203.3-5009_daily_bin1764.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) = 5463.8718355

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31378E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .57465       1.0000          .0000       .10000E+07
     3 'norm      '    .98796       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.005       1.0000          .0000       .10000E+07
     5 'Prefactor '    .49308E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    21.444       1.0000          .0000       .10000E+07
     7 'Prefactor '    .81491E-03   1.0000          .0000       .10000E+07
     8 'norm      '    8.9572       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19995       1.0000          .0000       .10000E+07
    10 'Prefactor '    45.113       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.983       1.0000          .0000       .10000E+07
    12 'Prefactor '    15.467       1.0000          .0000       .10000E+07
    13 'Prefactor '    .67227E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .11026E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .21435E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12154E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.5973       1.0000          .0000       .10000E+07
    18 'Prefactor '    .56512E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .33759E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    6.4666       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.6889       1.0000          .0000       .10000E+07
    22 'Normalizat'    .44390       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.5688       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=   5463.725     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     1911 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1698       -.33380E-06** at limit **
   2  Prefactor     .28086        166.63        .34654E-05   -.84737E-02
   3  norm          .98991        1.3085       -.47857E-07   -.93654E-04
   4  Prefactor     12.035        10.161       -.78263E-07   -.80210E-03
   5  Prefactor     .14433E-08    19.931        .16694E-06** at limit **
   6  Prefactor     22.014        17.780       -.49813E-06   -.46289E-01
   7  Prefactor      .0000        3.4639        .56440E-06** at limit **
   8  norm          8.9448        5.8552        .36867E-06   -.35214E-03
   9  Prefactor     .76244E-02    11.333        .19199E-06** at limit **
  10  Prefactor     49.042        56.104        .48416E-06    .20575E-02
  11  Prefactor     11.487        15.718        .16118E-06    .59024E-02
  12  Prefactor     15.575        7.1652        .10440E-06   -.91684E-03
  13  Prefactor     .49960E-09    90.012       -.19543E-06** at limit **
  14  norm           .0000        6.5511       -.24860E-06** at limit **
  15  Prefactor      .0000        5.0567       -.17601E-06** at limit **
  16  Prefactor     .11713E-07    21.437       -.14072E-06** at limit **
  17  Prefactor     1.5968        2.6082       -.24863E-06    .30416E-03
  18  Prefactor     .55511E-10    10.794       -.45229E-06** at limit **
  19  Prefactor     .51570E-07    35.696        .41861E-06** at limit **
  20  Prefactor     6.8164        13.793       -.69191E-06   -.10368E-01
  21  Prefactor     6.6575        3.7388       -.14069E-07    .50990E-02
  22  Normalizat    .44139        .25758       -.14330E-04    .12135E-04
  23  Prefactor     1.5696        .20414        .68757E-05    .18823E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0.280861
  norm       = 0.98991
  Prefactor  = 12.0353
  Prefactor  = 1.44329e-09
  Prefactor  = 22.0143
  Prefactor  = 0
  norm       = 8.9448
  Prefactor  = 0.00762436
  Prefactor  = 49.0422
  Prefactor  = 11.4871
  Prefactor  = 15.5752
  Prefactor  = 4.996e-10
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.17129e-08
  Prefactor  = 1.59679
  Prefactor  = 5.55112e-11
  Prefactor  = 5.15699e-08
  Prefactor  = 6.81643
  Prefactor  = 6.65752
  Normalizat = 0.44139
  Prefactor  = 1.5696
 **********
 **   18 **HESSE 
 **********

 FCN=   5463.725     FROM HESSE     STATUS=OK           430 CALLS     2341 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .28086        17.236        .97151E-02   -1.5697    
   3  norm          .98991        1.3133        .43339E-03   -1.5688    
   4  Prefactor     12.035        10.197        .28886E-03   -1.5639    
   5  Prefactor     .14433E-08    20.013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.014        34.507        .21601E-03   -1.5614    
   7  Prefactor      .0000        3.4474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.9448        5.8914        .33465E-03   -1.5648    
   9  Prefactor     .76244E-02    11.152        .88348E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     49.042        56.209        .14890E-03   -1.5568    
  11  Prefactor     11.487        15.853        .28914E-03   -1.5640    
  12  Prefactor     15.575        7.2023        .25440E-03   -1.5629    
  13  Prefactor     .49960E-09    89.922        .14911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        6.5446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        4.9790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11713E-07    21.820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.5968        2.6423        .83876E-03   -1.5683    
  18  Prefactor     .55511E-10    10.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .51570E-07    35.100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.8164        55.141        .39443E-03   -1.5656    
  21  Prefactor     6.6575        21.054        .38775E-03   -1.5656    
  22  Normalizat    .44139        .24936        .96615E-01   -1.1521    
  23  Prefactor     1.5696        .19066        .44010E-01   -.75609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51255e-07
Minuit parameter uncertainties:
  1  5.22297e-06
  2  4.40044
  3  1.31332
  4  10.1968
  5  0.000339663
  6  34.5075
  7  3.9208e-07
  8  5.89143
  9  0.583187
  10  56.2091
  11  15.8535
  12  7.20227
  13  0.000430195
  14  1.10001e-05
  15  3.47395e-06
  16  0.00101198
  17  2.64229
  18  4.70854e-05
  19  0.00269044
  20  38.7749
  21  21.054
  22  0.249995
  23  0.19075
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.149e+01  1.585e+01  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.570e+00  1.908e-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:  4.414e-01  2.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.75
Ra Dec: 330.832 -50.151
Photon Flux Upper Limit: 1.96e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.55e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/466034/likelihoodResults_696556801_696816001_4FGL_J2203.3-5009_daily_bin1764.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) = 5463.72240082
delta logL = 0.00234495466339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5463.71927452
delta logL = 0.0054712615738

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8385       1.0000          .0000       .10000E+07
     2 'Index     '    2.9409       1.0000          .0000       10.000    
     3 'Normalizat'    .43342       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5753       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5463.719     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      255 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8314        46.938        .12769E-04    .95087E-03
   2  Index         2.9415        3.6299        .11603E-01    .30832E-04
   3  Normalizat    .43348        .28525        .43181E-03    .10966E-03
   4  Prefactor     1.5752        .22966        .19424E-03   -.33491E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.83137
  Index      = 2.94153
  Normalizat = 0.433482
  Prefactor  = 1.57522
 **********
 **   18 **HESSE 
 **********

 FCN=   5463.719     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8314        23.857        .51076E-06   -1.5645    
   2  Index         2.9415        2.2252        .46411E-03   -.42431    
   3  Normalizat    .43348        .26513        .17272E-04   -1.1561    
   4  Prefactor     1.5752        .21155        .38847E-04   -.75454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.92894e-10
Minuit parameter uncertainties:
  1  23.857
  2  2.32469
  3  0.265904
  4  0.21167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/466034': 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) = 5463.71927443
delta logL = 0.00547134985572

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  9.831e+00  2.386e+01  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  2.942e+00  2.325e+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:  1.575e+00  2.117e-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:  4.335e-01  2.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/466034/cmap_HighResolution_696556801_696816001_4FGL_J2203.3-5009_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.55e-02', job_status='DONE', photon_flux_upper_limit='1.96e-07', time_completed='2023-01-31 02:11:39.134871', job_id='466034', GAL2='1.58', fit_tolerance='1e-08', EG2='0.43', EG='0.44', time_epoch_completed='1675159899.13', return_code2='0', ts='0.75', comment='SUCCESS', return_code='0', GAL='1.57', dlogl='5.47e-03', ts2='0.79', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1764' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:11:39 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 466034: <4FGL_J2203.3-5009_daily_bin1764> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1764> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 02:00:30 2023
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 02:01:10 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 02:01:10 2023
Terminated at Tue Jan 31 02:11:40 2023
Results reported at Tue Jan 31 02:11:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1764 330.832 -50.1512 696556801 696816001 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 :                                   567.57 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             311.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            670 sec.

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

