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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1467
RA = 340.957, Dec = -25.1701
tmin = 619574401, tmax = 619833601
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='445360', job_status='RUN', time_executed='2021-09-28 19:01:10.436668', time_epoch_executed='1632880870.44' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1467'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445360

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445360/ft1_4FGL_J2243.8-2510_daily_bin1467.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445360/ft2_4FGL_J2243.8-2510_daily_bin1467.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445360/ft1_4FGL_J2243.8-2510_daily_bin1467.fits outfile=/scratch/kocevski/445360/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1467.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=619574401.0 tmax=619833601.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.60
user 3.24
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/445360/ft2_4FGL_J2243.8-2510_daily_bin1467.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/445360/ft2_4FGL_J2243.8-2510_daily_bin1467.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/445360/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1467.fits evtable="EVENTS" outfile="/scratch/kocevski/445360/ft1_filtered_4FGL_J2243.8-2510_daily_bin1467.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.63
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445360/ft1_filtered_4FGL_J2243.8-2510_daily_bin1467.fits" evtable="EVENTS" scfile=/scratch/kocevski/445360/ft2_4FGL_J2243.8-2510_daily_bin1467.fits sctable="SC_DATA" outfile=/scratch/kocevski/445360/ltcube_619574401_619833601_4FGL_J2243.8-2510_daily_bin1467.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/445360/ft2_4FGL_J2243.8-2510_daily_bin1467.fits
.....................!
real 11.85
user 11.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445360/ft1_filtered_4FGL_J2243.8-2510_daily_bin1467.fits evtable="EVENTS" scfile=/scratch/kocevski/445360/ft2_4FGL_J2243.8-2510_daily_bin1467.fits sctable="SC_DATA" expcube=/scratch/kocevski/445360/ltcube_619574401_619833601_4FGL_J2243.8-2510_daily_bin1467.fits outfile=/scratch/kocevski/445360/expmap_619574401_619833601_4FGL_J2243.8-2510_daily_bin1467.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/445360/ltcube_619574401_619833601_4FGL_J2243.8-2510_daily_bin1467.fits
.....................!
real 191.29
user 185.59
sys 5.24

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J2243.8-2510 @ 340.957 -25.1701

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/445360/ft1_filtered_4FGL_J2243.8-2510_daily_bin1467.fits scfile=/scratch/kocevski/445360/ft2_4FGL_J2243.8-2510_daily_bin1467.fits outfile=/scratch/kocevski/445360/cmap_619574401_619833601_4FGL_J2243.8-2510_daily_bin1467.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=340.957 yref=-25.1701 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/445360/ft1_filtered_4FGL_J2243.8-2510_daily_bin1467.fits scfile=/scratch/kocevski/445360/ft2_4FGL_J2243.8-2510_daily_bin1467.fits outfile=/scratch/kocevski/445360/cmap_HighResolution_619574401_619833601_4FGL_J2243.8-2510_daily_bin1467.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=340.957 yref=-25.1701 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/445360/ft1_filtered_4FGL_J2243.8-2510_daily_bin1467.fits evtable="EVENTS" scfile=/scratch/kocevski/445360/ft2_4FGL_J2243.8-2510_daily_bin1467.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/445360/Model_4FGL_J2243.8-2510_daily_bin1467.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/445360/ft1_filtered_4FGL_J2243.8-2510_daily_bin1467.fits.....................!
real 42.60
user 41.19
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/445360/ft1_filtered_4FGL_J2243.8-2510_daily_bin1467.fits', '/scratch/kocevski/445360/ft2_4FGL_J2243.8-2510_daily_bin1467.fits', expMap='/scratch/kocevski/445360/expmap_619574401_619833601_4FGL_J2243.8-2510_daily_bin1467.fits', expCube='/scratch/kocevski/445360/ltcube_619574401_619833601_4FGL_J2243.8-2510_daily_bin1467.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/445360/Model_4FGL_J2243.8-2510_daily_bin1467.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2243.8-2510'

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.852e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/445360/ft1_filtered_4FGL_J2243.8-2510_daily_bin1467.fits
Spacecraft file(s): /scratch/kocevski/445360/ft2_4FGL_J2243.8-2510_daily_bin1467.fits
Exposure map: /scratch/kocevski/445360/expmap_619574401_619833601_4FGL_J2243.8-2510_daily_bin1467.fits
Exposure cube: /scratch/kocevski/445360/ltcube_619574401_619833601_4FGL_J2243.8-2510_daily_bin1467.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/445360/Model_4FGL_J2243.8-2510_daily_bin1467.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) = 4656.2102997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    256.44       1.0000         .10000E-03   10000.    
     2 'norm      '    .82484       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5043       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.1024       1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.294       1.0000         .10000E-03   10000.    
     7 'norm      '    6.5271       1.0000         .10000E-03   10000.    
     8 'Prefactor '    95.992       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.8645       1.0000         .10000E-03   10000.    
    11 'norm      '    5.9337       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10442E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15283E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.5331       1.0000         .10000E-03   10000.    
    17 'norm      '    .48493       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.399       1.0000         .10000E-03   10000.    
    21 'norm      '    .80434       1.0000         .10000E-03   10000.    
    22 'Prefactor '    30.577       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .57498       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1820       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4656.136     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2812 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     256.45        142.17        .58560E-08   -.85584E-06
   2  norm          .82489        .43700       -.55273E-09   -.13699E-04
   3  Prefactor     2.5072        11.084        .89483E-06   -.74684E-05
   4  Prefactor     .10000E-03    14.445       -.12845E-06** at limit **
   5  Prefactor     9.1031        11.904        .20175E-05   -.61729E-04
   6  Prefactor     38.352        73.470        .12387E-05    .71217E-04
   7  norm          6.5250        23.502        .27283E-06    .36097E-06
   8  Prefactor     95.997        48.231       -.20244E-06    .30068E-04
   9  Prefactor     .10000E-03    4.0733       -.37930E-08** at limit **
  10  norm          7.8642        2.0052        .40549E-08    .76014E-05
  11  norm          5.9340        3.9475        .71906E-07   -.34114E-04
  12  Prefactor     .10000E-03    178.15        .62849E-07** at limit **
  13  Prefactor     .10003E-03    11.932       -.50496E-06** at limit **
  14  norm          .10000E-03    5.4516        .54866E-07** at limit **
  15  Prefactor     .10000E-03    13.996        .56704E-07** at limit **
  16  Prefactor     7.5705        16.228        .15312E-06    .36242E-05
  17  norm          .48325        .86650        .13658E-06    .17197E-03
  18  Prefactor     .10000E-03    48.352       -.17122E-07** at limit **
  19  Prefactor     .10000E-03    10.158       -.12440E-06** at limit **
  20  Prefactor     11.398        11.058       -.48639E-07   -.58484E-05
  21  norm          .80317        3.2020        .19872E-05    .72070E-05
  22  Prefactor     30.607        50.054       -.15510E-05   -.43316E-05
  23  Normalizat    .57450        .24600       -.14558E-05   -.90706E-05
  24  Prefactor     1.1824        .20904        .26299E-06   -.38747E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 256.448
  norm       = 0.824885
  Prefactor  = 2.5072
  Prefactor  = 0.0001
  Prefactor  = 9.10309
  Prefactor  = 38.3519
  norm       = 6.52495
  Prefactor  = 95.9974
  Prefactor  = 0.0001
  norm       = 7.86417
  norm       = 5.93402
  Prefactor  = 0.0001
  Prefactor  = 0.000100029
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.57047
  norm       = 0.483248
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.3983
  norm       = 0.803165
  Prefactor  = 30.607
  Normalizat = 0.574502
  Prefactor  = 1.18238
 **********
 **   18 **HESSE 
 **********

 FCN=   4656.136     FROM HESSE     STATUS=OK           401 CALLS     3213 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     256.45        141.71        .25305E-04   -1.2491    
   2  norm          .82489        .43910        .31554E-04   -1.5526    
   3  Prefactor     2.5072        11.041        .25823E-03   -1.5391    
   4  Prefactor     .10000E-03    14.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.1031        11.793        .66422E-03   -1.5104    
   6  Prefactor     38.352        73.612        .64769E-04   -1.4469    
   7  norm          6.5250        23.476        .15708E-03   -1.5197    
   8  Prefactor     95.997        48.061        .41024E-04   -1.3745    
   9  Prefactor     .10000E-03    4.0766        .13449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.8642        2.0048        .45904E-04   -1.5147    
  11  norm          5.9340        3.9310        .10129E-03   -1.5221    
  12  Prefactor     .10000E-03    178.84        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10003E-03    76.559        .43435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.5554        .30881E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.5705        15.248        .14612E-03   -1.5158    
  17  norm          .48325        .77428        .62692E-03   -1.5569    
  18  Prefactor     .10000E-03    48.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.398        11.009        .11866E-03   -1.5033    
  21  norm          .80317        3.1819        .22762E-03   -1.5529    
  22  Prefactor     30.607        49.920        .72458E-04   -1.4601    
  23  Normalizat    .57450        .28711        .33997E-03   -1.0908    
  24  Prefactor     1.1824        .25023        .22525E-03   -.86875    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68902e-10
Minuit parameter uncertainties:
  1  141.904
  2  0.439104
  3  10.5257
  4  5.3734e-06
  5  11.7956
  6  73.7875
  7  23.5091
  8  48.0803
  9  7.91879e-07
  10  2.00478
  11  3.93114
  12  0.000207776
  13  0.00297615
  14  1.15053e-05
  15  1.95678e-05
  16  15.2554
  17  0.774292
  18  2.41626e-05
  19  7.8528e-06
  20  11.0111
  21  3.18258
  22  49.988
  23  0.287854
  24  0.250483
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.078e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.182e+00  2.505e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  5.745e-01  2.879e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.16e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/445360/likelihoodResults_619574401_619833601_4FGL_J2243.8-2510_daily_bin1467.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) = 4656.13613542
delta logL = -2.65089611275e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4656.13610892
delta logL = -8.52924131323e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4656.136     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      242 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    189.77        .90712E-02** at limit **
   2  Index         2.9872        7.5880        .50000        .62626E-06
   3  Normalizat    .57450        .55289E-02    .76778E-01    .35031E-04
   4  Prefactor     1.1824        .51278E-02    .50953E-01    .11301E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.98723
  Normalizat = 0.574501
  Prefactor  = 1.18238
 **********
 **   18 **HESSE 
 **********

 FCN=   4656.136     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      275 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1052.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9872        5.1132        .50000       -.41430    
   3  Normalizat    .57450        .13145E-01    .33998E-03   -1.0908    
   4  Prefactor     1.1824        .12217E-01    .22525E-03   -.86875    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.10494e-08
Minuit parameter uncertainties:
  1  0.000918675
  2  787.277
  3  0.013145
  4  0.0122172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445360': 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) = 4656.13610892
delta logL = -5.97083271714e-09

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  9.187e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.987e+00  7.873e+02  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.182e+00  1.222e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  5.745e-01  1.314e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 340.957 -25.170

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/445360/cmap_HighResolution_619574401_619833601_4FGL_J2243.8-2510_daily_bin1467.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', job_status='DONE', photon_flux_upper_limit='1.47e-07', time_completed='2021-09-28 19:10:27.905081', job_id='445360', GAL2='1.18', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1632881427.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='-5.97e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1467' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:10:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 445360: <4FGL_J2243.8-2510_daily_bin1467> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1467> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 19:00:59 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:01:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 19:01:00 2021
Terminated at Tue Sep 28 19:10:28 2021
Results reported at Tue Sep 28 19:10:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1467 340.957 -25.1701 619574401 619833601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.8-2510 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   556.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             357.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   568 sec.
    Turnaround time :                            569 sec.

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

