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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1138
RA = 330.832, Dec = -50.1512
tmin = 534297601, tmax = 534556801
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='149476', job_status='RUN', time_executed='2021-09-28 03:07:02.125092', time_epoch_executed='1632823622.13' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1138'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/149476

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/149476/ft1_4FGL_J2203.3-5009_daily_bin1138.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/149476/ft2_4FGL_J2203.3-5009_daily_bin1138.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/149476/ft1_4FGL_J2203.3-5009_daily_bin1138.fits outfile=/scratch/kocevski/149476/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1138.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=534297601.0 tmax=534556801.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.54
user 3.28
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/149476/ft1_filtered_4FGL_J2203.3-5009_daily_bin1138.fits" evtable="EVENTS" scfile=/scratch/kocevski/149476/ft2_4FGL_J2203.3-5009_daily_bin1138.fits sctable="SC_DATA" outfile=/scratch/kocevski/149476/ltcube_534297601_534556801_4FGL_J2203.3-5009_daily_bin1138.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/149476/ft2_4FGL_J2203.3-5009_daily_bin1138.fits
.....................!
real 11.71
user 11.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/149476/ft1_filtered_4FGL_J2203.3-5009_daily_bin1138.fits evtable="EVENTS" scfile=/scratch/kocevski/149476/ft2_4FGL_J2203.3-5009_daily_bin1138.fits sctable="SC_DATA" expcube=/scratch/kocevski/149476/ltcube_534297601_534556801_4FGL_J2203.3-5009_daily_bin1138.fits outfile=/scratch/kocevski/149476/expmap_534297601_534556801_4FGL_J2203.3-5009_daily_bin1138.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/149476/ltcube_534297601_534556801_4FGL_J2203.3-5009_daily_bin1138.fits
.....................!
real 191.02
user 185.35
sys 5.37

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/149476/ft1_filtered_4FGL_J2203.3-5009_daily_bin1138.fits scfile=/scratch/kocevski/149476/ft2_4FGL_J2203.3-5009_daily_bin1138.fits outfile=/scratch/kocevski/149476/cmap_534297601_534556801_4FGL_J2203.3-5009_daily_bin1138.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.56
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/149476/ft1_filtered_4FGL_J2203.3-5009_daily_bin1138.fits evtable="EVENTS" scfile=/scratch/kocevski/149476/ft2_4FGL_J2203.3-5009_daily_bin1138.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/149476/Model_4FGL_J2203.3-5009_daily_bin1138.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/149476/ft1_filtered_4FGL_J2203.3-5009_daily_bin1138.fits....................!
real 58.70
user 57.33
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11278       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    9.8189       1.0000         .10000E-03   10000.    
     4 'Prefactor '    66.414       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.156       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.369       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12538E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.101       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.0741       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2441       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4937       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .68275E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    3.3936       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2540       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.3916       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.3211       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .71146       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0693       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=   8139.333     FROM MIGRAD    STATUS=CONVERGED    681 CALLS     3172 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11255        1.4817        .63674E-01    .55778E-03
   2  Prefactor     .10000E-03    8.8403        .90712E-02** at limit **
   3  norm          9.8188        2.4815        .31970E-02    .58929E-04
   4  Prefactor     66.455        41.698        .12312E-02    .45656E-03
   5  Prefactor     11.155        7.2497        .29987E-02    .48254E-03
   6  Prefactor     18.354        20.566        .23362E-02   -.12823E-04
   7  Prefactor     .10000E-03    9.8668        .90712E-02** at limit **
   8  Prefactor     .10000E-03    2.1496        .42945E-01** at limit **
   9  norm          12.102        4.8829        .28789E-02    .15282E-03
  10  Prefactor     8.0749        6.6985        .35275E-02   -.33011E-03
  11  Prefactor     .10000E-03    14.309        .90712E-02** at limit **
  12  Prefactor     4.2174        8.5336        .48897E-02    .45942E-03
  13  Prefactor     3.4932        2.8626        .54079E-02    .26805E-03
  14  Prefactor     .10000E-03    123.67        .18657    ** at limit **
  15  norm          3.3935        3.3423        .54906E-02   -.30938E-03
  16  Prefactor     3.2544        2.5788        .56129E-02    .10321E-03
  17  Prefactor     6.3931        42.886        .39690E-02   -.79751E-03
  18  Prefactor     .10000E-03    2.7869        .90712E-02** at limit **
  19  Prefactor     .10000E-03    4.6139        .90712E-02** at limit **
  20  Prefactor     3.3213        5.4555        .55531E-02    .37636E-03
  21  Prefactor     .10000E-03    18.196        .90712E-02** at limit **
  22  Prefactor     .10000E-03    1.3163        .90712E-02** at limit **
  23  Prefactor     .10000E-03    6.5737        .90712E-02** at limit **
  24  Prefactor     .10000E-03    14.278        .90712E-02** at limit **
  25  Normalizat    .71142        .14994        .64882E-01    .58904E-04
  26  Prefactor     1.0693        .12076        .38889E-01    .46370E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.11255
  Prefactor  = 0.0001
  norm       = 9.81882
  Prefactor  = 66.4555
  Prefactor  = 11.1551
  Prefactor  = 18.3539
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.1023
  Prefactor  = 8.07485
  Prefactor  = 0.0001
  Prefactor  = 4.21741
  Prefactor  = 3.49319
  Prefactor  = 0.0001
  norm       = 3.39345
  Prefactor  = 3.25438
  Prefactor  = 6.3931
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.32129
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.71142
  Prefactor  = 1.06933
 **********
 **   18 **HESSE 
 **********

 FCN=   8139.333     FROM HESSE     STATUS=OK           468 CALLS     3640 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11255        16.888        .21096E-02   -1.5641    
   2  Prefactor     .10000E-03    8.8814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.8188        2.4820        .68758E-04   -1.5081    
   4  Prefactor     66.455        41.650        .49248E-04   -1.4076    
   5  Prefactor     11.155        7.2231        .11995E-03   -1.5040    
   6  Prefactor     18.354        20.556        .93449E-04   -1.4851    
   7  Prefactor     .10000E-03    9.9259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.2946        .25275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.102        4.8827        .11516E-03   -1.5012    
  10  Prefactor     8.0749        6.6976        .14110E-03   -1.5140    
  11  Prefactor     .10000E-03    14.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.2174        8.2923        .19559E-03   -1.5297    
  13  Prefactor     3.4932        2.8590        .13147E-03   -1.5334    
  14  Prefactor     .10000E-03    100.36        .20745       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3935        3.3504        .15972E-03   -1.5340    
  16  Prefactor     3.2544        2.5829        .12214E-03   -1.5347    
  17  Prefactor     6.3931        42.762        .15876E-03   -1.5202    
  18  Prefactor     .10000E-03    2.9100        .29389E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.6188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.3213        5.4441        .22212E-03   -1.5343    
  21  Prefactor     .10000E-03    18.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.3173        .10108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.5743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    14.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .71142        .17101        .28706E-03   -1.0344    
  26  Prefactor     1.0693        .13959        .19622E-03   -.90453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19286e-08
Minuit parameter uncertainties:
  1  2.75692
  2  3.87878e-06
  3  2.48203
  4  41.6679
  5  7.22366
  6  20.5639
  7  1.36575e-05
  8  4.0329e-07
  9  4.88283
  10  6.69826
  11  3.63246e-05
  12  8.29453
  13  2.85908
  14  0.000404242
  15  3.35063
  16  2.58297
  17  33.1026
  18  2.87603e-06
  19  3.13246e-06
  20  5.44489
  21  1.55125e-05
  22  3.07381e-06
  23  2.10504e-06
  24  1.69352e-06
  25  0.171138
  26  0.139634
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  4.217e+00  8.295e+00  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.739e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  5.072e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.069e+00  1.396e-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.114e-01  1.711e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/149476/likelihoodResults_534297601_534556801_4FGL_J2203.3-5009_daily_bin1138.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) = 8138.46826924
delta logL = 0.864402909103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8138.05557432
delta logL = 1.27709783448

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44538E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    9.9998       1.0000          .0000       10.000    
     3 'Normalizat'    .65488       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1037       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=   8138.056     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      418 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44503E-03    .12713E-01    .32386E-03** at limit **
   2  Index        10.0000        5.0888        .50000    ** at limit **
   3  Normalizat    .65483        .74998E-01    .67347E-01    .40426E-04
   4  Prefactor     1.1039        .60380E-01    .37447E-01    .23485E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000445028
  Index      = 10
  Normalizat = 0.654829
  Prefactor  = 1.10389
 **********
 **   18 **HESSE 
 **********

 FCN=   8138.056     FROM HESSE     STATUS=OK            35 CALLS      453 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44503E-03    .38374E-03    .14920E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        1.0769        .43434        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .65483        .17062        .29803E-03   -1.0570    
   4  Prefactor     1.1039        .13848        .19342E-03   -.89342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71984e-09
Minuit parameter uncertainties:
  1  0.000383742
  2  8.75144e-05
  3  0.17076
  4  0.13852
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/149476': 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) = 8138.0555675
delta logL = 1.27710465138

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  4.450e-04  3.837e-04  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  1.000e+01  8.751e-05  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.104e+00  1.385e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  6.548e-01  1.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.21
Ra Dec: 330.832 -50.151
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 5.75e-08 +/- 4.80e-08
Energy Flux (Free Index): 6.42e-06 +/- 5.40e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/149476/cmap_HighResolution_534297601_534556801_4FGL_J2203.3-5009_daily_bin1138.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.33e-03', comment='SUCCESS', energy_flux2='6.42e-06', dlogl='1.28e+00', photon_flux2='5.75e-08', job_status='DONE', time_completed='2021-09-28 03:21:42.891850', photon_index_error2='0.00', photon_index2='10.00', ts='0.49', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='9.29e-08', energy_flux_error2='5.40e-06', EG='0.71', time_epoch_completed='1632824502.89', return_code='0', job_id='149476', GAL2='1.10', EG2='0.65', return_code2='0', photon_flux_error2='4.80e-08', ts2='3.21', photon_index='2.74' WHERE bin_id='1138' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:21:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 149476: <4FGL_J2203.3-5009_daily_bin1138> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1138> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 03:05:42 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 03:05:43 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:43 2021
Terminated at Tue Sep 28 03:21:43 2021
Results reported at Tue Sep 28 03:21:43 2021

Your job looked like:

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

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

