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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin624
RA = 340.957, Dec = -25.1701
tmin = 401068801, tmax = 401328001
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='442036', job_status='RUN', time_executed='2021-09-28 18:52:21.957842', time_epoch_executed='1632880341.96' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='624'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/442036

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/442036/ft1_4FGL_J2243.8-2510_daily_bin624.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/442036/ft2_4FGL_J2243.8-2510_daily_bin624.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/442036/ft1_4FGL_J2243.8-2510_daily_bin624.fits outfile=/scratch/kocevski/442036/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin624.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=401068801.0 tmax=401328001.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.37
user 3.17
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/442036/ft2_4FGL_J2243.8-2510_daily_bin624.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/442036/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin624.fits evtable="EVENTS" outfile="/scratch/kocevski/442036/ft1_filtered_4FGL_J2243.8-2510_daily_bin624.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/442036/ft1_filtered_4FGL_J2243.8-2510_daily_bin624.fits" evtable="EVENTS" scfile=/scratch/kocevski/442036/ft2_4FGL_J2243.8-2510_daily_bin624.fits sctable="SC_DATA" outfile=/scratch/kocevski/442036/ltcube_401068801_401328001_4FGL_J2243.8-2510_daily_bin624.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/442036/ft2_4FGL_J2243.8-2510_daily_bin624.fits
.....................!
real 12.10
user 11.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/442036/ft1_filtered_4FGL_J2243.8-2510_daily_bin624.fits evtable="EVENTS" scfile=/scratch/kocevski/442036/ft2_4FGL_J2243.8-2510_daily_bin624.fits sctable="SC_DATA" expcube=/scratch/kocevski/442036/ltcube_401068801_401328001_4FGL_J2243.8-2510_daily_bin624.fits outfile=/scratch/kocevski/442036/expmap_401068801_401328001_4FGL_J2243.8-2510_daily_bin624.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/442036/ltcube_401068801_401328001_4FGL_J2243.8-2510_daily_bin624.fits
.....................!
real 190.98
user 185.07
sys 5.55

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/442036/ft1_filtered_4FGL_J2243.8-2510_daily_bin624.fits scfile=/scratch/kocevski/442036/ft2_4FGL_J2243.8-2510_daily_bin624.fits outfile=/scratch/kocevski/442036/cmap_401068801_401328001_4FGL_J2243.8-2510_daily_bin624.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/442036/ft1_filtered_4FGL_J2243.8-2510_daily_bin624.fits scfile=/scratch/kocevski/442036/ft2_4FGL_J2243.8-2510_daily_bin624.fits outfile=/scratch/kocevski/442036/cmap_HighResolution_401068801_401328001_4FGL_J2243.8-2510_daily_bin624.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/442036/ft1_filtered_4FGL_J2243.8-2510_daily_bin624.fits evtable="EVENTS" scfile=/scratch/kocevski/442036/ft2_4FGL_J2243.8-2510_daily_bin624.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/442036/Model_4FGL_J2243.8-2510_daily_bin624.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/442036/ft1_filtered_4FGL_J2243.8-2510_daily_bin624.fits.....................!
real 54.90
user 53.59
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.0904       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1396       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9967       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7025       1.0000         .10000E-03   10000.    
     6 'Prefactor '    43.522       1.0000         .10000E-03   10000.    
     7 'norm      '    18.262       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .49822E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.0967       1.0000         .10000E-03   10000.    
    10 'norm      '    .23551       1.0000         .10000E-03   10000.    
    11 'norm      '    1.9329       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .85735       1.0000         .10000E-03   10000.    
    14 'norm      '    3.8513       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1346       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10302E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.3846       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.7193       1.0000         .10000E-03   10000.    
    21 'norm      '    3.3008       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12354E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2574       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .63290       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=   7058.290     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     2924 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.955       -.37107E-06** at limit **
   2  norm          1.0904        .33117       -.10022E-08   -.26857E-04
   3  Prefactor     5.1399        7.0148        .55034E-06    .96308E-04
   4  Prefactor     2.9965        8.6497        .28501E-05    .22849E-03
   5  Prefactor     5.7035        6.6480       -.93210E-07   -.13508E-03
   6  Prefactor     43.513        46.152       -.90054E-06   -.59413E-04
   7  norm          18.259        20.051        .11104E-08   -.97333E-05
   8  Prefactor     .10001E-03    20.915        .34849E-07** at limit **
   9  Prefactor     2.0945        7.2005       -.66714E-06   -.26725E-03
  10  norm          .23575        .34611        .22372E-08    .62792E-04
  11  norm          1.9321        1.8943        .49337E-07   -.10330E-03
  12  Prefactor     .10000E-03    36.216        .60697E-06** at limit **
  13  Prefactor     .83401        4.6639        .25251E-06   -.14382E-03
  14  norm          3.8512        2.4248       -.16723E-07    .27585E-05
  15  Prefactor     4.1330        6.1278        .66112E-06    .12837E-03
  16  Prefactor     .10000E-03    2.6940       -.35006E-07** at limit **
  17  norm          .10000E-03    .12545       -.21791E-07** at limit **
  18  Prefactor     .10000E-03    65.736       -.11867E-05** at limit **
  19  Prefactor     4.3845        4.8499        .10946E-05   -.99023E-03
  20  Prefactor     2.7170        5.9141       -.22989E-06   -.25497E-03
  21  norm          3.3001        2.3893        .31899E-07   -.90353E-04
  22  Prefactor     .10000E-03    88.790        .15843E-05** at limit **
  23  Normalizat    1.2575        .16382       -.18886E-06   -.41526E-04
  24  Prefactor     .63276        .14622       -.19393E-06   -.31167E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.09038
  Prefactor  = 5.13992
  Prefactor  = 2.99652
  Prefactor  = 5.7035
  Prefactor  = 43.5131
  norm       = 18.2588
  Prefactor  = 0.000100013
  Prefactor  = 2.09454
  norm       = 0.235746
  norm       = 1.93206
  Prefactor  = 0.0001
  Prefactor  = 0.834009
  norm       = 3.85124
  Prefactor  = 4.13297
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.38447
  Prefactor  = 2.717
  norm       = 3.30011
  Prefactor  = 0.0001
  Normalizat = 1.25752
  Prefactor  = 0.632759
 **********
 **   18 **HESSE 
 **********

 FCN=   7058.290     FROM HESSE     STATUS=OK           421 CALLS     3345 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0904        .33217        .25914E-04   -1.5499    
   3  Prefactor     5.1399        7.0011        .17733E-03   -1.5255    
   4  Prefactor     2.9965        8.8214        .23449E-03   -1.5362    
   5  Prefactor     5.7035        6.6715        .16821E-03   -1.5230    
   6  Prefactor     43.513        46.349        .60769E-04   -1.4388    
   7  norm          18.259        20.019        .93724E-04   -1.4853    
   8  Prefactor     .10001E-03    24.933        .10261       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.0945        7.4754        .28504E-03   -1.5419    
  10  norm          .23575        .29966        .58259E-03   -1.5611    
  11  norm          1.9321        1.8778        .10832E-03   -1.5430    
  12  Prefactor     .10000E-03    36.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .83401        20.493        .33656E-02   -1.5525    
  14  norm          3.8512        2.4211        .10018E-03   -1.5315    
  15  Prefactor     4.1330        6.1039        .19824E-03   -1.5301    
  16  Prefactor     .10000E-03    2.7214        .13412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .13391        .56723E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    66.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.3845        5.7981        .96171E-03   -1.5289    
  20  Prefactor     2.7170        5.9442        .24697E-03   -1.5378    
  21  norm          3.3001        2.3867        .10705E-03   -1.5345    
  22  Prefactor     .10000E-03    92.440        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2575        .19243        .20978E-03   -.84843    
  24  Prefactor     .63276        .17091        .26342E-03   -1.0622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3055e-09
Minuit parameter uncertainties:
  1  7.05913e-05
  2  0.332173
  3  7.00224
  4  8.82526
  5  6.6724
  6  46.3876
  7  20.0259
  8  0.00115378
  9  7.47872
  10  0.299662
  11  1.87782
  12  0.00013682
  13  8.27103
  14  2.42115
  15  6.10477
  16  4.34016e-06
  17  1.06733e-07
  18  0.000259532
  19  5.79886
  20  5.94549
  21  2.38681
  22  0.00033289
  23  0.192538
  24  0.171052
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.368e-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:  6.328e-01  1.711e-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.258e+00  1.925e-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: 6.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/442036/likelihoodResults_401068801_401328001_4FGL_J2243.8-2510_daily_bin624.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) = 7058.28992331
delta logL = -0.000130686673401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7058.2897933
delta logL = -6.76759555063e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1020       1.0000          .0000       10.000    
     3 'Normalizat'    1.2575       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63276       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=   7058.290     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      284 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10431E-03    12.504        .18142E-01** at limit **
   2  Index         2.9969        6.5096        .50000        .97170E-05
   3  Normalizat    1.2575        .25752E-02    .20978E-03   -.11882E-03
   4  Prefactor     .63276        .23804E-02    .26342E-03   -.17997E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010431
  Index      = 2.99691
  Normalizat = 1.25752
  Prefactor  = 0.632759
 **********
 **   18 **HESSE 
 **********

 FCN=   7058.290     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      313 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10431E-03    562.70        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9969        7.6819        .50000       -.41219    
   3  Normalizat    1.2575        .17398E-01    .41957E-04   -.84844    
   4  Prefactor     .63276        .16082E-01    .10537E-04   -1.0622    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.08283e-09
Minuit parameter uncertainties:
  1  0.0994421
  2  850.637
  3  0.0173981
  4  0.016082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/442036': 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): 102
logL (Free Index) = 7058.28979311
delta logL = -4.82707946503e-07

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.043e-04  9.944e-02  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.997e+00  8.506e+02  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.328e-01  1.608e-02  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.258e+00  1.740e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/442036/cmap_HighResolution_401068801_401328001_4FGL_J2243.8-2510_daily_bin624.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.22e-03', job_status='DONE', photon_flux_upper_limit='6.63e-08', time_completed='2021-09-28 19:04:08.689863', job_id='442036', GAL2='0.63', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1632881048.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='-4.83e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='624' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:04:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 442036: <4FGL_J2243.8-2510_daily_bin624> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin624 340.957 -25.1701 401068801 401328001 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 :                                   707.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            796 sec.

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

