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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin535
RA = 340.957, Dec = -25.1701
tmin = 378000001, tmax = 378259201
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='441888', job_status='RUN', time_executed='2021-09-28 18:53:38.897915', time_epoch_executed='1632880418.9' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441888

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441888/ft1_4FGL_J2243.8-2510_daily_bin535.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441888/ft2_4FGL_J2243.8-2510_daily_bin535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441888/ft1_4FGL_J2243.8-2510_daily_bin535.fits outfile=/scratch/kocevski/441888/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin535.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=378000001.0 tmax=378259201.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.46
user 3.24
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441888/ft1_filtered_4FGL_J2243.8-2510_daily_bin535.fits" evtable="EVENTS" scfile=/scratch/kocevski/441888/ft2_4FGL_J2243.8-2510_daily_bin535.fits sctable="SC_DATA" outfile=/scratch/kocevski/441888/ltcube_378000001_378259201_4FGL_J2243.8-2510_daily_bin535.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/441888/ft2_4FGL_J2243.8-2510_daily_bin535.fits
.....................!
real 12.20
user 11.82
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441888/ft1_filtered_4FGL_J2243.8-2510_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/441888/ft2_4FGL_J2243.8-2510_daily_bin535.fits sctable="SC_DATA" expcube=/scratch/kocevski/441888/ltcube_378000001_378259201_4FGL_J2243.8-2510_daily_bin535.fits outfile=/scratch/kocevski/441888/expmap_378000001_378259201_4FGL_J2243.8-2510_daily_bin535.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/441888/ltcube_378000001_378259201_4FGL_J2243.8-2510_daily_bin535.fits
.....................!
real 192.36
user 187.42
sys 4.48

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/441888/ft1_filtered_4FGL_J2243.8-2510_daily_bin535.fits scfile=/scratch/kocevski/441888/ft2_4FGL_J2243.8-2510_daily_bin535.fits outfile=/scratch/kocevski/441888/cmap_378000001_378259201_4FGL_J2243.8-2510_daily_bin535.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/441888/ft1_filtered_4FGL_J2243.8-2510_daily_bin535.fits scfile=/scratch/kocevski/441888/ft2_4FGL_J2243.8-2510_daily_bin535.fits outfile=/scratch/kocevski/441888/cmap_HighResolution_378000001_378259201_4FGL_J2243.8-2510_daily_bin535.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .67969       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1374       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    36.208       1.0000         .10000E-03   10000.    
     7 'norm      '    19.439       1.0000         .10000E-03   10000.    
     8 'Prefactor '    39.363       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .48565E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    .64578       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5827       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .20441E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.6967       1.0000         .10000E-03   10000.    
    14 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.679       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.0888       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .91010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0296       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11020E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2117       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .62526       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=   6639.103     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2767 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.897       -.44674E-06** at limit **
   2  norm          .67973        .29701       -.16159E-07    .76339E-04
   3  Prefactor     .10000E-03    6.0701       -.24774E-06** at limit **
   4  Prefactor     5.1375        14.459        .67134E-06   -.83983E-04
   5  Prefactor     .10000E-03    2.8823       -.79457E-07** at limit **
   6  Prefactor     36.209        47.722        .63878E-06   -.17976E-06
   7  norm          19.434        20.853        .86693E-06    .27200E-06
   8  Prefactor     39.364        20.605       -.37591E-07    .65154E-04
   9  Prefactor     .10000E-03    7.1045       -.80435E-06** at limit **
  10  norm          .64588        .57769       -.41874E-07   -.18777E-03
  11  norm          1.5802        1.5419       -.39050E-07    .26382E-03
  12  Prefactor     .10008E-03    35.876       -.24894E-06** at limit **
  13  Prefactor     1.7062        8.3241       -.82262E-05   -.25235E-03
  14  norm          .10000E-03    1.0063        .10816E-06** at limit **
  15  Prefactor     10.677        9.4188        .12676E-05   -.92404E-04
  16  Prefactor     .10000E-03    5.0463       -.68995E-07** at limit **
  17  norm          2.0885        .64558       -.63699E-07    .12689E-02
  18  Prefactor     .10003E-03    287.97       -.24516E-04** at limit **
  19  Prefactor     1.0704        8.1245       -.43959E-05    .47042E-03
  20  Prefactor     .10000E-03    11.234       -.97867E-06** at limit **
  21  norm          .10000E-03    .57521        .15420E-07** at limit **
  22  Prefactor     .10000E-03    8.5127       -.58865E-07** at limit **
  23  Normalizat    1.2116        .16713        .15508E-05    .62995E-03
  24  Prefactor     .62520        .14999       -.18296E-07    .52345E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.67973
  Prefactor  = 0.0001
  Prefactor  = 5.1375
  Prefactor  = 0.0001
  Prefactor  = 36.2093
  norm       = 19.4344
  Prefactor  = 39.3641
  Prefactor  = 0.000100001
  norm       = 0.64588
  norm       = 1.5802
  Prefactor  = 0.000100078
  Prefactor  = 1.70618
  norm       = 0.0001
  Prefactor  = 10.6765
  Prefactor  = 0.0001
  norm       = 2.08846
  Prefactor  = 0.000100029
  Prefactor  = 1.07036
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.21158
  Prefactor  = 0.625204
 **********
 **   18 **HESSE 
 **********

 FCN=   6639.103     FROM HESSE     STATUS=OK           403 CALLS     3170 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .67973        .29843        .28513E-04   -1.5543    
   3  Prefactor     .10000E-03    6.1415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1375        14.419        .17737E-03   -1.5255    
   5  Prefactor     .10000E-03    2.9166        .13508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     36.209        47.602        .66602E-04   -1.4504    
   7  norm          19.434        20.715        .90843E-04   -1.4826    
   8  Prefactor     39.364        20.601        .63886E-04   -1.4452    
   9  Prefactor     .10000E-03    70.866        .39378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .64588        .55196        .56553E-03   -1.5547    
  11  norm          1.5802        1.4756        .91632E-04   -1.5457    
  12  Prefactor     .10008E-03    234.38        .84409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7062        10.242        .32303E-03   -1.5447    
  14  norm          .10000E-03    1.0107        .79770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.677        9.4811        .12260E-03   -1.5054    
  16  Prefactor     .10000E-03    5.0941        .17790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.0885        .64743        .33263E-04   -1.5419    
  18  Prefactor     .10003E-03    288.30        .41646E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.0704        20.309        .42540E-02   -1.5501    
  20  Prefactor     .10000E-03    11.542        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .57864        .60345E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.5188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2116        .19429        .21081E-03   -.86246    
  24  Prefactor     .62520        .17644        .26163E-03   -1.0654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33825e-09
Minuit parameter uncertainties:
  1  3.35724e-06
  2  0.298435
  3  1.3034e-05
  4  14.4289
  5  5.40924e-07
  6  47.6521
  7  20.7224
  8  20.6046
  9  0.000495441
  10  0.551965
  11  1.47559
  12  0.00859481
  13  8.36264
  14  2.07581e-06
  15  9.48248
  16  9.6447e-06
  17  0.647432
  18  0.00581408
  19  9.32802
  20  5.55268e-06
  21  8.13659e-07
  22  3.64063e-06
  23  0.194407
  24  0.176596
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.001e-04  8.595e-03  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.252e-01  1.766e-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.212e+00  1.944e-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: 8.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/441888/likelihoodResults_378000001_378259201_4FGL_J2243.8-2510_daily_bin535.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) = 6639.10292652
delta logL = -1.96482351384e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6639.04939884
delta logL = 0.0535080264553

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5029       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6528       1.0000          .0000       10.000    
     3 'Normalizat'    1.1931       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63524       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6639.049     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      330 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4939        33.866        .10801E-02    .73679E-05
   2  Index         3.6546        2.9289        .84886E-02    .90517E-04
   3  Normalizat    1.1933        .19637        .21215E-03    .23042E-05
   4  Prefactor     .63493        .17634        .25951E-03    .20590E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.49388
  Index      = 3.65456
  Normalizat = 1.19333
  Prefactor  = 0.634929
 **********
 **   18 **HESSE 
 **********

 FCN=   6639.049     FROM HESSE     STATUS=OK            27 CALLS      357 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4939        18.516        .43204E-04   -1.5334    
   2  Index         3.6546        2.2386        .16977E-02   -.27245    
   3  Normalizat    1.1933        .19645        .84862E-05   -.86809    
   4  Prefactor     .63493        .17657        .10380E-04   -1.0613    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86049e-12
Minuit parameter uncertainties:
  1  16.0938
  2  2.32823
  3  0.196571
  4  0.176723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441888': 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) = 6639.04939689
delta logL = 0.0535099781573

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  3.494e+00  1.609e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.655e+00  2.328e+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.349e-01  1.767e-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.193e+00  1.966e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/441888/cmap_HighResolution_378000001_378259201_4FGL_J2243.8-2510_daily_bin535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-03', job_status='DONE', photon_flux_upper_limit='8.21e-08', time_completed='2021-09-28 19:05:01.756808', job_id='441888', GAL2='0.63', fit_tolerance='1e-08', EG2='1.19', EG='1.21', time_epoch_completed='1632881101.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='5.35e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='535' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:05:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 441888: <4FGL_J2243.8-2510_daily_bin535> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin535 340.957 -25.1701 378000001 378259201 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 :                                   682.38 sec.
    Max Memory :                                 1107 MB
    Average Memory :                             297.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            862 sec.

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

