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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1746
RA = 342.193, Dec = -32.5926
tmin = 691891201, tmax = 692150401
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='742515', job_status='RUN', time_executed='2022-12-08 01:50:31.509295', time_epoch_executed='1670493031.51' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/742515

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/742515/ft1_4FGL_J2248.7-3235_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/742515/ft2_4FGL_J2248.7-3235_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/742515/ft1_4FGL_J2248.7-3235_daily_bin1746.fits outfile=/scratch/kocevski/742515/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1746.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=691891201.0 tmax=692150401.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.71
user 4.44
sys 0.25

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

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

Number of photons that the gtmktime cut: 329

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/742515/ft1_filtered_4FGL_J2248.7-3235_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/742515/ft2_4FGL_J2248.7-3235_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/742515/ltcube_691891201_692150401_4FGL_J2248.7-3235_daily_bin1746.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/742515/ft2_4FGL_J2248.7-3235_daily_bin1746.fits
.....................!
real 12.04
user 11.72
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/742515/ft1_filtered_4FGL_J2248.7-3235_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/742515/ft2_4FGL_J2248.7-3235_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/742515/ltcube_691891201_692150401_4FGL_J2248.7-3235_daily_bin1746.fits outfile=/scratch/kocevski/742515/expmap_691891201_692150401_4FGL_J2248.7-3235_daily_bin1746.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/742515/ltcube_691891201_692150401_4FGL_J2248.7-3235_daily_bin1746.fits
.....................!
real 190.86
user 185.31
sys 5.12

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/742515/ft1_filtered_4FGL_J2248.7-3235_daily_bin1746.fits scfile=/scratch/kocevski/742515/ft2_4FGL_J2248.7-3235_daily_bin1746.fits outfile=/scratch/kocevski/742515/cmap_691891201_692150401_4FGL_J2248.7-3235_daily_bin1746.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/742515/ft1_filtered_4FGL_J2248.7-3235_daily_bin1746.fits scfile=/scratch/kocevski/742515/ft2_4FGL_J2248.7-3235_daily_bin1746.fits outfile=/scratch/kocevski/742515/cmap_HighResolution_691891201_692150401_4FGL_J2248.7-3235_daily_bin1746.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/742515/ft1_filtered_4FGL_J2248.7-3235_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/742515/ft2_4FGL_J2248.7-3235_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/742515/Model_4FGL_J2248.7-3235_daily_bin1746.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/742515/ft1_filtered_4FGL_J2248.7-3235_daily_bin1746.fits.....................!
real 35.86
user 34.55
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1093       1.0000          .0000       .10000E+07
     2 'Prefactor '    .32678E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    18.015       1.0000          .0000       .10000E+07
     4 'norm      '    .70970E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    45.875       1.0000          .0000       .10000E+07
     6 'Prefactor '    30.183       1.0000          .0000       .10000E+07
     7 'Prefactor '    11.236       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12934E-03   1.0000          .0000       .10000E+07
     9 'norm      '    7.0437       1.0000          .0000       .10000E+07
    10 'Prefactor '    20.075       1.0000          .0000       .10000E+07
    11 'Prefactor '    23.151       1.0000          .0000       .10000E+07
    12 'Prefactor '    .72236E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .15180E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13829E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12628E-03   1.0000          .0000       .10000E+07
    16 'norm      '    3.5919       1.0000          .0000       .10000E+07
    17 'Prefactor '    8.0284       1.0000          .0000       .10000E+07
    18 'norm      '    .87463E-03   1.0000          .0000       .10000E+07
    19 'norm      '    15.824       1.0000          .0000       .10000E+07
    20 'Prefactor '    .60253E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .99963E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .10345E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .86374       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93347       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=   3808.934     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     1985 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1094        .48571       -.53742E-08   -.10944E-01
   2  Prefactor     .14611E-05    26.975        .41875E-08** at limit **
   3  Prefactor     18.030        14.418        .19196E-07   -.50324E-01
   4  norm          .12990E-07    8.0654       -.44363E-07** at limit **
   5  Prefactor     45.700        13.274        .32105E-07   -.24457    
   6  Prefactor     30.167        2.6769        .26414E-08   -.71430E-02
   7  Prefactor     10.653        10.837        .81011E-07    .40306E-02
   8  Prefactor     .97700E-08    10.155        .31465E-07** at limit **
   9  norm          6.9280        4.7502        .96360E-07    .15434E-01
  10  Prefactor     24.533        119.90       -.48447E-06   -.30331E-02
  11  Prefactor     23.108        1.9930        .26588E-08    .55834E-02
  12  Prefactor     .55511E-10    1.9023       -.23109E-07** at limit **
  13  norm           .0000        2.6459       -.45537E-08** at limit **
  14  Prefactor     .14266E-07    11.012        .76764E-07** at limit **
  15  Prefactor     .29976E-08    7.5703       -.45590E-07** at limit **
  16  norm          3.5904        1.2148       -.12525E-07   -.11750E-01
  17  Prefactor     7.9235        3.4187        .27549E-07   -.46760E-02
  18  norm          .55511E-10    2.2714       -.34939E-07** at limit **
  19  norm          15.849        13.522       -.17180E-06   -.17315E-01
  20  Prefactor     .11891E-05    38.194        .28600E-06** at limit **
  21  Prefactor     .35478E-05    28.756        .66772E-07** at limit **
  22  norm           .0000        4.1225        .18838E-07** at limit **
  23  Normalizat    .86274        .27931        .95449E-07   -.74075E-04
  24  Prefactor     .93423        .26174        .12758E-08   -.73386E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.10936
  Prefactor  = 1.46105e-06
  Prefactor  = 18.0298
  norm       = 1.29896e-08
  Prefactor  = 45.6998
  Prefactor  = 30.1668
  Prefactor  = 10.6533
  Prefactor  = 9.76996e-09
  norm       = 6.92795
  Prefactor  = 24.5332
  Prefactor  = 23.1076
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 1.42664e-08
  Prefactor  = 2.9976e-09
  norm       = 3.59044
  Prefactor  = 7.92354
  norm       = 5.55112e-11
  norm       = 15.8485
  Prefactor  = 1.1891e-06
  Prefactor  = 3.54783e-06
  norm       = 0
  Normalizat = 0.862741
  Prefactor  = 0.934226
 **********
 **   18 **HESSE 
 **********

 FCN=   3808.934     FROM HESSE     STATUS=OK           441 CALLS     2426 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1094        .48543        .62499E-03   -1.5687    
   2  Prefactor     .14611E-05    27.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.030        15.568        .23570E-03   -1.5623    
   4  norm          .12990E-07    15.525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     45.700        44.640        .14765E-03   -1.5573    
   6  Prefactor     30.167        29.220        .18205E-03   -1.5598    
   7  Prefactor     10.653        23.663        .29862E-03   -1.5643    
   8  Prefactor     .97700E-08    10.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.9280        4.7197        .37775E-03   -1.5655    
  10  Prefactor     24.533        117.72        .22326E-03   -1.5609    
  11  Prefactor     23.108        21.058        .20789E-03   -1.5612    
  12  Prefactor     .55511E-10    1.9079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        2.6513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .14266E-07    10.994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .29976E-08    15.493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.5904        1.5375        .53294E-03   -1.5670    
  17  Prefactor     7.9235        24.163        .35362E-03   -1.5652    
  18  norm          .55511E-10    2.2813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          15.849        13.632        .25151E-03   -1.5628    
  20  Prefactor     .11891E-05    38.579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .35478E-05    30.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        4.1074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .86274        .25154        .44437E-01   -.97782    
  24  Prefactor     .93423        .22526        .45430E-01   -.94955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86992e-06
Minuit parameter uncertainties:
  1  0.485427
  2  0.0126939
  3  15.5683
  4  0.000898692
  5  44.6406
  6  29.2206
  7  23.6633
  8  0.000629242
  9  4.71966
  10  107.486
  11  21.0583
  12  1.59412e-05
  13  6.56692e-06
  14  0.000791505
  15  0.000430262
  16  1.53752
  17  24.1638
  18  2.62325e-05
  19  13.6318
  20  0.0135463
  21  0.0206881
  22  1.19982e-05
  23  0.251886
  24  0.225482
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.311e+01  2.106e+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.342e-01  2.255e-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.627e-01  2.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.77
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 8.19e-08 +/- 7.46e-08
Energy Flux (Fixed Index): 1.88e-05 +/- 1.72e-05

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

Saving results to:
/scratch/kocevski/742515/likelihoodResults_691891201_692150401_4FGL_J2248.7-3235_daily_bin1746.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) = 3807.22943384
delta logL = 1.70457923623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3807.17661677
delta logL = 1.75739630785

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9376       1.0000          .0000       .10000E+07
     2 'Index     '    5.2145       1.0000          .0000       10.000    
     3 'Normalizat'    .76124       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0112       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.

 FCN=   3807.177     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      300 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9126        34.251        .59237E-03    .11420E-02
   2  Index         5.2208        4.1937        .11583        .62289E-04
   3  Normalizat    .76154        .93040E-01    .65132E-01    .11251E-04
   4  Prefactor     1.0108        .90176E-01    .43158E-01    .27186E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.91259
  Index      = 5.22076
  Normalizat = 0.761536
  Prefactor  = 1.01081
 **********
 **   18 **HESSE 
 **********

 FCN=   3807.177     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      333 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9126        48.239        .57193E-05   -1.5674    
   2  Index         5.2208        7.4351        .48695E-02    .44167E-01
   3  Normalizat    .76154        .28318        .28815E-03   -1.0151    
   4  Prefactor     1.0108        .26273        .24489E-03   -.92370    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.05913e-07
Minuit parameter uncertainties:
  1  23.7068
  2  6.18542
  3  0.283727
  4  0.263059
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/742515': 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) = 3807.17660839
delta logL = 1.75740467906

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.913e+00  2.371e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  5.221e+00  6.185e+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.011e+00  2.631e-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:  7.615e-01  2.837e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 5.22 +/- 6.19
Photon Flux (Free Index): 1.72e-07 +/- 1.14e-07
Energy Flux (Free Index): 2.25e-05 +/- 2.18e-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/742515/cmap_HighResolution_691891201_692150401_4FGL_J2248.7-3235_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.86e-02', comment='SUCCESS', photon_flux='8.19e-08', energy_flux2='2.25e-05', photon_flux_error='7.46e-08', dlogl='1.76e+00', energy_flux='1.88e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2022-12-08 01:58:41.801186', photon_index_error2='6.19', photon_index2='5.22', ts='1.77', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='2.36e-07', energy_flux_error2='2.18e-05', EG='0.86', time_epoch_completed='1670493521.8', return_code='0', job_id='742515', GAL2='1.01', EG2='0.76', return_code2='102', energy_flux_error='1.72e-05', photon_flux_error2='1.14e-07', ts2='5.62', photon_index='2.76' WHERE bin_id='1746' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:58:41 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 742515: <4FGL_J2248.7-3235_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1746> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec  8 01:50:19 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:50:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:50:20 2022
Terminated at Thu Dec  8 01:58:42 2022
Results reported at Thu Dec  8 01:58:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1746 342.193 -32.5926 691891201 692150401 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 :                                   492.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   502 sec.
    Turnaround time :                            503 sec.

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

