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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1747
RA = 342.193, Dec = -32.5926
tmin = 692150401, tmax = 692409601
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='816068', job_status='RUN', time_executed='2022-12-11 01:52:56.078214', time_epoch_executed='1670752376.08' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816068

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816068/ft1_4FGL_J2248.7-3235_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816068/ft2_4FGL_J2248.7-3235_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816068/ft1_4FGL_J2248.7-3235_daily_bin1747.fits outfile=/scratch/kocevski/816068/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1747.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=692150401.0 tmax=692409601.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.98
user 3.75
sys 0.21

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

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

Number of photons that the gtmktime cut: 351

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/816068/ft1_filtered_4FGL_J2248.7-3235_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/816068/ft2_4FGL_J2248.7-3235_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/816068/ltcube_692150401_692409601_4FGL_J2248.7-3235_daily_bin1747.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/816068/ft2_4FGL_J2248.7-3235_daily_bin1747.fits
.....................!
real 12.24
user 11.85
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816068/ft1_filtered_4FGL_J2248.7-3235_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/816068/ft2_4FGL_J2248.7-3235_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/816068/ltcube_692150401_692409601_4FGL_J2248.7-3235_daily_bin1747.fits outfile=/scratch/kocevski/816068/expmap_692150401_692409601_4FGL_J2248.7-3235_daily_bin1747.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/816068/ltcube_692150401_692409601_4FGL_J2248.7-3235_daily_bin1747.fits
.....................!
real 191.05
user 185.51
sys 5.19

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/816068/ft1_filtered_4FGL_J2248.7-3235_daily_bin1747.fits scfile=/scratch/kocevski/816068/ft2_4FGL_J2248.7-3235_daily_bin1747.fits outfile=/scratch/kocevski/816068/cmap_692150401_692409601_4FGL_J2248.7-3235_daily_bin1747.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/816068/ft1_filtered_4FGL_J2248.7-3235_daily_bin1747.fits scfile=/scratch/kocevski/816068/ft2_4FGL_J2248.7-3235_daily_bin1747.fits outfile=/scratch/kocevski/816068/cmap_HighResolution_692150401_692409601_4FGL_J2248.7-3235_daily_bin1747.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/816068/ft1_filtered_4FGL_J2248.7-3235_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/816068/ft2_4FGL_J2248.7-3235_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/816068/Model_4FGL_J2248.7-3235_daily_bin1747.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/816068/ft1_filtered_4FGL_J2248.7-3235_daily_bin1747.fits.....................!
real 36.63
user 35.43
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63512       1.0000          .0000       .10000E+07
     2 'Prefactor '    .33887E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11958E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .43007E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    43.217       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28098E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .35663E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .98393E-03   1.0000          .0000       .10000E+07
     9 'norm      '    4.6040       1.0000          .0000       .10000E+07
    10 'Prefactor '    99.449       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.6148       1.0000          .0000       .10000E+07
    12 'Prefactor '    .77891E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .25787E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.9891       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54823E-03   1.0000          .0000       .10000E+07
    16 'norm      '    2.7453       1.0000          .0000       .10000E+07
    17 'Prefactor '    .35900       1.0000          .0000       .10000E+07
    18 'norm      '    .10508E-02   1.0000          .0000       .10000E+07
    19 'norm      '    1.4499       1.0000          .0000       .10000E+07
    20 'Prefactor '    1.3160       1.0000          .0000       .10000E+07
    21 'Prefactor '    .44442E-01   1.0000          .0000       .10000E+07
    22 'norm      '    5.1603       1.0000          .0000       .10000E+07
    23 'Normalizat'    .82062       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2112       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=   4080.757     FROM MIGRAD    STATUS=CONVERGED    198 CALLS     2123 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63522        .40998       -.46369E-11    .29734E-03
   2  Prefactor     .33917E-07    12.843       -.98799E-09** at limit **
   3  Prefactor     .33307E-09    4.0110        .10559E-08** at limit **
   4  norm          .40856E-06    17.166       -.43491E-09** at limit **
   5  Prefactor     43.532        38.917        .77500E-08   -.14911    
   6  Prefactor     .78826E-08    12.992       -.45632E-09** at limit **
   7  Prefactor     .27111E-05    122.02        .75385E-08** at limit **
   8  Prefactor     .51934E-05    21.105       -.49383E-08** at limit **
   9  norm          4.5857        3.7525        .40044E-11   -.20438E-02
  10  Prefactor     100.27        69.045       -.40800E-08    .13320    
  11  Prefactor     5.6021        6.8474       -.23926E-08    .20860E-01
  12  Prefactor     .77716E-09    7.3066        .88587E-09** at limit **
  13  norm          .55511E-10    2.3223       -.27204E-09** at limit **
  14  Prefactor     2.0943        25.595        .11506E-08    .32727E-03
  15  Prefactor     .81822E-05    19.565        .36610E-08** at limit **
  16  norm          2.7532        .98159       -.29547E-09    .28595E-01
  17  Prefactor     .25077E-04    163.34        .15021E-07** at limit **
  18  norm          .55511E-10    2.6211        .31967E-09** at limit **
  19  norm          1.4357        6.5249       -.11993E-08   -.15272E-02
  20  Prefactor     .43067        1149.0       -.81378E-08    .18468E-01
  21  Prefactor      .0000        28.040       -.91526E-09** at limit **
  22  norm          5.2775        6.5963        .70469E-09    .52270E-02
  23  Normalizat    .82085        .26990       -.14530E-08    .12648E-03
  24  Prefactor     1.2111        .26786       -.75986E-08    .13399E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.635217
  Prefactor  = 3.39173e-08
  Prefactor  = 3.33067e-10
  norm       = 4.08562e-07
  Prefactor  = 43.5324
  Prefactor  = 7.88258e-09
  Prefactor  = 2.71111e-06
  Prefactor  = 5.1934e-06
  norm       = 4.58575
  Prefactor  = 100.267
  Prefactor  = 5.60211
  Prefactor  = 7.77156e-10
  norm       = 5.55112e-11
  Prefactor  = 2.09431
  Prefactor  = 8.18223e-06
  norm       = 2.75315
  Prefactor  = 2.50773e-05
  norm       = 5.55112e-11
  norm       = 1.43568
  Prefactor  = 0.430672
  Prefactor  = 0
  norm       = 5.27755
  Normalizat = 0.82085
  Prefactor  = 1.21115
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63522        .40968        .66139E-03   -1.5692    
   2  Prefactor     .33917E-07    13.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33307E-09    4.0627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .40856E-06    17.257        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     43.532        41.746        .15213E-03   -1.5576    
   6  Prefactor     .78826E-08    13.895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27111E-05    117.30        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .51934E-05    21.498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.5857        3.8840        .46886E-03   -1.5665    
  10  Prefactor     100.27        87.807        .10028E-03   -1.5508    
  11  Prefactor     5.6021        17.354        .42372E-03   -1.5661    
  12  Prefactor     .77716E-09    7.3369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    2.3233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.0943        26.319        .73437E-03   -1.5679    
  15  Prefactor     .81822E-05    20.606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.7532        1.0425        .61418E-03   -1.5675    
  17  Prefactor     .25077E-04    11.250        .94399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55511E-10    2.6320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.4357        6.6451        .89446E-03   -1.5684    
  20  Prefactor     .43067        290.07        .13436E-01   -1.5695    
  21  Prefactor      .0000        28.125        .15769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          5.2775        8.8867        .44232E-03   -1.5662    
  23  Normalizat    .82085        .24221        .64267E-01   -.99300    
  24  Prefactor     1.2111        .22276        .53390E-01   -.85989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0862e-06
Minuit parameter uncertainties:
  1  0.40968
  2  0.0013535
  3  7.0769e-05
  4  0.00531055
  5  41.746
  6  0.000661301
  7  0.035666
  8  0.0211325
  9  3.88398
  10  87.8083
  11  17.3542
  12  0.000148859
  13  1.77593e-05
  14  14.8487
  15  0.0259695
  16  1.04246
  17  0.0335932
  18  1.74556e-05
  19  6.17745
  20  22.355
  21  4.90159e-05
  22  8.88675
  23  0.242528
  24  0.222938
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  5.602e+00  1.735e+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:  1.211e+00  2.229e-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.208e-01  2.425e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/816068/likelihoodResults_692150401_692409601_4FGL_J2248.7-3235_daily_bin1747.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) = 4079.88244402
delta logL = 0.874907975244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4079.83600568
delta logL = 0.9213463174

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6601       1.0000          .0000       .10000E+07
     2 'Index     '    4.6576       1.0000          .0000       10.000    
     3 'Normalizat'    .71813       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2765       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=   4079.836     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      273 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6626        71.582        .52775E-03    .28219E-02
   2  Index         4.6585        7.2189        .17512        .71825E-04
   3  Normalizat    .71818        .76446E-01    .68180E-01    .15606E-04
   4  Prefactor     1.2762        .75441E-01    .52158E-01    .42400E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.66258
  Index      = 4.65852
  Normalizat = 0.71818
  Prefactor  = 1.27622
 **********
 **   18 **HESSE 
 **********

 FCN=   4079.836     FROM HESSE     STATUS=OK            33 CALLS      306 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6626        10.992        .94655E-05   -1.5670    
   2  Index         4.6585        2.2432        .67331E-02   -.68349E-01
   3  Normalizat    .71818        .28094        .30170E-03   -1.0318    
   4  Prefactor     1.2762        .27167        .23059E-03   -.84017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99306e-11
Minuit parameter uncertainties:
  1  10.992
  2  2.32666
  3  0.281502
  4  0.271971
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816068': 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) = 4079.8360021
delta logL = 0.921349901298

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.663e+00  1.099e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  4.659e+00  2.327e+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.276e+00  2.720e-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.182e-01  2.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.14
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 4.66 +/- 2.33
Photon Flux (Free Index): 1.07e-07 +/- 9.04e-08
Energy Flux (Free Index): 1.47e-05 +/- 1.31e-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/816068/cmap_HighResolution_692150401_692409601_4FGL_J2248.7-3235_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', comment='SUCCESS', energy_flux2='1.47e-05', dlogl='9.21e-01', photon_flux2='1.07e-07', job_status='DONE', time_completed='2022-12-11 02:01:22.235040', photon_index_error2='2.33', photon_index2='4.66', ts='0.12', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.31e-05', EG='0.82', time_epoch_completed='1670752882.24', return_code='0', job_id='816068', GAL2='1.28', EG2='0.72', return_code2='0', photon_flux_error2='9.04e-08', ts2='2.14', photon_index='2.76' WHERE bin_id='1747' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 02:01:22 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 816068: <4FGL_J2248.7-3235_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1747> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Dec 11 01:50:14 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:50:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:50:16 2022
Terminated at Sun Dec 11 02:01:23 2022
Results reported at Sun Dec 11 02:01:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1747 342.193 -32.5926 692150401 692409601 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 :                                   509.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             273.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            669 sec.

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

