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 144 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1721
RA = 340.865, Dec = -25.7363
tmin = 685411201, tmax = 685670401
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='70686', job_status='RUN', time_executed='2022-09-24 01:15:46.454896', time_epoch_executed='1664007346.45' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70686

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70686/ft1_4FGL_J2243.4-2544_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70686/ft2_4FGL_J2243.4-2544_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70686/ft1_4FGL_J2243.4-2544_daily_bin1721.fits outfile=/scratch/kocevski/70686/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1721.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=685411201.0 tmax=685670401.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.24
user 4.94
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/70686/ft2_4FGL_J2243.4-2544_daily_bin1721.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/70686/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1721.fits evtable="EVENTS" outfile="/scratch/kocevski/70686/ft1_filtered_4FGL_J2243.4-2544_daily_bin1721.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.34
sys 0.17

Number of photons that the gtmktime cut: 681

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70686/ft1_filtered_4FGL_J2243.4-2544_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/70686/ft2_4FGL_J2243.4-2544_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/70686/ltcube_685411201_685670401_4FGL_J2243.4-2544_daily_bin1721.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/70686/ft2_4FGL_J2243.4-2544_daily_bin1721.fits
.....................!
real 15.30
user 14.86
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70686/ft1_filtered_4FGL_J2243.4-2544_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70686/ft2_4FGL_J2243.4-2544_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/70686/ltcube_685411201_685670401_4FGL_J2243.4-2544_daily_bin1721.fits outfile=/scratch/kocevski/70686/expmap_685411201_685670401_4FGL_J2243.4-2544_daily_bin1721.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/70686/ltcube_685411201_685670401_4FGL_J2243.4-2544_daily_bin1721.fits
.....................!
real 193.91
user 186.57
sys 6.65

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/70686/ft1_filtered_4FGL_J2243.4-2544_daily_bin1721.fits scfile=/scratch/kocevski/70686/ft2_4FGL_J2243.4-2544_daily_bin1721.fits outfile=/scratch/kocevski/70686/cmap_685411201_685670401_4FGL_J2243.4-2544_daily_bin1721.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70686/ft1_filtered_4FGL_J2243.4-2544_daily_bin1721.fits scfile=/scratch/kocevski/70686/ft2_4FGL_J2243.4-2544_daily_bin1721.fits outfile=/scratch/kocevski/70686/cmap_HighResolution_685411201_685670401_4FGL_J2243.4-2544_daily_bin1721.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.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/70686/ft1_filtered_4FGL_J2243.4-2544_daily_bin1721.fits', '/scratch/kocevski/70686/ft2_4FGL_J2243.4-2544_daily_bin1721.fits', expMap='/scratch/kocevski/70686/expmap_685411201_685670401_4FGL_J2243.4-2544_daily_bin1721.fits', expCube='/scratch/kocevski/70686/ltcube_685411201_685670401_4FGL_J2243.4-2544_daily_bin1721.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/70686/Model_4FGL_J2243.4-2544_daily_bin1721.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  0.000e+00  1.000e+06 ( 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 -5.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/70686/ft1_filtered_4FGL_J2243.4-2544_daily_bin1721.fits
Spacecraft file(s): /scratch/kocevski/70686/ft2_4FGL_J2243.4-2544_daily_bin1721.fits
Exposure map: /scratch/kocevski/70686/expmap_685411201_685670401_4FGL_J2243.4-2544_daily_bin1721.fits
Exposure cube: /scratch/kocevski/70686/ltcube_685411201_685670401_4FGL_J2243.4-2544_daily_bin1721.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/70686/Model_4FGL_J2243.4-2544_daily_bin1721.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) = 7405.91987421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17781E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.9018       1.0000          .0000       .10000E+07
     3 'norm      '    .70632       1.0000          .0000       .10000E+07
     4 'Prefactor '    .38512E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8413       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13954E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .55624       1.0000          .0000       .10000E+07
     8 'norm      '    31.304       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.4855       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13816E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .83130       1.0000          .0000       .10000E+07
    12 'norm      '    1.7643       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.536       1.0000          .0000       .10000E+07
    14 'Prefactor '    29.995       1.0000          .0000       .10000E+07
    15 'norm      '    .48461E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .93614E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.2697       1.0000          .0000       .10000E+07
    18 'norm      '    1.0323       1.0000          .0000       .10000E+07
    19 'Prefactor '    10.406       1.0000          .0000       .10000E+07
    20 'Prefactor '    .65804E-04   1.0000          .0000       .10000E+07
    21 'norm      '    8.4476       1.0000          .0000       .10000E+07
    22 'Normalizat'    .56990       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7405.888     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1504 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44409E-09    12.044        .12266E-07** at limit **
   2  Prefactor     2.9003        7.5998       -.11552E-06   -.23697E-01
   3  norm          .70676        .24713        .51459E-09    .44529E-02
   4  Prefactor     .20878E-06    56.094       -.49703E-06** at limit **
   5  Prefactor     4.8401        10.789        .46441E-07    .14929E-01
   6  Prefactor      .0000        1.8545       -.26742E-07** at limit **
   7  Prefactor     .15488E-07    94.950       -.37376E-06** at limit **
   8  norm          31.374        2.7355        .71043E-08    .12197    
   9  Prefactor     9.4793        4.3360       -.32988E-07    .66987E-01
  10  Prefactor     .74790E-06    220.56       -.63614E-06** at limit **
  11  norm          .83204        .73170       -.26762E-07   -.61172E-02
  12  norm          1.7698        1.6258        .71541E-08    .43014E-02
  13  Prefactor     10.320        22.616        .20059E-06   -.40671E-02
  14  Prefactor     30.018        10.663       -.45679E-07   -.30886E-01
  15  norm           .0000        1.4046       -.36499E-08** at limit **
  16  Prefactor      .0000        3.3249        .29684E-07** at limit **
  17  Prefactor     6.2615        8.1072       -.21880E-07    .24031E-02
  18  norm          1.0323        .62016        .75618E-09    .95985E-03
  19  Prefactor     10.400        7.5271       -.20689E-07    .82614E-03
  20  Prefactor      .0000        2.2038       -.14980E-07** at limit **
  21  norm          8.4449        3.5060       -.55192E-08    .85121E-03
  22  Normalizat    .57023        .18154        .18357E-05    .25530E-03
  23  Prefactor     1.1282        .17103        .12767E-06    .33132E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44089e-10
  Prefactor  = 2.90034
  norm       = 0.706764
  Prefactor  = 2.08777e-07
  Prefactor  = 4.84007
  Prefactor  = 0
  Prefactor  = 1.54876e-08
  norm       = 31.3735
  Prefactor  = 9.47935
  Prefactor  = 7.47902e-07
  norm       = 0.832045
  norm       = 1.76979
  Prefactor  = 10.3201
  Prefactor  = 30.0182
  norm       = 0
  Prefactor  = 0
  Prefactor  = 6.2615
  norm       = 1.03228
  Prefactor  = 10.3997
  Prefactor  = 0
  norm       = 8.4449
  Normalizat = 0.57023
  Prefactor  = 1.12816
 **********
 **   18 **HESSE 
 **********

 FCN=   7405.888     FROM HESSE     STATUS=OK           428 CALLS     1932 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44409E-09    12.138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.9003        93.631        .51054E-03   -1.5674    
   3  norm          .70676        .24669        .55660E-03   -1.5691    
   4  Prefactor     .20878E-06    56.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.8401        11.271        .45696E-03   -1.5664    
   6  Prefactor      .0000        1.8594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .15488E-07    95.447        .73243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          31.374        18.380        .17876E-03   -1.5596    
   9  Prefactor     9.4793        11.411        .32514E-03   -1.5646    
  10  Prefactor     .74790E-06    11.275        .60398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .83204        .73765        .50630E-03   -1.5690    
  12  norm          1.7698        1.6222        .78837E-03   -1.5681    
  13  Prefactor     10.320        22.722        .30843E-03   -1.5644    
  14  Prefactor     30.018        11.069        .18262E-03   -1.5598    
  15  norm           .0000        1.4017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        3.3400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.2615        7.7409        .40066E-03   -1.5658    
  18  norm          1.0323        .59875        .86914E-03   -1.5688    
  19  Prefactor     10.400        7.5460        .31035E-03   -1.5643    
  20  Prefactor      .0000        2.2097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          8.4449        3.5103        .34467E-03   -1.5650    
  22  Normalizat    .57023        .15739        .64579E-01   -1.0926    
  23  Prefactor     1.1282        .14509        .36612E-01   -.88572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.44135e-07
Minuit parameter uncertainties:
  1  0.000149044
  2  32.9589
  3  0.246695
  4  0.00689391
  5  11.2707
  6  7.81508e-06
  7  0.00243111
  8  18.3802
  9  11.4108
  10  0.00580782
  11  0.737654
  12  1.62222
  13  22.722
  14  11.0691
  15  8.95659e-07
  16  1.2873e-05
  17  7.74087
  18  0.598752
  19  7.54604
  20  6.98578e-06
  21  3.51028
  22  0.157517
  23  0.145136
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.770e+00  1.622e+00  0.000e+00  1.000e+06 ( 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 -5.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:  1.128e+00  1.451e-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:  5.702e-01  1.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.10
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.71e-08 +/- 1.57e-08
Energy Flux (Fixed Index): 1.09e-05 +/- 9.99e-06

TS (Fixed Index): 3.10
Ra Dec: 340.865 -25.736
Photon Flux Upper Limit: 5.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.36e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/70686/likelihoodResults_685411201_685670401_4FGL_J2243.4-2544_daily_bin1721.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) = 7405.88158769
delta logL = 0.00610977397719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7405.88098249
delta logL = 0.00671497470921

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7207       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0787       1.0000          .0000       5.0000    
     3 'Normalizat'    .56881       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1287       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7405.881     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      233 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7207        1.5314        .90727E-05    .64972E-02
   2  alpha         2.0787        .69431        .16881E-01    .28321E-04
   3  Normalizat    .56881        .17067        .28609E-03   -.40453E-04
   4  Prefactor     1.1287        .16637        .20239E-03   -.57790E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.72069
  alpha      = 2.07871
  Normalizat = 0.56881
  Prefactor  = 1.12873
 **********
 **   18 **HESSE 
 **********

 FCN=   7405.881     FROM HESSE     STATUS=OK            25 CALLS      258 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7207        1.5053        .36291E-06   -1.5682    
   2  alpha         2.0787        .68271        .67525E-03   -.16932    
   3  Normalizat    .56881        .17076        .11444E-04   -1.0933    
   4  Prefactor     1.1287        .16649        .40478E-04   -.88554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.121e-11
Minuit parameter uncertainties:
  1  1.50535
  2  0.691763
  3  0.170918
  4  0.166566
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70686': 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) = 7405.88098249
delta logL = 0.00671497583789

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.721e+00  1.505e+00  0.000e+00  1.000e+06 ( 1.000e-12)
253        alpha:  2.079e+00  6.918e-01  0.000e+00  5.000e+00 ( 1.000e+00)
254         beta:  1.309e-01  0.000e+00 -5.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:  1.129e+00  1.666e-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:  5.688e-01  1.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.11
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 2.08 +/- 0.69
Photon Flux (Free Index): 1.86e-08 +/- 1.96e-08
Energy Flux (Free Index): 1.04e-05 +/- 9.48e-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/70686/cmap_HighResolution_685411201_685670401_4FGL_J2243.4-2544_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.36e-05', comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='1.04e-05', photon_flux_error='1.57e-08', dlogl='6.71e-03', energy_flux='1.09e-05', photon_flux2='1.86e-08', job_status='DONE', time_completed='2022-09-24 01:25:42.338719', photon_index_error2='0.69', photon_index2='2.08', ts='3.10', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='5.28e-08', energy_flux_error2='9.48e-06', EG='0.57', time_epoch_completed='1664007942.34', return_code='0', job_id='70686', GAL2='1.13', EG2='0.57', return_code2='0', energy_flux_error='9.99e-06', photon_flux_error2='1.96e-08', ts2='3.11', photon_index='2.00' WHERE bin_id='1721' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 01:25:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 70686: <4FGL_J2243.4-2544_daily_bin1721> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1721> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Sep 24 01:10:39 2022
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 01:13:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 01:13:13 2022
Terminated at Sat Sep 24 01:25:43 2022
Results reported at Sat Sep 24 01:25:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1721 340.865 -25.7363 685411201 685670401 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 :                                   597.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            904 sec.

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

