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 90 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 = 7327
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1697
RA = 340.957, Dec = -25.1701
tmin = 679190401, tmax = 679449601
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='857706', job_status='RUN', time_executed='2022-07-14 00:37:31.923140', time_epoch_executed='1657784251.92' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857706

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857706/ft1_4FGL_J2243.8-2510_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857706/ft2_4FGL_J2243.8-2510_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857706/ft1_4FGL_J2243.8-2510_daily_bin1697.fits outfile=/scratch/kocevski/857706/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1697.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=679190401.0 tmax=679449601.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.45
user 3.23
sys 0.21

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

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

Number of photons that the gtmktime cut: 395

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857706/ft1_filtered_4FGL_J2243.8-2510_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857706/ft2_4FGL_J2243.8-2510_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857706/ltcube_679190401_679449601_4FGL_J2243.8-2510_daily_bin1697.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/857706/ft2_4FGL_J2243.8-2510_daily_bin1697.fits
.....................!
real 11.98
user 11.60
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857706/ft1_filtered_4FGL_J2243.8-2510_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857706/ft2_4FGL_J2243.8-2510_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857706/ltcube_679190401_679449601_4FGL_J2243.8-2510_daily_bin1697.fits outfile=/scratch/kocevski/857706/expmap_679190401_679449601_4FGL_J2243.8-2510_daily_bin1697.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/857706/ltcube_679190401_679449601_4FGL_J2243.8-2510_daily_bin1697.fits
.....................!
real 192.10
user 185.94
sys 5.84

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/857706/ft1_filtered_4FGL_J2243.8-2510_daily_bin1697.fits scfile=/scratch/kocevski/857706/ft2_4FGL_J2243.8-2510_daily_bin1697.fits outfile=/scratch/kocevski/857706/cmap_679190401_679449601_4FGL_J2243.8-2510_daily_bin1697.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857706/ft1_filtered_4FGL_J2243.8-2510_daily_bin1697.fits scfile=/scratch/kocevski/857706/ft2_4FGL_J2243.8-2510_daily_bin1697.fits outfile=/scratch/kocevski/857706/cmap_HighResolution_679190401_679449601_4FGL_J2243.8-2510_daily_bin1697.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/857706/ft1_filtered_4FGL_J2243.8-2510_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857706/ft2_4FGL_J2243.8-2510_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857706/Model_4FGL_J2243.8-2510_daily_bin1697.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/857706/ft1_filtered_4FGL_J2243.8-2510_daily_bin1697.fits.....................!
real 39.60
user 38.30
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    98.894       1.0000         .10000E-03   10000.    
     2 'norm      '    .20414       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.600       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.310       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15382E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10488E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.0103       1.0000         .10000E-03   10000.    
    11 'norm      '    .10915E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.014       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.379       1.0000         .10000E-03   10000.    
    14 'norm      '    .29213E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.186       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11402E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.5884       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.6499       1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.2704       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .68616       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85513       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=   4523.542     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2732 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     98.819        88.115        .24019E-05   -.19042E-03
   2  norm          .20415        .18633       -.26512E-07   -.30480E-03
   3  Prefactor     20.598        13.520       -.33749E-06    .23389E-04
   4  Prefactor     23.291        22.684        .34863E-06   -.13960E-03
   5  Prefactor     .10000E-03    4.3833       -.80480E-07** at limit **
   6  Prefactor     .10000E-03    29.492       -.58795E-06** at limit **
   7  norm          .10000E-03    8.1373       -.21406E-06** at limit **
   8  Prefactor     .10000E-03    6.5132        .62066E-07** at limit **
   9  Prefactor     .10000E-03    27.169       -.64186E-06** at limit **
  10  norm          3.0099        1.2096       -.37413E-07    .92039E-04
  11  norm          .10000E-03    3.0038        .36644E-05** at limit **
  12  Prefactor     38.078        36.994        .25753E-05   -.25034E-03
  13  Prefactor     12.370        10.907        .43798E-07    .86002E-04
  14  norm          .10000E-03    2.6468       -.12672E-05** at limit **
  15  Prefactor     16.198        12.479        .19469E-05    .73068E-03
  16  Prefactor     .10000E-03    8.3043       -.92955E-06** at limit **
  17  norm          .10000E-03    .24740       -.38237E-06** at limit **
  18  Prefactor     .10000E-03    23.273        .67545E-06** at limit **
  19  Prefactor     4.5879        6.8219       -.86977E-07    .21428E-04
  20  Prefactor     .10000E-03    4.6998       -.26319E-06** at limit **
  21  norm          4.6499        3.8379       -.15312E-06   -.40052E-04
  22  Prefactor     4.2544        88.326        .18834E-05   -.29756E-04
  23  Normalizat    .68620        .18558       -.46757E-06    .22723E-04
  24  Prefactor     .85524        .16761        .15763E-05    .68274E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 98.8193
  norm       = 0.204145
  Prefactor  = 20.5982
  Prefactor  = 23.2911
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 3.00993
  norm       = 0.0001
  Prefactor  = 38.0775
  Prefactor  = 12.3697
  norm       = 0.000100004
  Prefactor  = 16.1976
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.58788
  Prefactor  = 0.0001
  norm       = 4.64993
  Prefactor  = 4.25445
  Normalizat = 0.686202
  Prefactor  = 0.855237
 **********
 **   18 **HESSE 
 **********

 FCN=   4523.542     FROM HESSE     STATUS=OK           403 CALLS     3135 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     98.819        87.026        .20212E-03   -1.3717    
   2  norm          .20415        .20000        .26976E-03   -1.5618    
   3  Prefactor     20.598        13.514        .88247E-04   -1.4800    
   4  Prefactor     23.291        22.645        .82966E-04   -1.4742    
   5  Prefactor     .10000E-03    4.4308        .13751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    29.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    8.1411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.5142        .16764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    28.249        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.0099        1.2095        .44957E-04   -1.5361    
  11  norm          .10000E-03    3.0041        .16318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     38.078        36.532        .32503E-03   -1.4473    
  13  Prefactor     12.370        10.938        .11385E-03   -1.5004    
  14  norm          .10000E-03    11.898        .19779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.198        12.275        .99552E-04   -1.4903    
  16  Prefactor     .10000E-03    8.5693        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .37533        .63422E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    23.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.5879        6.8145        .18791E-03   -1.5280    
  20  Prefactor     .10000E-03    4.7330        .14240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.6499        3.8127        .10965E-03   -1.5277    
  22  Prefactor     4.2544        87.691        .19497E-03   -1.5295    
  23  Normalizat    .68620        .21864        .25234E-03   -1.0444    
  24  Prefactor     .85524        .19798        .21083E-03   -.97723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98292e-09
Minuit parameter uncertainties:
  1  87.1391
  2  0.200003
  3  13.5158
  4  22.6532
  5  1.58395e-05
  6  0.000140934
  7  2.87636e-05
  8  1.6071e-05
  9  0.000581988
  10  1.20954
  11  6.09177e-05
  12  36.5534
  13  10.94
  14  0.000461962
  15  12.2767
  16  0.000131607
  17  9.12512e-06
  18  0.000194221
  19  6.81569
  20  8.12154e-06
  21  3.81285
  22  38.6949
  23  0.21892
  24  0.198146
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  3.808e+01  3.655e+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:  8.552e-01  1.981e-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.862e-01  2.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.89
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 3.95e-08 +/- 3.78e-08
Energy Flux (Fixed Index): 9.45e-06 +/- 9.07e-06

TS (Fixed Index): 1.89
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.00e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/857706/likelihoodResults_679190401_679449601_4FGL_J2243.8-2510_daily_bin1697.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) = 4523.48296107
delta logL = 0.0591903684217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4523.4801089
delta logL = 0.0620425330626

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.441       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1376       1.0000          .0000       10.000    
     3 'Normalizat'    .66767       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86737       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=   4523.480     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      289 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.436        51.658        .76477E-04   -.86071E-04
   2  Index         3.1380        1.5384        .79402E-02   -.21899E-04
   3  Normalizat    .66796        .21944        .25548E-03   -.13875E-03
   4  Prefactor     .86722        .19893        .20952E-03   -.23860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.4361
  Index      = 3.138
  Normalizat = 0.667958
  Prefactor  = 0.867221
 **********
 **   18 **HESSE 
 **********

 FCN=   4523.480     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.436        42.483        .30591E-05   -1.4660    
   2  Index         3.1380        1.2703        .31761E-03   -.38159    
   3  Normalizat    .66796        .21797        .10219E-04   -1.0517    
   4  Prefactor     .86722        .19800        .41904E-04   -.97296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.44808e-11
Minuit parameter uncertainties:
  1  42.5297
  2  1.28675
  3  0.218252
  4  0.198162
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857706': 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) = 4523.48010716
delta logL = 0.0620442762111

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  2.744e+01  4.253e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.138e+00  1.287e+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:  8.672e-01  1.982e-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.680e-01  2.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.04
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 3.14 +/- 1.29
Photon Flux (Free Index): 5.18e-08 +/- 5.45e-08
Energy Flux (Free Index): 9.72e-06 +/- 8.55e-06

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/857706/cmap_HighResolution_679190401_679449601_4FGL_J2243.8-2510_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', comment='SUCCESS', photon_flux='3.95e-08', energy_flux2='9.72e-06', photon_flux_error='3.78e-08', dlogl='6.20e-02', energy_flux='9.45e-06', photon_flux2='5.18e-08', job_status='DONE', time_completed='2022-07-14 00:46:34.568186', photon_index_error2='1.29', photon_index2='3.14', ts='1.89', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.27e-07', energy_flux_error2='8.55e-06', EG='0.69', time_epoch_completed='1657784794.57', return_code='0', job_id='857706', GAL2='0.87', EG2='0.67', return_code2='0', energy_flux_error='9.07e-06', photon_flux_error2='5.45e-08', ts2='2.04', photon_index='2.71' WHERE bin_id='1697' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:46:34 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 857706: <4FGL_J2243.8-2510_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:53 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:35:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:35:53 2022
Terminated at Thu Jul 14 00:46:35 2022
Results reported at Thu Jul 14 00:46:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1697 340.957 -25.1701 679190401 679449601 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 :                                   545.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            642 sec.

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

