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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1719
RA = 330.832, Dec = -50.1512
tmin = 684892801, tmax = 685152001
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='666730', job_status='RUN', time_executed='2022-09-18 01:20:05.266581', time_epoch_executed='1663489205.27' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666730

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666730/ft1_4FGL_J2203.3-5009_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666730/ft2_4FGL_J2203.3-5009_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666730/ft1_4FGL_J2203.3-5009_daily_bin1719.fits outfile=/scratch/kocevski/666730/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1719.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=684892801.0 tmax=685152001.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.14
user 2.92
sys 0.20

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

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

Number of photons that the gtmktime cut: 158

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666730/ft1_filtered_4FGL_J2203.3-5009_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/666730/ft2_4FGL_J2203.3-5009_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/666730/ltcube_684892801_685152001_4FGL_J2203.3-5009_daily_bin1719.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/666730/ft2_4FGL_J2203.3-5009_daily_bin1719.fits
.....................!
real 16.04
user 15.57
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666730/ft1_filtered_4FGL_J2203.3-5009_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666730/ft2_4FGL_J2203.3-5009_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/666730/ltcube_684892801_685152001_4FGL_J2203.3-5009_daily_bin1719.fits outfile=/scratch/kocevski/666730/expmap_684892801_685152001_4FGL_J2203.3-5009_daily_bin1719.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/666730/ltcube_684892801_685152001_4FGL_J2203.3-5009_daily_bin1719.fits
.....................!
real 192.04
user 185.88
sys 5.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/666730/ft1_filtered_4FGL_J2203.3-5009_daily_bin1719.fits scfile=/scratch/kocevski/666730/ft2_4FGL_J2203.3-5009_daily_bin1719.fits outfile=/scratch/kocevski/666730/cmap_684892801_685152001_4FGL_J2203.3-5009_daily_bin1719.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666730/ft1_filtered_4FGL_J2203.3-5009_daily_bin1719.fits scfile=/scratch/kocevski/666730/ft2_4FGL_J2203.3-5009_daily_bin1719.fits outfile=/scratch/kocevski/666730/cmap_HighResolution_684892801_685152001_4FGL_J2203.3-5009_daily_bin1719.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/666730/ft1_filtered_4FGL_J2203.3-5009_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666730/ft2_4FGL_J2203.3-5009_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/666730/Model_4FGL_J2203.3-5009_daily_bin1719.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/666730/ft1_filtered_4FGL_J2203.3-5009_daily_bin1719.fits.......................!
real 24.82
user 23.40
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3714       1.0000          .0000       .10000E+07
     2 'Prefactor '    23.171       1.0000          .0000       .10000E+07
     3 'norm      '    .25768E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.047       1.0000          .0000       .10000E+07
     5 'Prefactor '    21.397       1.0000          .0000       .10000E+07
     6 'Prefactor '    .84003E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8336       1.0000          .0000       .10000E+07
     8 'norm      '    .98343E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .65698E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .40265E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .95207E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18439E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .89639E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .34822E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16150       1.0000          .0000       .10000E+07
    16 'Prefactor '    .45637       1.0000          .0000       .10000E+07
    17 'Prefactor '    30.986       1.0000          .0000       .10000E+07
    18 'Prefactor '    120.74       1.0000          .0000       .10000E+07
    19 'Prefactor '    .28789       1.0000          .0000       .10000E+07
    20 'Prefactor '    .43958       1.0000          .0000       .10000E+07
    21 'Prefactor '    .91758       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0043       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76349       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=   1799.693     FROM MIGRAD    STATUS=CONVERGED    213 CALLS     2526 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3720        4.4951       -.13333E-06   -.10029E-03
   2  Prefactor     23.190        9.8082        .54931E-07    .69242E-01
   3  norm           .0000        7.6146       -.33955E-06** at limit **
   4  Prefactor     12.025        15.167       -.48400E-07    .36273E-03
   5  Prefactor     22.066        56.042       -.16455E-06    .45026E-01
   6  Prefactor     .11247E-06    57.587        .42132E-06** at limit **
   7  Prefactor     6.6943        8.0936        .27645E-07    .45061E-03
   8  norm           .0000        3.9297       -.60644E-07** at limit **
   9  Prefactor      .0000        14.869        .57568E-07** at limit **
  10  Prefactor     .33307E-09    33.674       -.23582E-06** at limit **
  11  Prefactor      .0000        16.448       -.27480E-06** at limit **
  12  Prefactor      .0000        6.3019        .27016E-06** at limit **
  13  Prefactor     .33607E-05    193.43       -.89738E-06** at limit **
  14  norm           .0000        8.8618        .87359E-07** at limit **
  15  Prefactor     .55511E-10    114.33        .15000E-05** at limit **
  16  Prefactor     .35995E-05    166.34       -.90732E-06** at limit **
  17  Prefactor     30.708        24.741       -.61667E-06    .82411E-01
  18  Prefactor     124.54        153.17        .21373E-05    .20711    
  19  Prefactor     .22204E-09    112.56       -.26088E-07** at limit **
  20  Prefactor     .47595E-06    154.36        .19645E-06** at limit **
  21  Prefactor     .85825E-01    808.41       -.83310E-05** at limit **
  22  Normalizat    1.0034        .43485        .20202E-04   -.15012E-04
  23  Prefactor     .76421        .26535       -.94812E-05   -.11825E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.37197
  Prefactor  = 23.1904
  norm       = 0
  Prefactor  = 12.0246
  Prefactor  = 22.0658
  Prefactor  = 1.12466e-07
  Prefactor  = 6.69434
  norm       = 0
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.3607e-06
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 3.59951e-06
  Prefactor  = 30.7081
  Prefactor  = 124.539
  Prefactor  = 2.22045e-10
  Prefactor  = 4.75953e-07
  Prefactor  = 0.0858253
  Normalizat = 1.00336
  Prefactor  = 0.764209
 **********
 **   18 **HESSE 
 **********

 FCN=   1799.693     FROM HESSE     STATUS=OK           412 CALLS     2938 TOTAL
                     EDM=   .37E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3720        4.5360        .66507E-03   -1.5677    
   2  Prefactor     23.190        28.210        .20779E-03   -1.5612    
   3  norm           .0000        7.3757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.025        15.290        .28836E-03   -1.5639    
   5  Prefactor     22.066        59.602        .21625E-03   -1.5614    
   6  Prefactor     .11247E-06    57.693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6943        8.1052        .38357E-03   -1.5656    
   8  norm           .0000        3.9313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        14.884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .33307E-09    33.729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        16.427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        6.2701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .33607E-05    193.43        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        8.8627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    27.336        .73971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .35995E-05    174.95        .83226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     30.708        45.747        .17967E-03   -1.5597    
  18  Prefactor     124.54        174.96        .91015E-04   -1.5485    
  19  Prefactor     .22204E-09    112.55        .10383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .47595E-06    166.03        .85037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .85825E-01    3110.3        .44552E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0034        .37180        .46221E-01   -.92918    
  23  Prefactor     .76421        .22735        .43240E-01   -1.0106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70635e-05
Minuit parameter uncertainties:
  1  4.536
  2  28.2097
  3  1.43799e-05
  4  15.2902
  5  59.6032
  6  0.00509448
  7  8.10524
  8  1.36822e-06
  9  8.81211e-06
  10  0.000215755
  11  3.3349e-06
  12  4.91871e-06
  13  0.0509942
  14  4.35906e-06
  15  6.30274e-05
  16  0.0501897
  17  45.7479
  18  174.963
  19  0.000322043
  20  0.017779
  21  32.6937
  22  0.372768
  23  0.227627
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  0.000e+00  3.335e-06  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:  7.642e-01  2.276e-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:  1.003e+00  3.728e-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: 2.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.96e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666730/likelihoodResults_684892801_685152001_4FGL_J2203.3-5009_daily_bin1719.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1799.69272284
delta logL = -2.50646166933e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1799.692698
delta logL = -2.24497171075e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54623E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.5084       1.0000          .0000       10.000    
     3 'Normalizat'    1.0035       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76417       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=   1799.693     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      235 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44409E-09    16.192        .34448E-05** at limit **
   2  Index         2.5360        6.2580        .36281E-04   -.12532E-10
   3  Normalizat    1.0034        .40534        .38048E-04    .48619E-04
   4  Prefactor     .76421        .25913       -.29972E-04    .93759E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44089e-10
  Index      = 2.53604
  Normalizat = 1.00336
  Prefactor  = 0.76421
 **********
 **   18 **HESSE 
 **********

 FCN=   1799.693     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .91E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44409E-09    .48702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5360        8.6968        .50000       -.51530    
   3  Normalizat    1.0034        .15238E-02    .46211E-01   -.92918    
   4  Prefactor     .76421        .97780E-03    .43249E-01   -1.0106    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.11773e-13
Minuit parameter uncertainties:
  1  2.91177e-05
  2  19945.8
  3  0.0015238
  4  0.000977797
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666730': 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): 102
logL (Free Index) = 1799.69269777
delta logL = -2.4101609597e-11

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  4.441e-10  2.912e-05  0.000e+00  1.000e+06 ( 1.000e-12)
324        Index:  2.536e+00  1.995e+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:  7.642e-01  9.778e-04  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:  1.003e+00  1.524e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/666730/cmap_HighResolution_684892801_685152001_4FGL_J2203.3-5009_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-02', job_status='DONE', photon_flux_upper_limit='2.48e-07', time_completed='2022-09-18 01:26:59.136381', job_id='666730', GAL2='0.76', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1663489619.14', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='-2.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1719' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:26:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 666730: <4FGL_J2203.3-5009_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 01:15:45 2022
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:17:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:17:16 2022
Terminated at Sun Sep 18 01:26:59 2022
Results reported at Sun Sep 18 01:26:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1719 330.832 -50.1512 684892801 685152001 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 :                                   414.37 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             278.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   583 sec.
    Turnaround time :                            674 sec.

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

