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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin222
RA = 340.957, Dec = -25.1701
tmin = 296870401, tmax = 297129601
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='439991', job_status='RUN', time_executed='2021-09-28 18:48:52.459641', time_epoch_executed='1632880132.46' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='222'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/439991

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/439991/ft1_4FGL_J2243.8-2510_daily_bin222.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/439991/ft2_4FGL_J2243.8-2510_daily_bin222.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/439991/ft1_4FGL_J2243.8-2510_daily_bin222.fits outfile=/scratch/kocevski/439991/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin222.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=296870401.0 tmax=297129601.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.65
user 3.39
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/439991/ft2_4FGL_J2243.8-2510_daily_bin222.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/439991/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin222.fits evtable="EVENTS" outfile="/scratch/kocevski/439991/ft1_filtered_4FGL_J2243.8-2510_daily_bin222.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.52
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/439991/ft1_filtered_4FGL_J2243.8-2510_daily_bin222.fits" evtable="EVENTS" scfile=/scratch/kocevski/439991/ft2_4FGL_J2243.8-2510_daily_bin222.fits sctable="SC_DATA" outfile=/scratch/kocevski/439991/ltcube_296870401_297129601_4FGL_J2243.8-2510_daily_bin222.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/439991/ft2_4FGL_J2243.8-2510_daily_bin222.fits
.....................!
real 12.47
user 12.11
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/439991/ft1_filtered_4FGL_J2243.8-2510_daily_bin222.fits evtable="EVENTS" scfile=/scratch/kocevski/439991/ft2_4FGL_J2243.8-2510_daily_bin222.fits sctable="SC_DATA" expcube=/scratch/kocevski/439991/ltcube_296870401_297129601_4FGL_J2243.8-2510_daily_bin222.fits outfile=/scratch/kocevski/439991/expmap_296870401_297129601_4FGL_J2243.8-2510_daily_bin222.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/439991/ltcube_296870401_297129601_4FGL_J2243.8-2510_daily_bin222.fits
.....................!
real 191.73
user 185.56
sys 5.74

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/439991/ft1_filtered_4FGL_J2243.8-2510_daily_bin222.fits scfile=/scratch/kocevski/439991/ft2_4FGL_J2243.8-2510_daily_bin222.fits outfile=/scratch/kocevski/439991/cmap_296870401_297129601_4FGL_J2243.8-2510_daily_bin222.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/439991/ft1_filtered_4FGL_J2243.8-2510_daily_bin222.fits scfile=/scratch/kocevski/439991/ft2_4FGL_J2243.8-2510_daily_bin222.fits outfile=/scratch/kocevski/439991/cmap_HighResolution_296870401_297129601_4FGL_J2243.8-2510_daily_bin222.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/439991/ft1_filtered_4FGL_J2243.8-2510_daily_bin222.fits evtable="EVENTS" scfile=/scratch/kocevski/439991/ft2_4FGL_J2243.8-2510_daily_bin222.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/439991/Model_4FGL_J2243.8-2510_daily_bin222.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/439991/ft1_filtered_4FGL_J2243.8-2510_daily_bin222.fits....................!
real 48.80
user 47.38
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/439991/ft1_filtered_4FGL_J2243.8-2510_daily_bin222.fits', '/scratch/kocevski/439991/ft2_4FGL_J2243.8-2510_daily_bin222.fits', expMap='/scratch/kocevski/439991/expmap_296870401_297129601_4FGL_J2243.8-2510_daily_bin222.fits', expCube='/scratch/kocevski/439991/ltcube_296870401_297129601_4FGL_J2243.8-2510_daily_bin222.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/439991/Model_4FGL_J2243.8-2510_daily_bin222.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/439991/ft1_filtered_4FGL_J2243.8-2510_daily_bin222.fits
Spacecraft file(s): /scratch/kocevski/439991/ft2_4FGL_J2243.8-2510_daily_bin222.fits
Exposure map: /scratch/kocevski/439991/expmap_296870401_297129601_4FGL_J2243.8-2510_daily_bin222.fits
Exposure cube: /scratch/kocevski/439991/ltcube_296870401_297129601_4FGL_J2243.8-2510_daily_bin222.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/439991/Model_4FGL_J2243.8-2510_daily_bin222.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) = 5702.75958797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3608       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3898       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16135E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    46.988       1.0000         .10000E-03   10000.    
     6 'Prefactor '    36.041       1.0000         .10000E-03   10000.    
     7 'norm      '    62.874       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.0209       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8442       1.0000         .10000E-03   10000.    
    10 'norm      '    .77536       1.0000         .10000E-03   10000.    
    11 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10306E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.4253       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.935       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2152       1.0000         .10000E-03   10000.    
    18 'Prefactor '    41.193       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3544       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .19050E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.701       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .81706       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0183       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=   5702.721     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2733 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3823        147.40        .15286E-05    .12754E-04
   2  norm          2.3898        .54365        .28883E-08   -.77800E-04
   3  Prefactor     .10000E-03    3.7208        .12755E-06** at limit **
   4  Prefactor     .10000E-03    38.399        .41294E-06** at limit **
   5  Prefactor     46.990        13.462        .12917E-07   -.18680E-05
   6  Prefactor     36.113        67.342        .76708E-06    .20576E-04
   7  norm          62.878        27.987       -.13215E-06   -.83146E-04
   8  Prefactor     8.0211        20.868        .16318E-06   -.10317E-04
   9  Prefactor     2.8454        8.7097        .55601E-06   -.80354E-04
  10  norm          .77539        .67183        .12569E-07   -.68521E-04
  11  norm          .10000E-03    1.2608       -.19963E-06** at limit **
  12  Prefactor     .10000E-03    41.649       -.66054E-06** at limit **
  13  Prefactor     .10000E-03    7.6564        .15035E-06** at limit **
  14  norm          5.4257        4.5638        .15056E-05   -.57301E-04
  15  Prefactor     .10000E-03    6.7878       -.93275E-07** at limit **
  16  Prefactor     16.922        12.780       -.44641E-06   -.25441E-03
  17  norm          1.2147        .91078       -.23729E-07   -.84227E-03
  18  Prefactor     41.412        67.541        .60800E-06    .40082E-04
  19  Prefactor     7.3552        12.860        .35358E-05   -.25992E-05
  20  Prefactor     .10002E-03    8.8284        .75128E-06** at limit **
  21  norm          .10000E-03    .91543       -.21491E-06** at limit **
  22  Prefactor     17.717        32.267       -.88014E-06   -.17340E-03
  23  Normalizat    .81704        .20979        .10179E-05   -.12651E-03
  24  Prefactor     1.0182        .18588       -.17088E-05   -.10245E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.38229
  norm       = 2.38982
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.9897
  Prefactor  = 36.113
  norm       = 62.8778
  Prefactor  = 8.02105
  Prefactor  = 2.84544
  norm       = 0.775388
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.42573
  Prefactor  = 0.0001
  Prefactor  = 16.9219
  norm       = 1.21469
  Prefactor  = 41.412
  Prefactor  = 7.35517
  Prefactor  = 0.000100016
  norm       = 0.0001
  Prefactor  = 17.7171
  Normalizat = 0.817044
  Prefactor  = 1.01824
 **********
 **   18 **HESSE 
 **********

 FCN=   5702.721     FROM HESSE     STATUS=OK           405 CALLS     3138 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3823        147.29        .13099E-03   -1.5095    
   2  norm          2.3898        .54404        .25480E-04   -1.5399    
   3  Prefactor     .10000E-03    3.7304        .14225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    40.050        .40825E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     46.990        13.494        .58494E-04   -1.4336    
   6  Prefactor     36.113        67.300        .66755E-04   -1.4505    
   7  norm          62.878        27.968        .25303E-03   -1.4120    
   8  Prefactor     8.0211        20.861        .14157E-03   -1.5141    
   9  Prefactor     2.8454        8.7065        .24110E-03   -1.5371    
  10  norm          .77539        .70762        .55326E-03   -1.5532    
  11  norm          .10000E-03    1.2910        .16547E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    41.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.7493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.4257        4.5688        .68568E-03   -1.5242    
  15  Prefactor     .10000E-03    6.7917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.922        12.682        .97325E-04   -1.4885    
  17  norm          1.2147        .90360        .48120E-04   -1.5488    
  18  Prefactor     41.412        67.554        .62457E-04   -1.4420    
  19  Prefactor     7.3552        12.893        .73949E-03   -1.5165    
  20  Prefactor     .10002E-03    40.680        .39533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .91596        .70527E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     17.717        32.274        .95197E-04   -1.4866    
  23  Normalizat    .81704        .25325        .28667E-03   -.99440    
  24  Prefactor     1.0182        .22269        .23710E-03   -.92124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.11088e-10
Minuit parameter uncertainties:
  1  74.5683
  2  0.544038
  3  1.79521e-06
  4  2.82408e-05
  5  13.4949
  6  67.4425
  7  27.9743
  8  20.8803
  9  8.71042
  10  0.707628
  11  2.12687e-06
  12  4.90157e-05
  13  7.87958e-07
  14  4.56913
  15  1.24431e-05
  16  12.6836
  17  0.903614
  18  67.6792
  19  12.898
  20  0.0016152
  21  1.0495e-07
  22  32.3057
  23  0.253622
  24  0.222892
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  4.902e-05  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.018e+00  2.229e-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:  8.170e-01  2.536e-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: 9.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/439991/likelihoodResults_296870401_297129601_4FGL_J2243.8-2510_daily_bin222.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) = 5702.72064274
delta logL = -0.000113952379252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5702.7205289
delta logL = -1.05020262708e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6391       1.0000          .0000       10.000    
     3 'Normalizat'    .81705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0182       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=   5702.721     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      238 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7018.5        .90712E-02** at limit **
   2  Index         2.6659        8.3479        .50000       -.65829E-05
   3  Normalizat    .81705        .62294E-01    .64803E-01    .38038E-04
   4  Prefactor     1.0182        .57127E-01    .42320E-01    .20856E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.66587
  Normalizat = 0.817047
  Prefactor  = 1.01823
 **********
 **   18 **HESSE 
 **********

 FCN=   5702.721     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    86.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6659        6.1319        .50000       -.48570    
   3  Normalizat    .81705        .23131        .28667E-03   -.99439    
   4  Prefactor     1.0182        .21291        .23710E-03   -.92124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.21818e-11
Minuit parameter uncertainties:
  1  0.000915976
  2  6.58359
  3  0.231586
  4  0.21309
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/439991': 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) = 5702.72052885
delta logL = -6.20093487669e-08

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  9.160e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.666e+00  6.584e+00  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.018e+00  2.131e-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:  8.170e-01  2.316e-01  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/439991/cmap_HighResolution_296870401_297129601_4FGL_J2243.8-2510_daily_bin222.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.16e-03', job_status='DONE', photon_flux_upper_limit='9.09e-08', time_completed='2021-09-28 18:59:13.601351', job_id='439991', GAL2='1.02', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632880753.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-6.20e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='222' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:59:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 439991: <4FGL_J2243.8-2510_daily_bin222> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin222> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:45:31 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:45:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 18:45:33 2021
Terminated at Tue Sep 28 18:59:14 2021
Results reported at Tue Sep 28 18:59:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin222 340.957 -25.1701 296870401 297129601 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 :                                   620.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            823 sec.

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

