/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 20 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1253
RA = 330.832, Dec = -50.1512
tmin = 564105601, tmax = 564364801
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='149660', job_status='RUN', time_executed='2021-09-28 03:06:30.516534', time_epoch_executed='1632823590.52' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/149660

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/149660/ft1_4FGL_J2203.3-5009_daily_bin1253.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/149660/ft2_4FGL_J2203.3-5009_daily_bin1253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/149660/ft1_4FGL_J2203.3-5009_daily_bin1253.fits outfile=/scratch/kocevski/149660/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1253.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=564105601.0 tmax=564364801.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.34
user 3.04
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/149660/ft1_filtered_4FGL_J2203.3-5009_daily_bin1253.fits" evtable="EVENTS" scfile=/scratch/kocevski/149660/ft2_4FGL_J2203.3-5009_daily_bin1253.fits sctable="SC_DATA" outfile=/scratch/kocevski/149660/ltcube_564105601_564364801_4FGL_J2203.3-5009_daily_bin1253.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/149660/ft2_4FGL_J2203.3-5009_daily_bin1253.fits
.....................!
real 11.62
user 11.24
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/149660/ft1_filtered_4FGL_J2203.3-5009_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/149660/ft2_4FGL_J2203.3-5009_daily_bin1253.fits sctable="SC_DATA" expcube=/scratch/kocevski/149660/ltcube_564105601_564364801_4FGL_J2203.3-5009_daily_bin1253.fits outfile=/scratch/kocevski/149660/expmap_564105601_564364801_4FGL_J2203.3-5009_daily_bin1253.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/149660/ltcube_564105601_564364801_4FGL_J2203.3-5009_daily_bin1253.fits
.....................!
real 191.19
user 186.02
sys 4.86

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/149660/ft1_filtered_4FGL_J2203.3-5009_daily_bin1253.fits scfile=/scratch/kocevski/149660/ft2_4FGL_J2203.3-5009_daily_bin1253.fits outfile=/scratch/kocevski/149660/cmap_564105601_564364801_4FGL_J2203.3-5009_daily_bin1253.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.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/149660/ft1_filtered_4FGL_J2203.3-5009_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/149660/ft2_4FGL_J2203.3-5009_daily_bin1253.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/149660/Model_4FGL_J2203.3-5009_daily_bin1253.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/149660/ft1_filtered_4FGL_J2203.3-5009_daily_bin1253.fits.....................!
real 28.22
user 26.98
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    12.960       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10621E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.832       1.0000         .10000E-03   10000.    
     6 'Prefactor '    35.196       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.4765       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.827       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7245       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10493E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .57905       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.4992       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13803E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.270       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    84.574       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0966       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .81944       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=   2652.857     FROM MIGRAD    STATUS=CONVERGED    645 CALLS     3161 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7736        .82976E-07** at limit **
   2  Prefactor     .10000E-03    28.479        .10358E-05** at limit **
   3  norm          12.959        5.4120       -.54605E-07   -.52261E-04
   4  Prefactor     .10000E-03    132.63       -.14692E-05** at limit **
   5  Prefactor     16.833        16.912       -.33276E-06   -.71095E-04
   6  Prefactor     35.248        51.811       -.25198E-07   -.44092E-04
   7  Prefactor     .10000E-03    25.035       -.77745E-06** at limit **
   8  Prefactor     .10015E-03    20.799        .27073E-05** at limit **
   9  norm          4.4737        6.7246       -.89959E-06   -.44185E-03
  10  Prefactor     12.827        15.483       -.19553E-06   -.72910E-05
  11  Prefactor     .10000E-03    110.53        .77885E-06** at limit **
  12  Prefactor     .10000E-03    10.481       -.94111E-06** at limit **
  13  Prefactor     9.7279        8.6406        .46894E-06    .67949E-03
  14  Prefactor     .10000E-03    125.62       -.16939E-05** at limit **
  15  norm          .57373        33.039       -.64690E-05    .28499E-03
  16  Prefactor     8.5014        8.8291       -.18492E-05   -.75031E-03
  17  Prefactor     .10000E-03    39.143       -.23097E-05** at limit **
  18  Prefactor     .10000E-03    4.5617        .20400E-06** at limit **
  19  Prefactor     .10075E-03    782.61       -.16304E-04** at limit **
  20  Prefactor     18.265        20.310       -.23259E-05   -.17448E-03
  21  Prefactor     .10000E-03    213.73        .28985E-06** at limit **
  22  Prefactor     .10000E-03    5.5465       -.30224E-06** at limit **
  23  Prefactor     84.548        86.479       -.94404E-06    .19695E-04
  24  Prefactor     .10000E-03    9.4796        .27712E-06** at limit **
  25  Normalizat    1.0962        .32272        .61570E-05    .14953E-03
  26  Prefactor     .81976        .22604       -.30115E-05    .10143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 12.9594
  Prefactor  = 0.000100003
  Prefactor  = 16.8331
  Prefactor  = 35.2484
  Prefactor  = 0.000100001
  Prefactor  = 0.000100155
  norm       = 4.47365
  Prefactor  = 12.8271
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 9.72789
  Prefactor  = 0.000100002
  norm       = 0.57373
  Prefactor  = 8.50135
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100747
  Prefactor  = 18.2649
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 84.5485
  Prefactor  = 0.0001
  Normalizat = 1.09616
  Prefactor  = 0.819764
 **********
 **   18 **HESSE 
 **********

 FCN=   2652.857     FROM HESSE     STATUS=OK           460 CALLS     3621 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7968        .97706E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    28.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.959        5.4131        .74435E-04   -1.4988    
   4  Prefactor     .10000E-03    133.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.833        16.856        .97621E-04   -1.4887    
   6  Prefactor     35.248        51.787        .67550E-04   -1.4520    
   7  Prefactor     .10000E-03    25.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10015E-03    52.339        .33760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.4737        6.7741        .15092E-03   -1.5285    
  10  Prefactor     12.827        15.477        .11184E-03   -1.4992    
  11  Prefactor     .10000E-03    111.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.612        .16347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.7279        8.6459        .12850E-03   -1.5084    
  14  Prefactor     .10000E-03    125.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .57373        74.411        .41576E-02   -1.5556    
  16  Prefactor     8.5014        9.0779        .13750E-03   -1.5125    
  17  Prefactor     .10000E-03    39.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.5803        .10741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10075E-03    135.69        .11219       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.265        24.096        .93702E-04   -1.4853    
  21  Prefactor     .10000E-03    213.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.5606        .11853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     84.548        87.278        .43681E-04   -1.3866    
  24  Prefactor     .10000E-03    9.4858        .15493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0962        .36880        .26657E-03   -.89875    
  26  Prefactor     .81976        .25816        .23029E-03   -.99004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.37576e-09
Minuit parameter uncertainties:
  1  5.29823e-06
  2  0.00031046
  3  5.41334
  4  0.0012515
  5  16.8607
  6  51.8536
  7  0.000257262
  8  0.0056952
  9  6.77524
  10  15.4817
  11  0.000377529
  12  0.000182168
  13  8.64698
  14  0.00111463
  15  13.0833
  16  9.07935
  17  0.000811785
  18  2.39927e-05
  19  0.0201846
  20  24.1088
  21  0.000183117
  22  3.84009e-05
  23  87.4111
  24  4.35461e-05
  25  0.36967
  26  0.258542
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.000e-04  1.822e-04  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:  8.198e-01  2.585e-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.096e+00  3.697e-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.65e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.31e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/149660/likelihoodResults_564105601_564364801_4FGL_J2203.3-5009_daily_bin1253.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) = 2652.85763801
delta logL = -0.000448693151156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2652.8571906
delta logL = -1.28181000036e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11419E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7278       1.0000          .0000       10.000    
     3 'Normalizat'    1.0958       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82004       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=   2652.857     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      276 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    288.27        .50449E-01** at limit **
   2  Index         1.3355        8.0303        .50000       -.35301E-06
   3  Normalizat    1.0962        .44052E-01    .26657E-03    .93134E-04
   4  Prefactor     .81977        .33736E-01    .23029E-03    .13245E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.33552
  Normalizat = 1.09615
  Prefactor  = 0.819766
 **********
 **   18 **HESSE 
 **********

 FCN=   2652.857     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      307 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7043.7        .29828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3355        6.8216        .50000       -.82257    
   3  Normalizat    1.0962        .12886        .53315E-04   -.89875    
   4  Prefactor     .81977        .98790E-01    .46058E-04   -.99004    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.14512e-08
Minuit parameter uncertainties:
  1  0.00264739
  2  980.4
  3  0.1289
  4  0.0988116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/149660': 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) = 2652.85718632
delta logL = 2.99899465972e-06

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  1.000e-04  2.647e-03  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  1.336e+00  9.804e+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:  8.198e-01  9.881e-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:  1.096e+00  1.289e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/149660/cmap_HighResolution_564105601_564364801_4FGL_J2203.3-5009_daily_bin1253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', job_status='DONE', photon_flux_upper_limit='1.65e-07', time_completed='2021-09-28 03:14:42.117503', job_id='149660', GAL2='0.82', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1632824082.12', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.00e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1253' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:14:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 149660: <4FGL_J2203.3-5009_daily_bin1253> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1253 330.832 -50.1512 564105601 564364801 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 :                                   488.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   521 sec.
    Turnaround time :                            523 sec.

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

