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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1483
RA = 330.832, Dec = -50.1512
tmin = 623721601, tmax = 623980801
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='151035', job_status='RUN', time_executed='2021-09-28 03:14:00.272544', time_epoch_executed='1632824040.27' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1483'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/151035

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/151035/ft1_4FGL_J2203.3-5009_daily_bin1483.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/151035/ft2_4FGL_J2203.3-5009_daily_bin1483.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/151035/ft1_4FGL_J2203.3-5009_daily_bin1483.fits outfile=/scratch/kocevski/151035/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1483.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=623721601.0 tmax=623980801.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 5.19
user 4.93
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/151035/ft2_4FGL_J2203.3-5009_daily_bin1483.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/151035/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1483.fits evtable="EVENTS" outfile="/scratch/kocevski/151035/ft1_filtered_4FGL_J2203.3-5009_daily_bin1483.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/151035/ft1_filtered_4FGL_J2203.3-5009_daily_bin1483.fits" evtable="EVENTS" scfile=/scratch/kocevski/151035/ft2_4FGL_J2203.3-5009_daily_bin1483.fits sctable="SC_DATA" outfile=/scratch/kocevski/151035/ltcube_623721601_623980801_4FGL_J2203.3-5009_daily_bin1483.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/151035/ft2_4FGL_J2203.3-5009_daily_bin1483.fits
.....................!
real 13.10
user 12.74
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/151035/ft1_filtered_4FGL_J2203.3-5009_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/151035/ft2_4FGL_J2203.3-5009_daily_bin1483.fits sctable="SC_DATA" expcube=/scratch/kocevski/151035/ltcube_623721601_623980801_4FGL_J2203.3-5009_daily_bin1483.fits outfile=/scratch/kocevski/151035/expmap_623721601_623980801_4FGL_J2203.3-5009_daily_bin1483.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/151035/ltcube_623721601_623980801_4FGL_J2203.3-5009_daily_bin1483.fits
.....................!
real 190.60
user 185.05
sys 5.19

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/151035/ft1_filtered_4FGL_J2203.3-5009_daily_bin1483.fits scfile=/scratch/kocevski/151035/ft2_4FGL_J2203.3-5009_daily_bin1483.fits outfile=/scratch/kocevski/151035/cmap_623721601_623980801_4FGL_J2203.3-5009_daily_bin1483.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/151035/ft1_filtered_4FGL_J2203.3-5009_daily_bin1483.fits scfile=/scratch/kocevski/151035/ft2_4FGL_J2203.3-5009_daily_bin1483.fits outfile=/scratch/kocevski/151035/cmap_HighResolution_623721601_623980801_4FGL_J2203.3-5009_daily_bin1483.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.53
user 0.35
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4692       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.6151       1.0000         .10000E-03   10000.    
     3 'norm      '    12.319       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9924       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8952       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    37.254       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .88438E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .74271E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.545       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.2132       1.0000         .10000E-03   10000.    
    17 'Prefactor '    41.920       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12219       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15286E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.3113       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10870E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.8073       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .66475       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=   5110.922     FROM MIGRAD    STATUS=CONVERGED    686 CALLS     3666 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4691        5.1163        .11485E-06   -.45434E-04
   2  Prefactor     7.6142        24.714        .11945E-05    .27029E-05
   3  norm          12.319        4.0549        .42750E-07   -.93222E-04
   4  Prefactor     4.9942        119.94        .39050E-05    .62454E-05
   5  Prefactor     1.8940        16.610        .41917E-05    .27276E-03
   6  Prefactor     .10000E-03    31.589        .22882E-06** at limit **
   7  Prefactor     37.245        30.152       -.61616E-06   -.11433E-03
   8  Prefactor     .10000E-03    2.9249        .15056E-06** at limit **
   9  norm          .10000E-03    2.1011        .61673E-07** at limit **
  10  Prefactor     .10000E-03    5.7541        .60217E-07** at limit **
  11  Prefactor     .13285E-03    155.87        .13466E-04** at limit **
  12  Prefactor     .10162E-03    15.330       -.21283E-05** at limit **
  13  Prefactor     .10000E-03    1.7165        .12036E-06** at limit **
  14  Prefactor     29.334        170.59        .67439E-05    .24639E-04
  15  norm          .10000E-03    2.6109        .33830E-07** at limit **
  16  Prefactor     5.2167        6.9183        .66747E-06    .99768E-04
  17  Prefactor     41.903        63.059       -.11548E-05   -.47762E-04
  18  Prefactor     .85586E-01    7.3071        .72065E-06   -.16835E-03
  19  Prefactor     .11262E-03    39.734        .41963E-05** at limit **
  20  Prefactor     .10000E-03    6.7479        .80854E-07** at limit **
  21  Prefactor     .10000E-03    34.577        .45649E-07** at limit **
  22  Prefactor     4.3113        8.5890        .21100E-06   -.15071E-04
  23  Prefactor     .10000E-03    138.07        .95477E-06** at limit **
  24  Prefactor     .10000E-03    6.4873        .35640E-07** at limit **
  25  Normalizat    1.8074        .25023       -.21744E-05   -.57028E-03
  26  Prefactor     .66467        .17248       -.10579E-05   -.58923E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.46906
  Prefactor  = 7.61418
  norm       = 12.3191
  Prefactor  = 4.99421
  Prefactor  = 1.894
  Prefactor  = 0.0001
  Prefactor  = 37.2452
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00013285
  Prefactor  = 0.000101615
  Prefactor  = 0.0001
  Prefactor  = 29.3342
  norm       = 0.0001
  Prefactor  = 5.21665
  Prefactor  = 41.9033
  Prefactor  = 0.0855864
  Prefactor  = 0.000112617
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.31135
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.80738
  Prefactor  = 0.664675
 **********
 **   18 **HESSE 
 **********

 FCN=   5110.922     FROM HESSE     STATUS=OK           484 CALLS     4150 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4691        5.1140        .12812E-03   -1.5161    
   2  Prefactor     7.6142        24.717        .14532E-03   -1.5156    
   3  norm          12.319        4.0564        .79466E-04   -1.5006    
   4  Prefactor     4.9942        120.68        .17998E-03   -1.5261    
   5  Prefactor     1.8940        17.179        .15109E-02   -1.5433    
   6  Prefactor     .10000E-03    31.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     37.245        30.110        .65664E-04   -1.4487    
   8  Prefactor     .10000E-03    2.9565        .11946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.1064        .10122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.7683        .16751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .13285E-03    65.132        .14548       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10162E-03    29.150        .61159E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.7258        .91527E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.334        269.13        .73709E-04   -1.4624    
  15  norm          .10000E-03    2.6114        .11282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.2167        6.9867        .88028E-03   -1.5251    
  17  Prefactor     41.903        62.979        .61914E-04   -1.4412    
  18  Prefactor     .85586E-01    8.3646        .53498E-01   -1.5649    
  19  Prefactor     .11262E-03    38.184        .10642       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.7797        .18130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    34.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.3113        8.5793        .19401E-03   -1.5293    
  23  Prefactor     .10000E-03    144.03        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.4913        .17785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.8074        .29783        .24803E-03   -.69471    
  26  Prefactor     .66467        .20389        .27848E-03   -1.0493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95347e-09
Minuit parameter uncertainties:
  1  5.1143
  2  24.7504
  3  4.05644
  4  49.2106
  5  11.4124
  6  9.93793e-05
  7  30.1221
  8  1.86597e-05
  9  6.61737e-06
  10  1.16381e-05
  11  0.0926116
  12  0.0137294
  13  7.0758e-06
  14  178.778
  15  4.50916e-07
  16  6.98784
  17  63.0792
  18  1.69147
  19  0.043927
  20  8.49668e-06
  21  8.1295e-06
  22  8.58171
  23  0.000604443
  24  6.95649e-06
  25  0.298126
  26  0.20412
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.016e-04  1.373e-02  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:  6.647e-01  2.041e-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.807e+00  2.981e-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: 1.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/151035/likelihoodResults_623721601_623980801_4FGL_J2203.3-5009_daily_bin1483.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) = 5110.9219336
delta logL = -2.37072072196e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5110.92193359
delta logL = -2.36615687754e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96366E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7393       1.0000          .0000       10.000    
     3 'Normalizat'    1.8074       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66468       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=   5110.922     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      272 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89754E-02    23.825        .61544E-01    .26824E-02
   2  Index         2.7589        8.2091        .50000        .43981E-04
   3  Normalizat    1.8073        .75312E-02    .24803E-03   -.33863E-03
   4  Prefactor     .66468        .54814E-02    .27848E-03   -.22151E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00897541
  Index      = 2.75889
  Normalizat = 1.80734
  Prefactor  = 0.664684
 **********
 **   18 **HESSE 
 **********

 FCN=   5110.922     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      311 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89754E-02    17.136        .70694E-01   -1.5689    
   2  Index         2.7589        8.4845        .50000       -.46478    
   3  Normalizat    1.8073        .71392E-02    .49606E-04   -.69472    
   4  Prefactor     .66468        .51962E-02    .11139E-04   -1.0493    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.81898e-10
Minuit parameter uncertainties:
  1  0.780206
  2  20.4664
  3  0.00713923
  4  0.00519619
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/151035': 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) = 5110.9219334
delta logL = -2.17801607505e-06

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  8.975e-03  7.802e-01  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.759e+00  2.047e+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:  6.647e-01  5.196e-03  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.807e+00  7.139e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 330.832 -50.151

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/151035/cmap_HighResolution_623721601_623980801_4FGL_J2203.3-5009_daily_bin1483.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2021-09-28 03:26:24.056162', job_id='151035', GAL2='0.66', fit_tolerance='1e-08', EG2='1.81', EG='1.81', time_epoch_completed='1632824784.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='-2.18e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1483' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:26:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 151035: <4FGL_J2203.3-5009_daily_bin1483> in cluster <slac> Done

Job <4FGL_J2203.3-5009_daily_bin1483> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 03:10:50 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 03:10:51 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:10:51 2021
Terminated at Tue Sep 28 03:26:24 2021
Results reported at Tue Sep 28 03:26:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1483 330.832 -50.1512 623721601 623980801 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 :                                   700.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            934 sec.

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

