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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1726
RA = 342.193, Dec = -32.5926
tmin = 686707201, tmax = 686966401
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='88369', job_status='RUN', time_executed='2022-10-09 00:36:36.791920', time_epoch_executed='1665300996.79' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88369

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88369/ft1_4FGL_J2248.7-3235_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88369/ft2_4FGL_J2248.7-3235_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88369/ft1_4FGL_J2248.7-3235_daily_bin1726.fits outfile=/scratch/kocevski/88369/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1726.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=686707201.0 tmax=686966401.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 3.06
user 2.85
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88369/ft2_4FGL_J2248.7-3235_daily_bin1726.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/88369/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1726.fits evtable="EVENTS" outfile="/scratch/kocevski/88369/ft1_filtered_4FGL_J2248.7-3235_daily_bin1726.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: 639

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88369/ft1_filtered_4FGL_J2248.7-3235_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/88369/ft2_4FGL_J2248.7-3235_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/88369/ltcube_686707201_686966401_4FGL_J2248.7-3235_daily_bin1726.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/88369/ft2_4FGL_J2248.7-3235_daily_bin1726.fits
.....................!
real 12.74
user 12.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88369/ft1_filtered_4FGL_J2248.7-3235_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88369/ft2_4FGL_J2248.7-3235_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/88369/ltcube_686707201_686966401_4FGL_J2248.7-3235_daily_bin1726.fits outfile=/scratch/kocevski/88369/expmap_686707201_686966401_4FGL_J2248.7-3235_daily_bin1726.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/88369/ltcube_686707201_686966401_4FGL_J2248.7-3235_daily_bin1726.fits
.....................!
real 190.32
user 184.77
sys 5.17

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/88369/ft1_filtered_4FGL_J2248.7-3235_daily_bin1726.fits scfile=/scratch/kocevski/88369/ft2_4FGL_J2248.7-3235_daily_bin1726.fits outfile=/scratch/kocevski/88369/cmap_686707201_686966401_4FGL_J2248.7-3235_daily_bin1726.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88369/ft1_filtered_4FGL_J2248.7-3235_daily_bin1726.fits scfile=/scratch/kocevski/88369/ft2_4FGL_J2248.7-3235_daily_bin1726.fits outfile=/scratch/kocevski/88369/cmap_HighResolution_686707201_686966401_4FGL_J2248.7-3235_daily_bin1726.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88369/ft1_filtered_4FGL_J2248.7-3235_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88369/ft2_4FGL_J2248.7-3235_daily_bin1726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88369/Model_4FGL_J2248.7-3235_daily_bin1726.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/88369/ft1_filtered_4FGL_J2248.7-3235_daily_bin1726.fits.....................!
real 53.86
user 52.51
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88369/ft1_filtered_4FGL_J2248.7-3235_daily_bin1726.fits', '/scratch/kocevski/88369/ft2_4FGL_J2248.7-3235_daily_bin1726.fits', expMap='/scratch/kocevski/88369/expmap_686707201_686966401_4FGL_J2248.7-3235_daily_bin1726.fits', expCube='/scratch/kocevski/88369/ltcube_686707201_686966401_4FGL_J2248.7-3235_daily_bin1726.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88369/Model_4FGL_J2248.7-3235_daily_bin1726.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/88369/ft1_filtered_4FGL_J2248.7-3235_daily_bin1726.fits
Spacecraft file(s): /scratch/kocevski/88369/ft2_4FGL_J2248.7-3235_daily_bin1726.fits
Exposure map: /scratch/kocevski/88369/expmap_686707201_686966401_4FGL_J2248.7-3235_daily_bin1726.fits
Exposure cube: /scratch/kocevski/88369/ltcube_686707201_686966401_4FGL_J2248.7-3235_daily_bin1726.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88369/Model_4FGL_J2248.7-3235_daily_bin1726.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) = 7052.86448086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0519       1.0000          .0000       .10000E+07
     2 'Prefactor '    .31697E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .78231E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .24353E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    34.069       1.0000          .0000       .10000E+07
     6 'Prefactor '    .89529E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.0225       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11915E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .76622E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    82.570       1.0000          .0000       .10000E+07
    11 'Prefactor '    19.525       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.7514       1.0000          .0000       .10000E+07
    13 'norm      '    .92347       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.1249       1.0000          .0000       .10000E+07
    15 'Prefactor '    18.421       1.0000          .0000       .10000E+07
    16 'norm      '    .45483E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .15846E-03   1.0000          .0000       .10000E+07
    18 'norm      '    1.2185       1.0000          .0000       .10000E+07
    19 'norm      '    19.026       1.0000          .0000       .10000E+07
    20 'Prefactor '    72.761       1.0000          .0000       .10000E+07
    21 'Prefactor '    .19118E-01   1.0000          .0000       .10000E+07
    22 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2189       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66627       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=   7052.489     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     2055 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0522        .31506       -.45892E-07   -.46490E-02
   2  Prefactor     .35527E-08    2.8148        .35007E-06** at limit **
   3  Prefactor     .24425E-08    12.345        .51341E-06** at limit **
   4  norm          .30254E-07    5.5595        .39884E-06** at limit **
   5  Prefactor     33.283        34.980        .64590E-06    .95600E-01
   6  Prefactor     .25591E-07    5.4498       -.62958E-07** at limit **
   7  Prefactor     6.0594        11.351       -.45873E-06   -.82893E-02
   8  Prefactor     .17653E-06    4.4249        .77440E-06** at limit **
   9  norm           .0000        1.1209       -.25709E-06** at limit **
  10  Prefactor     83.415        25.353        .20912E-08   -.30064    
  11  Prefactor     19.572        2.9514       -.62274E-07   -.17769E-01
  12  Prefactor     5.7629        7.3859       -.32152E-06   -.29042E-02
  13  norm          .96726        3.1701        .19551E-06    .28361E-02
  14  Prefactor     4.9703        8.9009       -.16305E-06   -.35487E-01
  15  Prefactor     18.112        9.2525        .95524E-07    .55688E-01
  16  norm          .51190E-01    .69938        .16029E-06** at limit **
  17  Prefactor      .0000        3.1324       -.30137E-06** at limit **
  18  norm          1.1490        3.2698        .53508E-07   -.29648E-03
  19  norm          19.088        8.4344       -.74783E-07   -.25240E-01
  20  Prefactor     76.074        44.947       -.87825E-06    .11445    
  21  Prefactor     .32752E-08    1.0956       -.10718E-06** at limit **
  22  norm           .0000        2.4794       -.67400E-07** at limit **
  23  Normalizat    1.2174        .19693        .11846E-04    .71780E-04
  24  Prefactor     .66686        .18221       -.92118E-05    .26794E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.05218
  Prefactor  = 3.55271e-09
  Prefactor  = 2.44249e-09
  norm       = 3.02536e-08
  Prefactor  = 33.2826
  Prefactor  = 2.55906e-08
  Prefactor  = 6.05942
  Prefactor  = 1.76525e-07
  norm       = 0
  Prefactor  = 83.4153
  Prefactor  = 19.5716
  Prefactor  = 5.76291
  norm       = 0.967261
  Prefactor  = 4.97032
  Prefactor  = 18.1116
  norm       = 0.0511898
  Prefactor  = 0
  norm       = 1.14896
  norm       = 19.0878
  Prefactor  = 76.0741
  Prefactor  = 3.27516e-09
  norm       = 0
  Normalizat = 1.21737
  Prefactor  = 0.666862
 **********
 **   18 **HESSE 
 **********

 FCN=   7052.489     FROM HESSE     STATUS=OK           451 CALLS     2506 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0522        .31454        .56647E-03   -1.5687    
   2  Prefactor     .35527E-08    6.3373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .24425E-08    12.235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .30254E-07    5.7045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.283        36.598        .17135E-03   -1.5593    
   6  Prefactor     .25591E-07    6.6045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.0594        16.349        .40891E-03   -1.5659    
   8  Prefactor     .17653E-06    6.0352        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.1179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     83.415        55.116        .11006E-03   -1.5525    
  11  Prefactor     19.572        11.796        .22639E-03   -1.5619    
  12  Prefactor     5.7629        7.4498        .41858E-03   -1.5660    
  13  norm          .96726        3.1957        .44151E-03   -1.5688    
  14  Prefactor     4.9703        11.049        .44387E-03   -1.5663    
  15  Prefactor     18.112        10.765        .23308E-03   -1.5623    
  16  norm          .51190E-01    .31206        .15725E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        3.1390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.1490        3.3545        .10221E-02   -1.5687    
  19  norm          19.088        8.4719        .22934E-03   -1.5621    
  20  Prefactor     76.074        46.961        .11724E-03   -1.5534    
  21  Prefactor     .32752E-08    50.027        .17095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        2.4717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2174        .16817        .51022E-01   -.86068    
  24  Prefactor     .66686        .15283        .63763E-01   -1.0484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14074e-06
Minuit parameter uncertainties:
  1  0.314543
  2  0.000300957
  3  0.000347444
  4  0.000830533
  5  36.5979
  6  0.000822536
  7  16.3493
  8  0.0020644
  9  5.39113e-07
  10  55.1159
  11  11.7957
  12  7.44985
  13  3.19569
  14  11.0492
  15  10.7654
  16  0.25278
  17  1.38758e-06
  18  3.35452
  19  8.47189
  20  46.9607
  21  0.000806298
  22  4.93007e-06
  23  0.168243
  24  0.152929
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.957e+01  1.180e+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:  6.669e-01  1.529e-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.217e+00  1.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.81
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 6.94e-08 +/- 4.18e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 9.61e-06

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) = 7052.46476111
delta logL = 0.0244364994442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7052.46279059
delta logL = 0.0264070176881

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.936       1.0000          .0000       .10000E+07
     2 'Index     '    2.5894       1.0000          .0000       10.000    
     3 'Normalizat'    1.2297       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65880       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=   7052.463     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      271 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.935        12.469        .89616E-05    .34582E-02
   2  Index         2.5894        .73590        .99704E-02    .77205E-04
   3  Normalizat    1.2297        .19738        .22463E-03    .35933E-05
   4  Prefactor     .65880        .18223        .28364E-03   -.87018E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.9353
  Index      = 2.58938
  Normalizat = 1.22972
  Prefactor  = 0.658804
 **********
 **   18 **HESSE 
 **********

 FCN=   7052.463     FROM HESSE     STATUS=OK            23 CALLS      294 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.935        12.477        .35847E-06   -1.5619    
   2  Index         2.5894        .73534        .39882E-03   -.50308    
   3  Normalizat    1.2297        .19770        .89853E-05   -.85689    
   4  Prefactor     .65880        .18239        .11345E-04   -1.0516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67872e-10
Minuit parameter uncertainties:
  1  12.4767
  2  0.738838
  3  0.197823
  4  0.18256
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88369': 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) = 7052.46279059
delta logL = 0.0264070179992

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.994e+01  1.248e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  2.589e+00  7.388e-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:  6.588e-01  1.826e-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.230e+00  1.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.81
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.59 +/- 0.74
Photon Flux (Free Index): 6.05e-08 +/- 5.52e-08
Energy Flux (Free Index): 1.60e-05 +/- 1.00e-05

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/88369/cmap_HighResolution_686707201_686966401_4FGL_J2248.7-3235_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.94e-08', energy_flux2='1.60e-05', photon_flux_error='4.18e-08', dlogl='2.64e-02', energy_flux='1.60e-05', photon_flux2='6.05e-08', job_status='DONE', time_completed='2022-10-09 00:46:40.079744', photon_index_error2='0.74', photon_index2='2.59', ts='4.81', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='1.00e-05', EG='1.22', time_epoch_completed='1665301600.08', return_code='0', job_id='88369', GAL2='0.66', EG2='1.23', return_code2='0', energy_flux_error='9.61e-06', photon_flux_error2='5.52e-08', ts2='4.81', photon_index='2.76' WHERE bin_id='1726' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:46:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 88369: <4FGL_J2248.7-3235_daily_bin1726> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1726> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Oct  9 00:35:54 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:36:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:36:05 2022
Terminated at Sun Oct  9 00:46:40 2022
Results reported at Sun Oct  9 00:46:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1726 342.193 -32.5926 686707201 686966401 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 :                                   605.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            646 sec.

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

