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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1736
RA = 340.865, Dec = -25.7363
tmin = 689299201, tmax = 689558401
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='963385', job_status='RUN', time_executed='2022-11-08 00:41:42.895267', time_epoch_executed='1667896902.9' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963385

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963385/ft1_4FGL_J2243.4-2544_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963385/ft2_4FGL_J2243.4-2544_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963385/ft1_4FGL_J2243.4-2544_daily_bin1736.fits outfile=/scratch/kocevski/963385/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1736.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=689299201.0 tmax=689558401.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.58
user 3.33
sys 0.23

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

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

Number of photons that the gtmktime cut: 644

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963385/ft1_filtered_4FGL_J2243.4-2544_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/963385/ft2_4FGL_J2243.4-2544_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/963385/ltcube_689299201_689558401_4FGL_J2243.4-2544_daily_bin1736.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/963385/ft2_4FGL_J2243.4-2544_daily_bin1736.fits
.....................!
real 12.01
user 11.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963385/ft1_filtered_4FGL_J2243.4-2544_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963385/ft2_4FGL_J2243.4-2544_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/963385/ltcube_689299201_689558401_4FGL_J2243.4-2544_daily_bin1736.fits outfile=/scratch/kocevski/963385/expmap_689299201_689558401_4FGL_J2243.4-2544_daily_bin1736.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/963385/ltcube_689299201_689558401_4FGL_J2243.4-2544_daily_bin1736.fits
.....................!
real 190.57
user 185.13
sys 5.10

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/963385/ft1_filtered_4FGL_J2243.4-2544_daily_bin1736.fits scfile=/scratch/kocevski/963385/ft2_4FGL_J2243.4-2544_daily_bin1736.fits outfile=/scratch/kocevski/963385/cmap_689299201_689558401_4FGL_J2243.4-2544_daily_bin1736.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.57
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963385/ft1_filtered_4FGL_J2243.4-2544_daily_bin1736.fits scfile=/scratch/kocevski/963385/ft2_4FGL_J2243.4-2544_daily_bin1736.fits outfile=/scratch/kocevski/963385/cmap_HighResolution_689299201_689558401_4FGL_J2243.4-2544_daily_bin1736.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.58
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/963385/ft1_filtered_4FGL_J2243.4-2544_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963385/ft2_4FGL_J2243.4-2544_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/963385/Model_4FGL_J2243.4-2544_daily_bin1736.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/963385/ft1_filtered_4FGL_J2243.4-2544_daily_bin1736.fits.....................!
real 52.65
user 51.37
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/963385/ft1_filtered_4FGL_J2243.4-2544_daily_bin1736.fits', '/scratch/kocevski/963385/ft2_4FGL_J2243.4-2544_daily_bin1736.fits', expMap='/scratch/kocevski/963385/expmap_689299201_689558401_4FGL_J2243.4-2544_daily_bin1736.fits', expCube='/scratch/kocevski/963385/ltcube_689299201_689558401_4FGL_J2243.4-2544_daily_bin1736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/963385/Model_4FGL_J2243.4-2544_daily_bin1736.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/963385/ft1_filtered_4FGL_J2243.4-2544_daily_bin1736.fits
Spacecraft file(s): /scratch/kocevski/963385/ft2_4FGL_J2243.4-2544_daily_bin1736.fits
Exposure map: /scratch/kocevski/963385/expmap_689299201_689558401_4FGL_J2243.4-2544_daily_bin1736.fits
Exposure cube: /scratch/kocevski/963385/ltcube_689299201_689558401_4FGL_J2243.4-2544_daily_bin1736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/963385/Model_4FGL_J2243.4-2544_daily_bin1736.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) = 7025.82341364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15155E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .43333E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .87445       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.8442       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13928E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .28184       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.5208       1.0000          .0000       .10000E+07
     8 'norm      '    .10463       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.0700       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.133       1.0000          .0000       .10000E+07
    11 'norm      '    .71739       1.0000          .0000       .10000E+07
    12 'norm      '    1.2522       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25800E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.6343       1.0000          .0000       .10000E+07
    15 'norm      '    .30685E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .47038E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .20905E-05   1.0000          .0000       .10000E+07
    18 'norm      '    2.0099       1.0000          .0000       .10000E+07
    19 'Prefactor '    .42317       1.0000          .0000       .10000E+07
    20 'Prefactor '    .22907E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .13745E-06   1.0000          .0000       .10000E+07
    22 'Normalizat'    .66297       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0828       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=   7025.677     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     1921 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.125        .59986E-08** at limit **
   2  Prefactor     .55511E-10    39.556       -.10893E-07** at limit **
   3  norm          .87446        .29414       -.41367E-09   -.16786E-02
   4  Prefactor     8.8488        8.9375       -.10325E-07   -.25512E-03
   5  Prefactor     .26645E-08    18.104       -.10786E-06** at limit **
   6  Prefactor     .29507        3.6357       -.13052E-06    .59165E-02
   7  Prefactor     4.3000        49.808        .27301E-07   -.26626E-04
   8  norm          .16892E-06    14.218        .31096E-06** at limit **
   9  Prefactor     7.0859        11.848        .57551E-08    .36755E-03
  10  Prefactor     15.283        10.800       -.13002E-08   -.93065E-03
  11  norm          .71777        .61485        .53713E-08    .18393E-02
  12  norm          1.2499        1.4370        .16581E-07   -.73681E-03
  13  Prefactor     .22204E-08    18.808        .95475E-07** at limit **
  14  Prefactor     4.6547        8.0342        .28994E-07    .14064E-02
  15  norm           .0000        2.4665       -.26167E-09** at limit **
  16  Prefactor      .0000        3.9204       -.31577E-09** at limit **
  17  Prefactor      .0000        3.9487       -.43145E-08** at limit **
  18  norm          2.0095        .59017       -.94230E-09   -.29861E-02
  19  Prefactor     .42075        8.6120        .52347E-06    .35089E-02
  20  Prefactor      .0000        7.8979       -.63753E-08** at limit **
  21  norm           .0000        2.5307       -.27981E-08** at limit **
  22  Normalizat    .66230        .15717        .21266E-05   -.30776E-04
  23  Prefactor     1.0832        .14854       -.15852E-05   -.40036E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0.874459
  Prefactor  = 8.84876
  Prefactor  = 2.66454e-09
  Prefactor  = 0.295068
  Prefactor  = 4.29996
  norm       = 1.6892e-07
  Prefactor  = 7.0859
  Prefactor  = 15.2832
  norm       = 0.717768
  norm       = 1.24988
  Prefactor  = 2.22045e-09
  Prefactor  = 4.65469
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.00951
  Prefactor  = 0.420746
  Prefactor  = 0
  norm       = 0
  Normalizat = 0.662295
  Prefactor  = 1.08323
 **********
 **   18 **HESSE 
 **********

 FCN=   7025.677     FROM HESSE     STATUS=OK           376 CALLS     2297 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.134        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    39.613        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .87446        .29441        .25621E-05   -1.5689    
   4  Prefactor     8.8488        8.9344        .13472E-04   -1.5648    
   5  Prefactor     .26645E-08    18.286        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .29507        23.574        .27328E-03   -1.5697    
   7  Prefactor     4.3000        49.754        .18930E-04   -1.5666    
   8  norm          .16892E-06    47.907        .51097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.0859        11.841        .15082E-04   -1.5655    
  10  Prefactor     15.283        10.793        .10288E-04   -1.5630    
  11  norm          .71777        .60676        .58820E-05   -1.5691    
  12  norm          1.2499        1.4110        .10341E-04   -1.5686    
  13  Prefactor     .22204E-08    18.940        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.6547        8.0423        .18691E-04   -1.5665    
  15  norm           .0000        2.4974        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        3.9216        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        3.9569        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.0095        .58860        .33214E-05   -1.5680    
  19  Prefactor     .42075        9.2217        .34740E-04   -1.5695    
  20  Prefactor      .0000        7.9282        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        2.5578        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .66230        .17518        .13044E-02   -1.0540    
  23  Prefactor     1.0832        .16796        .20436E-03   -.90004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.2435e-09
Minuit parameter uncertainties:
  1  1.92233e-05
  2  6.8031e-05
  3  0.294409
  4  8.93443
  5  0.000439361
  6  5.2749
  7  29.2538
  8  0.0056894
  9  11.8412
  10  10.7932
  11  0.606757
  12  1.41103
  13  0.000412685
  14  8.04235
  15  2.08897e-06
  16  9.32231e-07
  17  8.35882e-06
  18  0.588599
  19  3.93955
  20  1.48018e-05
  21  2.06831e-06
  22  0.175325
  23  0.168046
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.250e+00  1.411e+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.083e+00  1.680e-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:  6.623e-01  1.753e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.65
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.21e-08 +/- 1.37e-08
Energy Flux (Fixed Index): 7.69e-06 +/- 8.69e-06

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

Saving results to:
/scratch/kocevski/963385/likelihoodResults_689299201_689558401_4FGL_J2243.4-2544_daily_bin1736.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) = 7025.67672879
delta logL = 0.000590758315411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7025.67664574
delta logL = 0.000673812557579

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2687       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9682       1.0000          .0000       5.0000    
     3 'Normalizat'    .66268       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0830       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=   7025.677     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      223 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2686        1.5332        .10411E-04    .30346E-02
   2  alpha         1.9682        .82660        .21242E-01    .13655E-04
   3  Normalizat    .66268        .16815        .26082E-03   -.85782E-04
   4  Prefactor     1.0830        .16603        .20438E-03   -.12262E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26865
  alpha      = 1.96818
  Normalizat = 0.662682
  Prefactor  = 1.083
 **********
 **   18 **HESSE 
 **********

 FCN=   7025.677     FROM HESSE     STATUS=OK            25 CALLS      248 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2686        1.5061        .41645E-06   -1.5685    
   2  alpha         1.9682        .81265        .84967E-03   -.21437    
   3  Normalizat    .66268        .16825        .10433E-04   -1.0539    
   4  Prefactor     1.0830        .16615        .40876E-04   -.90012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30648e-11
Minuit parameter uncertainties:
  1  1.50614
  2  0.828436
  3  0.16838
  4  0.16623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963385': 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) = 7025.67664574
delta logL = 0.00067381257395

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.269e+00  1.506e+00  0.000e+00  1.000e+06 ( 1.000e-12)
253        alpha:  1.968e+00  8.284e-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.083e+00  1.662e-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:  6.627e-01  1.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.66
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 1.97 +/- 0.83
Photon Flux (Free Index): 1.18e-08 +/- 1.55e-08
Energy Flux (Free Index): 7.90e-06 +/- 1.05e-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/963385/cmap_HighResolution_689299201_689558401_4FGL_J2243.4-2544_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-05', comment='SUCCESS', photon_flux='1.21e-08', energy_flux2='7.90e-06', photon_flux_error='1.37e-08', dlogl='6.74e-04', energy_flux='7.69e-06', photon_flux2='1.18e-08', job_status='DONE', time_completed='2022-11-08 00:51:22.041288', photon_index_error2='0.83', photon_index2='1.97', ts='1.65', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='4.99e-08', energy_flux_error2='1.05e-05', EG='0.66', time_epoch_completed='1667897482.04', return_code='0', job_id='963385', GAL2='1.08', EG2='0.66', return_code2='0', energy_flux_error='8.69e-06', photon_flux_error2='1.55e-08', ts2='1.66', photon_index='2.00' WHERE bin_id='1736' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:51:22 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 963385: <4FGL_J2243.4-2544_daily_bin1736> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 00:40:19 2022
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:40:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:40:20 2022
Terminated at Tue Nov  8 00:51:22 2022
Results reported at Tue Nov  8 00:51:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1736 340.865 -25.7363 689299201 689558401 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 :                                   581.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            663 sec.

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

