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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1383
RA = 330.832, Dec = -50.1512
tmin = 597801601, tmax = 598060801
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='150877', job_status='RUN', time_executed='2021-09-28 03:11:09.776333', time_epoch_executed='1632823869.78' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1383'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/150877

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/150877/ft1_4FGL_J2203.3-5009_daily_bin1383.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/150877/ft2_4FGL_J2203.3-5009_daily_bin1383.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/150877/ft1_4FGL_J2203.3-5009_daily_bin1383.fits outfile=/scratch/kocevski/150877/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1383.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=597801601.0 tmax=598060801.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.62
user 3.37
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/150877/ft1_filtered_4FGL_J2203.3-5009_daily_bin1383.fits" evtable="EVENTS" scfile=/scratch/kocevski/150877/ft2_4FGL_J2203.3-5009_daily_bin1383.fits sctable="SC_DATA" outfile=/scratch/kocevski/150877/ltcube_597801601_598060801_4FGL_J2203.3-5009_daily_bin1383.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/150877/ft2_4FGL_J2203.3-5009_daily_bin1383.fits
.....................!
real 12.12
user 11.79
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/150877/ft1_filtered_4FGL_J2203.3-5009_daily_bin1383.fits evtable="EVENTS" scfile=/scratch/kocevski/150877/ft2_4FGL_J2203.3-5009_daily_bin1383.fits sctable="SC_DATA" expcube=/scratch/kocevski/150877/ltcube_597801601_598060801_4FGL_J2203.3-5009_daily_bin1383.fits outfile=/scratch/kocevski/150877/expmap_597801601_598060801_4FGL_J2203.3-5009_daily_bin1383.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/150877/ltcube_597801601_598060801_4FGL_J2203.3-5009_daily_bin1383.fits
.....................!
real 191.26
user 184.92
sys 5.93

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/150877/ft1_filtered_4FGL_J2203.3-5009_daily_bin1383.fits scfile=/scratch/kocevski/150877/ft2_4FGL_J2203.3-5009_daily_bin1383.fits outfile=/scratch/kocevski/150877/cmap_597801601_598060801_4FGL_J2203.3-5009_daily_bin1383.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.57
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/150877/ft1_filtered_4FGL_J2203.3-5009_daily_bin1383.fits scfile=/scratch/kocevski/150877/ft2_4FGL_J2203.3-5009_daily_bin1383.fits outfile=/scratch/kocevski/150877/cmap_HighResolution_597801601_598060801_4FGL_J2203.3-5009_daily_bin1383.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/150877/ft1_filtered_4FGL_J2203.3-5009_daily_bin1383.fits evtable="EVENTS" scfile=/scratch/kocevski/150877/ft2_4FGL_J2203.3-5009_daily_bin1383.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/150877/Model_4FGL_J2203.3-5009_daily_bin1383.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/150877/ft1_filtered_4FGL_J2203.3-5009_daily_bin1383.fits.....................!
real 55.64
user 54.21
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8991       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.3078       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.600       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1684       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2764       1.0000         .10000E-03   10000.    
     9 'norm      '    3.5814       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21496E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.0079       1.0000         .10000E-03   10000.    
    14 'Prefactor '    86.703       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .71958       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   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 '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    36.347       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .90944       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0060       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=   7839.675     FROM MIGRAD    STATUS=CONVERGED    625 CALLS     3071 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8994        3.7026        .23892E-06    .24738E-03
   2  Prefactor     .10000E-03    4.3890        .28646E-06** at limit **
   3  norm          7.3079        2.3048        .20127E-07   -.39850E-04
   4  Prefactor     .10000E-03    12.399        .56073E-07** at limit **
   5  Prefactor     11.599        5.8023        .46828E-07   -.22621E-04
   6  Prefactor     .10000E-03    39.976        .15611E-05** at limit **
   7  Prefactor     3.1695        37.487        .56740E-06   -.11430E-04
   8  Prefactor     2.2763        2.6974        .12791E-06   -.71537E-04
   9  norm          3.5776        4.1049        .30555E-06   -.12829E-03
  10  Prefactor     .10001E-03    3.5401       -.13612E-06** at limit **
  11  Prefactor     .10000E-03    25.773        .12593E-06** at limit **
  12  Prefactor     .10000E-03    2.7521       -.20779E-06** at limit **
  13  Prefactor     5.0079        3.0699        .69724E-06   -.61845E-03
  14  Prefactor     86.684        69.524       -.26492E-05   -.15453E-03
  15  norm          .10000E-03    3.3547       -.32170E-07** at limit **
  16  Prefactor     .71965        1.9130        .50620E-06   -.21788E-03
  17  Prefactor     .10000E-03    33.461       -.57229E-06** at limit **
  18  Prefactor     .10000E-03    5.9960       -.42931E-07** at limit **
  19  Prefactor     .10000E-03    10.343       -.84990E-07** at limit **
  20  Prefactor     .10000E-03    4.0021       -.72095E-07** at limit **
  21  Prefactor     .10000E-03    33.082       -.70011E-06** at limit **
  22  Prefactor     .10000E-03    1.3793        .14301E-08** at limit **
  23  Prefactor     36.353        29.735        .41204E-06    .54360E-04
  24  Prefactor     .10000E-03    4.5469       -.20237E-06** at limit **
  25  Normalizat    .90947        .15675       -.29201E-06   -.80178E-04
  26  Prefactor     1.0060        .12403       -.20259E-06   -.50424E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.89942
  Prefactor  = 0.0001
  norm       = 7.30786
  Prefactor  = 0.0001
  Prefactor  = 11.5994
  Prefactor  = 0.000100001
  Prefactor  = 3.16952
  Prefactor  = 2.27629
  norm       = 3.57764
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.00788
  Prefactor  = 86.6836
  norm       = 0.0001
  Prefactor  = 0.719649
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.3526
  Prefactor  = 0.0001
  Normalizat = 0.909465
  Prefactor  = 1.00596
 **********
 **   18 **HESSE 
 **********

 FCN=   7839.675     FROM HESSE     STATUS=OK           456 CALLS     3527 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8994        3.7180        .13091E-03   -1.5222    
   2  Prefactor     .10000E-03    4.4092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.3079        2.3051        .72849E-04   -1.5167    
   4  Prefactor     .10000E-03    12.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.599        5.7999        .11762E-03   -1.5027    
   6  Prefactor     .10000E-03    41.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.1695        37.334        .22769E-03   -1.5352    
   8  Prefactor     2.2763        2.6837        .15246E-03   -1.5406    
   9  norm          3.5776        4.0803        .18283E-03   -1.5330    
  10  Prefactor     .10001E-03    63.675        .31993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    25.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.7640        .14321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.0079        3.1570        .59746E-03   -1.5260    
  14  Prefactor     86.684        72.838        .43146E-04   -1.3843    
  15  norm          .10000E-03    3.3828        .15837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .71965        1.9975        .18935E-02   -1.5538    
  17  Prefactor     .10000E-03    33.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.2307        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.0281        .17297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    33.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.3809        .10155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     36.353        29.822        .66475E-04   -1.4501    
  24  Prefactor     .10000E-03    4.5668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .90947        .17827        .26415E-03   -.96128    
  26  Prefactor     1.0060        .14256        .20431E-03   -.92531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33583e-08
Minuit parameter uncertainties:
  1  3.71814
  2  2.01905e-05
  3  2.3051
  4  4.83729e-06
  5  5.80017
  6  0.000329446
  7  21.7727
  8  2.6838
  9  4.08066
  10  0.00188493
  11  6.64753e-05
  12  1.07535e-05
  13  3.15712
  14  72.913
  15  7.61545e-07
  16  1.99772
  17  0.000117396
  18  6.28355e-06
  19  2.09559e-06
  20  4.25966e-06
  21  0.000154552
  22  8.36932e-08
  23  29.8337
  24  1.72805e-05
  25  0.178382
  26  0.142616
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.000e-04  1.075e-05  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.006e+00  1.426e-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.095e-01  1.784e-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.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/150877/likelihoodResults_597801601_598060801_4FGL_J2203.3-5009_daily_bin1383.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) = 7839.67624886
delta logL = -0.00172401850978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7839.6745247
delta logL = 1.37936694955e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7234       1.0000          .0000       10.000    
     3 'Normalizat'    .90946       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0059       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=   7839.675     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      251 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.627        .14469E-01** at limit **
   2  Index         2.2598        8.8699        .50000        .26796E-06
   3  Normalizat    .90947        .10130E-01    .26415E-03    .25522E-03
   4  Prefactor     1.0060        .82440E-02    .20431E-03    .35342E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.25982
  Normalizat = 0.909466
  Prefactor  = 1.00596
 **********
 **   18 **HESSE 
 **********

 FCN=   7839.675     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    216.46        .15595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2598        6.4729        .50000       -.58001    
   3  Normalizat    .90947        .34291E-01    .10566E-04   -.96128    
   4  Prefactor     1.0060        .27908E-01    .40863E-04   -.92531    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.21218e-09
Minuit parameter uncertainties:
  1  0.000110405
  2  799.226
  3  0.0342916
  4  0.027908
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/150877': 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) = 7839.67452188
delta logL = 2.96168036584e-06

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.000e-04  1.104e-04  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.260e+00  7.992e+02  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.006e+00  2.791e-02  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.095e-01  3.429e-02  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/150877/cmap_HighResolution_597801601_598060801_4FGL_J2203.3-5009_daily_bin1383.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-03', job_status='DONE', photon_flux_upper_limit='5.50e-08', time_completed='2021-09-28 03:25:09.408515', job_id='150877', GAL2='1.01', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632824709.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.96e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1383' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:25:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 150877: <4FGL_J2203.3-5009_daily_bin1383> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1383 330.832 -50.1512 597801601 598060801 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 :                                   832.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             286.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            877 sec.

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

