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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1665
RA = 340.957, Dec = -25.1701
tmin = 670896001, tmax = 671155201
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='357093', job_status='RUN', time_executed='2022-04-09 00:38:17.024984', time_epoch_executed='1649489897.03' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357093

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357093/ft1_4FGL_J2243.8-2510_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357093/ft2_4FGL_J2243.8-2510_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357093/ft1_4FGL_J2243.8-2510_daily_bin1665.fits outfile=/scratch/kocevski/357093/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1665.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=670896001.0 tmax=671155201.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.40
user 5.13
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357093/ft2_4FGL_J2243.8-2510_daily_bin1665.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/357093/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1665.fits evtable="EVENTS" outfile="/scratch/kocevski/357093/ft1_filtered_4FGL_J2243.8-2510_daily_bin1665.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.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 670

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357093/ft1_filtered_4FGL_J2243.8-2510_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/357093/ft2_4FGL_J2243.8-2510_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/357093/ltcube_670896001_671155201_4FGL_J2243.8-2510_daily_bin1665.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/357093/ft2_4FGL_J2243.8-2510_daily_bin1665.fits
.....................!
real 11.62
user 11.27
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357093/ft1_filtered_4FGL_J2243.8-2510_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/357093/ft2_4FGL_J2243.8-2510_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/357093/ltcube_670896001_671155201_4FGL_J2243.8-2510_daily_bin1665.fits outfile=/scratch/kocevski/357093/expmap_670896001_671155201_4FGL_J2243.8-2510_daily_bin1665.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/357093/ltcube_670896001_671155201_4FGL_J2243.8-2510_daily_bin1665.fits
.....................!
real 190.48
user 185.69
sys 4.46

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/357093/ft1_filtered_4FGL_J2243.8-2510_daily_bin1665.fits scfile=/scratch/kocevski/357093/ft2_4FGL_J2243.8-2510_daily_bin1665.fits outfile=/scratch/kocevski/357093/cmap_670896001_671155201_4FGL_J2243.8-2510_daily_bin1665.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357093/ft1_filtered_4FGL_J2243.8-2510_daily_bin1665.fits scfile=/scratch/kocevski/357093/ft2_4FGL_J2243.8-2510_daily_bin1665.fits outfile=/scratch/kocevski/357093/cmap_HighResolution_670896001_671155201_4FGL_J2243.8-2510_daily_bin1665.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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/357093/ft1_filtered_4FGL_J2243.8-2510_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/357093/ft2_4FGL_J2243.8-2510_daily_bin1665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/357093/Model_4FGL_J2243.8-2510_daily_bin1665.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/357093/ft1_filtered_4FGL_J2243.8-2510_daily_bin1665.fits.....................!
real 55.33
user 54.02
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/357093/ft1_filtered_4FGL_J2243.8-2510_daily_bin1665.fits', '/scratch/kocevski/357093/ft2_4FGL_J2243.8-2510_daily_bin1665.fits', expMap='/scratch/kocevski/357093/expmap_670896001_671155201_4FGL_J2243.8-2510_daily_bin1665.fits', expCube='/scratch/kocevski/357093/ltcube_670896001_671155201_4FGL_J2243.8-2510_daily_bin1665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/357093/Model_4FGL_J2243.8-2510_daily_bin1665.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/357093/ft1_filtered_4FGL_J2243.8-2510_daily_bin1665.fits
Spacecraft file(s): /scratch/kocevski/357093/ft2_4FGL_J2243.8-2510_daily_bin1665.fits
Exposure map: /scratch/kocevski/357093/expmap_670896001_671155201_4FGL_J2243.8-2510_daily_bin1665.fits
Exposure cube: /scratch/kocevski/357093/ltcube_670896001_671155201_4FGL_J2243.8-2510_daily_bin1665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/357093/Model_4FGL_J2243.8-2510_daily_bin1665.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) = 7203.8512731

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    54.779       1.0000         .10000E-03   10000.    
     2 'norm      '    .65850       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.9897       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.2167       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.0193       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.298       1.0000         .10000E-03   10000.    
     7 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.111       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.3411       1.0000         .10000E-03   10000.    
    11 'norm      '    .10099E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .35905E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.4049       1.0000         .10000E-03   10000.    
    14 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10249E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.045       1.0000         .10000E-03   10000.    
    17 'norm      '    .57714       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.075       1.0000         .10000E-03   10000.    
    21 'norm      '    6.5377       1.0000         .10000E-03   10000.    
    22 'Prefactor '    54.263       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1211       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .53979       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=   7203.850     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2693 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     54.787        49.869       -.13762E-05   -.30789E-05
   2  norm          .65851        .26724        .18740E-07    .72007E-04
   3  Prefactor     1.9916        7.3789        .10080E-04   -.25977E-03
   4  Prefactor     8.2171        9.5737       -.15542E-06   -.62856E-04
   5  Prefactor     9.0212        6.2031        .23139E-06   -.39577E-04
   6  Prefactor     13.305        36.658       -.69423E-06   -.75645E-06
   7  norm          .10000E-03    11.585       -.42760E-06** at limit **
   8  Prefactor     12.113        13.109        .22353E-06   -.84592E-05
   9  Prefactor     .10000E-03    8.5526       -.50432E-06** at limit **
  10  norm          3.3413        .95067        .40107E-07   -.15626E-03
  11  norm          .10000E-03    .87172       -.42315E-06** at limit **
  12  Prefactor     .10006E-03    124.47        .63518E-05** at limit **
  13  Prefactor     7.4078        7.7901        .40664E-06   -.10944E-03
  14  norm          .10000E-03    1.8227        .85268E-07** at limit **
  15  Prefactor     .10000E-03    6.3949        .31264E-06** at limit **
  16  Prefactor     32.030        10.244       -.55752E-06   -.16649E-02
  17  norm          .57747        .53656        .10556E-06   -.80837E-03
  18  Prefactor     .10000E-03    32.860       -.47616E-06** at limit **
  19  Prefactor     .10000E-03    11.006        .15931E-06** at limit **
  20  Prefactor     11.075        7.5391        .11853E-06   -.46276E-03
  21  norm          6.5383        3.0058        .10768E-06   -.49221E-04
  22  Prefactor     54.270        30.175       -.32383E-06   -.34446E-06
  23  Normalizat    1.1208        .15785       -.22416E-05   -.10282E-02
  24  Prefactor     .53986        .13692        .19214E-06   -.56164E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 54.7873
  norm       = 0.658509
  Prefactor  = 1.99159
  Prefactor  = 8.21706
  Prefactor  = 9.02121
  Prefactor  = 13.3053
  norm       = 0.0001
  Prefactor  = 12.113
  Prefactor  = 0.0001
  norm       = 3.34128
  norm       = 0.0001
  Prefactor  = 0.000100058
  Prefactor  = 7.40779
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.0296
  norm       = 0.577468
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.0746
  norm       = 6.53829
  Prefactor  = 54.27
  Normalizat = 1.12078
  Prefactor  = 0.539856
 **********
 **   18 **HESSE 
 **********

 FCN=   7203.850     FROM HESSE     STATUS=OK           397 CALLS     3090 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     54.787        49.874        .54195E-04   -1.4226    
   2  norm          .65851        .26920        .27099E-04   -1.5546    
   3  Prefactor     1.9916        7.4212        .14687E-02   -1.5426    
   4  Prefactor     8.2171        9.5731        .69931E-03   -1.5135    
   5  Prefactor     9.0212        6.2110        .13346E-03   -1.5107    
   6  Prefactor     13.305        36.646        .10984E-03   -1.4978    
   7  norm          .10000E-03    11.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.113        13.111        .11511E-03   -1.5012    
   9  Prefactor     .10000E-03    8.7952        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.3413        .95119        .42552E-04   -1.5342    
  11  norm          .10000E-03    .89735        .15489E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10006E-03    126.94        .42624E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.4078        7.8010        .14739E-03   -1.5164    
  14  norm          .10000E-03    1.8417        .11174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.4221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.030        10.220        .70784E-04   -1.4575    
  17  norm          .57747        .52036        .49025E-04   -1.5556    
  18  Prefactor     .10000E-03    32.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.075        7.5266        .12039E-03   -1.5042    
  21  norm          6.5383        3.0061        .95702E-04   -1.5197    
  22  Prefactor     54.270        30.202        .54451E-04   -1.4233    
  23  Normalizat    1.1208        .18626        .21807E-03   -.89087    
  24  Prefactor     .53986        .16060        .27230E-03   -1.1018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89064e-09
Minuit parameter uncertainties:
  1  49.912
  2  0.269203
  3  7.42462
  4  9.57493
  5  6.2114
  6  36.7082
  7  1.68951e-05
  8  13.1141
  9  4.61292e-05
  10  0.951195
  11  1.91858e-05
  12  0.00543878
  13  7.80203
  14  1.04616e-05
  15  5.27828e-05
  16  10.2208
  17  0.520363
  18  9.48321e-06
  19  4.99973e-05
  20  7.52723
  21  3.0062
  22  30.2109
  23  0.18637
  24  0.160739
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.001e-04  5.439e-03  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:  5.399e-01  1.607e-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.121e+00  1.864e-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: 7.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/357093/likelihoodResults_670896001_671155201_4FGL_J2243.8-2510_daily_bin1665.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) = 7203.85005369
delta logL = -3.74562359866e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7203.85001634
delta logL = -1.10762812255e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6658       1.0000          .0000       10.000    
     3 'Normalizat'    1.1208       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53986       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=   7203.850     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      258 TOTAL
                     EDM=   .59E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10034E-03    44.331        .12154    ** at limit **
   2  Index         2.7836        6.2688        .50000       -.11083E-04
   3  Normalizat    1.1208        .52768E-02    .37211E-01    .50695E-04
   4  Prefactor     .53985        .47402E-02    .61542E-01    .26745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100341
  Index      = 2.7836
  Normalizat = 1.12079
  Prefactor  = 0.539854
 **********
 **   18 **HESSE 
 **********

 FCN=   7203.850     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      301 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10034E-03    51.071        .11433       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7836        6.2355        .50000       -.45926    
   3  Normalizat    1.1208        .54255E-02    .21807E-03   -.89087    
   4  Prefactor     .53985        .48656E-02    .27230E-03   -1.1018    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.55531e-12
Minuit parameter uncertainties:
  1  0.00835838
  2  6.57524
  3  0.00542548
  4  0.00486565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357093': 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): 102
logL (Free Index) = 7203.85001604
delta logL = 1.86007127922e-07

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.003e-04  8.358e-03  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.784e+00  6.575e+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:  5.399e-01  4.866e-03  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.121e+00  5.425e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/357093/cmap_HighResolution_670896001_671155201_4FGL_J2243.8-2510_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.17e-08', time_completed='2022-04-09 00:50:00.414758', job_id='357093', GAL2='0.54', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1649490600.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.54', dlogl='1.86e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1665' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:50:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 357093: <4FGL_J2243.8-2510_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:35:51 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:35:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:35:53 2022
Terminated at Sat Apr  9 00:50:01 2022
Results reported at Sat Apr  9 00:50:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1665 340.957 -25.1701 670896001 671155201 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 :                                   705.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            850 sec.

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

