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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin495
RA = 340.957, Dec = -25.1701
tmin = 367632001, tmax = 367891201
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='441826', job_status='RUN', time_executed='2021-09-28 18:53:48.196179', time_epoch_executed='1632880428.2' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='495'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441826

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441826/ft1_4FGL_J2243.8-2510_daily_bin495.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441826/ft2_4FGL_J2243.8-2510_daily_bin495.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441826/ft1_4FGL_J2243.8-2510_daily_bin495.fits outfile=/scratch/kocevski/441826/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin495.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=367632001.0 tmax=367891201.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.19
user 4.91
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/441826/ft2_4FGL_J2243.8-2510_daily_bin495.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/441826/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin495.fits evtable="EVENTS" outfile="/scratch/kocevski/441826/ft1_filtered_4FGL_J2243.8-2510_daily_bin495.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.53
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441826/ft1_filtered_4FGL_J2243.8-2510_daily_bin495.fits" evtable="EVENTS" scfile=/scratch/kocevski/441826/ft2_4FGL_J2243.8-2510_daily_bin495.fits sctable="SC_DATA" outfile=/scratch/kocevski/441826/ltcube_367632001_367891201_4FGL_J2243.8-2510_daily_bin495.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/441826/ft2_4FGL_J2243.8-2510_daily_bin495.fits
.....................!
real 11.55
user 11.15
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441826/ft1_filtered_4FGL_J2243.8-2510_daily_bin495.fits evtable="EVENTS" scfile=/scratch/kocevski/441826/ft2_4FGL_J2243.8-2510_daily_bin495.fits sctable="SC_DATA" expcube=/scratch/kocevski/441826/ltcube_367632001_367891201_4FGL_J2243.8-2510_daily_bin495.fits outfile=/scratch/kocevski/441826/expmap_367632001_367891201_4FGL_J2243.8-2510_daily_bin495.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/441826/ltcube_367632001_367891201_4FGL_J2243.8-2510_daily_bin495.fits
.....................!
real 193.48
user 187.39
sys 4.80

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/441826/ft1_filtered_4FGL_J2243.8-2510_daily_bin495.fits scfile=/scratch/kocevski/441826/ft2_4FGL_J2243.8-2510_daily_bin495.fits outfile=/scratch/kocevski/441826/cmap_367632001_367891201_4FGL_J2243.8-2510_daily_bin495.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441826/ft1_filtered_4FGL_J2243.8-2510_daily_bin495.fits scfile=/scratch/kocevski/441826/ft2_4FGL_J2243.8-2510_daily_bin495.fits outfile=/scratch/kocevski/441826/cmap_HighResolution_367632001_367891201_4FGL_J2243.8-2510_daily_bin495.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/441826/ft1_filtered_4FGL_J2243.8-2510_daily_bin495.fits evtable="EVENTS" scfile=/scratch/kocevski/441826/ft2_4FGL_J2243.8-2510_daily_bin495.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/441826/Model_4FGL_J2243.8-2510_daily_bin495.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/441826/ft1_filtered_4FGL_J2243.8-2510_daily_bin495.fits.....................!
real 43.40
user 41.75
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    1.3895       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.132       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    11.018       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.686       1.0000         .10000E-03   10000.    
    14 'norm      '    2.9886       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.9797       1.0000         .10000E-03   10000.    
    17 'norm      '    4.4654       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    43.807       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.9378       1.0000         .10000E-03   10000.    
    21 'norm      '    8.6554       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .35644E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3356       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .68529       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=   4761.216     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2331 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.672       -.82573E-05** at limit **
   2  norm          1.3895        .53564       -.27409E-07    .54013E-04
   3  Prefactor     .10000E-03    3.2815       -.28348E-06** at limit **
   4  Prefactor     .10000E-03    9.2662       -.45866E-06** at limit **
   5  Prefactor     .10000E-03    13.450       -.64058E-06** at limit **
   6  Prefactor     .10000E-03    23.159        .33362E-05** at limit **
   7  norm          13.131        23.125       -.31827E-06   -.61959E-05
   8  Prefactor     .10000E-03    39.516        .11564E-04** at limit **
   9  Prefactor     .10000E-03    6.0931        .44188E-07** at limit **
  10  norm          11.018        2.2271        .11972E-08    .26010E-04
  11  norm          .10000E-03    1.2072        .36679E-06** at limit **
  12  Prefactor     .10000E-03    33.643       -.57489E-05** at limit **
  13  Prefactor     17.689        16.042       -.12201E-06   -.22623E-04
  14  norm          2.9895        5.4437       -.38981E-06   -.30743E-03
  15  Prefactor     .10000E-03    9.6682        .26301E-06** at limit **
  16  Prefactor     2.9782        56.084       -.32118E-05   -.85437E-04
  17  norm          4.4651        1.8336        .10718E-06    .20163E-03
  18  Prefactor     .10000E-03    60.583        .23578E-05** at limit **
  19  Prefactor     43.807        21.153       -.17787E-06    .13681E-04
  20  Prefactor     3.9384        45.764        .15012E-05    .12034E-04
  21  norm          8.6574        7.0626        .49335E-06    .10892E-02
  22  Prefactor     .10001E-03    253.86       -.11495E-03** at limit **
  23  Normalizat    1.3358        .25081       -.75159E-06    .26937E-03
  24  Prefactor     .68513        .20977        .26602E-06    .12200E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.38952
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.1306
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.0183
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6887
  norm       = 2.98955
  Prefactor  = 0.0001
  Prefactor  = 2.97817
  norm       = 4.46507
  Prefactor  = 0.0001
  Prefactor  = 43.8065
  Prefactor  = 3.9384
  norm       = 8.65736
  Prefactor  = 0.000100009
  Normalizat = 1.3358
  Prefactor  = 0.685125
 **********
 **   18 **HESSE 
 **********

 FCN=   4761.216     FROM HESSE     STATUS=OK           395 CALLS     2726 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.3895        .53557        .30416E-04   -1.5472    
   3  Prefactor     .10000E-03    3.2837        .12208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.2810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.131        23.111        .11054E-03   -1.4983    
   8  Prefactor     .10000E-03    39.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.1052        .16634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.018        2.2271        .44634E-04   -1.5044    
  11  norm          .10000E-03    1.2171        .74006E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    33.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.689        16.102        .95236E-04   -1.4867    
  14  norm          2.9895        5.2897        .18717E-03   -1.5362    
  15  Prefactor     .10000E-03    9.6695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.9782        47.048        .23520E-03   -1.5363    
  17  norm          4.4651        1.8888        .38630E-04   -1.5285    
  18  Prefactor     .10000E-03    60.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     43.807        21.152        .60571E-04   -1.4383    
  20  Prefactor     3.9384        39.858        .20329E-03   -1.5311    
  21  norm          8.6574        7.0981        .13625E-03   -1.5119    
  22  Prefactor     .10001E-03    253.38        .21315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3358        .30617        .26632E-03   -.82504    
  24  Prefactor     .68513        .25390        .31222E-03   -1.0411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02019e-09
Minuit parameter uncertainties:
  1  4.97876e-06
  2  0.535574
  3  9.19278e-07
  4  4.14818e-06
  5  1.14772e-05
  6  2.04955e-06
  7  23.1272
  8  9.73676e-06
  9  5.86129e-06
  10  2.22709
  11  2.56684e-06
  12  4.55024e-05
  13  16.1056
  14  5.2905
  15  1.77048e-05
  16  23.696
  17  1.88878
  18  8.50302e-06
  19  21.1551
  20  25.0792
  21  7.09882
  22  0.00303093
  23  0.306588
  24  0.254327
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  4.550e-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:  6.851e-01  2.543e-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:  1.336e+00  3.066e-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.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/441826/likelihoodResults_367632001_367891201_4FGL_J2243.8-2510_daily_bin495.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) = 4761.21658482
delta logL = -0.000141498445373

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4761.21644343
delta logL = -1.12750058179e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10613E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6338       1.0000          .0000       10.000    
     3 'Normalizat'    1.3358       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68514       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=   4761.216     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      237 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7756.8        .90712E-02** at limit **
   2  Index         2.6348        5.3636        .50000       -.28922E-06
   3  Normalizat    1.3358        .14340        .60220E-01    .73484E-03
   4  Prefactor     .68513        .12486        .70547E-01    .48860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.63475
  Normalizat = 1.3358
  Prefactor  = 0.685125
 **********
 **   18 **HESSE 
 **********

 FCN=   4761.216     FROM HESSE     STATUS=OK            29 CALLS      266 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6348        6.3164        .50000       -.49275    
   3  Normalizat    1.3358        .27694        .26632E-03   -.82504    
   4  Prefactor     .68513        .24152        .31222E-03   -1.0411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.88403e-10
Minuit parameter uncertainties:
  1  9.03419e-05
  2  4.62677
  3  0.277245
  4  0.241891
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441826': 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) = 4761.21644333
delta logL = -6.05996319791e-09

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  9.034e-05  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.635e+00  4.627e+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:  6.851e-01  2.419e-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:  1.336e+00  2.772e-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/441826/cmap_HighResolution_367632001_367891201_4FGL_J2243.8-2510_daily_bin495.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.53e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-28 19:02:57.640463', job_id='441826', GAL2='0.69', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1632880977.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='-6.06e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='495' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:02:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 441826: <4FGL_J2243.8-2510_daily_bin495> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin495> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:50:35 2021
Job was executed on host(s) <bullet0299>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:50:36 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:50:36 2021
Terminated at Tue Sep 28 19:02:58 2021
Results reported at Tue Sep 28 19:02:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin495 340.957 -25.1701 367632001 367891201 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 :                                   545.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            743 sec.

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

