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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin375
RA = 330.832, Dec = -50.1512
tmin = 336528001, tmax = 336787201
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='145140', job_status='RUN', time_executed='2021-09-28 02:51:27.605676', time_epoch_executed='1632822687.61' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='375'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145140

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145140/ft1_4FGL_J2203.3-5009_daily_bin375.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145140/ft2_4FGL_J2203.3-5009_daily_bin375.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145140/ft1_4FGL_J2203.3-5009_daily_bin375.fits outfile=/scratch/kocevski/145140/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin375.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=336528001.0 tmax=336787201.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.90
user 5.57
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145140/ft1_filtered_4FGL_J2203.3-5009_daily_bin375.fits" evtable="EVENTS" scfile=/scratch/kocevski/145140/ft2_4FGL_J2203.3-5009_daily_bin375.fits sctable="SC_DATA" outfile=/scratch/kocevski/145140/ltcube_336528001_336787201_4FGL_J2203.3-5009_daily_bin375.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/145140/ft2_4FGL_J2203.3-5009_daily_bin375.fits
.....................!
real 11.75
user 11.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145140/ft1_filtered_4FGL_J2203.3-5009_daily_bin375.fits evtable="EVENTS" scfile=/scratch/kocevski/145140/ft2_4FGL_J2203.3-5009_daily_bin375.fits sctable="SC_DATA" expcube=/scratch/kocevski/145140/ltcube_336528001_336787201_4FGL_J2203.3-5009_daily_bin375.fits outfile=/scratch/kocevski/145140/expmap_336528001_336787201_4FGL_J2203.3-5009_daily_bin375.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/145140/ltcube_336528001_336787201_4FGL_J2203.3-5009_daily_bin375.fits
.....................!
real 191.24
user 185.69
sys 4.97

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/145140/ft1_filtered_4FGL_J2203.3-5009_daily_bin375.fits scfile=/scratch/kocevski/145140/ft2_4FGL_J2203.3-5009_daily_bin375.fits outfile=/scratch/kocevski/145140/cmap_336528001_336787201_4FGL_J2203.3-5009_daily_bin375.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145140/ft1_filtered_4FGL_J2203.3-5009_daily_bin375.fits scfile=/scratch/kocevski/145140/ft2_4FGL_J2203.3-5009_daily_bin375.fits outfile=/scratch/kocevski/145140/cmap_HighResolution_336528001_336787201_4FGL_J2203.3-5009_daily_bin375.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/145140/ft1_filtered_4FGL_J2203.3-5009_daily_bin375.fits evtable="EVENTS" scfile=/scratch/kocevski/145140/ft2_4FGL_J2203.3-5009_daily_bin375.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145140/Model_4FGL_J2203.3-5009_daily_bin375.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/145140/ft1_filtered_4FGL_J2203.3-5009_daily_bin375.fits.....................!
real 62.82
user 61.50
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2537       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.2341       1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.310       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.9717       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.6960       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10367E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.181       1.0000         .10000E-03   10000.    
     9 'norm      '    6.2908       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.3592       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.274       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5691       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5782       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .88379E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.0129       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.5470       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10369E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .31452E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0355       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .98302       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=   8649.036     FROM MIGRAD    STATUS=CONVERGED    625 CALLS     2681 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2484        3.5199        .57667E-06    .54866E-03
   2  Prefactor     .10000E-03    8.0459        .12512E-07** at limit **
   3  norm          6.2330        2.0710        .50912E-07    .46200E-04
   4  Prefactor     39.328        33.908        .56821E-06    .16994E-03
   5  Prefactor     3.9741        5.5473        .77915E-06    .43472E-03
   6  Prefactor     6.6990        22.618        .20754E-06    .14555E-04
   7  Prefactor     .10000E-03    13.342       -.82784E-06** at limit **
   8  Prefactor     10.180        4.5769       -.13071E-07   -.33745E-03
   9  norm          6.2887        4.7066        .22876E-06    .20768E-03
  10  Prefactor     4.3596        5.4597        .35822E-06    .23259E-03
  11  Prefactor     25.294        26.933       -.51956E-07    .24082E-04
  12  Prefactor     2.5810        5.5887        .10372E-05    .36535E-03
  13  Prefactor     3.5791        3.6026        .41958E-06    .40426E-03
  14  Prefactor     .10004E-03    184.02       -.56361E-05** at limit **
  15  norm          .10002E-03    3.2565        .55368E-06** at limit **
  16  Prefactor     2.0141        3.3757        .12217E-05    .91420E-03
  17  Prefactor     .10000E-03    14.532        .66899E-07** at limit **
  18  Prefactor     3.5552        5.3172        .82545E-06    .32589E-03
  19  Prefactor     .10000E-03    15.229        .86841E-06** at limit **
  20  Prefactor     .10000E-03    5.2491        .52295E-08** at limit **
  21  Prefactor     .10000E-03    23.552       -.44361E-06** at limit **
  22  Prefactor     .10000E-03    10.174        .29575E-06** at limit **
  23  Prefactor     .10000E-03    22.946       -.18745E-06** at limit **
  24  Prefactor     .10099E-03    28.177        .63081E-05** at limit **
  25  Normalizat    1.0350        .17046       -.79821E-06   -.30428E-03
  26  Prefactor     .98333        .12378       -.58231E-06   -.42199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.24837
  Prefactor  = 0.0001
  norm       = 6.23299
  Prefactor  = 39.328
  Prefactor  = 3.97414
  Prefactor  = 6.69902
  Prefactor  = 0.000100002
  Prefactor  = 10.1802
  norm       = 6.28868
  Prefactor  = 4.35962
  Prefactor  = 25.2942
  Prefactor  = 2.58098
  Prefactor  = 3.5791
  Prefactor  = 0.000100044
  norm       = 0.000100016
  Prefactor  = 2.01405
  Prefactor  = 0.0001
  Prefactor  = 3.55521
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010099
  Normalizat = 1.03501
  Prefactor  = 0.983333
 **********
 **   18 **HESSE 
 **********

 FCN=   8649.036     FROM HESSE     STATUS=OK           468 CALLS     3149 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2484        3.5418        .17430E-03   -1.5347    
   2  Prefactor     .10000E-03    8.0757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.2330        2.0709        .73994E-04   -1.5209    
   4  Prefactor     39.328        34.098        .63929E-04   -1.4453    
   5  Prefactor     3.9741        5.5684        .20239E-03   -1.5309    
   6  Prefactor     6.6990        22.459        .15507E-03   -1.5190    
   7  Prefactor     .10000E-03    13.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.180        4.5797        .12558E-03   -1.5070    
   9  norm          6.2887        4.6833        .15434E-03   -1.5206    
  10  Prefactor     4.3596        5.4595        .19292E-03   -1.5290    
  11  Prefactor     25.294        26.934        .79681E-04   -1.4702    
  12  Prefactor     2.5810        5.6115        .25467E-03   -1.5387    
  13  Prefactor     3.5791        3.6138        .16693E-03   -1.5330    
  14  Prefactor     .10004E-03    191.80        .41683E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10002E-03    3.1918        .61811E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.0141        3.4426        .21301E-03   -1.5424    
  17  Prefactor     .10000E-03    14.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.5552        5.3479        .21462E-03   -1.5331    
  19  Prefactor     .10000E-03    15.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.2848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    23.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.469        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    23.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10099E-03    80.776        .55095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0350        .20009        .27711E-03   -.91867    
  26  Prefactor     .98333        .14596        .21637E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41759e-08
Minuit parameter uncertainties:
  1  3.54203
  2  3.19048e-06
  3  2.07096
  4  34.1147
  5  5.56917
  6  22.4875
  7  0.000320625
  8  4.57983
  9  4.68356
  10  5.46016
  11  26.9465
  12  5.61262
  13  3.61401
  14  0.00584289
  15  0.000450203
  16  3.44297
  17  2.8435e-05
  18  5.34863
  19  0.000345154
  20  1.84215e-06
  21  0.000217463
  22  7.82114e-05
  23  8.19439e-05
  24  0.0179124
  25  0.200238
  26  0.146017
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  9.833e-01  1.460e-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.035e+00  2.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.26
Ra Dec: 330.832 -50.151
Photon Flux Upper Limit: 8.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/145140/likelihoodResults_336528001_336787201_4FGL_J2203.3-5009_daily_bin375.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8648.95392168
delta logL = 0.0825490616826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8648.95028541
delta logL = 0.0861853355764

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8543       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2111       1.0000          .0000       10.000    
     3 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97924       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8648.950     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      238 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8520        6.6696        .51388E-02    .30829E-03
   2  Index         2.2120        1.0383        .24701E-01   -.25563E-03
   3  Normalizat    1.0400        .15880        .62518E-01    .18038E-04
   4  Prefactor     .97923        .12165        .46007E-01    .92272E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.85196
  Index      = 2.212
  Normalizat = 1.03997
  Prefactor  = 0.979228
 **********
 **   18 **HESSE 
 **********

 FCN=   8648.950     FROM HESSE     STATUS=OK            31 CALLS      269 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8520        6.5880        .20555E-03   -1.5315    
   2  Index         2.2120        1.0300        .49401E-02   -.59149    
   3  Normalizat    1.0400        .18589        .27651E-03   -.91703    
   4  Prefactor     .97923        .14248        .21675E-03   -.93425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49335e-12
Minuit parameter uncertainties:
  1  6.58925
  2  1.0409
  3  0.186006
  4  0.142538
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145140': 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) = 8648.950285
delta logL = 0.0861857385808

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  3.852e+00  6.589e+00  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.212e+00  1.041e+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:  9.792e-01  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:  1.040e+00  1.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
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/145140/cmap_HighResolution_336528001_336787201_4FGL_J2203.3-5009_daily_bin375.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.34e-03', job_status='DONE', photon_flux_upper_limit='8.03e-08', time_completed='2021-09-28 03:05:42.707321', job_id='145140', GAL2='0.98', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1632823542.71', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='8.62e-02', ts2='0.43', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='375' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:05:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 145140: <4FGL_J2203.3-5009_daily_bin375> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin375 330.832 -50.1512 336528001 336787201 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 :                                   849.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            907 sec.

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

