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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1690
RA = 340.957, Dec = -25.1701
tmin = 677376001, tmax = 677635201
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='159516', job_status='RUN', time_executed='2022-06-23 01:18:48.790513', time_epoch_executed='1655972328.79' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1690'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159516

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159516/ft1_4FGL_J2243.8-2510_daily_bin1690.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159516/ft2_4FGL_J2243.8-2510_daily_bin1690.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159516/ft1_4FGL_J2243.8-2510_daily_bin1690.fits outfile=/scratch/kocevski/159516/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1690.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=677376001.0 tmax=677635201.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.54
user 2.33
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/159516/ft2_4FGL_J2243.8-2510_daily_bin1690.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/159516/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1690.fits evtable="EVENTS" outfile="/scratch/kocevski/159516/ft1_filtered_4FGL_J2243.8-2510_daily_bin1690.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.33
sys 0.16

Number of photons that the gtmktime cut: 441

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159516/ft1_filtered_4FGL_J2243.8-2510_daily_bin1690.fits" evtable="EVENTS" scfile=/scratch/kocevski/159516/ft2_4FGL_J2243.8-2510_daily_bin1690.fits sctable="SC_DATA" outfile=/scratch/kocevski/159516/ltcube_677376001_677635201_4FGL_J2243.8-2510_daily_bin1690.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/159516/ft2_4FGL_J2243.8-2510_daily_bin1690.fits
.....................!
real 15.70
user 15.31
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159516/ft1_filtered_4FGL_J2243.8-2510_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159516/ft2_4FGL_J2243.8-2510_daily_bin1690.fits sctable="SC_DATA" expcube=/scratch/kocevski/159516/ltcube_677376001_677635201_4FGL_J2243.8-2510_daily_bin1690.fits outfile=/scratch/kocevski/159516/expmap_677376001_677635201_4FGL_J2243.8-2510_daily_bin1690.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/159516/ltcube_677376001_677635201_4FGL_J2243.8-2510_daily_bin1690.fits
.....................!
real 191.42
user 186.63
sys 3.96

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J2243.8-2510 @ 340.957 -25.1701

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/159516/ft1_filtered_4FGL_J2243.8-2510_daily_bin1690.fits scfile=/scratch/kocevski/159516/ft2_4FGL_J2243.8-2510_daily_bin1690.fits outfile=/scratch/kocevski/159516/cmap_677376001_677635201_4FGL_J2243.8-2510_daily_bin1690.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=340.957 yref=-25.1701 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.60
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159516/ft1_filtered_4FGL_J2243.8-2510_daily_bin1690.fits scfile=/scratch/kocevski/159516/ft2_4FGL_J2243.8-2510_daily_bin1690.fits outfile=/scratch/kocevski/159516/cmap_HighResolution_677376001_677635201_4FGL_J2243.8-2510_daily_bin1690.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=340.957 yref=-25.1701 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/159516/ft1_filtered_4FGL_J2243.8-2510_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159516/ft2_4FGL_J2243.8-2510_daily_bin1690.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159516/Model_4FGL_J2243.8-2510_daily_bin1690.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/159516/ft1_filtered_4FGL_J2243.8-2510_daily_bin1690.fits.....................!
real 43.82
user 42.53
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/159516/ft1_filtered_4FGL_J2243.8-2510_daily_bin1690.fits', '/scratch/kocevski/159516/ft2_4FGL_J2243.8-2510_daily_bin1690.fits', expMap='/scratch/kocevski/159516/expmap_677376001_677635201_4FGL_J2243.8-2510_daily_bin1690.fits', expCube='/scratch/kocevski/159516/ltcube_677376001_677635201_4FGL_J2243.8-2510_daily_bin1690.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/159516/Model_4FGL_J2243.8-2510_daily_bin1690.xml', optimizer='MINUIT')

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

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.852e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/159516/ft1_filtered_4FGL_J2243.8-2510_daily_bin1690.fits
Spacecraft file(s): /scratch/kocevski/159516/ft2_4FGL_J2243.8-2510_daily_bin1690.fits
Exposure map: /scratch/kocevski/159516/expmap_677376001_677635201_4FGL_J2243.8-2510_daily_bin1690.fits
Exposure cube: /scratch/kocevski/159516/ltcube_677376001_677635201_4FGL_J2243.8-2510_daily_bin1690.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/159516/Model_4FGL_J2243.8-2510_daily_bin1690.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) = 4848.11722564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    119.84       1.0000         .10000E-03   10000.    
     2 'norm      '    .54921       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3600       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.707       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.3293       1.0000         .10000E-03   10000.    
    11 'norm      '    .63775       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.7096       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    38.767       1.0000         .10000E-03   10000.    
    17 'norm      '    .14226E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    129.84       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    23.918       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1526       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97784       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4847.929     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2747 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     119.83        112.80       -.10175E-05    .16932E-04
   2  norm          .54932        .36714       -.20653E-07    .30209E-03
   3  Prefactor     .10000E-03    5.6296       -.32256E-06** at limit **
   4  Prefactor     1.2612        122.05       -.27192E-05   -.93559E-05
   5  Prefactor     13.708        13.146       -.39012E-07    .22533E-04
   6  Prefactor     .10000E-03    32.468       -.43336E-08** at limit **
   7  norm          .10000E-03    7.0467       -.69116E-07** at limit **
   8  Prefactor     .10000E-03    10.457       -.29707E-08** at limit **
   9  Prefactor     .10000E-03    12.721       -.30799E-07** at limit **
  10  norm          3.3293        1.2549        .45722E-08    .29220E-04
  11  norm          .63643        1.9144        .49931E-06    .31834E-04
  12  Prefactor     .10000E-03    45.952       -.41669E-07** at limit **
  13  Prefactor     .10000E-03    8.4931        .72361E-07** at limit **
  14  norm          6.7104        5.4176        .13602E-06    .48343E-03
  15  Prefactor     .10000E-03    10.372       -.45992E-06** at limit **
  16  Prefactor     38.802        13.876        .13163E-05    .11489E-02
  17  norm          .10138E-03    .61181       -.70008E-06** at limit **
  18  Prefactor     129.83        114.64        .16468E-07    .78259E-05
  19  Prefactor     .10000E-03    7.5894        .29380E-06** at limit **
  20  Prefactor     .10000E-03    11.084       -.43376E-06** at limit **
  21  norm          23.919        6.4630        .27043E-07    .38795E-04
  22  Prefactor     .10000E-03    36.967        .21239E-06** at limit **
  23  Normalizat    1.1521        .24572        .56748E-06    .23606E-03
  24  Prefactor     .97837        .21282       -.10410E-05    .32797E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 119.825
  norm       = 0.549323
  Prefactor  = 0.0001
  Prefactor  = 1.26119
  Prefactor  = 13.7084
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.3293
  norm       = 0.63643
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.7104
  Prefactor  = 0.0001
  Prefactor  = 38.8019
  norm       = 0.000101382
  Prefactor  = 129.833
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.9188
  Prefactor  = 0.0001
  Normalizat = 1.15207
  Prefactor  = 0.978367
 **********
 **   18 **HESSE 
 **********

 FCN=   4847.929     FROM HESSE     STATUS=OK           401 CALLS     3148 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     119.83        112.49        .18381E-03   -1.3514    
   2  norm          .54932        .37730        .33613E-03   -1.5560    
   3  Prefactor     .10000E-03    5.6235        .16114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2612        126.21        .37453E-02   -1.5483    
   5  Prefactor     13.708        13.161        .10819E-03   -1.4967    
   6  Prefactor     .10000E-03    32.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.0471        .18053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.3293        1.2548        .46030E-04   -1.5343    
  11  norm          .63643        1.7190        .15996E-02   -1.5548    
  12  Prefactor     .10000E-03    46.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.5659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.7104        5.4119        .13438E-03   -1.5190    
  15  Prefactor     .10000E-03    10.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     38.802        17.539        .64374E-04   -1.4461    
  17  norm          .10138E-03    2.5261        .14300E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     129.83        114.76        .35335E-04   -1.3424    
  19  Prefactor     .10000E-03    7.6214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          23.919        6.4723        .81906E-04   -1.4729    
  22  Prefactor     .10000E-03    36.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1521        .29841        .27917E-03   -.88097    
  24  Prefactor     .97837        .25576        .26413E-03   -.93454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.29246e-09
Minuit parameter uncertainties:
  1  112.691
  2  0.377297
  3  2.10359e-05
  4  25.2866
  5  13.164
  6  6.54021e-05
  7  7.31658e-06
  8  9.56139e-06
  9  1.67189e-05
  10  1.25479
  11  1.71917
  12  0.000104207
  13  7.26118e-06
  14  5.41227
  15  1.41913e-05
  16  17.5409
  17  0.00373656
  18  114.962
  19  2.86547e-06
  20  3.5679e-07
  21  6.47252
  22  3.94478e-05
  23  0.298855
  24  0.256081
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.042e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  9.784e-01  2.561e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.152e+00  2.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/159516/likelihoodResults_677376001_677635201_4FGL_J2243.8-2510_daily_bin1690.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) = 4847.92948626
delta logL = -0.000103314698208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4847.92938295
delta logL = 9.32232069317e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6425       1.0000          .0000       10.000    
     3 'Normalizat'    1.1521       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97836       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4847.929     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      233 TOTAL
                     EDM=   .18E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    156.74        .90712E-02** at limit **
   2  Index         2.6422        5.5876        .50000        .52796E-07
   3  Normalizat    1.1521        .23411        .63113E-01    .79557E-05
   4  Prefactor     .97836        .20703        .45996E-01    .80868E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.6422
  Normalizat = 1.15207
  Prefactor  = 0.978365
 **********
 **   18 **HESSE 
 **********

 FCN=   4847.929     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .14E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    47.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6422        6.3170        .50000       -.49106    
   3  Normalizat    1.1521        .28090        .27917E-03   -.88097    
   4  Prefactor     .97836        .24859        .26413E-03   -.93454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3862e-14
Minuit parameter uncertainties:
  1  8.66958e-06
  2  4.50798
  3  0.281267
  4  0.24888
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159516': 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) = 4847.92938294
delta logL = 1.64618541021e-09

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  8.670e-06  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.642e+00  4.508e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  9.784e-01  2.489e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.152e+00  2.813e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 340.957 -25.170

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/159516/cmap_HighResolution_677376001_677635201_4FGL_J2243.8-2510_daily_bin1690.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.63e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2022-06-23 01:28:27.087994', job_id='159516', GAL2='0.98', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1655972907.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.65e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1690' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun 23 01:28:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 159516: <4FGL_J2243.8-2510_daily_bin1690> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1690> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Jun 23 01:15:18 2022
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 01:15:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 01:15:54 2022
Terminated at Thu Jun 23 01:28:28 2022
Results reported at Thu Jun 23 01:28:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1690 340.957 -25.1701 677376001 677635201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.8-2510 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   580.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            790 sec.

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

