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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1014
RA = 330.832, Dec = -50.1512
tmin = 502156801, tmax = 502416001
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='149281', job_status='RUN', time_executed='2021-09-28 03:06:41.598390', time_epoch_executed='1632823601.6' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1014'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/149281

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/149281/ft1_4FGL_J2203.3-5009_daily_bin1014.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/149281/ft2_4FGL_J2203.3-5009_daily_bin1014.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/149281/ft1_4FGL_J2203.3-5009_daily_bin1014.fits outfile=/scratch/kocevski/149281/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1014.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=502156801.0 tmax=502416001.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.08
user 3.83
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/149281/ft1_filtered_4FGL_J2203.3-5009_daily_bin1014.fits" evtable="EVENTS" scfile=/scratch/kocevski/149281/ft2_4FGL_J2203.3-5009_daily_bin1014.fits sctable="SC_DATA" outfile=/scratch/kocevski/149281/ltcube_502156801_502416001_4FGL_J2203.3-5009_daily_bin1014.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/149281/ft2_4FGL_J2203.3-5009_daily_bin1014.fits
.....................!
real 13.82
user 13.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/149281/ft1_filtered_4FGL_J2203.3-5009_daily_bin1014.fits evtable="EVENTS" scfile=/scratch/kocevski/149281/ft2_4FGL_J2203.3-5009_daily_bin1014.fits sctable="SC_DATA" expcube=/scratch/kocevski/149281/ltcube_502156801_502416001_4FGL_J2203.3-5009_daily_bin1014.fits outfile=/scratch/kocevski/149281/expmap_502156801_502416001_4FGL_J2203.3-5009_daily_bin1014.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/149281/ltcube_502156801_502416001_4FGL_J2203.3-5009_daily_bin1014.fits
.....................!
real 191.74
user 186.23
sys 5.16

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 178 point sources and 0 extended sources

Setting source of interest to:
4FGL J2203.3-5009 @ 330.832 -50.1512

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/149281/ft1_filtered_4FGL_J2203.3-5009_daily_bin1014.fits scfile=/scratch/kocevski/149281/ft2_4FGL_J2203.3-5009_daily_bin1014.fits outfile=/scratch/kocevski/149281/cmap_502156801_502416001_4FGL_J2203.3-5009_daily_bin1014.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/149281/ft1_filtered_4FGL_J2203.3-5009_daily_bin1014.fits scfile=/scratch/kocevski/149281/ft2_4FGL_J2203.3-5009_daily_bin1014.fits outfile=/scratch/kocevski/149281/cmap_HighResolution_502156801_502416001_4FGL_J2203.3-5009_daily_bin1014.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/149281/ft1_filtered_4FGL_J2203.3-5009_daily_bin1014.fits evtable="EVENTS" scfile=/scratch/kocevski/149281/ft2_4FGL_J2203.3-5009_daily_bin1014.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/149281/Model_4FGL_J2203.3-5009_daily_bin1014.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/149281/ft1_filtered_4FGL_J2203.3-5009_daily_bin1014.fits.....................!
real 58.91
user 57.25
sys 1.45

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0731       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.958       1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7582       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2372       1.0000         .10000E-03   10000.    
     9 'norm      '    10.313       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9970       1.0000         .10000E-03   10000.    
    11 'Prefactor '    43.818       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2473       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2894       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .64096       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .27608E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.0058       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .17812E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .91182       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0671       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=   8089.992     FROM MIGRAD    STATUS=CONVERGED    625 CALLS     3112 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0730        4.0083       -.53027E-06    .21058E-04
   2  Prefactor     11.953        17.366        .26094E-06    .20018E-04
   3  norm          .10000E-03    .62837       -.26605E-07** at limit **
   4  Prefactor     .10000E-03    27.351       -.13934E-04** at limit **
   5  Prefactor     1.7533        2.0287        .36179E-06   -.12654E-02
   6  Prefactor     .10000E-03    22.082        .23446E-06** at limit **
   7  Prefactor     .10000E-03    7.1259       -.11987E-06** at limit **
   8  Prefactor     7.2374        4.0990        .16859E-07   -.43229E-03
   9  norm          10.314        4.2298        .36970E-06    .19168E-04
  10  Prefactor     2.9968        4.8961       -.97017E-06   -.51141E-04
  11  Prefactor     43.813        31.112       -.26086E-05   -.94844E-06
  12  Prefactor     .10000E-03    2.3739        .18286E-07** at limit **
  13  Prefactor     2.2472        2.1986       -.25418E-07    .61477E-06
  14  Prefactor     .10000E-03    21.369        .55887E-05** at limit **
  15  norm          .10000E-03    2.2231        .89947E-09** at limit **
  16  Prefactor     2.2889        2.4529        .37760E-07    .27318E-04
  17  Prefactor     .10000E-03    13.562        .81877E-07** at limit **
  18  Prefactor     .62799        2.3743       -.17035E-06    .13003E-03
  19  Prefactor     .10000E-03    8.7870        .36126E-05** at limit **
  20  Prefactor     .10001E-03    5.0942       -.67061E-06** at limit **
  21  Prefactor     .10000E-03    36.560        .13511E-04** at limit **
  22  Prefactor     3.0050        5.1496       -.20581E-05   -.55056E-04
  23  Prefactor     .10000E-03    73.657       -.61693E-05** at limit **
  24  Prefactor     .10000E-03    8.8823       -.36764E-05** at limit **
  25  Normalizat    .91203        .16257        .65826E-06    .13289E-03
  26  Prefactor     1.0670        .12646        .44018E-08    .19485E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.07297
  Prefactor  = 11.9527
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.75328
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.23738
  norm       = 10.3136
  Prefactor  = 2.99682
  Prefactor  = 43.8132
  Prefactor  = 0.0001
  Prefactor  = 2.24718
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.28892
  Prefactor  = 0.0001
  Prefactor  = 0.627986
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 3.00505
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.91203
  Prefactor  = 1.06701
 **********
 **   18 **HESSE 
 **********

 FCN=   8089.992     FROM HESSE     STATUS=OK           458 CALLS     3570 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0730        4.0088        .12984E-03   -1.5176    
   2  Prefactor     11.953        17.355        .11585E-03   -1.5016    
   3  norm          .10000E-03    .64510        .13918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    27.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7533        6.9002        .15803E-02   -1.5443    
   6  Prefactor     .10000E-03    22.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.1365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.2374        4.0922        .64937E-03   -1.5170    
   9  norm          10.314        4.2300        .11435E-03   -1.5066    
  10  Prefactor     2.9968        4.8881        .23448E-03   -1.5362    
  11  Prefactor     43.813        31.159        .60564E-04   -1.4383    
  12  Prefactor     .10000E-03    2.3866        .13527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2472        2.1911        .12772E-03   -1.5408    
  14  Prefactor     .10000E-03    21.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.2286        .13097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2889        2.4416        .13991E-03   -1.5405    
  17  Prefactor     .10000E-03    13.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .62799        8.3660        .25129E-02   -1.5549    
  19  Prefactor     .10000E-03    8.8048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    27.741        .39007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    36.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.0050        5.1499        .23411E-03   -1.5361    
  23  Prefactor     .10000E-03    75.844        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.0157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .91203        .18581        .27074E-03   -.96039    
  26  Prefactor     1.0670        .14499        .20414E-03   -.90528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7616e-09
Minuit parameter uncertainties:
  1  4.00897
  2  17.3622
  3  7.0093e-07
  4  2.59163e-05
  5  6.90333
  6  4.21621e-05
  7  4.42412e-08
  8  4.09236
  9  4.23016
  10  4.88874
  11  31.1704
  12  5.81327e-06
  13  2.19121
  14  1.99021e-05
  15  2.79862e-07
  16  2.44175
  17  3.95454e-06
  18  4.58463
  19  6.04193e-06
  20  0.00113691
  21  4.26012e-05
  22  5.1507
  23  0.000117429
  24  9.71788e-06
  25  0.185944
  26  0.145043
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.000e-04  5.813e-06  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.067e+00  1.450e-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:  9.120e-01  1.859e-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: 5.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/149281/likelihoodResults_502156801_502416001_4FGL_J2203.3-5009_daily_bin1014.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) = 8089.99433815
delta logL = -0.00199333575438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8089.99234465
delta logL = 1.65846358868e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7254       1.0000          .0000       10.000    
     3 'Normalizat'    .91203       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0670       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=   8089.992     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      239 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    3.1808        .13635E-02** at limit **
   2  Index         2.7115        6.3526        .50000        .52805E-04
   3  Normalizat    .91203        .17496        .27074E-03   -.13101E-04
   4  Prefactor     1.0670        .14238        .20414E-03   -.27567E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Index      = 2.71155
  Normalizat = 0.91203
  Prefactor  = 1.06701
 **********
 **   18 **HESSE 
 **********

 FCN=   8089.992     FROM HESSE     STATUS=OK            29 CALLS      268 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    2.4463        .27271E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7115        6.3455        .50000       -.47540    
   3  Normalizat    .91203        .17511        .10830E-04   -.96039    
   4  Prefactor     1.0670        .14250        .81656E-05   -.90528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0888e-09
Minuit parameter uncertainties:
  1  0.000257882
  2  4.46713
  3  0.175219
  4  0.142548
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/149281': 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) = 8089.99234449
delta logL = 3.28623173118e-07

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.000e-04  2.579e-04  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.712e+00  4.467e+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.067e+00  1.425e-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:  9.120e-01  1.752e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/149281/cmap_HighResolution_502156801_502416001_4FGL_J2203.3-5009_daily_bin1014.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.00e-03', job_status='DONE', photon_flux_upper_limit='5.06e-08', time_completed='2021-09-28 03:21:00.696060', job_id='149281', GAL2='1.07', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632824460.7', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='3.29e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1014' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:21:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 149281: <4FGL_J2203.3-5009_daily_bin1014> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1014 330.832 -50.1512 502156801 502416001 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 :                                   856.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            937 sec.

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

