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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1683
RA = 340.865, Dec = -25.7363
tmin = 675561601, tmax = 675820801
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='52934', job_status='RUN', time_executed='2022-06-02 01:38:22.922973', time_epoch_executed='1654159102.92' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/52934

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/52934/ft1_4FGL_J2243.4-2544_daily_bin1683.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/52934/ft2_4FGL_J2243.4-2544_daily_bin1683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/52934/ft1_4FGL_J2243.4-2544_daily_bin1683.fits outfile=/scratch/kocevski/52934/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1683.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=675561601.0 tmax=675820801.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.44
user 3.21
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/52934/ft2_4FGL_J2243.4-2544_daily_bin1683.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/52934/ft2_4FGL_J2243.4-2544_daily_bin1683.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/52934/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1683.fits evtable="EVENTS" outfile="/scratch/kocevski/52934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1683.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/52934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1683.fits" evtable="EVENTS" scfile=/scratch/kocevski/52934/ft2_4FGL_J2243.4-2544_daily_bin1683.fits sctable="SC_DATA" outfile=/scratch/kocevski/52934/ltcube_675561601_675820801_4FGL_J2243.4-2544_daily_bin1683.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/52934/ft2_4FGL_J2243.4-2544_daily_bin1683.fits
.....................!
real 13.76
user 13.35
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/52934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/52934/ft2_4FGL_J2243.4-2544_daily_bin1683.fits sctable="SC_DATA" expcube=/scratch/kocevski/52934/ltcube_675561601_675820801_4FGL_J2243.4-2544_daily_bin1683.fits outfile=/scratch/kocevski/52934/expmap_675561601_675820801_4FGL_J2243.4-2544_daily_bin1683.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/52934/ltcube_675561601_675820801_4FGL_J2243.4-2544_daily_bin1683.fits
.....................!
real 192.41
user 186.85
sys 5.01

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2243.4-2544 @ 340.865 -25.7363

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/52934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1683.fits scfile=/scratch/kocevski/52934/ft2_4FGL_J2243.4-2544_daily_bin1683.fits outfile=/scratch/kocevski/52934/cmap_675561601_675820801_4FGL_J2243.4-2544_daily_bin1683.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.865 yref=-25.7363 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.59
user 0.37
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/52934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1683.fits scfile=/scratch/kocevski/52934/ft2_4FGL_J2243.4-2544_daily_bin1683.fits outfile=/scratch/kocevski/52934/cmap_HighResolution_675561601_675820801_4FGL_J2243.4-2544_daily_bin1683.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.865 yref=-25.7363 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/52934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/52934/ft2_4FGL_J2243.4-2544_daily_bin1683.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/52934/Model_4FGL_J2243.4-2544_daily_bin1683.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/52934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1683.fits.....................!
real 61.10
user 59.70
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/52934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1683.fits', '/scratch/kocevski/52934/ft2_4FGL_J2243.4-2544_daily_bin1683.fits', expMap='/scratch/kocevski/52934/expmap_675561601_675820801_4FGL_J2243.4-2544_daily_bin1683.fits', expCube='/scratch/kocevski/52934/ltcube_675561601_675820801_4FGL_J2243.4-2544_daily_bin1683.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/52934/Model_4FGL_J2243.4-2544_daily_bin1683.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2243.4-2544'

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.477e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/52934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1683.fits
Spacecraft file(s): /scratch/kocevski/52934/ft2_4FGL_J2243.4-2544_daily_bin1683.fits
Exposure map: /scratch/kocevski/52934/expmap_675561601_675820801_4FGL_J2243.4-2544_daily_bin1683.fits
Exposure cube: /scratch/kocevski/52934/ltcube_675561601_675820801_4FGL_J2243.4-2544_daily_bin1683.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/52934/Model_4FGL_J2243.4-2544_daily_bin1683.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) = 8125.83937038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .51877       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .64992E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.662       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5276       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    20.455       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13342E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.8109       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7905       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.527       1.0000         .10000E-03   10000.    
    15 'norm      '    4.0238       1.0000         .10000E-03   10000.    
    16 'Prefactor '    30.435       1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.431       1.0000         .10000E-03   10000.    
    18 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.944       1.0000         .10000E-03   10000.    
    22 'norm      '    .10988E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.976       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1126       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .75360       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8125.758     FROM MIGRAD    STATUS=CONVERGED    596 CALLS     2570 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.822        .29798E-06** at limit **
   2  Prefactor     .10000E-03    39.438       -.39276E-06** at limit **
   3  norm          .51879        .21649       -.85044E-08   -.23809E-03
   4  Prefactor     .10002E-03    6.3167       -.17239E-06** at limit **
   5  Prefactor     18.679        18.666       -.33388E-06   -.74838E-04
   6  Prefactor     1.5264        4.5330        .20294E-05    .43120E-03
   7  Prefactor     .10000E-03    51.940        .66468E-06** at limit **
   8  norm          20.462        16.037       -.44235E-07   -.40925E-04
   9  Prefactor     .10000E-03    12.294        .24659E-06** at limit **
  10  Prefactor     .10072E-03    6.4451        .19005E-05** at limit **
  11  norm          2.8111        .88293        .40989E-08   -.74017E-04
  12  norm          1.7913        1.3144       -.82392E-08   -.18239E-03
  13  Prefactor     .10000E-03    11.415       -.71783E-07** at limit **
  14  Prefactor     28.528        11.973       -.17795E-06    .10576E-03
  15  norm          4.0238        2.5526        .49960E-08    .37109E-03
  16  Prefactor     30.434        19.663        .15188E-06    .66767E-03
  17  Prefactor     23.425        11.284        .54553E-06    .15641E-02
  18  norm          .10000E-03    .21584       -.43855E-06** at limit **
  19  Prefactor     .10000E-03    14.506       -.22807E-06** at limit **
  20  Prefactor     .10000E-03    3.0623        .56430E-07** at limit **
  21  Prefactor     11.944        9.2659        .11428E-06    .50884E-03
  22  norm          .10000E-03    1.7475       -.11868E-05** at limit **
  23  Prefactor     17.906        29.097        .76545E-06    .49013E-04
  24  Normalizat    1.1125        .17148        .14392E-05    .22575E-03
  25  Prefactor     .75367        .15100       -.14279E-05    .18717E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.518789
  Prefactor  = 0.000100016
  Prefactor  = 18.6792
  Prefactor  = 1.52641
  Prefactor  = 0.0001
  norm       = 20.462
  Prefactor  = 0.0001
  Prefactor  = 0.000100724
  norm       = 2.81107
  norm       = 1.79135
  Prefactor  = 0.0001
  Prefactor  = 28.5284
  norm       = 4.02381
  Prefactor  = 30.4344
  Prefactor  = 23.425
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9441
  norm       = 0.000100001
  Prefactor  = 17.9059
  Normalizat = 1.11253
  Prefactor  = 0.753668
 **********
 **   18 **HESSE 
 **********

 FCN=   8125.758     FROM HESSE     STATUS=OK           437 CALLS     3007 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    39.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .51879        .21769        .26401E-04   -1.5564    
   4  Prefactor     .10002E-03    9.0131        .62381E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.679        18.675        .92713E-04   -1.4843    
   6  Prefactor     1.5264        4.4904        .31772E-03   -1.5461    
   7  Prefactor     .10000E-03    52.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          20.462        16.027        .88559E-04   -1.4803    
   9  Prefactor     .10000E-03    12.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10072E-03    51.026        .35784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.8111        .88294        .45993E-04   -1.5373    
  12  norm          1.7913        1.3040        .85892E-04   -1.5440    
  13  Prefactor     .10000E-03    11.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     28.528        12.017        .75010E-04   -1.4639    
  15  norm          4.0238        2.5502        .10983E-03   -1.5307    
  16  Prefactor     30.434        19.805        .72626E-04   -1.4604    
  17  Prefactor     23.425        11.374        .82751E-04   -1.4740    
  18  norm          .10000E-03    .34884        .75228E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0809        .15404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.944        9.2485        .11591E-03   -1.5017    
  22  norm          .10000E-03    2.9704        .20177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     17.906        28.933        .94465E-04   -1.4861    
  24  Normalizat    1.1125        .19548        .23569E-03   -.89350    
  25  Prefactor     .75367        .17268        .25833E-03   -1.0146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47589e-08
Minuit parameter uncertainties:
  1  9.34752e-05
  2  0.000307388
  3  0.217692
  4  0.000756295
  5  18.6808
  6  4.49137
  7  0.000304869
  8  16.0303
  9  4.38517e-05
  10  0.0121647
  11  0.882943
  12  1.30403
  13  3.11842e-05
  14  12.0179
  15  2.55027
  16  19.8092
  17  11.3747
  18  2.92898e-06
  19  9.3286e-05
  20  2.55804e-06
  21  9.24962
  22  0.000114587
  23  28.9559
  24  0.195612
  25  0.172804
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.791e+00  1.304e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  7.537e-01  1.728e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  1.113e+00  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.03
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.73e-08 +/- 1.26e-08
Energy Flux (Fixed Index): 1.10e-05 +/- 8.03e-06

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) = 8125.62591584
delta logL = 0.131848900307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8125.621047
delta logL = 0.136717741151

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0117       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6985       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1165       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75159       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8125.621     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      223 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0110        51.536        .72969E-02    .80089E-04
   2  alpha         1.6975        2.8290        .44208        .10209E-04
   3  Normalizat    1.1163        .99218E-01    .37367E-01    .19902E-04
   4  Prefactor     .75172        .76269E-01    .43084E-01    .58385E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.01097
  alpha      = 1.6975
  Normalizat = 1.11632
  Prefactor  = 0.751718
 **********
 **   18 **HESSE 
 **********

 FCN=   8125.621     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0110        1.4658        .90547E-04   -1.5424    
   2  alpha         1.6975        .55794        .17331E-01   -.32678    
   3  Normalizat    1.1163        .18209        .23535E-03   -.89230    
   4  Prefactor     .75172        .16826        .25863E-03   -1.0153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32438e-12
Minuit parameter uncertainties:
  1  1.46586
  2  0.563232
  3  0.182195
  4  0.16837
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/52934': 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) = 8125.62104498
delta logL = 0.136719757059

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.011e+00  1.466e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.698e+00  5.632e-01  0.000e+00  5.000e+00 ( 1.000e+00)
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  7.517e-01  1.684e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  1.116e+00  1.822e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.30
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 1.70 +/- 0.56
Photon Flux (Free Index): 1.37e-08 +/- 1.18e-08
Energy Flux (Free Index): 1.53e-05 +/- 1.55e-05

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/52934/cmap_HighResolution_675561601_675820801_4FGL_J2243.4-2544_daily_bin1683.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.73e-08', energy_flux2='1.53e-05', photon_flux_error='1.26e-08', dlogl='1.37e-01', energy_flux='1.10e-05', photon_flux2='1.37e-08', job_status='DONE', time_completed='2022-06-02 01:49:30.459495', photon_index_error2='0.56', photon_index2='1.70', ts='4.03', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='1.11', time_epoch_completed='1654159770.46', return_code='0', job_id='52934', GAL2='0.75', EG2='1.12', return_code2='0', energy_flux_error='8.03e-06', photon_flux_error2='1.18e-08', ts2='4.30', photon_index='2.00' WHERE bin_id='1683' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun  2 01:49:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 52934: <4FGL_J2243.4-2544_daily_bin1683> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1683> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun  2 01:35:28 2022
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:37:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun  2 01:37:15 2022
Terminated at Thu Jun  2 01:49:31 2022
Results reported at Thu Jun  2 01:49:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1683 340.865 -25.7363 675561601 675820801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.4-2544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   666.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            843 sec.

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

