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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1675
RA = 340.865, Dec = -25.7363
tmin = 673488001, tmax = 673747201
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='884172', job_status='RUN', time_executed='2022-05-09 01:27:42.527275', time_epoch_executed='1652084862.53' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884172

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884172/ft1_4FGL_J2243.4-2544_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884172/ft2_4FGL_J2243.4-2544_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884172/ft1_4FGL_J2243.4-2544_daily_bin1675.fits outfile=/scratch/kocevski/884172/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1675.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=673488001.0 tmax=673747201.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 2.58
user 2.37
sys 0.19

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

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

Number of photons that the gtmktime cut: 583

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884172/ft1_filtered_4FGL_J2243.4-2544_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/884172/ft2_4FGL_J2243.4-2544_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/884172/ltcube_673488001_673747201_4FGL_J2243.4-2544_daily_bin1675.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/884172/ft2_4FGL_J2243.4-2544_daily_bin1675.fits
.....................!
real 19.43
user 18.95
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884172/ft1_filtered_4FGL_J2243.4-2544_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884172/ft2_4FGL_J2243.4-2544_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/884172/ltcube_673488001_673747201_4FGL_J2243.4-2544_daily_bin1675.fits outfile=/scratch/kocevski/884172/expmap_673488001_673747201_4FGL_J2243.4-2544_daily_bin1675.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/884172/ltcube_673488001_673747201_4FGL_J2243.4-2544_daily_bin1675.fits
.....................!
real 191.53
user 185.52
sys 4.80

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/884172/ft1_filtered_4FGL_J2243.4-2544_daily_bin1675.fits scfile=/scratch/kocevski/884172/ft2_4FGL_J2243.4-2544_daily_bin1675.fits outfile=/scratch/kocevski/884172/cmap_673488001_673747201_4FGL_J2243.4-2544_daily_bin1675.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884172/ft1_filtered_4FGL_J2243.4-2544_daily_bin1675.fits scfile=/scratch/kocevski/884172/ft2_4FGL_J2243.4-2544_daily_bin1675.fits outfile=/scratch/kocevski/884172/cmap_HighResolution_673488001_673747201_4FGL_J2243.4-2544_daily_bin1675.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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/884172/ft1_filtered_4FGL_J2243.4-2544_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884172/ft2_4FGL_J2243.4-2544_daily_bin1675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/884172/Model_4FGL_J2243.4-2544_daily_bin1675.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/884172/ft1_filtered_4FGL_J2243.4-2544_daily_bin1675.fits.....................!
real 53.60
user 52.14
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .85124       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.742       1.0000         .10000E-03   10000.    
     8 'norm      '    7.0967       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15881       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.6357       1.0000         .10000E-03   10000.    
    11 'norm      '    .79950       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.7396       1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    39.041       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11151E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    1.7562       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    21.419       1.0000         .10000E-03   10000.    
    23 'Prefactor '    58.673       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.4063       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .77922       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=   6284.570     FROM MIGRAD    STATUS=CONVERGED    633 CALLS     2996 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.739       -.29530E-07** at limit **
   2  Prefactor     .10000E-03    32.138        .42506E-07** at limit **
   3  norm          .85120        .32857        .76012E-09    .80751E-04
   4  Prefactor     .10000E-03    3.7054       -.28631E-08** at limit **
   5  Prefactor     .10000E-03    8.8546       -.48881E-07** at limit **
   6  Prefactor     .10000E-03    4.0908       -.49200E-07** at limit **
   7  Prefactor     12.708        31.460        .84350E-06   -.83882E-05
   8  norm          7.0900        21.894       -.50500E-06   -.78384E-05
   9  Prefactor     .42864E-02    16.349       -.16842E-05    .14688E-03
  10  Prefactor     6.6332        13.634       -.64524E-06   -.32126E-04
  11  norm          .79946        .71265       -.38658E-06   -.11203E-02
  12  norm          .10000E-03    .95292       -.17234E-06** at limit **
  13  Prefactor     .10000E-03    16.719       -.56269E-07** at limit **
  14  Prefactor     6.7417        10.686       -.36851E-06   -.38931E-04
  15  norm          .10000E-03    2.6291        .97429E-07** at limit **
  16  Prefactor     39.054        21.279        .10729E-05    .14490E-04
  17  Prefactor     .10000E-03    53.505       -.44928E-05** at limit **
  18  norm          1.7572        .90919       -.20878E-06   -.50062E-03
  19  Prefactor     .10000E-03    23.126       -.68318E-07** at limit **
  20  Prefactor     .10000E-03    9.3756       -.54112E-07** at limit **
  21  Prefactor     .10000E-03    9.2887       -.32530E-06** at limit **
  22  norm          21.420        6.5594       -.22702E-07   -.38924E-05
  23  Prefactor     58.658        56.562       -.44641E-07    .49132E-06
  24  Normalizat    1.4064        .21610       -.17794E-05    .15661E-03
  25  Prefactor     .77926        .18984        .25081E-05   -.46840E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.851203
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.7077
  norm       = 7.08996
  Prefactor  = 0.00428641
  Prefactor  = 6.63315
  norm       = 0.799464
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.74174
  norm       = 0.0001
  Prefactor  = 39.0541
  Prefactor  = 0.0001
  norm       = 1.75722
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.4198
  Prefactor  = 58.6582
  Normalizat = 1.40644
  Prefactor  = 0.77926
 **********
 **   18 **HESSE 
 **********

 FCN=   6284.570     FROM HESSE     STATUS=OK           437 CALLS     3433 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    32.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .85120        .33107        .27483E-04   -1.5523    
   4  Prefactor     .10000E-03    3.7228        .14902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.8767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.1163        .15656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.708        31.488        .11221E-03   -1.4995    
   8  norm          7.0900        21.854        .15058E-03   -1.5175    
   9  Prefactor     .42864E-02    13.735        .93616E-01   -1.5695    
  10  Prefactor     6.6332        13.753        .15578E-03   -1.5193    
  11  norm          .79946        .71685        .63749E-03   -1.5529    
  12  norm          .10000E-03    1.5669        .14931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.7417        10.773        .15456E-03   -1.5189    
  15  norm          .10000E-03    2.6754        .12528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     39.054        21.512        .64148E-04   -1.4457    
  17  Prefactor     .10000E-03    53.176        .41360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.7572        .92467        .45617E-04   -1.5443    
  19  Prefactor     .10000E-03    23.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.4457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.3486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          21.420        6.5643        .86545E-04   -1.4782    
  23  Prefactor     58.658        56.666        .52376E-04   -1.4175    
  24  Normalizat    1.4064        .24440        .24113E-03   -.80443    
  25  Prefactor     .77926        .21120        .28171E-03   -1.0050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06044e-10
Minuit parameter uncertainties:
  1  2.77408e-06
  2  2.6078e-05
  3  0.331075
  4  2.34282e-06
  5  3.48908e-06
  6  1.29674e-06
  7  31.529
  8  21.879
  9  0.4797
  10  13.7598
  11  0.716854
  12  1.32409e-05
  13  4.91859e-06
  14  10.7763
  15  1.09735e-06
  16  21.516
  17  0.000305849
  18  0.924682
  19  5.04259e-06
  20  1.42703e-06
  21  6.64073e-06
  22  6.56453
  23  56.718
  24  0.244607
  25  0.211424
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  1.324e-05  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.793e-01  2.114e-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.406e+00  2.446e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/884172/likelihoodResults_673488001_673747201_4FGL_J2243.4-2544_daily_bin1675.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): 102
logL (Free Index) = 6284.57298086
delta logL = -0.00302926116274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6284.56995186
delta logL = -2.60155502474e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0012       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77930       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6284.570     FROM MIGRAD    STATUS=FAILED        93 CALLS      260 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10006E-03    76.394        .14918E-02** at limit **
   2  alpha         2.0303        2.8663        .50000       -.35083E-05
   3  Normalizat    1.4064        .35577E-01    .24113E-03    .13601E-03
   4  Prefactor     .77926        .32131E-01    .28171E-03    .12204E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6284.570     FROM SIMPLEX   STATUS=UNCHANGED    140 CALLS      400 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10006E-03    76.394        .20681E-03** at limit **
   2  alpha         2.0303        2.8663        .34677E-04   -.35083E-05
   3  Normalizat    1.4064        .35577E-01    .91393E-06    .13601E-03
   4  Prefactor     .77926        .32131E-01    .92142E-06    .12204E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6284.570     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      434 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    279.25        .29835E-03** at limit **
   2  alpha         2.0269        3.5948        .50000       -.40345E-05
   3  Normalizat    1.4064        .92377E-01    .48227E-04    .13390E-03
   4  Prefactor     .77926        .83417E-01    .11268E-04    .12046E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100038
  alpha      = 2.02691
  Normalizat = 1.40643
  Prefactor  = 0.779263
 **********
 **   18 **HESSE 
 **********

 FCN=   6284.570     FROM HESSE     STATUS=OK            29 CALLS      463 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    1.7547        .59670E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0269        3.0686        .50000       -.19038    
   3  Normalizat    1.4064        .23140        .96453E-05   -.80443    
   4  Prefactor     .77926        .20893        .22537E-05   -1.0050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59645e-08
Minuit parameter uncertainties:
  1  0.000516588
  2  98.0716
  3  0.231573
  4  0.209146
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884172': 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) = 6284.56995154
delta logL = 6.06714820606e-08

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  5.166e-04  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.027e+00  9.807e+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.793e-01  2.091e-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.406e+00  2.316e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 340.865 -25.736

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/884172/cmap_HighResolution_673488001_673747201_4FGL_J2243.4-2544_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-05', job_status='DONE', photon_flux_upper_limit='4.12e-08', time_completed='2022-05-09 01:39:15.317953', job_id='884172', GAL2='0.78', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1652085555.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='6.07e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1675' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:39:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 884172: <4FGL_J2243.4-2544_daily_bin1675> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1675> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon May  9 01:25:28 2022
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:26:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:26:47 2022
Terminated at Mon May  9 01:39:16 2022
Results reported at Mon May  9 01:39:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1675 340.865 -25.7363 673488001 673747201 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 :                                   692.29 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             312.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            828 sec.

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

