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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1702
RA = 342.193, Dec = -32.5926
tmin = 680486401, tmax = 680745601
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='258998', job_status='RUN', time_executed='2022-07-29 01:37:35.780461', time_epoch_executed='1659083855.78' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/258998

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/258998/ft1_4FGL_J2248.7-3235_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/258998/ft2_4FGL_J2248.7-3235_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/258998/ft1_4FGL_J2248.7-3235_daily_bin1702.fits outfile=/scratch/kocevski/258998/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1702.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=680486401.0 tmax=680745601.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.94
user 2.71
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/258998/ft2_4FGL_J2248.7-3235_daily_bin1702.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/258998/ft2_4FGL_J2248.7-3235_daily_bin1702.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/258998/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/258998/ft1_filtered_4FGL_J2248.7-3235_daily_bin1702.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 106

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/258998/ft1_filtered_4FGL_J2248.7-3235_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/258998/ft2_4FGL_J2248.7-3235_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/258998/ltcube_680486401_680745601_4FGL_J2248.7-3235_daily_bin1702.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/258998/ft2_4FGL_J2248.7-3235_daily_bin1702.fits
.....................!
real 13.75
user 13.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/258998/ft1_filtered_4FGL_J2248.7-3235_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/258998/ft2_4FGL_J2248.7-3235_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/258998/ltcube_680486401_680745601_4FGL_J2248.7-3235_daily_bin1702.fits outfile=/scratch/kocevski/258998/expmap_680486401_680745601_4FGL_J2248.7-3235_daily_bin1702.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/258998/ltcube_680486401_680745601_4FGL_J2248.7-3235_daily_bin1702.fits
.....................!
real 193.23
user 187.79
sys 4.74

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J2248.7-3235 @ 342.193 -32.5926

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/258998/ft1_filtered_4FGL_J2248.7-3235_daily_bin1702.fits scfile=/scratch/kocevski/258998/ft2_4FGL_J2248.7-3235_daily_bin1702.fits outfile=/scratch/kocevski/258998/cmap_680486401_680745601_4FGL_J2248.7-3235_daily_bin1702.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=342.193 yref=-32.5926 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/258998/ft1_filtered_4FGL_J2248.7-3235_daily_bin1702.fits scfile=/scratch/kocevski/258998/ft2_4FGL_J2248.7-3235_daily_bin1702.fits outfile=/scratch/kocevski/258998/cmap_HighResolution_680486401_680745601_4FGL_J2248.7-3235_daily_bin1702.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=342.193 yref=-32.5926 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/258998/ft1_filtered_4FGL_J2248.7-3235_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/258998/ft2_4FGL_J2248.7-3235_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/258998/Model_4FGL_J2248.7-3235_daily_bin1702.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/258998/ft1_filtered_4FGL_J2248.7-3235_daily_bin1702.fits......................!
real 20.85
user 19.58
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/258998/ft1_filtered_4FGL_J2248.7-3235_daily_bin1702.fits', '/scratch/kocevski/258998/ft2_4FGL_J2248.7-3235_daily_bin1702.fits', expMap='/scratch/kocevski/258998/expmap_680486401_680745601_4FGL_J2248.7-3235_daily_bin1702.fits', expCube='/scratch/kocevski/258998/ltcube_680486401_680745601_4FGL_J2248.7-3235_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/258998/Model_4FGL_J2248.7-3235_daily_bin1702.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2248.7-3235'

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  4.211e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.761e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/258998/ft1_filtered_4FGL_J2248.7-3235_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/258998/ft2_4FGL_J2248.7-3235_daily_bin1702.fits
Exposure map: /scratch/kocevski/258998/expmap_680486401_680745601_4FGL_J2248.7-3235_daily_bin1702.fits
Exposure cube: /scratch/kocevski/258998/ltcube_680486401_680745601_4FGL_J2248.7-3235_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/258998/Model_4FGL_J2248.7-3235_daily_bin1702.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) = 1299.63335517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.954       1.0000         .10000E-03   10000.    
     3 'Prefactor '    74.510       1.0000         .10000E-03   10000.    
     4 'norm      '    72.459       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    133.44       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11349E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.288       1.0000         .10000E-03   10000.    
     9 'norm      '    .16271E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    226.51       1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.712       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10137E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10644E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0263       1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    129.13       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11245E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10129E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    51.731       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .13910E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .33255       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2128       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1299.580     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2853 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9684       -.31986E-06** at limit **
   2  Prefactor     13.903        207.05        .28239E-06    .22697E-06
   3  Prefactor     74.384        80.603        .84792E-06   -.45523E-04
   4  norm          72.452        89.032        .10587E-05    .32691E-04
   5  Prefactor     .10000E-03    102.98       -.56666E-07** at limit **
   6  Prefactor     133.46        109.80        .54257E-06    .37896E-05
   7  Prefactor     .10000E-03    25.363       -.19197E-05** at limit **
   8  Prefactor     36.272        77.931        .63706E-06    .14517E-05
   9  norm          .10000E-03    7.4533       -.44173E-05** at limit **
  10  Prefactor     226.31        148.83        .22520E-05    .17490E-04
  11  Prefactor     28.662        43.314        .20982E-05   -.56381E-05
  12  Prefactor     .10000E-03    11.958        .58486E-07** at limit **
  13  norm          .10000E-03    15.877       -.15991E-05** at limit **
  14  Prefactor     .10000E-03    54.607        .53885E-06** at limit **
  15  Prefactor     5.0493        21.109        .28338E-05    .53592E-04
  16  norm          .10000E-03    .56337        .77656E-07** at limit **
  17  Prefactor     129.11        125.26        .61752E-06    .43138E-05
  18  Prefactor     .10000E-03    40.380        .17365E-05** at limit **
  19  norm          .10000E-03    3.6659       -.10117E-05** at limit **
  20  norm          .10000E-03    4.8889        .34704E-06** at limit **
  21  Prefactor     51.606        71.763        .48204E-05    .84078E-04
  22  Prefactor     .10000E-03    33.828        .11255E-05** at limit **
  23  norm          .10000E-03    5.3771       -.56041E-05** at limit **
  24  Normalizat    .33320        .40798       -.20530E-04    .53259E-04
  25  Prefactor     1.2124        .40180        .81640E-05    .30075E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 13.9029
  Prefactor  = 74.3837
  norm       = 72.4521
  Prefactor  = 0.0001
  Prefactor  = 133.461
  Prefactor  = 0.0001
  Prefactor  = 36.2719
  norm       = 0.0001
  Prefactor  = 226.308
  Prefactor  = 28.6619
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.04927
  norm       = 0.0001
  Prefactor  = 129.109
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 51.6062
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.333201
  Prefactor  = 1.21241
 **********
 **   18 **HESSE 
 **********

 FCN=   1299.580     FROM HESSE     STATUS=OK           421 CALLS     3274 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9686        .49398E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.903        209.31        .10723E-03   -1.4962    
   3  Prefactor     74.384        80.362        .23257E-03   -1.3981    
   4  norm          72.452        89.135        .23582E-03   -1.4004    
   5  Prefactor     .10000E-03    102.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     133.46        109.79        .17430E-03   -1.3392    
   7  Prefactor     .10000E-03    25.421        .17737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     36.272        77.949        .66529E-04   -1.4503    
   9  norm          .10000E-03    7.5269        .95931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     226.31        148.30        .13442E-03   -1.2688    
  11  Prefactor     28.662        43.165        .74769E-04   -1.4637    
  12  Prefactor     .10000E-03    11.982        .12178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    16.148        .13988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    54.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.0493        20.052        .17936E-03   -1.5259    
  16  norm          .10000E-03    .56498        .52227E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     129.11        125.28        .17715E-03   -1.3431    
  18  Prefactor     .10000E-03    40.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.6683        .67414E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.8963        .77864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     51.606        72.463        .27880E-03   -1.4270    
  22  Prefactor     .10000E-03    33.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    5.4151        .81341E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .33320        .42080        .36961E-03   -1.2091    
  25  Prefactor     1.2124        .42360        .20946E-03   -.85950    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0931e-10
Minuit parameter uncertainties:
  1  1.53601e-06
  2  108.346
  3  80.4798
  4  89.2998
  5  2.2901e-05
  6  109.957
  7  7.46346e-05
  8  78.1693
  9  1.5529e-05
  10  148.548
  11  43.2121
  12  1.32364e-05
  13  6.35633e-05
  14  0.000149586
  15  20.0788
  16  3.7919e-06
  17  125.534
  18  0.000202146
  19  3.16491e-06
  20  5.96119e-06
  21  72.5872
  22  4.56023e-05
  23  2.56548e-05
  24  0.424879
  25  0.424795
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.866e+01  4.321e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.761e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.212e+00  4.248e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  3.332e-01  4.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.62
Ra Dec: 342.193 -32.593
Photon Flux Upper Limit: 4.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.46e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/258998/likelihoodResults_680486401_680745601_4FGL_J2248.7-3235_daily_bin1702.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) = 1298.38875211
delta logL = 1.19085210512

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1298.38469938
delta logL = 1.19490483183

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1298.385     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      307 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3812        25.185        .71319E-04   -.67947E-04
   2  Index         4.8609        2.2994        .38207E-02   -.27659E-04
   3  Normalizat    .19783        .39466        .47123E-03    .15180E-03
   4  Prefactor     1.3035        .41450        .20188E-03    .37448E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.38118
  Index      = 4.86088
  Normalizat = 0.197833
  Prefactor  = 1.30351
 **********
 **   18 **HESSE 
 **********

 FCN=   1298.385     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3812        18.747        .28528E-05   -1.5129    
   2  Index         4.8609        1.7398        .15283E-03   -.27828E-01
   3  Normalizat    .19783        .39426        .18849E-04   -1.2957    
   4  Prefactor     1.3035        .41416        .40375E-04   -.83203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.42022e-10
Minuit parameter uncertainties:
  1  18.7605
  2  1.77703
  3  0.40003
  4  0.415212
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/258998': 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) = 1298.38469779
delta logL = 1.194906423

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  8.381e+00  1.876e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  4.861e+00  1.777e+00  0.000e+00  1.000e+01 (-1.000e+00)
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.304e+00  4.152e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.978e-01  4.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.31
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 4.86 +/- 1.78
Photon Flux (Free Index): 3.16e-07 +/- 2.33e-07
Energy Flux (Free Index): 4.25e-05 +/- 3.14e-05

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/258998/cmap_HighResolution_680486401_680745601_4FGL_J2248.7-3235_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.46e-02', comment='SUCCESS', energy_flux2='4.25e-05', dlogl='1.19e+00', photon_flux2='3.16e-07', job_status='DONE', time_completed='2022-07-29 01:44:08.837305', photon_index_error2='1.78', photon_index2='4.86', ts='0.62', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='4.38e-07', energy_flux_error2='3.14e-05', EG='0.33', time_epoch_completed='1659084248.84', return_code='0', job_id='258998', GAL2='1.30', EG2='0.20', return_code2='0', photon_flux_error2='2.33e-07', ts2='3.31', photon_index='2.76' WHERE bin_id='1702' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:44:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 258998: <4FGL_J2248.7-3235_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 01:35:23 2022
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:36:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:36:06 2022
Terminated at Fri Jul 29 01:44:09 2022
Results reported at Fri Jul 29 01:44:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1702 342.193 -32.5926 680486401 680745601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2248.7-3235 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   395.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   483 sec.
    Turnaround time :                            526 sec.

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

