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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin886
RA = 340.957, Dec = -25.1701
tmin = 468979201, tmax = 469238401
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='443426', job_status='RUN', time_executed='2021-09-28 18:59:11.720082', time_epoch_executed='1632880751.72' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='886'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443426

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443426/ft1_4FGL_J2243.8-2510_daily_bin886.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443426/ft2_4FGL_J2243.8-2510_daily_bin886.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443426/ft1_4FGL_J2243.8-2510_daily_bin886.fits outfile=/scratch/kocevski/443426/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin886.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=468979201.0 tmax=469238401.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.22
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443426/ft1_filtered_4FGL_J2243.8-2510_daily_bin886.fits" evtable="EVENTS" scfile=/scratch/kocevski/443426/ft2_4FGL_J2243.8-2510_daily_bin886.fits sctable="SC_DATA" outfile=/scratch/kocevski/443426/ltcube_468979201_469238401_4FGL_J2243.8-2510_daily_bin886.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/443426/ft2_4FGL_J2243.8-2510_daily_bin886.fits
.....................!
real 11.98
user 11.63
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443426/ft1_filtered_4FGL_J2243.8-2510_daily_bin886.fits evtable="EVENTS" scfile=/scratch/kocevski/443426/ft2_4FGL_J2243.8-2510_daily_bin886.fits sctable="SC_DATA" expcube=/scratch/kocevski/443426/ltcube_468979201_469238401_4FGL_J2243.8-2510_daily_bin886.fits outfile=/scratch/kocevski/443426/expmap_468979201_469238401_4FGL_J2243.8-2510_daily_bin886.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/443426/ltcube_468979201_469238401_4FGL_J2243.8-2510_daily_bin886.fits
.....................!
real 191.90
user 186.16
sys 5.37

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/443426/ft1_filtered_4FGL_J2243.8-2510_daily_bin886.fits scfile=/scratch/kocevski/443426/ft2_4FGL_J2243.8-2510_daily_bin886.fits outfile=/scratch/kocevski/443426/cmap_468979201_469238401_4FGL_J2243.8-2510_daily_bin886.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443426/ft1_filtered_4FGL_J2243.8-2510_daily_bin886.fits scfile=/scratch/kocevski/443426/ft2_4FGL_J2243.8-2510_daily_bin886.fits outfile=/scratch/kocevski/443426/cmap_HighResolution_468979201_469238401_4FGL_J2243.8-2510_daily_bin886.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7746       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12638E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.012       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.394       1.0000         .10000E-03   10000.    
     7 'norm      '    4.5766       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .77388E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.724       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3575       1.0000         .10000E-03   10000.    
    11 'norm      '    2.1878       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.229       1.0000         .10000E-03   10000.    
    14 'norm      '    1.7954       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.788       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.7758       1.0000         .10000E-03   10000.    
    21 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.8185       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .62034       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1350       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=   4488.648     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2737 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    47.874        .42134E-06** at limit **
   2  norm          1.7746        .57118        .41337E-08   -.37029E-03
   3  Prefactor     .10000E-03    6.7214        .67656E-06** at limit **
   4  Prefactor     .10000E-03    17.632        .98811E-06** at limit **
   5  Prefactor     22.016        13.025       -.38067E-07   -.14178E-03
   6  Prefactor     17.382        66.745        .80726E-06   -.73223E-05
   7  norm          4.5314        43.464        .14401E-05   -.91330E-05
   8  Prefactor     .10059E-03    17.555        .36957E-05** at limit **
   9  Prefactor     23.732        15.455       -.20202E-06   -.41112E-04
  10  norm          1.3575        .78981        .78704E-08   -.17769E-03
  11  norm          2.1881        2.0895        .28310E-07   -.91358E-04
  12  Prefactor     .10000E-03    87.092        .87941E-06** at limit **
  13  Prefactor     10.227        15.647       -.87130E-06   -.13836E-03
  14  norm          1.7948        3.3428        .29853E-06   -.53193E-04
  15  Prefactor     .10000E-03    4.1120        .57250E-07** at limit **
  16  Prefactor     .10000E-03    3.7824        .23253E-06** at limit **
  17  norm          .10000E-03    .36689        .24409E-06** at limit **
  18  Prefactor     19.589        123.46       -.45571E-05   -.48745E-04
  19  Prefactor     .10000E-03    4.0373        .20496E-06** at limit **
  20  Prefactor     4.7761        6.0497       -.25446E-06   -.17412E-03
  21  norm          .10000E-03    3.4952       -.37838E-05** at limit **
  22  Prefactor     2.7572        131.61        .36620E-05    .45558E-04
  23  Normalizat    .62021        .22796        .46519E-05   -.21596E-03
  24  Prefactor     1.1351        .20251       -.38755E-05   -.13960E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.77458
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.0163
  Prefactor  = 17.3815
  norm       = 4.53141
  Prefactor  = 0.000100588
  Prefactor  = 23.732
  norm       = 1.35746
  norm       = 2.18813
  Prefactor  = 0.0001
  Prefactor  = 10.2267
  norm       = 1.79483
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.5892
  Prefactor  = 0.0001
  Prefactor  = 4.77614
  norm       = 0.000100001
  Prefactor  = 2.75719
  Normalizat = 0.62021
  Prefactor  = 1.13511
 **********
 **   18 **HESSE 
 **********

 FCN=   4488.648     FROM HESSE     STATUS=OK           399 CALLS     3136 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    47.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7746        .57157        .27796E-04   -1.5442    
   3  Prefactor     .10000E-03    6.7619        .16975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.016        13.017        .85374E-04   -1.4769    
   6  Prefactor     17.382        66.704        .96032E-04   -1.4874    
   7  norm          4.5314        43.339        .18816E-03   -1.5282    
   8  Prefactor     .10059E-03    90.580        .48725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.732        15.489        .82239E-04   -1.4733    
  10  norm          1.3575        .78898        .43955E-04   -1.5475    
  11  norm          2.1881        2.0733        .90201E-04   -1.5412    
  12  Prefactor     .10000E-03    87.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.227        15.701        .12528E-03   -1.5068    
  14  norm          1.7948        3.2961        .15972E-03   -1.5440    
  15  Prefactor     .10000E-03    4.1135        .13267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.7998        .12710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .78723        .76537E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.589        125.31        .90038E-04   -1.4822    
  19  Prefactor     .10000E-03    4.0538        .13150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.7761        6.0023        .17814E-03   -1.5271    
  21  norm          .10000E-03    3.7023        .24670E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.7572        136.24        .24227E-03   -1.5376    
  23  Normalizat    .62021        .25110        .29435E-03   -1.0713    
  24  Prefactor     1.1351        .22242        .20851E-03   -.88352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.92793e-09
Minuit parameter uncertainties:
  1  3.76013e-05
  2  0.571571
  3  3.58021e-05
  4  8.33099e-05
  5  13.0184
  6  66.9924
  7  28.0541
  8  0.0146177
  9  15.4912
  10  0.788982
  11  2.07334
  12  0.000190755
  13  15.7069
  14  3.29639
  15  2.70908e-06
  16  3.19555e-06
  17  1.56198e-05
  18  99.3958
  19  7.41237e-06
  20  6.00304
  21  0.000114355
  22  38.8567
  23  0.251563
  24  0.222607
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.135e+00  2.226e-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:  6.202e-01  2.516e-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.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443426/likelihoodResults_468979201_469238401_4FGL_J2243.8-2510_daily_bin886.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) = 4488.64820731
delta logL = -5.41576382602e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4488.64820731
delta logL = -5.41541794519e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96358E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7067       1.0000          .0000       10.000    
     3 'Normalizat'    .62021       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1351       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=   4488.580     FROM MIGRAD    STATUS=CONVERGED    147 CALLS      292 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.473        52.151        .36285E-02    .13473E-04
   2  Index         1.7614        1.3057        .28615       -.35195E-04
   3  Normalizat    .62042        .22820        .29433E-03   -.24644E-04
   4  Prefactor     1.1326        .21496        .20851E-03   -.52222E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4728
  Index      = 1.76137
  Normalizat = 0.620424
  Prefactor  = 1.13256
 **********
 **   18 **HESSE 
 **********

 FCN=   4488.580     FROM HESSE     STATUS=OK            29 CALLS      321 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.473        35.500        .14514E-03   -1.5030    
   2  Index         1.7614        1.2546        .16372E-01   -.70460    
   3  Normalizat    .62042        .22806        .11773E-04   -1.0712    
   4  Prefactor     1.1326        .21473        .41702E-04   -.88432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36684e-11
Minuit parameter uncertainties:
  1  35.5651
  2  1.27842
  3  0.228407
  4  0.214898
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443426': 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) = 4488.57982429
delta logL = 0.0683288712498

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.147e+01  3.557e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.761e+00  1.278e+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.133e+00  2.149e-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:  6.204e-01  2.284e-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/443426/cmap_HighResolution_468979201_469238401_4FGL_J2243.8-2510_daily_bin886.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.97e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-28 19:08:14.708257', job_id='443426', GAL2='1.13', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1632881294.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='6.83e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='886' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:08:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 443426: <4FGL_J2243.8-2510_daily_bin886> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin886> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 18:55:32 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:55:34 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:55:34 2021
Terminated at Tue Sep 28 19:08:15 2021
Results reported at Tue Sep 28 19:08:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin886 340.957 -25.1701 468979201 469238401 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 :                                   542.54 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             242.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            763 sec.

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

