/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 3 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 = 7395
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2203.3-5009_daily_bin353
RA = 330.832, Dec = -50.1512
tmin = 330825601, tmax = 331084801
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='145105', job_status='RUN', time_executed='2021-09-28 02:50:46.042807', time_epoch_executed='1632822646.04' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='353'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145105

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145105/ft1_4FGL_J2203.3-5009_daily_bin353.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145105/ft2_4FGL_J2203.3-5009_daily_bin353.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145105/ft1_4FGL_J2203.3-5009_daily_bin353.fits outfile=/scratch/kocevski/145105/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin353.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=330825601.0 tmax=331084801.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.39
user 3.19
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/145105/ft2_4FGL_J2203.3-5009_daily_bin353.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/145105/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin353.fits evtable="EVENTS" outfile="/scratch/kocevski/145105/ft1_filtered_4FGL_J2203.3-5009_daily_bin353.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/145105/ft1_filtered_4FGL_J2203.3-5009_daily_bin353.fits" evtable="EVENTS" scfile=/scratch/kocevski/145105/ft2_4FGL_J2203.3-5009_daily_bin353.fits sctable="SC_DATA" outfile=/scratch/kocevski/145105/ltcube_330825601_331084801_4FGL_J2203.3-5009_daily_bin353.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/145105/ft2_4FGL_J2203.3-5009_daily_bin353.fits
.....................!
real 11.71
user 11.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145105/ft1_filtered_4FGL_J2203.3-5009_daily_bin353.fits evtable="EVENTS" scfile=/scratch/kocevski/145105/ft2_4FGL_J2203.3-5009_daily_bin353.fits sctable="SC_DATA" expcube=/scratch/kocevski/145105/ltcube_330825601_331084801_4FGL_J2203.3-5009_daily_bin353.fits outfile=/scratch/kocevski/145105/expmap_330825601_331084801_4FGL_J2203.3-5009_daily_bin353.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/145105/ltcube_330825601_331084801_4FGL_J2203.3-5009_daily_bin353.fits
.....................!
real 191.37
user 185.61
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/145105/ft1_filtered_4FGL_J2203.3-5009_daily_bin353.fits scfile=/scratch/kocevski/145105/ft2_4FGL_J2203.3-5009_daily_bin353.fits outfile=/scratch/kocevski/145105/cmap_330825601_331084801_4FGL_J2203.3-5009_daily_bin353.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/145105/ft1_filtered_4FGL_J2203.3-5009_daily_bin353.fits scfile=/scratch/kocevski/145105/ft2_4FGL_J2203.3-5009_daily_bin353.fits outfile=/scratch/kocevski/145105/cmap_HighResolution_330825601_331084801_4FGL_J2203.3-5009_daily_bin353.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/145105/ft1_filtered_4FGL_J2203.3-5009_daily_bin353.fits evtable="EVENTS" scfile=/scratch/kocevski/145105/ft2_4FGL_J2203.3-5009_daily_bin353.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145105/Model_4FGL_J2203.3-5009_daily_bin353.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/145105/ft1_filtered_4FGL_J2203.3-5009_daily_bin353.fits.....................!
real 41.95
user 40.58
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.813       1.0000         .10000E-03   10000.    
     3 'norm      '    2.9337       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.336       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.9091       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.474       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7736       1.0000         .10000E-03   10000.    
     9 'norm      '    6.4306       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.608       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2218       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5274       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .52395E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17986E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.4199       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.6441       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.9087       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.2124       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .70692       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2409       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=   4971.650     FROM MIGRAD    STATUS=CONVERGED    624 CALLS     3102 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0676        .49700E-07** at limit **
   2  Prefactor     10.804        23.463        .99488E-06   -.53796E-05
   3  norm          2.9335        2.6174        .11001E-06   -.35795E-04
   4  Prefactor     .10005E-03    89.540        .15186E-04** at limit **
   5  Prefactor     11.335        12.068        .13945E-06   -.46082E-04
   6  Prefactor     3.9066        144.91        .72330E-06   -.65067E-05
   7  Prefactor     25.473        32.446        .75909E-06   -.80181E-04
   8  Prefactor     2.7729        5.6128        .71138E-06   -.14569E-03
   9  norm          6.4303        5.9928        .13634E-06    .41348E-04
  10  Prefactor     10.607        12.006        .11615E-05   -.10366E-03
  11  Prefactor     4.2170        48.360        .54176E-06   -.50597E-05
  12  Prefactor     2.5285        8.8893       -.89996E-07   -.14677E-03
  13  Prefactor     .10018E-03    2.4844        .92531E-06** at limit **
  14  Prefactor     .10007E-03    258.79       -.18495E-04** at limit **
  15  norm          .10000E-03    2.2907       -.19860E-07** at limit **
  16  Prefactor     3.4193        4.0199        .17529E-06   -.59583E-04
  17  Prefactor     .10000E-03    24.268       -.88914E-06** at limit **
  18  Prefactor     7.6432        8.0213        .35413E-06    .40495E-04
  19  Prefactor     .10000E-03    10.103       -.32836E-07** at limit **
  20  Prefactor     7.9084        11.545        .22157E-05   -.20578E-03
  21  Prefactor     .10002E-03    67.654       -.94931E-05** at limit **
  22  Prefactor     .10000E-03    3.4923        .27871E-07** at limit **
  23  Prefactor     .10000E-03    32.266        .13334E-05** at limit **
  24  Prefactor     3.2114        11.557        .98735E-05   -.28942E-03
  25  Normalizat    .70706        .23317       -.24908E-05   -.18724E-03
  26  Prefactor     1.2409        .17396        .11093E-06   -.30663E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.8036
  norm       = 2.93353
  Prefactor  = 0.000100054
  Prefactor  = 11.3352
  Prefactor  = 3.90658
  Prefactor  = 25.4731
  Prefactor  = 2.77294
  norm       = 6.43035
  Prefactor  = 10.607
  Prefactor  = 4.21699
  Prefactor  = 2.5285
  Prefactor  = 0.000100177
  Prefactor  = 0.000100074
  norm       = 0.0001
  Prefactor  = 3.41932
  Prefactor  = 0.0001
  Prefactor  = 7.64316
  Prefactor  = 0.0001
  Prefactor  = 7.90841
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.21136
  Normalizat = 0.707057
  Prefactor  = 1.24091
 **********
 **   18 **HESSE 
 **********

 FCN=   4971.650     FROM HESSE     STATUS=OK           462 CALLS     3564 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1316        .12052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.804        23.438        .12184E-03   -1.5050    
   3  norm          2.9335        2.6144        .10345E-03   -1.5365    
   4  Prefactor     .10005E-03    95.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.335        11.968        .11899E-03   -1.5034    
   6  Prefactor     3.9066        139.68        .20406E-03   -1.5313    
   7  Prefactor     25.473        32.423        .79369E-04   -1.4698    
   8  Prefactor     2.7729        5.5814        .22069E-03   -1.5375    
   9  norm          6.4303        5.9417        .15169E-03   -1.5201    
  10  Prefactor     10.607        12.005        .61509E-03   -1.5056    
  11  Prefactor     4.2170        48.184        .19612E-03   -1.5297    
  12  Prefactor     2.5285        8.7906        .25694E-03   -1.5390    
  13  Prefactor     .10018E-03    26.883        .20641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10007E-03    266.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.2908        .10422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.4193        4.0104        .14630E-03   -1.5338    
  17  Prefactor     .10000E-03    24.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.6432        8.0517        .14504E-03   -1.5155    
  19  Prefactor     .10000E-03    10.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.9084        11.593        .71289E-03   -1.5145    
  21  Prefactor     .10002E-03    70.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.5089        .12869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    32.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.2114        11.872        .11302E-02   -1.5350    
  25  Normalizat    .70706        .26151        .31894E-03   -1.0362    
  26  Prefactor     1.2409        .19873        .19868E-03   -.85082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.07589e-09
Minuit parameter uncertainties:
  1  1.28577e-06
  2  23.4578
  3  2.61451
  4  0.00456744
  5  11.9705
  6  46.8381
  7  32.4452
  8  5.58242
  9  5.9422
  10  12.0077
  11  28.5378
  12  8.79511
  13  0.00436185
  14  0.00894077
  15  9.34165e-07
  16  4.01067
  17  0.00013345
  18  8.05284
  19  1.09506e-05
  20  11.5968
  21  0.0025361
  22  2.61591e-06
  23  0.000224597
  24  11.8806
  25  0.261972
  26  0.198855
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  2.528e+00  8.795e+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.241e+00  1.989e-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.071e-01  2.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.10
Ra Dec: 330.832 -50.151
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/145105/likelihoodResults_330825601_331084801_4FGL_J2203.3-5009_daily_bin353.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) = 4971.33392533
delta logL = 0.316475432034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4971.30639
delta logL = 0.344010756141

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9458       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1672       1.0000          .0000       10.000    
     3 'Normalizat'    .65755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2631       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=   4971.306     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      214 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9428        60.811        .74391E-02    .53427E-03
   2  Index         4.1682        7.0611        .20438        .70471E-04
   3  Normalizat    .65745        .56962E-01    .74531E-01    .18516E-04
   4  Prefactor     1.2631        .45358E-01    .33286E-01   -.16144E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.94283
  Index      = 4.16822
  Normalizat = 0.657448
  Prefactor  = 1.26314
 **********
 **   18 **HESSE 
 **********

 FCN=   4971.306     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9428        7.4081        .11409E-03   -1.5429    
   2  Index         4.1682        2.6597        .92584E-02   -.16713    
   3  Normalizat    .65745        .24967        .32993E-03   -1.0560    
   4  Prefactor     1.2631        .19623        .19712E-03   -.84410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62761e-08
Minuit parameter uncertainties:
  1  7.41159
  2  2.80921
  3  0.250098
  4  0.196342
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145105': 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) = 4971.30638969
delta logL = 0.344011072252

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.263e+00  1.963e-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.574e-01  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/145105/cmap_HighResolution_330825601_331084801_4FGL_J2203.3-5009_daily_bin353.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.55e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-28 03:01:39.338637', job_id='145105', GAL2='1.26', fit_tolerance='1e-08', EG2='0.66', EG='0.71', time_epoch_completed='1632823299.34', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='3.44e-01', ts2='0.84', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='353' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:01:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 145105: <4FGL_J2203.3-5009_daily_bin353> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin353> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 02:50:33 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 02:50:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 02:50:35 2021
Terminated at Tue Sep 28 03:01:40 2021
Results reported at Tue Sep 28 03:01:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin353 330.832 -50.1512 330825601 331084801 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 :                                   646.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            667 sec.

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

