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


Performing analysis on: 4FGL_J2203.3-5009_daily_bin1272
RA = 330.832, Dec = -50.1512
tmin = 569030401, tmax = 569289601
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='150685', job_status='RUN', time_executed='2021-09-28 03:11:29.802854', time_epoch_executed='1632823889.8' WHERE source_name='4FGL J2203.3-5009' and cadence='daily' and bin_id='1272'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/150685

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/150685/ft1_4FGL_J2203.3-5009_daily_bin1272.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/150685/ft2_4FGL_J2203.3-5009_daily_bin1272.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/150685/ft1_4FGL_J2203.3-5009_daily_bin1272.fits outfile=/scratch/kocevski/150685/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1272.fits ra=330.832 dec=-50.1512 rad=12.0 tmin=569030401.0 tmax=569289601.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.61
user 3.37
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/150685/ft2_4FGL_J2203.3-5009_daily_bin1272.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/150685/ft1_filteredMKT_4FGL_J2203.3-5009_daily_bin1272.fits evtable="EVENTS" outfile="/scratch/kocevski/150685/ft1_filtered_4FGL_J2203.3-5009_daily_bin1272.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/150685/ft1_filtered_4FGL_J2203.3-5009_daily_bin1272.fits" evtable="EVENTS" scfile=/scratch/kocevski/150685/ft2_4FGL_J2203.3-5009_daily_bin1272.fits sctable="SC_DATA" outfile=/scratch/kocevski/150685/ltcube_569030401_569289601_4FGL_J2203.3-5009_daily_bin1272.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/150685/ft2_4FGL_J2203.3-5009_daily_bin1272.fits
.....................!
real 13.08
user 12.68
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/150685/ft1_filtered_4FGL_J2203.3-5009_daily_bin1272.fits evtable="EVENTS" scfile=/scratch/kocevski/150685/ft2_4FGL_J2203.3-5009_daily_bin1272.fits sctable="SC_DATA" expcube=/scratch/kocevski/150685/ltcube_569030401_569289601_4FGL_J2203.3-5009_daily_bin1272.fits outfile=/scratch/kocevski/150685/expmap_569030401_569289601_4FGL_J2203.3-5009_daily_bin1272.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/150685/ltcube_569030401_569289601_4FGL_J2203.3-5009_daily_bin1272.fits
.....................!
real 192.76
user 187.10
sys 5.32

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/150685/ft1_filtered_4FGL_J2203.3-5009_daily_bin1272.fits scfile=/scratch/kocevski/150685/ft2_4FGL_J2203.3-5009_daily_bin1272.fits outfile=/scratch/kocevski/150685/cmap_569030401_569289601_4FGL_J2203.3-5009_daily_bin1272.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=330.832 yref=-50.1512 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/150685/ft1_filtered_4FGL_J2203.3-5009_daily_bin1272.fits scfile=/scratch/kocevski/150685/ft2_4FGL_J2203.3-5009_daily_bin1272.fits outfile=/scratch/kocevski/150685/cmap_HighResolution_569030401_569289601_4FGL_J2203.3-5009_daily_bin1272.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/150685/ft1_filtered_4FGL_J2203.3-5009_daily_bin1272.fits evtable="EVENTS" scfile=/scratch/kocevski/150685/ft2_4FGL_J2203.3-5009_daily_bin1272.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/150685/Model_4FGL_J2203.3-5009_daily_bin1272.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/150685/ft1_filtered_4FGL_J2203.3-5009_daily_bin1272.fits.....................!
real 43.81
user 42.25
sys 1.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6807       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.353       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.298       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.761       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28062E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .54683       1.0000         .10000E-03   10000.    
     9 'norm      '    .98947       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.0326       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10387E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.8923       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.935       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.4792       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11830E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.5289       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1804       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.5551       1.0000         .10000E-03   10000.    
    23 'Prefactor '    20.784       1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.139       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0276       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1509       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=   5180.804     FROM MIGRAD    STATUS=CONVERGED    670 CALLS     3203 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6809        3.5717        .76576E-07    .98231E-04
   2  Prefactor     .10000E-03    27.627       -.52124E-06** at limit **
   3  norm          .10000E-03    1.5235        .20277E-07** at limit **
   4  Prefactor     13.355        56.001        .34095E-06    .42151E-04
   5  Prefactor     11.293        11.476        .44071E-07   -.28258E-04
   6  Prefactor     20.845        34.774       -.24509E-05    .14111E-04
   7  Prefactor     .12913E-03    69.038       -.92225E-05** at limit **
   8  Prefactor     .54671        3.2250        .20198E-06    .83268E-04
   9  norm          .98056        6.5763        .45194E-05    .40834E-03
  10  Prefactor     3.0339        17.762       -.11889E-05   -.58313E-04
  11  Prefactor     .10000E-03    33.781       -.13769E-05** at limit **
  12  Prefactor     6.8922        11.034        .45647E-06    .12742E-03
  13  Prefactor     10.933        5.6690        .16909E-06    .28528E-03
  14  Prefactor     .10000E-03    120.13        .18219E-05** at limit **
  15  norm          .10000E-03    2.7108        .72020E-08** at limit **
  16  Prefactor     5.4784        5.1955        .68556E-07    .93554E-05
  17  Prefactor     .10000E-03    24.201        .59583E-07** at limit **
  18  Prefactor     7.5300        7.2814        .36915E-06    .14915E-03
  19  Prefactor     1.2156        93.474        .34400E-05    .28664E-04
  20  Prefactor     .10000E-03    7.3550        .39609E-06** at limit **
  21  Prefactor     .10000E-03    32.902        .16156E-05** at limit **
  22  Prefactor     1.5564        7.4220        .24115E-05    .55093E-03
  23  Prefactor     20.763        20.870        .20761E-06    .30805E-04
  24  Prefactor     10.136        15.008       -.40534E-07   -.30731E-04
  25  Normalizat    1.0276        .24176       -.16142E-05    .10179E-03
  26  Prefactor     1.1509        .17476        .30115E-06    .91197E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.68093
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.3546
  Prefactor  = 11.2928
  Prefactor  = 20.8451
  Prefactor  = 0.000129129
  Prefactor  = 0.54671
  norm       = 0.980563
  Prefactor  = 3.03395
  Prefactor  = 0.000100001
  Prefactor  = 6.8922
  Prefactor  = 10.9332
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 5.47842
  Prefactor  = 0.0001
  Prefactor  = 7.53003
  Prefactor  = 1.21564
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.55639
  Prefactor  = 20.7627
  Prefactor  = 10.1362
  Normalizat = 1.02763
  Prefactor  = 1.15086
 **********
 **   18 **HESSE 
 **********

 FCN=   5180.804     FROM HESSE     STATUS=OK           476 CALLS     3679 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6809        3.5400        .19140E-03   -1.5449    
   2  Prefactor     .10000E-03    27.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.8701        .17204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.355        55.912        .10961E-03   -1.4977    
   5  Prefactor     11.293        11.438        .59594E-03   -1.5036    
   6  Prefactor     20.845        34.892        .87905E-04   -1.4795    
   7  Prefactor     .12913E-03    35.694        .10843       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .54671        9.8162        .23976E-02   -1.5560    
   9  norm          .98056        6.7236        .32799E-03   -1.5510    
  10  Prefactor     3.0339        17.790        .23301E-03   -1.5360    
  11  Prefactor     .10000E-03    33.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.8922        11.018        .76411E-03   -1.5183    
  13  Prefactor     10.933        5.6776        .58225E-03   -1.5047    
  14  Prefactor     .10000E-03    120.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.7145        .11574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.4784        5.2064        .15138E-03   -1.5240    
  17  Prefactor     .10000E-03    24.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.5300        7.2358        .73079E-03   -1.5159    
  19  Prefactor     1.2156        94.328        .42081E-03   -1.5487    
  20  Prefactor     .10000E-03    7.3740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    32.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.5564        7.5791        .17070E-02   -1.5458    
  23  Prefactor     20.763        20.868        .87856E-04   -1.4796    
  24  Prefactor     10.136        15.015        .12584E-03   -1.5071    
  25  Normalizat    1.0276        .27962        .29389E-03   -.92110    
  26  Prefactor     1.1509        .20255        .21597E-03   -.87857    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75188e-09
Minuit parameter uncertainties:
  1  3.54048
  2  5.66998e-05
  3  1.80229e-05
  4  54.7384
  5  11.4404
  6  34.9256
  7  0.0645285
  8  4.63365
  9  5.13589
  10  14.6998
  11  0.000287149
  12  11.0216
  13  5.67786
  14  0.000724419
  15  1.43444e-08
  16  5.2068
  17  1.49168e-05
  18  7.2366
  19  21.451
  20  1.10242e-05
  21  0.000334362
  22  6.87026
  23  20.8757
  24  15.0208
  25  0.280023
  26  0.202687
Done.

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

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  6.892e+00  1.102e+01  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.151e+00  2.027e-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.028e+00  2.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 330.832 -50.151
Photon Flux Upper Limit: 1.54e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/150685/likelihoodResults_569030401_569289601_4FGL_J2203.3-5009_daily_bin1272.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) = 5180.61468955
delta logL = 0.189497082186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5180.60324154
delta logL = 0.200945093888

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7158       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7828       1.0000          .0000       10.000    
     3 'Normalizat'    .99263       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1685       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=   5180.603     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      242 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7093        113.38        .52372E-02    .85086E-03
   2  Index         3.7841        6.8904        .20799        .10847E-03
   3  Normalizat    .99267        .67527E-01    .67455E-01    .63873E-05
   4  Prefactor     1.1684        .50225E-01    .35422E-01   -.99114E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.70925
  Index      = 3.78408
  Normalizat = 0.992665
  Prefactor  = 1.16844
 **********
 **   18 **HESSE 
 **********

 FCN=   5180.603     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7093        16.699        .15115E-03   -1.5323    
   2  Index         3.7841        3.1504        .96300E-02   -.24565    
   3  Normalizat    .99267        .26564        .29838E-03   -.93277    
   4  Prefactor     1.1684        .20117        .21454E-03   -.87308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.81011e-11
Minuit parameter uncertainties:
  1  15.7478
  2  3.42906
  3  0.26599
  4  0.201298
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/150685': 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) = 5180.60324118
delta logL = 0.200945456769

Extracting fit parameters...

4FGL J2203.3-5009
   Spectrum: PowerLaw
323    Prefactor:  3.709e+00  1.575e+01  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  3.784e+00  3.429e+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.168e+00  2.013e-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.927e-01  2.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
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/150685/cmap_HighResolution_569030401_569289601_4FGL_J2203.3-5009_daily_bin1272.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', job_status='DONE', photon_flux_upper_limit='1.54e-07', time_completed='2021-09-28 03:22:58.631839', job_id='150685', GAL2='1.17', fit_tolerance='1e-08', EG2='0.99', EG='1.03', time_epoch_completed='1632824578.63', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='2.01e-01', ts2='0.92', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1272' AND source_name='4FGL J2203.3-5009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:22:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 150685: <4FGL_J2203.3-5009_daily_bin1272> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.3-5009_daily_bin1272 330.832 -50.1512 569030401 569289601 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 :                                   679.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            763 sec.

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

