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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin586
RA = 340.957, Dec = -25.1701
tmin = 391219201, tmax = 391478401
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='441974', job_status='RUN', time_executed='2021-09-28 18:53:55.893371', time_epoch_executed='1632880435.89' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='586'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441974

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441974/ft1_4FGL_J2243.8-2510_daily_bin586.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441974/ft2_4FGL_J2243.8-2510_daily_bin586.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441974/ft1_4FGL_J2243.8-2510_daily_bin586.fits outfile=/scratch/kocevski/441974/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin586.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=391219201.0 tmax=391478401.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.36
user 3.12
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441974/ft1_filtered_4FGL_J2243.8-2510_daily_bin586.fits" evtable="EVENTS" scfile=/scratch/kocevski/441974/ft2_4FGL_J2243.8-2510_daily_bin586.fits sctable="SC_DATA" outfile=/scratch/kocevski/441974/ltcube_391219201_391478401_4FGL_J2243.8-2510_daily_bin586.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/441974/ft2_4FGL_J2243.8-2510_daily_bin586.fits
.....................!
real 11.95
user 11.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441974/ft1_filtered_4FGL_J2243.8-2510_daily_bin586.fits evtable="EVENTS" scfile=/scratch/kocevski/441974/ft2_4FGL_J2243.8-2510_daily_bin586.fits sctable="SC_DATA" expcube=/scratch/kocevski/441974/ltcube_391219201_391478401_4FGL_J2243.8-2510_daily_bin586.fits outfile=/scratch/kocevski/441974/expmap_391219201_391478401_4FGL_J2243.8-2510_daily_bin586.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/441974/ltcube_391219201_391478401_4FGL_J2243.8-2510_daily_bin586.fits
.....................!
real 191.09
user 185.74
sys 4.90

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/441974/ft1_filtered_4FGL_J2243.8-2510_daily_bin586.fits scfile=/scratch/kocevski/441974/ft2_4FGL_J2243.8-2510_daily_bin586.fits outfile=/scratch/kocevski/441974/cmap_391219201_391478401_4FGL_J2243.8-2510_daily_bin586.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441974/ft1_filtered_4FGL_J2243.8-2510_daily_bin586.fits scfile=/scratch/kocevski/441974/ft2_4FGL_J2243.8-2510_daily_bin586.fits outfile=/scratch/kocevski/441974/cmap_HighResolution_391219201_391478401_4FGL_J2243.8-2510_daily_bin586.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/441974/ft1_filtered_4FGL_J2243.8-2510_daily_bin586.fits evtable="EVENTS" scfile=/scratch/kocevski/441974/ft2_4FGL_J2243.8-2510_daily_bin586.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/441974/Model_4FGL_J2243.8-2510_daily_bin586.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/441974/ft1_filtered_4FGL_J2243.8-2510_daily_bin586.fits.....................!
real 44.90
user 43.54
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.728       1.0000         .10000E-03   10000.    
     2 'norm      '    1.0794       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.312       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.035       1.0000         .10000E-03   10000.    
     7 'norm      '    17.442       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.7670       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .42530       1.0000         .10000E-03   10000.    
    11 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    127.66       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.145       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.643       1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.668       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98249       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90184       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=   5197.413     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2763 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.726        91.959       -.14579E-06    .33929E-06
   2  norm          1.0794        .42036       -.27429E-08   -.20870E-04
   3  Prefactor     .10000E-03    2.7059        .21625E-07** at limit **
   4  Prefactor     13.317        14.684        .78630E-07    .20221E-04
   5  Prefactor     .10000E-03    4.9431        .12659E-06** at limit **
   6  Prefactor     10.040        84.374       -.11397E-05   -.13913E-06
   7  norm          17.421        28.880       -.50661E-07   -.40610E-04
   8  Prefactor     7.7688        20.343        .16728E-06    .71823E-05
   9  Prefactor     .10000E-03    17.210       -.95792E-06** at limit **
  10  norm          .42535        .98470        .44079E-06   -.42577E-04
  11  norm          .10000E-03    2.7065       -.28913E-05** at limit **
  12  Prefactor     127.63        57.219        .14054E-05    .12281E-03
  13  Prefactor     14.147        12.763       -.40676E-07    .36480E-05
  14  norm          .10000E-03    1.5341       -.11127E-06** at limit **
  15  Prefactor     .10000E-03    5.7144       -.12808E-06** at limit **
  16  Prefactor     28.657        11.113       -.82337E-07    .38265E-04
  17  norm          .10000E-03    .28399        .40344E-07** at limit **
  18  Prefactor     .10000E-03    27.463       -.74158E-07** at limit **
  19  Prefactor     14.667        10.558       -.47359E-07   -.68485E-05
  20  Prefactor     .10000E-03    6.8267        .11724E-06** at limit **
  21  norm          .10000E-03    .84767        .24881E-07** at limit **
  22  Prefactor     .10000E-03    13.570       -.15748E-06** at limit **
  23  Normalizat    .98265        .20805        .90156E-06   -.35745E-05
  24  Prefactor     .90167        .18246       -.86233E-06    .88056E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.7258
  norm       = 1.07942
  Prefactor  = 0.0001
  Prefactor  = 13.317
  Prefactor  = 0.0001
  Prefactor  = 10.0397
  norm       = 17.4211
  Prefactor  = 7.76881
  Prefactor  = 0.0001
  norm       = 0.425345
  norm       = 0.0001
  Prefactor  = 127.629
  Prefactor  = 14.1473
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.6569
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.6673
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.98265
  Prefactor  = 0.901669
 **********
 **   18 **HESSE 
 **********

 FCN=   5197.413     FROM HESSE     STATUS=OK           399 CALLS     3162 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.726        92.038        .90176E-04   -1.4819    
   2  norm          1.0794        .41968        .28151E-04   -1.5500    
   3  Prefactor     .10000E-03    2.7082        .11581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.317        14.684        .10978E-03   -1.4978    
   5  Prefactor     .10000E-03    4.9745        .15648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.040        83.387        .12649E-03   -1.5074    
   7  norm          17.421        28.752        .95899E-04   -1.4873    
   8  Prefactor     7.7688        20.334        .14388E-03   -1.5150    
   9  Prefactor     .10000E-03    17.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .42535        .95191        .10162E-03   -1.5578    
  11  norm          .10000E-03    2.7403        .22804E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     127.63        58.690        .17816E-03   -1.3444    
  13  Prefactor     14.147        12.791        .10650E-03   -1.4956    
  14  norm          .10000E-03    1.5388        .87138E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.7174        .16820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     28.657        10.608        .74859E-04   -1.4637    
  17  norm          .10000E-03    .31615        .70735E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    27.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.667        10.559        .10458E-03   -1.4942    
  20  Prefactor     .10000E-03    6.8922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .84938        .64818E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .98265        .24533        .25523E-03   -.93614    
  24  Prefactor     .90167        .21492        .24038E-03   -.96083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57061e-10
Minuit parameter uncertainties:
  1  85.4341
  2  0.419679
  3  1.83596e-07
  4  14.6876
  5  1.49296e-06
  6  57.9779
  7  28.7752
  8  20.3517
  9  0.000120296
  10  0.951943
  11  2.49645e-05
  12  58.7163
  13  12.7937
  14  5.03529e-07
  15  1.54446e-05
  16  10.6088
  17  5.47058e-07
  18  5.83507e-05
  19  10.5604
  20  1.54248e-05
  21  5.71394e-08
  22  7.37035e-05
  23  0.245615
  24  0.21512
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.276e+02  5.872e+01  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:  9.017e-01  2.151e-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:  9.827e-01  2.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.05
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.08e-08
Energy Flux (Fixed Index): 3.17e-05 +/- 1.46e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5197.41032509
delta logL = 0.00253826379685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5197.40797094
delta logL = 0.00489241594278

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    132.55       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6580       1.0000          .0000       10.000    
     3 'Normalizat'    .98711       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89859       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5197.408     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      258 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     132.58        79.773        .17488E-03    .10531E-04
   2  Index         2.6579        .50646        .51827E-02    .32102E-03
   3  Normalizat    .98695        .23581        .25476E-03    .34718E-04
   4  Prefactor     .89878        .21036        .24072E-03   -.31359E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 132.58
  Index      = 2.65788
  Normalizat = 0.986951
  Prefactor  = 0.898775
 **********
 **   18 **HESSE 
 **********

 FCN=   5197.408     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     132.58        77.580        .69952E-05   -1.3400    
   2  Index         2.6579        .49220        .10365E-02   -.48751    
   3  Normalizat    .98695        .23595        .10190E-04   -.93469    
   4  Prefactor     .89878        .21050        .96288E-05   -.96184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5896e-11
Minuit parameter uncertainties:
  1  77.6394
  2  0.49322
  3  0.236203
  4  0.210693
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441974': 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) = 5197.40797041
delta logL = 0.00489295057378

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.326e+02  7.764e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.658e+00  4.932e-01  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:  8.988e-01  2.107e-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:  9.870e-01  2.362e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.09
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 2.66 +/- 0.49
Photon Flux (Free Index): 1.29e-07 +/- 6.78e-08
Energy Flux (Free Index): 3.21e-05 +/- 1.52e-05

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/441974/cmap_HighResolution_391219201_391478401_4FGL_J2243.8-2510_daily_bin586.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='3.21e-05', photon_flux_error='6.08e-08', dlogl='4.89e-03', energy_flux='3.17e-05', photon_flux2='1.29e-07', job_status='DONE', time_completed='2021-09-28 19:02:52.781076', photon_index_error2='0.49', photon_index2='2.66', ts='10.05', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.52e-05', EG='0.98', time_epoch_completed='1632880972.78', return_code='0', job_id='441974', GAL2='0.90', EG2='0.99', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='6.78e-08', ts2='10.09', photon_index='2.71' WHERE bin_id='586' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:02:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 441974: <4FGL_J2243.8-2510_daily_bin586> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin586 340.957 -25.1701 391219201 391478401 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 :                                   536.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   723 sec.
    Turnaround time :                            725 sec.

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

