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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1150
RA = 330.832, Dec = -50.1512
tmin = 537408001, tmax = 537667201
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='149496', job_status='RUN', time_executed='2021-09-28 03:09:33.755007', time_epoch_executed='1632823773.76' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1150'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/149496

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/149496/ft1_4FGL_J2203.3-5009_daily_bin1150.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/149496/ft2_4FGL_J2203.3-5009_daily_bin1150.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/149496/ft1_4FGL_J2203.3-5009_daily_bin1150.fits outfile=/scratch/kocevski/149496/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1150.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=537408001.0 tmax=537667201.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 4.53
user 4.31
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/149496/ft1_filtered_4FGL_J2203.3-5009_daily_bin1150.fits" evtable="EVENTS" scfile=/scratch/kocevski/149496/ft2_4FGL_J2203.3-5009_daily_bin1150.fits sctable="SC_DATA" outfile=/scratch/kocevski/149496/ltcube_537408001_537667201_4FGL_J2203.3-5009_daily_bin1150.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/149496/ft2_4FGL_J2203.3-5009_daily_bin1150.fits
.....................!
real 14.55
user 14.18
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/149496/ft1_filtered_4FGL_J2203.3-5009_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/149496/ft2_4FGL_J2203.3-5009_daily_bin1150.fits sctable="SC_DATA" expcube=/scratch/kocevski/149496/ltcube_537408001_537667201_4FGL_J2203.3-5009_daily_bin1150.fits outfile=/scratch/kocevski/149496/expmap_537408001_537667201_4FGL_J2203.3-5009_daily_bin1150.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/149496/ltcube_537408001_537667201_4FGL_J2203.3-5009_daily_bin1150.fits
.....................!
real 191.11
user 185.60
sys 5.13

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/149496/ft1_filtered_4FGL_J2203.3-5009_daily_bin1150.fits scfile=/scratch/kocevski/149496/ft2_4FGL_J2203.3-5009_daily_bin1150.fits outfile=/scratch/kocevski/149496/cmap_537408001_537667201_4FGL_J2203.3-5009_daily_bin1150.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/149496/ft1_filtered_4FGL_J2203.3-5009_daily_bin1150.fits scfile=/scratch/kocevski/149496/ft2_4FGL_J2203.3-5009_daily_bin1150.fits outfile=/scratch/kocevski/149496/cmap_HighResolution_537408001_537667201_4FGL_J2203.3-5009_daily_bin1150.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.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/149496/ft1_filtered_4FGL_J2203.3-5009_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/149496/ft2_4FGL_J2203.3-5009_daily_bin1150.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/149496/Model_4FGL_J2203.3-5009_daily_bin1150.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/149496/ft1_filtered_4FGL_J2203.3-5009_daily_bin1150.fits.....................!
real 44.41
user 43.12
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3434       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.898       1.0000         .10000E-03   10000.    
     3 'norm      '    3.1395       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4757       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.5876       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .89279       1.0000         .10000E-03   10000.    
     9 'norm      '    11.330       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11560E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.810       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4233       1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.185       1.0000         .10000E-03   10000.    
    15 'norm      '    15.625       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.4782       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.831       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.1803       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.3914       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'    .72955       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.3088       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=   5563.363     FROM MIGRAD    STATUS=CONVERGED    621 CALLS     3088 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3434        4.7089        .23786E-06    .57702E-04
   2  Prefactor     10.906        30.127        .74760E-06    .28972E-04
   3  norm          3.1401        2.9282        .96067E-07   -.78774E-04
   4  Prefactor     6.4596        66.358       -.39183E-05   -.68744E-04
   5  Prefactor     .10000E-03    9.6397       -.14348E-07** at limit **
   6  Prefactor     9.5807        34.927       -.70022E-06   -.44958E-04
   7  Prefactor     .10000E-03    51.228       -.65889E-06** at limit **
   8  Prefactor     .89029        2.7201        .73433E-06    .30348E-04
   9  norm          11.330        6.3605       -.69684E-07   -.18300E-03
  10  Prefactor     .10000E-03    10.526        .43927E-07** at limit **
  11  Prefactor     .10001E-03    105.77       -.36123E-05** at limit **
  12  Prefactor     11.801        10.159        .10536E-05    .18423E-03
  13  Prefactor     3.4247        4.2931        .31309E-06   -.50864E-04
  14  Prefactor     43.116        127.57       -.12713E-04   -.12326E-03
  15  norm          15.627        11.986        .20520E-06    .95714E-06
  16  Prefactor     1.4782        2.9296        .24353E-06   -.81495E-04
  17  Prefactor     17.839        52.254        .57919E-06    .39720E-04
  18  Prefactor     8.1804        6.5120        .67536E-07   -.67084E-04
  19  Prefactor     .10000E-03    31.485       -.46726E-07** at limit **
  20  Prefactor     .10000E-03    4.2364        .46289E-08** at limit **
  21  Prefactor     .10001E-03    89.851        .40421E-05** at limit **
  22  Prefactor     4.3919        6.7390        .40374E-05   -.56712E-03
  23  Prefactor     .10000E-03    14.029       -.37724E-07** at limit **
  24  Prefactor     .10000E-03    4.1196        .13031E-07** at limit **
  25  Normalizat    .72938        .22308       -.65103E-06   -.34933E-04
  26  Prefactor     1.3088        .17697       -.13952E-06   -.42775E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.34336
  Prefactor  = 10.9058
  norm       = 3.14008
  Prefactor  = 6.4596
  Prefactor  = 0.0001
  Prefactor  = 9.5807
  Prefactor  = 0.0001
  Prefactor  = 0.890293
  norm       = 11.3299
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 11.8011
  Prefactor  = 3.42475
  Prefactor  = 43.1155
  norm       = 15.6272
  Prefactor  = 1.47825
  Prefactor  = 17.8387
  Prefactor  = 8.18039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 4.39188
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.729376
  Prefactor  = 1.30877
 **********
 **   18 **HESSE 
 **********

 FCN=   5563.363     FROM HESSE     STATUS=OK           462 CALLS     3550 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3434        4.6952        .15957E-03   -1.5291    
   2  Prefactor     10.906        30.049        .12136E-03   -1.5047    
   3  norm          3.1401        2.9222        .11749E-03   -1.5354    
   4  Prefactor     6.4596        67.601        .15771E-03   -1.5200    
   5  Prefactor     .10000E-03    9.7437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.5807        34.909        .12942E-03   -1.5089    
   7  Prefactor     .10000E-03    51.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .89029        2.5791        .20727E-02   -1.5519    
   9  norm          11.330        6.3531        .11902E-03   -1.5035    
  10  Prefactor     .10000E-03    10.897        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    107.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.801        10.325        .11657E-03   -1.5021    
  13  Prefactor     3.4247        4.2803        .16310E-03   -1.5338    
  14  Prefactor     43.116        133.80        .61004E-04   -1.4394    
  15  norm          15.627        11.990        .10132E-03   -1.4917    
  16  Prefactor     1.4782        2.8845        .17185E-03   -1.5465    
  17  Prefactor     17.839        52.245        .94848E-04   -1.4863    
  18  Prefactor     8.1804        6.5245        .14017E-03   -1.5136    
  19  Prefactor     .10000E-03    31.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.2504        .14992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    90.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.3919        6.8906        .96095E-03   -1.5289    
  23  Prefactor     .10000E-03    14.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.1208        .14786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .72938        .25355        .32613E-03   -1.0274    
  26  Prefactor     1.3088        .20331        .20288E-03   -.83047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50246e-09
Minuit parameter uncertainties:
  1  4.69564
  2  30.0909
  3  2.92234
  4  41.8542
  5  6.76203e-06
  6  34.983
  7  0.000107758
  8  2.57946
  9  6.35345
  10  9.0435e-06
  11  0.00150807
  12  10.3267
  13  4.28063
  14  134.749
  15  11.9915
  16  2.88475
  17  52.3792
  18  6.52508
  19  5.55843e-05
  20  1.66314e-06
  21  0.00165502
  22  6.89187
  23  7.37227e-06
  24  4.904e-07
  25  0.253956
  26  0.203437
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.180e+01  1.033e+01  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:  1.309e+00  2.034e-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:  7.294e-01  2.540e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.68
Ra Dec: 330.832 -50.151
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 5.80e-08 +/- 5.07e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 1.19e-05

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

Saving results to:
/scratch/kocevski/149496/likelihoodResults_537408001_537667201_4FGL_J2203.3-5009_daily_bin1150.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) = 5563.02416432
delta logL = 0.33893057482

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5563.0204703
delta logL = 0.34262459664

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5563.020     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      199 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.405        12.934        .28434E-02    .22442E-02
   2  Index         2.1462        .64152        .25009       -.25717E-04
   3  Normalizat    .75772        .21372        .72416E-01    .22248E-04
   4  Prefactor     1.2951        .17249        .32695E-01   -.72744E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4047
  Index      = 2.14624
  Normalizat = 0.757721
  Prefactor  = 1.29511
 **********
 **   18 **HESSE 
 **********

 FCN=   5563.020     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.405        11.066        .11373E-03   -1.5003    
   2  Index         2.1462        .68396        .90932E-02   -.60742    
   3  Normalizat    .75772        .24440        .32049E-03   -1.0166    
   4  Prefactor     1.2951        .19717        .20379E-03   -.83453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92356e-09
Minuit parameter uncertainties:
  1  11.0674
  2  0.687167
  3  0.244758
  4  0.197283
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/149496': 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) = 5563.02047028
delta logL = 0.342624616541

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.240e+01  1.107e+01  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.146e+00  6.872e-01  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.295e+00  1.973e-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:  7.577e-01  2.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 330.832 -50.151
Photon Index (Free Index): 2.15 +/- 0.69
Photon Flux (Free Index): 3.53e-08 +/- 4.13e-08
Energy Flux (Free Index): 1.76e-05 +/- 1.79e-05

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/149496/cmap_HighResolution_537408001_537667201_4FGL_J2203.3-5009_daily_bin1150.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', comment='SUCCESS', photon_flux='5.80e-08', energy_flux2='1.76e-05', photon_flux_error='5.07e-08', dlogl='3.43e-01', energy_flux='1.36e-05', photon_flux2='3.53e-08', job_status='DONE', time_completed='2021-09-28 03:20:57.574648', photon_index_error2='0.69', photon_index2='2.15', ts='3.68', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', photon_flux_upper_limit='1.62e-07', energy_flux_error2='1.79e-05', EG='0.73', time_epoch_completed='1632824457.57', return_code='0', job_id='149496', GAL2='1.30', EG2='0.76', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='4.13e-08', ts2='4.36', photon_index='2.74' WHERE bin_id='1150' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:20:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 149496: <4FGL_J2203.3-5009_daily_bin1150> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1150> 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) <bullet0040>, 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:58 2021
Results reported at Tue Sep 28 03:20:58 2021

Your job looked like:

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

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

