/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 219 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 = 7431
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1149
RA = 330.832, Dec = -50.1512
tmin = 537148801, tmax = 537408001
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='149495', job_status='RUN', time_executed='2021-09-28 03:09:34.655734', time_epoch_executed='1632823774.66' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1149'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/149495

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/149495/ft1_4FGL_J2203.3-5009_daily_bin1149.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/149495/ft2_4FGL_J2203.3-5009_daily_bin1149.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/149495/ft1_4FGL_J2203.3-5009_daily_bin1149.fits outfile=/scratch/kocevski/149495/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1149.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=537148801.0 tmax=537408001.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.60
user 3.43
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/149495/ft2_4FGL_J2203.3-5009_daily_bin1149.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/149495/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1149.fits evtable="EVENTS" outfile="/scratch/kocevski/149495/ft1_filtered_4FGL_J2203.3-5009_daily_bin1149.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/149495/ft1_filtered_4FGL_J2203.3-5009_daily_bin1149.fits" evtable="EVENTS" scfile=/scratch/kocevski/149495/ft2_4FGL_J2203.3-5009_daily_bin1149.fits sctable="SC_DATA" outfile=/scratch/kocevski/149495/ltcube_537148801_537408001_4FGL_J2203.3-5009_daily_bin1149.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/149495/ft2_4FGL_J2203.3-5009_daily_bin1149.fits
.....................!
real 12.49
user 11.61
sys 0.84

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/149495/ft1_filtered_4FGL_J2203.3-5009_daily_bin1149.fits evtable="EVENTS" scfile=/scratch/kocevski/149495/ft2_4FGL_J2203.3-5009_daily_bin1149.fits sctable="SC_DATA" expcube=/scratch/kocevski/149495/ltcube_537148801_537408001_4FGL_J2203.3-5009_daily_bin1149.fits outfile=/scratch/kocevski/149495/expmap_537148801_537408001_4FGL_J2203.3-5009_daily_bin1149.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/149495/ltcube_537148801_537408001_4FGL_J2203.3-5009_daily_bin1149.fits
.....................!
real 190.47
user 185.91
sys 4.16

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/149495/ft1_filtered_4FGL_J2203.3-5009_daily_bin1149.fits scfile=/scratch/kocevski/149495/ft2_4FGL_J2203.3-5009_daily_bin1149.fits outfile=/scratch/kocevski/149495/cmap_537148801_537408001_4FGL_J2203.3-5009_daily_bin1149.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/149495/ft1_filtered_4FGL_J2203.3-5009_daily_bin1149.fits scfile=/scratch/kocevski/149495/ft2_4FGL_J2203.3-5009_daily_bin1149.fits outfile=/scratch/kocevski/149495/cmap_HighResolution_537148801_537408001_4FGL_J2203.3-5009_daily_bin1149.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.146       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.820       1.0000         .10000E-03   10000.    
     3 'norm      '    1.4407       1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.753       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.4794       1.0000         .10000E-03   10000.    
     6 'Prefactor '    52.195       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8024       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.4067       1.0000         .10000E-03   10000.    
     9 'norm      '    5.1892       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7032       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.2967       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.196       1.0000         .10000E-03   10000.    
    17 'Prefactor '    58.734       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.585       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0259       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97380       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=   5469.824     FROM MIGRAD    STATUS=CONVERGED    591 CALLS     3051 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.146        4.7822       -.48102E-08   -.38753E-04
   2  Prefactor     10.819        19.557        .12117E-06   -.41465E-05
   3  norm          1.4408        1.4988        .25207E-08   -.29905E-04
   4  Prefactor     43.751        49.149       -.11218E-06   -.61864E-05
   5  Prefactor     9.4790        9.8987        .19196E-05   -.88141E-04
   6  Prefactor     52.195        37.415       -.30547E-06   -.44392E-05
   7  Prefactor     1.7656        59.050        .18277E-05   -.83772E-05
   8  Prefactor     9.4067        6.1486       -.78543E-07   -.87634E-05
   9  norm          5.1893        5.4774        .36212E-07   -.25268E-04
  10  Prefactor     .10000E-03    9.4275        .92387E-07** at limit **
  11  Prefactor     .10000E-03    20.285       -.26726E-06** at limit **
  12  Prefactor     .10000E-03    3.5591        .22817E-07** at limit **
  13  Prefactor     5.7031        3.9260        .40493E-07   -.57725E-05
  14  Prefactor     .10000E-03    46.649        .64056E-06** at limit **
  15  norm          4.2967        4.3175       -.69574E-07    .22614E-04
  16  Prefactor     11.196        6.4050        .82606E-07   -.26506E-04
  17  Prefactor     58.732        54.158        .85769E-08   -.70043E-05
  18  Prefactor     .10000E-03    3.7628        .30670E-07** at limit **
  19  Prefactor     .10000E-03    35.235       -.15167E-06** at limit **
  20  Prefactor     17.584        14.088       -.20174E-06    .68294E-05
  21  Prefactor     .10000E-03    74.622       -.50971E-06** at limit **
  22  Prefactor     .10000E-03    5.2538        .48339E-08** at limit **
  23  Prefactor     .10000E-03    18.429        .26584E-06** at limit **
  24  Prefactor     .10000E-03    9.7661       -.49342E-07** at limit **
  25  Normalizat    1.0259        .21599       -.29630E-06   -.15261E-04
  26  Prefactor     .97381        .16087       -.33103E-06   -.99520E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1462
  Prefactor  = 10.8193
  norm       = 1.44077
  Prefactor  = 43.7512
  Prefactor  = 9.47902
  Prefactor  = 52.1954
  Prefactor  = 1.76556
  Prefactor  = 9.40667
  norm       = 5.1893
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.70314
  Prefactor  = 0.000100001
  norm       = 4.29673
  Prefactor  = 11.1963
  Prefactor  = 58.7322
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.5845
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.02591
  Prefactor  = 0.973815
 **********
 **   18 **HESSE 
 **********

 FCN=   5469.824     FROM HESSE     STATUS=OK           458 CALLS     3509 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.146        4.7817        .10729E-03   -1.5071    
   2  Prefactor     10.819        19.556        .12180E-03   -1.5050    
   3  norm          1.4408        1.4900        .89794E-04   -1.5468    
   4  Prefactor     43.751        49.123        .60609E-04   -1.4384    
   5  Prefactor     9.4790        9.8991        .65081E-03   -1.5092    
   6  Prefactor     52.195        37.373        .55514E-04   -1.4262    
   7  Prefactor     1.7656        59.309        .31134E-03   -1.5442    
   8  Prefactor     9.4067        6.1515        .13067E-03   -1.5094    
   9  norm          5.1893        5.4676        .16794E-03   -1.5252    
  10  Prefactor     .10000E-03    9.4681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.5705        .13624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.7031        3.9266        .11692E-03   -1.5230    
  14  Prefactor     .10000E-03    46.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.2967        4.3242        .15041E-03   -1.5293    
  16  Prefactor     11.196        6.4489        .11973E-03   -1.5039    
  17  Prefactor     58.732        54.170        .52349E-04   -1.4174    
  18  Prefactor     .10000E-03    3.7994        .14005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    35.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.584        14.157        .95509E-04   -1.4869    
  21  Prefactor     .10000E-03    74.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.2848        .16554E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    18.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.7966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0259        .25500        .28371E-03   -.92167    
  26  Prefactor     .97381        .18937        .22352E-03   -.93608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.82517e-11
Minuit parameter uncertainties:
  1  4.78193
  2  19.5675
  3  1.49002
  4  49.1687
  5  9.90082
  6  37.3902
  7  20.4875
  8  6.15187
  9  5.46811
  10  1.94403e-05
  11  0.000120838
  12  6.38406e-07
  13  3.92677
  14  0.000419809
  15  4.3245
  16  6.44927
  17  54.215
  18  3.17257e-06
  19  7.00176e-05
  20  14.1601
  21  0.000407963
  22  1.83855e-06
  23  0.000105559
  24  1.72878e-05
  25  0.255304
  26  0.189496
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.000e-04  6.384e-07  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.738e-01  1.895e-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.026e+00  2.553e-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: 7.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/149495/likelihoodResults_537148801_537408001_4FGL_J2203.3-5009_daily_bin1149.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) = 5469.82565316
delta logL = -0.00133138540605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5469.82432174
delta logL = 2.82470864477e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7292       1.0000          .0000       10.000    
     3 'Normalizat'    1.0259       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97385       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=   5469.824     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      249 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    18.200        .13680E-01** at limit **
   2  Index         2.4056        6.0186        .50000        .51725E-06
   3  Normalizat    1.0259        .11608E-01    .28371E-03   -.25926E-04
   4  Prefactor     .97381        .89871E-02    .22352E-03   -.26855E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Index      = 2.40563
  Normalizat = 1.02591
  Prefactor  = 0.973814
 **********
 **   18 **HESSE 
 **********

 FCN=   5469.824     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    173.31        .14120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4056        6.1981        .50000       -.54553    
   3  Normalizat    1.0259        .37522E-01    .11348E-04   -.92167    
   4  Prefactor     .97381        .29050E-01    .89407E-05   -.93608    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.74685e-08
Minuit parameter uncertainties:
  1  0.00226449
  2  837.178
  3  0.0375231
  4  0.0290507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/149495': 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) = 5469.82432078
delta logL = 9.85562110145e-07

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.000e-04  2.264e-03  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.406e+00  8.372e+02  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.738e-01  2.905e-02  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.026e+00  3.752e-02  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/149495/cmap_HighResolution_537148801_537408001_4FGL_J2203.3-5009_daily_bin1149.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.15e-03', job_status='DONE', photon_flux_upper_limit='7.80e-08', time_completed='2021-09-28 03:20:50.657640', job_id='149495', GAL2='0.97', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1632824450.66', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='9.86e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1149' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:20:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 149495: <4FGL_J2203.3-5009_daily_bin1149> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1149> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 03:05:44 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 03:05:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 03:05:46 2021
Terminated at Tue Sep 28 03:20:51 2021
Results reported at Tue Sep 28 03:20:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1149 330.832 -50.1512 537148801 537408001 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 :                                   669.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            907 sec.

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

