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 84 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7622
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1724
RA = 342.193, Dec = -32.5926
tmin = 686188801, tmax = 686448001
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='707899', job_status='RUN', time_executed='2022-10-03 01:19:30.234666', time_epoch_executed='1664785170.23' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707899

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707899/ft1_4FGL_J2248.7-3235_daily_bin1724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707899/ft2_4FGL_J2248.7-3235_daily_bin1724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707899/ft1_4FGL_J2248.7-3235_daily_bin1724.fits outfile=/scratch/kocevski/707899/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1724.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=686188801.0 tmax=686448001.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 4.62
user 4.36
sys 0.21

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

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

Number of photons that the gtmktime cut: 537

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/707899/ft1_filtered_4FGL_J2248.7-3235_daily_bin1724.fits" evtable="EVENTS" scfile=/scratch/kocevski/707899/ft2_4FGL_J2248.7-3235_daily_bin1724.fits sctable="SC_DATA" outfile=/scratch/kocevski/707899/ltcube_686188801_686448001_4FGL_J2248.7-3235_daily_bin1724.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/707899/ft2_4FGL_J2248.7-3235_daily_bin1724.fits
.....................!
real 13.31
user 12.86
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707899/ft1_filtered_4FGL_J2248.7-3235_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707899/ft2_4FGL_J2248.7-3235_daily_bin1724.fits sctable="SC_DATA" expcube=/scratch/kocevski/707899/ltcube_686188801_686448001_4FGL_J2248.7-3235_daily_bin1724.fits outfile=/scratch/kocevski/707899/expmap_686188801_686448001_4FGL_J2248.7-3235_daily_bin1724.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/707899/ltcube_686188801_686448001_4FGL_J2248.7-3235_daily_bin1724.fits
.....................!
real 191.61
user 185.46
sys 5.72

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/707899/ft1_filtered_4FGL_J2248.7-3235_daily_bin1724.fits scfile=/scratch/kocevski/707899/ft2_4FGL_J2248.7-3235_daily_bin1724.fits outfile=/scratch/kocevski/707899/cmap_686188801_686448001_4FGL_J2248.7-3235_daily_bin1724.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/707899/ft1_filtered_4FGL_J2248.7-3235_daily_bin1724.fits scfile=/scratch/kocevski/707899/ft2_4FGL_J2248.7-3235_daily_bin1724.fits outfile=/scratch/kocevski/707899/cmap_HighResolution_686188801_686448001_4FGL_J2248.7-3235_daily_bin1724.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/707899/ft1_filtered_4FGL_J2248.7-3235_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707899/ft2_4FGL_J2248.7-3235_daily_bin1724.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/707899/Model_4FGL_J2248.7-3235_daily_bin1724.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/707899/ft1_filtered_4FGL_J2248.7-3235_daily_bin1724.fits.....................!
real 46.13
user 44.75
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/707899/ft1_filtered_4FGL_J2248.7-3235_daily_bin1724.fits', '/scratch/kocevski/707899/ft2_4FGL_J2248.7-3235_daily_bin1724.fits', expMap='/scratch/kocevski/707899/expmap_686188801_686448001_4FGL_J2248.7-3235_daily_bin1724.fits', expCube='/scratch/kocevski/707899/ltcube_686188801_686448001_4FGL_J2248.7-3235_daily_bin1724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/707899/Model_4FGL_J2248.7-3235_daily_bin1724.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  0.000e+00  1.000e+06 ( 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/707899/ft1_filtered_4FGL_J2248.7-3235_daily_bin1724.fits
Spacecraft file(s): /scratch/kocevski/707899/ft2_4FGL_J2248.7-3235_daily_bin1724.fits
Exposure map: /scratch/kocevski/707899/expmap_686188801_686448001_4FGL_J2248.7-3235_daily_bin1724.fits
Exposure cube: /scratch/kocevski/707899/ltcube_686188801_686448001_4FGL_J2248.7-3235_daily_bin1724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/707899/Model_4FGL_J2248.7-3235_daily_bin1724.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5849.44426853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7420       1.0000          .0000       .10000E+07
     2 'Prefactor '    18.219       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.2026       1.0000          .0000       .10000E+07
     4 'norm      '    23.333       1.0000          .0000       .10000E+07
     5 'Prefactor '    .22154E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .58003E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    20.394       1.0000          .0000       .10000E+07
     8 'Prefactor '    .40873E-01   1.0000          .0000       .10000E+07
     9 'norm      '    3.4590       1.0000          .0000       .10000E+07
    10 'Prefactor '    29.581       1.0000          .0000       .10000E+07
    11 'Prefactor '    61.106       1.0000          .0000       .10000E+07
    12 'Prefactor '    .82157E-08   1.0000          .0000       .10000E+07
    13 'norm      '    3.0327       1.0000          .0000       .10000E+07
    14 'Prefactor '    .88740E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    26.787       1.0000          .0000       .10000E+07
    16 'norm      '    .11058E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .15254E-06   1.0000          .0000       .10000E+07
    18 'norm      '    .66164E-06   1.0000          .0000       .10000E+07
    19 'norm      '    11.529       1.0000          .0000       .10000E+07
    20 'Prefactor '    23.200       1.0000          .0000       .10000E+07
    21 'Prefactor '    .78889E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .26163E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    .89656       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90953       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5847.515     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     1253 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7416        .41334        .17680E-08    .48975E-03
   2  Prefactor     18.380        1.5834       -.10313E-07    .21485E-01
   3  Prefactor     6.1991        5.9066        .51667E-07   -.14127E-03
   4  norm          22.976        20.347       -.51896E-08   -.25618E-03
   5  Prefactor     .55511E-10    12.591        .38243E-07** at limit **
   6  Prefactor     .55511E-10    10.243        .21987E-07** at limit **
   7  Prefactor     20.358        4.6867       -.37148E-07   -.16766E-01
   8  Prefactor      .0000        39.915       -.18790E-06** at limit **
   9  norm          3.3879        3.8961        .23125E-07    .18220E-03
  10  Prefactor     31.385        76.937        .47852E-06   -.11153E-02
  11  Prefactor     60.816        2.2342       -.17599E-08    .56271E-02
  12  Prefactor      .0000        2.3620       -.44590E-07** at limit **
  13  norm          3.0227        2.9438       -.34732E-07    .86896E-05
  14  Prefactor      .0000        8.0397        .83343E-07** at limit **
  15  Prefactor     26.888        9.6550        .13989E-07    .58151E-03
  16  norm           .0000        .36203       -.27906E-07** at limit **
  17  Prefactor      .0000        7.3264        .17048E-06** at limit **
  18  norm           .0000        1.6113        .56684E-08** at limit **
  19  norm          11.338        11.136       -.41680E-08   -.34101E-03
  20  Prefactor     22.050        45.982       -.36053E-06   -.38513E-03
  21  Prefactor      .0000        33.896       -.72315E-07** at limit **
  22  norm           .0000        5.1241        .44910E-07** at limit **
  23  Normalizat    .89798        .23044       -.43431E-06    .29530E-05
  24  Prefactor     .90907        .22091        .34724E-06    .33707E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.74163
  Prefactor  = 18.3803
  Prefactor  = 6.19907
  norm       = 22.9761
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 20.3577
  Prefactor  = 0
  norm       = 3.38789
  Prefactor  = 31.3853
  Prefactor  = 60.8162
  Prefactor  = 0
  norm       = 3.02266
  Prefactor  = 0
  Prefactor  = 26.8878
  norm       = 0
  Prefactor  = 0
  norm       = 0
  norm       = 11.3383
  Prefactor  = 22.0503
  Prefactor  = 0
  norm       = 0
  Normalizat = 0.897984
  Prefactor  = 0.909066
 **********
 **   18 **HESSE 
 **********

 FCN=   5847.515     FROM HESSE     STATUS=OK           453 CALLS     1706 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7416        .41261        .52668E-03   -1.5682    
   2  Prefactor     18.380        19.165        .23437E-03   -1.5622    
   3  Prefactor     6.1991        5.9161        .40285E-03   -1.5658    
   4  norm          22.976        20.362        .20707E-03   -1.5612    
   5  Prefactor     .55511E-10    12.716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    10.253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.358        15.094        .22151E-03   -1.5618    
   8  Prefactor      .0000        13.171        .94622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.3879        3.7637        .54352E-03   -1.5671    
  10  Prefactor     31.385        73.797        .18389E-03   -1.5596    
  11  Prefactor     60.816        16.599        .12793E-03   -1.5552    
  12  Prefactor      .0000        2.3672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.0227        2.9444        .58244E-03   -1.5673    
  14  Prefactor      .0000        8.0436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.888        9.7394        .19325E-03   -1.5604    
  16  norm           .0000        .35635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        7.3182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.6140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          11.338        11.239        .29480E-03   -1.5641    
  20  Prefactor     22.050        45.697        .20767E-03   -1.5614    
  21  Prefactor      .0000        33.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        5.0816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89798        .19584        .44858E-01   -.96531    
  24  Prefactor     .90907        .18570        .45126E-01   -.95825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09418e-08
Minuit parameter uncertainties:
  1  0.412611
  2  19.1648
  3  5.9161
  4  20.362
  5  4.21259e-05
  6  3.69673e-05
  7  15.0939
  8  2.84173e-06
  9  3.76365
  10  73.799
  11  16.5988
  12  7.80018e-07
  13  2.9444
  14  1.89263e-05
  15  9.73943
  16  4.84452e-09
  17  4.06244e-06
  18  5.1506e-08
  19  11.2392
  20  45.6974
  21  9.098e-07
  22  9.07212e-07
  23  0.195996
  24  0.185834
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  6.082e+01  1.660e+01  0.000e+00  1.000e+06 ( 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:  9.091e-01  1.858e-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:  8.980e-01  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 31.74
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 2.16e-07 +/- 5.88e-08
Energy Flux (Fixed Index): 4.96e-05 +/- 1.35e-05

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) = 5847.48843396
delta logL = 0.026950615249

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5847.47587659
delta logL = 0.039507988733

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    63.719       1.0000          .0000       .10000E+07
     2 'Index     '    2.6713       1.0000          .0000       10.000    
     3 'Normalizat'    .90764       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90163       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=   5847.476     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      235 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     63.728        20.188        .50113E-05   -.51270E-03
   2  Index         2.6713        .31889        .43549E-02    .22625E-03
   3  Normalizat    .90755        .22257        .25649E-03   -.15079E-03
   4  Prefactor     .90174        .21850        .25574E-03   -.28620E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 63.7276
  Index      = 2.67126
  Normalizat = 0.907554
  Prefactor  = 0.901736
 **********
 **   18 **HESSE 
 **********

 FCN=   5847.476     FROM HESSE     STATUS=OK            25 CALLS      260 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63.728        20.006        .10023E-05   -1.5548    
   2  Index         2.6713        .31595        .87098E-03   -.48448    
   3  Normalizat    .90755        .22285        .10260E-04   -.96195    
   4  Prefactor     .90174        .21875        .51147E-04   -.96080    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60159e-10
Minuit parameter uncertainties:
  1  20.0064
  2  0.316216
  3  0.223073
  4  0.218961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707899': 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) = 5847.47587635
delta logL = 0.0395082289424

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  6.373e+01  2.001e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  2.671e+00  3.162e-01  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:  9.017e-01  2.190e-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:  9.076e-01  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 31.54
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.67 +/- 0.32
Photon Flux (Free Index): 2.08e-07 +/- 6.34e-08
Energy Flux (Free Index): 5.13e-05 +/- 1.55e-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/707899/cmap_HighResolution_686188801_686448001_4FGL_J2248.7-3235_daily_bin1724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.16e-07', energy_flux2='5.13e-05', photon_flux_error='5.88e-08', dlogl='3.95e-02', energy_flux='4.96e-05', photon_flux2='2.08e-07', job_status='DONE', time_completed='2022-10-03 01:27:54.447226', photon_index_error2='0.32', photon_index2='2.67', ts='31.74', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.90', time_epoch_completed='1664785674.45', return_code='0', job_id='707899', GAL2='0.90', EG2='0.91', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='6.34e-08', ts2='31.54', photon_index='2.76' WHERE bin_id='1724' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct  3 01:27:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 707899: <4FGL_J2248.7-3235_daily_bin1724> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1724> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Oct  3 01:15:44 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 01:17:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 01:17:58 2022
Terminated at Mon Oct  3 01:27:55 2022
Results reported at Mon Oct  3 01:27:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1724 342.193 -32.5926 686188801 686448001 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 :                                   506.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             358.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            731 sec.

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

