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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1664
RA = 340.957, Dec = -25.1701
tmin = 670636801, tmax = 670896001
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='316807', job_status='RUN', time_executed='2022-04-06 00:36:59.623506', time_epoch_executed='1649230619.62' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316807

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316807/ft1_4FGL_J2243.8-2510_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316807/ft2_4FGL_J2243.8-2510_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316807/ft1_4FGL_J2243.8-2510_daily_bin1664.fits outfile=/scratch/kocevski/316807/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1664.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=670636801.0 tmax=670896001.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 5.38
user 5.13
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/316807/ft2_4FGL_J2243.8-2510_daily_bin1664.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/316807/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1664.fits evtable="EVENTS" outfile="/scratch/kocevski/316807/ft1_filtered_4FGL_J2243.8-2510_daily_bin1664.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.50
user 0.34
sys 0.13

Number of photons that the gtmktime cut: 607

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316807/ft1_filtered_4FGL_J2243.8-2510_daily_bin1664.fits" evtable="EVENTS" scfile=/scratch/kocevski/316807/ft2_4FGL_J2243.8-2510_daily_bin1664.fits sctable="SC_DATA" outfile=/scratch/kocevski/316807/ltcube_670636801_670896001_4FGL_J2243.8-2510_daily_bin1664.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/316807/ft2_4FGL_J2243.8-2510_daily_bin1664.fits
.....................!
real 11.88
user 11.43
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316807/ft1_filtered_4FGL_J2243.8-2510_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316807/ft2_4FGL_J2243.8-2510_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/316807/ltcube_670636801_670896001_4FGL_J2243.8-2510_daily_bin1664.fits outfile=/scratch/kocevski/316807/expmap_670636801_670896001_4FGL_J2243.8-2510_daily_bin1664.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/316807/ltcube_670636801_670896001_4FGL_J2243.8-2510_daily_bin1664.fits
.....................!
real 190.69
user 185.72
sys 4.35

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/316807/ft1_filtered_4FGL_J2243.8-2510_daily_bin1664.fits scfile=/scratch/kocevski/316807/ft2_4FGL_J2243.8-2510_daily_bin1664.fits outfile=/scratch/kocevski/316807/cmap_670636801_670896001_4FGL_J2243.8-2510_daily_bin1664.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=340.957 yref=-25.1701 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.13

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/316807/ft1_filtered_4FGL_J2243.8-2510_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316807/ft2_4FGL_J2243.8-2510_daily_bin1664.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/316807/Model_4FGL_J2243.8-2510_daily_bin1664.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/316807/ft1_filtered_4FGL_J2243.8-2510_daily_bin1664.fits.....................!
real 52.01
user 50.71
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    69.812       1.0000         .10000E-03   10000.    
     2 'norm      '    .77701       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    79.571       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.221       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1338       1.0000         .10000E-03   10000.    
    11 'norm      '    .10201E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    102.70       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.172       1.0000         .10000E-03   10000.    
    14 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.514       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.203       1.0000         .10000E-03   10000.    
    17 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.642       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    7.7455       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2770       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .46060       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=   6557.607     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2777 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     69.812        72.119        .63128E-06   -.18034E-04
   2  norm          .77702        .29612       -.95145E-08    .39635E-03
   3  Prefactor     .10000E-03    3.3538        .46004E-07** at limit **
   4  Prefactor     .10000E-03    10.252       -.11561E-06** at limit **
   5  Prefactor     .10000E-03    3.1249        .83551E-07** at limit **
   6  Prefactor     79.571        54.543        .37226E-06   -.20246E-04
   7  norm          .10000E-03    7.6086       -.11804E-06** at limit **
   8  Prefactor     .10000E-03    6.7503       -.20239E-07** at limit **
   9  Prefactor     18.221        10.425       -.59012E-06    .14642E-03
  10  norm          1.1338        .73825       -.15039E-07   -.16783E-03
  11  norm          .10001E-03    1.2019       -.16193E-05** at limit **
  12  Prefactor     102.71        41.655        .76925E-05   -.37404E-03
  13  Prefactor     17.171        10.780        .57150E-07   -.11278E-05
  14  norm          .10000E-03    1.6629       -.29600E-07** at limit **
  15  Prefactor     13.515        12.756        .12105E-06    .10245E-03
  16  Prefactor     11.209        8.2489       -.81159E-06    .17057E-03
  17  norm          .10000E-03    .21754        .44743E-07** at limit **
  18  Prefactor     .10000E-03    27.284       -.23890E-06** at limit **
  19  Prefactor     14.642        9.4323        .56827E-07   -.19982E-04
  20  Prefactor     .10000E-03    2.0623        .11177E-06** at limit **
  21  norm          7.7448        4.0282        .11151E-06   -.31650E-03
  22  Prefactor     .10000E-03    51.980        .12309E-06** at limit **
  23  Normalizat    1.2770        .16837       -.54524E-06    .21196E-03
  24  Prefactor     .46064        .14370       -.17523E-07    .74755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 69.8124
  norm       = 0.777021
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 79.5714
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.2206
  norm       = 1.13377
  norm       = 0.000100008
  Prefactor  = 102.706
  Prefactor  = 17.1714
  norm       = 0.0001
  Prefactor  = 13.5145
  Prefactor  = 11.2091
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.642
  Prefactor  = 0.0001
  norm       = 7.74482
  Prefactor  = 0.0001
  Normalizat = 1.27696
  Prefactor  = 0.460638
 **********
 **   18 **HESSE 
 **********

 FCN=   6557.607     FROM HESSE     STATUS=OK           395 CALLS     3172 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     69.812        72.157        .48043E-04   -1.4035    
   2  norm          .77702        .29665        .26331E-04   -1.5532    
   3  Prefactor     .10000E-03    3.3621        .14481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.1466        .13977E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     79.571        54.469        .45022E-04   -1.3922    
   7  norm          .10000E-03    7.6234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.7571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.221        10.423        .93829E-04   -1.4854    
  10  norm          1.1338        .72578        .53979E-04   -1.5495    
  11  norm          .10001E-03    2.2517        .17569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     102.71        42.546        .39676E-04   -1.3678    
  13  Prefactor     17.171        10.833        .96652E-04   -1.4879    
  14  norm          .10000E-03    1.6933        .10182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.515        12.786        .10896E-03   -1.4973    
  16  Prefactor     11.209        7.8747        .11970E-03   -1.5038    
  17  norm          .10000E-03    .30277        .67600E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    27.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.642        9.4337        .10467E-03   -1.4942    
  20  Prefactor     .10000E-03    2.0638        .11351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          7.7448        4.0351        .11201E-03   -1.5151    
  22  Prefactor     .10000E-03    52.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2770        .19862        .21228E-03   -.84257    
  24  Prefactor     .46064        .16684        .29877E-03   -1.1382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95473e-09
Minuit parameter uncertainties:
  1  72.2476
  2  0.296648
  3  1.8607e-06
  4  1.24113e-05
  5  2.49451e-06
  6  54.5036
  7  1.68197e-06
  8  3.72307e-06
  9  10.4245
  10  0.72579
  11  0.00026498
  12  42.5589
  13  10.8344
  14  1.59949e-06
  15  12.7889
  16  7.8754
  17  6.80347e-06
  18  4.44763e-05
  19  9.43462
  20  4.22718e-06
  21  4.03528
  22  4.07631e-05
  23  0.198743
  24  0.167017
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.027e+02  4.256e+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:  4.606e-01  1.670e-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.277e+00  1.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.44
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 4.41e-08
Energy Flux (Fixed Index): 2.55e-05 +/- 1.06e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6557.44599156
delta logL = 0.161403443078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6557.44556542
delta logL = 0.161829580952

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    126.29       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4628       1.0000          .0000       10.000    
     3 'Normalizat'    1.2916       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .44983       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=   6557.446     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      294 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     126.24        64.184        .17911E-03    .69187E-05
   2  Index         2.4623        .41744        .54356E-02    .30262E-03
   3  Normalizat    1.2917        .18819        .21129E-03   -.10551E-03
   4  Prefactor     .44979        .16467        .30202E-03    .41406E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 126.239
  Index      = 2.46233
  Normalizat = 1.29172
  Prefactor  = 0.449794
 **********
 **   18 **HESSE 
 **********

 FCN=   6557.446     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     126.24        62.954        .71643E-05   -1.3456    
   2  Index         2.4623        .40929        .10871E-02   -.53232    
   3  Normalizat    1.2917        .18825        .42259E-04   -.83814    
   4  Prefactor     .44979        .16473        .12081E-04   -1.1434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9522e-11
Minuit parameter uncertainties:
  1  62.9875
  2  0.409905
  3  0.188352
  4  0.164899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316807': 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) = 6557.4455633
delta logL = 0.161831699274

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.262e+02  6.299e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.462e+00  4.099e-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:  4.498e-01  1.649e-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.292e+00  1.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.78
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 2.46 +/- 0.41
Photon Flux (Free Index): 9.57e-08 +/- 4.40e-08
Energy Flux (Free Index): 2.90e-05 +/- 1.42e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/316807/cmap_HighResolution_670636801_670896001_4FGL_J2243.8-2510_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='2.90e-05', photon_flux_error='4.41e-08', dlogl='1.62e-01', energy_flux='2.55e-05', photon_flux2='9.57e-08', job_status='DONE', time_completed='2022-04-06 00:47:09.590356', photon_index_error2='0.41', photon_index2='2.46', ts='10.44', fit_tolerance='1e-08', GAL='0.46', photon_index_error='0.00', energy_flux_error2='1.42e-05', EG='1.28', time_epoch_completed='1649231229.59', return_code='0', job_id='316807', GAL2='0.45', EG2='1.29', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='4.40e-08', ts2='10.78', photon_index='2.71' WHERE bin_id='1664' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:47:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 316807: <4FGL_J2243.8-2510_daily_bin1664> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1664> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr  6 00:35:50 2022
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:35:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:35:53 2022
Terminated at Wed Apr  6 00:47:10 2022
Results reported at Wed Apr  6 00:47:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1664 340.957 -25.1701 670636801 670896001 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 :                                   611.56 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            680 sec.

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

