aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 51 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 = 7326
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1667
RA = 340.957, Dec = -25.1701
tmin = 671414401, tmax = 671673601
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='533228', job_status='RUN', time_executed='2022-04-15 03:42:57.889942', time_epoch_executed='1650019377.89' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/533228

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/533228/ft1_4FGL_J2243.8-2510_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/533228/ft2_4FGL_J2243.8-2510_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/533228/ft1_4FGL_J2243.8-2510_daily_bin1667.fits outfile=/scratch/kocevski/533228/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1667.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=671414401.0 tmax=671673601.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.54
user 3.29
sys 0.23

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

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

Number of photons that the gtmktime cut: 751

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/533228/ft1_filtered_4FGL_J2243.8-2510_daily_bin1667.fits" evtable="EVENTS" scfile=/scratch/kocevski/533228/ft2_4FGL_J2243.8-2510_daily_bin1667.fits sctable="SC_DATA" outfile=/scratch/kocevski/533228/ltcube_671414401_671673601_4FGL_J2243.8-2510_daily_bin1667.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/533228/ft2_4FGL_J2243.8-2510_daily_bin1667.fits
.....................!
real 17.42
user 17.05
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/533228/ft1_filtered_4FGL_J2243.8-2510_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/533228/ft2_4FGL_J2243.8-2510_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/533228/ltcube_671414401_671673601_4FGL_J2243.8-2510_daily_bin1667.fits outfile=/scratch/kocevski/533228/expmap_671414401_671673601_4FGL_J2243.8-2510_daily_bin1667.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/533228/ltcube_671414401_671673601_4FGL_J2243.8-2510_daily_bin1667.fits
.....................!
real 191.77
user 185.82
sys 5.59

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/533228/ft1_filtered_4FGL_J2243.8-2510_daily_bin1667.fits scfile=/scratch/kocevski/533228/ft2_4FGL_J2243.8-2510_daily_bin1667.fits outfile=/scratch/kocevski/533228/cmap_671414401_671673601_4FGL_J2243.8-2510_daily_bin1667.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/533228/ft1_filtered_4FGL_J2243.8-2510_daily_bin1667.fits scfile=/scratch/kocevski/533228/ft2_4FGL_J2243.8-2510_daily_bin1667.fits outfile=/scratch/kocevski/533228/cmap_HighResolution_671414401_671673601_4FGL_J2243.8-2510_daily_bin1667.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/533228/ft1_filtered_4FGL_J2243.8-2510_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/533228/ft2_4FGL_J2243.8-2510_daily_bin1667.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/533228/Model_4FGL_J2243.8-2510_daily_bin1667.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/533228/ft1_filtered_4FGL_J2243.8-2510_daily_bin1667.fits.....................!
real 61.35
user 59.21
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.921       1.0000         .10000E-03   10000.    
     2 'norm      '    .92503       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26658E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0375       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4368       1.0000         .10000E-03   10000.    
    10 'norm      '    3.8486       1.0000         .10000E-03   10000.    
    11 'norm      '    .10165E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.101       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19180E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .26920E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.181       1.0000         .10000E-03   10000.    
    17 'norm      '    .95312       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.8854       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .33541E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    9.6291       1.0000         .10000E-03   10000.    
    22 'Prefactor '    53.210       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .68323       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1340       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=   8090.097     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2759 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.837        53.670        .16831E-06    .16067E-03
   2  norm          .92510        .29906        .13430E-08   -.13787E-02
   3  Prefactor     .10000E-03    5.0645        .32279E-06** at limit **
   4  Prefactor     .10000E-03    5.1946        .27993E-07** at limit **
   5  Prefactor     3.0379        7.7006       -.20759E-06    .27421E-03
   6  Prefactor     .10000E-03    15.681        .65627E-07** at limit **
   7  norm          .10000E-03    7.2063       -.13857E-07** at limit **
   8  Prefactor     .10000E-03    13.828        .60996E-07** at limit **
   9  Prefactor     4.4322        9.0918       -.22006E-06    .28144E-03
  10  norm          3.8485        .94296       -.23321E-08   -.19339E-03
  11  norm          .10000E-03    .57833       -.61166E-07** at limit **
  12  Prefactor     45.111        32.061        .26225E-06    .95068E-04
  13  Prefactor     .10003E-03    15.636        .50218E-05** at limit **
  14  norm          .10000E-03    3.9211       -.28991E-05** at limit **
  15  Prefactor     .10000E-03    5.4933       -.28791E-06** at limit **
  16  Prefactor     18.192        10.176        .40774E-06    .10778E-02
  17  norm          .95309        .74646        .14962E-06    .52037E-02
  18  Prefactor     .10000E-03    32.942        .18871E-07** at limit **
  19  Prefactor     5.8846        6.3188       -.37963E-07    .72393E-04
  20  Prefactor     .10000E-03    6.5300       -.20214E-05** at limit **
  21  norm          9.6290        3.5678       -.12109E-07    .12143E-03
  22  Prefactor     53.185        32.208        .66260E-07    .11096E-04
  23  Normalizat    .68329        .16482        .15266E-05    .71045E-03
  24  Prefactor     1.1340        .14814       -.84528E-06    .57532E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.8374
  norm       = 0.925101
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.03793
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.43217
  norm       = 3.84851
  norm       = 0.0001
  Prefactor  = 45.1108
  Prefactor  = 0.000100033
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1916
  norm       = 0.953087
  Prefactor  = 0.0001
  Prefactor  = 5.88461
  Prefactor  = 0.0001
  norm       = 9.62899
  Prefactor  = 53.1847
  Normalizat = 0.683286
  Prefactor  = 1.13403
 **********
 **   18 **HESSE 
 **********

 FCN=   8090.097     FROM HESSE     STATUS=OK           403 CALLS     3162 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.837        53.750        .31331E-03   -1.4429    
   2  norm          .92510        .29925        .27076E-04   -1.5516    
   3  Prefactor     .10000E-03    16.440        .38486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.2060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0379        7.7241        .23281E-03   -1.5359    
   6  Prefactor     .10000E-03    15.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.2398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4322        9.0584        .19118E-03   -1.5287    
  10  norm          3.8485        .94282        .41858E-04   -1.5316    
  11  norm          .10000E-03    .58010        .66570E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     45.111        31.963        .59700E-04   -1.4364    
  13  Prefactor     .10003E-03    27.843        .34815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.9144        .20390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.5217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.192        10.382        .93932E-04   -1.4855    
  17  norm          .95309        .75939        .49403E-03   -1.5513    
  18  Prefactor     .10000E-03    32.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.8846        6.3143        .16553E-03   -1.5223    
  20  Prefactor     .10000E-03    25.990        .40672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          9.6290        3.5671        .97893E-04   -1.5087    
  22  Prefactor     53.185        32.184        .54985E-04   -1.4248    
  23  Normalizat    .68329        .19048        .28458E-03   -1.0456    
  24  Prefactor     1.1340        .17229        .21615E-03   -.88386    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10011e-09
Minuit parameter uncertainties:
  1  53.8134
  2  0.299254
  3  1.14694e-05
  4  2.9202e-05
  5  7.72659
  6  2.49366e-05
  7  1.88018e-05
  8  6.96102e-05
  9  9.06124
  10  0.942823
  11  1.28857e-05
  12  31.9753
  13  0.00192558
  14  2.12428e-05
  15  3.64118e-05
  16  10.3829
  17  0.759394
  18  4.58714e-05
  19  6.31506
  20  3.56225e-05
  21  3.56722
  22  32.1941
  23  0.190667
  24  0.172375
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  4.511e+01  3.198e+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:  1.134e+00  1.724e-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.833e-01  1.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.46
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 4.68e-08 +/- 3.31e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 7.93e-06

TS (Fixed Index): 3.46
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/533228/likelihoodResults_671414401_671673601_4FGL_J2243.8-2510_daily_bin1667.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): 0
logL (Free Index) = 8090.09409187
delta logL = 0.00251126238345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8090.09161602
delta logL = 0.00498711244472

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.282       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7806       1.0000          .0000       10.000    
     3 'Normalizat'    .68064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1360       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8090.092     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      240 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.282        668.40        .15413E-02    .94268E-04
   2  Index         2.7806        6.3872        .16207        .11820E-03
   3  Normalizat    .68070        .70507E-01    .64430E-01    .33135E-04
   4  Prefactor     1.1359        .57100E-01    .36357E-01    .31138E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.2816
  Index      = 2.78056
  Normalizat = 0.6807
  Prefactor  = 1.1359
 **********
 **   18 **HESSE 
 **********

 FCN=   8090.092     FROM HESSE     STATUS=OK            31 CALLS      271 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.282        44.542        .61650E-04   -1.4407    
   2  Index         2.7806        .81406        .82934E-02   -.45993    
   3  Normalizat    .68070        .17803        .28507E-03   -1.0466    
   4  Prefactor     1.1359        .16913        .21599E-03   -.88327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79985e-11
Minuit parameter uncertainties:
  1  44.5768
  2  0.818611
  3  0.178186
  4  0.169211
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/533228': 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) = 8090.09161596
delta logL = 0.00498716712082

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  4.228e+01  4.458e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.781e+00  8.186e-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:  1.136e+00  1.692e-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.807e-01  1.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.47
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 2.78 +/- 0.82
Photon Flux (Free Index): 4.84e-08 +/- 3.57e-08
Energy Flux (Free Index): 1.10e-05 +/- 7.98e-06

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/533228/cmap_HighResolution_671414401_671673601_4FGL_J2243.8-2510_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.91e-03', comment='SUCCESS', photon_flux='4.68e-08', energy_flux2='1.10e-05', photon_flux_error='3.31e-08', dlogl='4.99e-03', energy_flux='1.12e-05', photon_flux2='4.84e-08', job_status='DONE', time_completed='2022-04-15 03:55:48.516988', photon_index_error2='0.82', photon_index2='2.78', ts='3.46', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='7.98e-06', EG='0.68', time_epoch_completed='1650020148.52', return_code='0', job_id='533228', GAL2='1.14', EG2='0.68', return_code2='0', energy_flux_error='7.93e-06', photon_flux_error2='3.57e-08', ts2='3.47', photon_index='2.71' WHERE bin_id='1667' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 03:55:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 533228: <4FGL_J2243.8-2510_daily_bin1667> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1667> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Apr 15 03:40:43 2022
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:41:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:41:59 2022
Terminated at Fri Apr 15 03:55:49 2022
Results reported at Fri Apr 15 03:55:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1667 340.957 -25.1701 671414401 671673601 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 :                                   772.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             283.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            906 sec.

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

