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

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

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

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

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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1697
RA = 342.193, Dec = -32.5926
tmin = 679190401, tmax = 679449601
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='857710', job_status='RUN', time_executed='2022-07-14 00:38:43.874983', time_epoch_executed='1657784323.88' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857710

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857710/ft1_4FGL_J2248.7-3235_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857710/ft2_4FGL_J2248.7-3235_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857710/ft1_4FGL_J2248.7-3235_daily_bin1697.fits outfile=/scratch/kocevski/857710/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1697.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=679190401.0 tmax=679449601.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.46
user 3.21
sys 0.20

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

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

Number of photons that the gtmktime cut: 370

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857710/ft1_filtered_4FGL_J2248.7-3235_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857710/ft2_4FGL_J2248.7-3235_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857710/ltcube_679190401_679449601_4FGL_J2248.7-3235_daily_bin1697.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/857710/ft2_4FGL_J2248.7-3235_daily_bin1697.fits
.....................!
real 11.67
user 11.33
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857710/ft1_filtered_4FGL_J2248.7-3235_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857710/ft2_4FGL_J2248.7-3235_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857710/ltcube_679190401_679449601_4FGL_J2248.7-3235_daily_bin1697.fits outfile=/scratch/kocevski/857710/expmap_679190401_679449601_4FGL_J2248.7-3235_daily_bin1697.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/857710/ltcube_679190401_679449601_4FGL_J2248.7-3235_daily_bin1697.fits
.....................!
real 191.30
user 186.89
sys 4.03

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/857710/ft1_filtered_4FGL_J2248.7-3235_daily_bin1697.fits scfile=/scratch/kocevski/857710/ft2_4FGL_J2248.7-3235_daily_bin1697.fits outfile=/scratch/kocevski/857710/cmap_679190401_679449601_4FGL_J2248.7-3235_daily_bin1697.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857710/ft1_filtered_4FGL_J2248.7-3235_daily_bin1697.fits scfile=/scratch/kocevski/857710/ft2_4FGL_J2248.7-3235_daily_bin1697.fits outfile=/scratch/kocevski/857710/cmap_HighResolution_679190401_679449601_4FGL_J2248.7-3235_daily_bin1697.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.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/857710/ft1_filtered_4FGL_J2248.7-3235_daily_bin1697.fits', '/scratch/kocevski/857710/ft2_4FGL_J2248.7-3235_daily_bin1697.fits', expMap='/scratch/kocevski/857710/expmap_679190401_679449601_4FGL_J2248.7-3235_daily_bin1697.fits', expCube='/scratch/kocevski/857710/ltcube_679190401_679449601_4FGL_J2248.7-3235_daily_bin1697.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/857710/Model_4FGL_J2248.7-3235_daily_bin1697.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/857710/ft1_filtered_4FGL_J2248.7-3235_daily_bin1697.fits
Spacecraft file(s): /scratch/kocevski/857710/ft2_4FGL_J2248.7-3235_daily_bin1697.fits
Exposure map: /scratch/kocevski/857710/expmap_679190401_679449601_4FGL_J2248.7-3235_daily_bin1697.fits
Exposure cube: /scratch/kocevski/857710/ltcube_679190401_679449601_4FGL_J2248.7-3235_daily_bin1697.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/857710/Model_4FGL_J2248.7-3235_daily_bin1697.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) = 4160.56238527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18055       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.693       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.585       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7847       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .29329E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.356       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.5079       1.0000         .10000E-03   10000.    
    20 'norm      '    3.6980       1.0000         .10000E-03   10000.    
    21 'Prefactor '    43.034       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10132E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0495       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .59311       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4160.374     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2919 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18056        .16732       -.50219E-08    .44449E-03
   2  Prefactor     22.694        21.570        .64144E-07    .91950E-05
   3  Prefactor     .10000E-03    5.8537       -.26177E-05** at limit **
   4  norm          .10000E-03    7.7147        .37390E-05** at limit **
   5  Prefactor     .10000E-03    17.522        .81801E-05** at limit **
   6  Prefactor     .10000E-03    5.1867        .21707E-05** at limit **
   7  Prefactor     .10000E-03    13.825       -.79710E-05** at limit **
   8  Prefactor     .10000E-03    29.657       -.49227E-05** at limit **
   9  norm          .10001E-03    2.1509        .75924E-06** at limit **
  10  Prefactor     29.576        34.863       -.84700E-05   -.11966E-03
  11  Prefactor     9.7820        10.345       -.25799E-06   -.33553E-04
  12  Prefactor     .10000E-03    9.5984        .89656E-06** at limit **
  13  norm          .10000E-03    2.6066       -.17943E-06** at limit **
  14  Prefactor     15.339        13.047        .19023E-06   -.72277E-04
  15  Prefactor     .10000E-03    5.1587        .20389E-05** at limit **
  16  norm          .10000E-03    .24348       -.50363E-07** at limit **
  17  Prefactor     .10000E-03    14.977       -.47828E-05** at limit **
  18  Prefactor     .10000E-03    3.7904        .29937E-06** at limit **
  19  norm          4.5095        4.2810       -.34674E-07    .61016E-04
  20  norm          3.6981        4.7995        .39798E-07   -.18907E-04
  21  Prefactor     43.019        49.543       -.18753E-04    .58093E-04
  22  Prefactor     .10000E-03    17.190        .65056E-05** at limit **
  23  norm          .10001E-03    6.0924       -.10376E-05** at limit **
  24  Normalizat    1.0497        .17837        .36995E-05   -.11749E-03
  25  Prefactor     .59283        .17030       -.16739E-05    .15466E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.180559
  Prefactor  = 22.6938
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100014
  Prefactor  = 29.5761
  Prefactor  = 9.78204
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 15.3394
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.5095
  norm       = 3.69809
  Prefactor  = 43.0189
  Prefactor  = 0.0001
  norm       = 0.00010001
  Normalizat = 1.04972
  Prefactor  = 0.592833
 **********
 **   18 **HESSE 
 **********

 FCN=   4160.374     FROM HESSE     STATUS=OK           423 CALLS     3342 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18056        .17808        .24773E-03   -1.5623    
   2  Prefactor     22.694        21.570        .84085E-04   -1.4755    
   3  Prefactor     .10000E-03    5.9429        .15239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    7.7156        .17493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.1854        .14344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    30.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10001E-03    4.4836        .17055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.576        32.870        .73659E-04   -1.4620    
  11  Prefactor     9.7820        10.366        .12811E-03   -1.5082    
  12  Prefactor     .10000E-03    9.8657        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    19.589        .18399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.339        11.767        .10221E-03   -1.4924    
  15  Prefactor     .10000E-03    5.2140        .14227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .32414        .59643E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.8066        .12259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.5095        4.2881        .12377E-03   -1.5283    
  20  norm          3.6981        4.7939        .15648E-03   -1.5323    
  21  Prefactor     43.019        49.274        .61111E-04   -1.4395    
  22  Prefactor     .10000E-03    17.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10001E-03    6.1784        .30698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0497        .20975        .19558E-03   -.91383    
  25  Prefactor     .59283        .19945        .24702E-03   -1.0789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.29315e-09
Minuit parameter uncertainties:
  1  0.178083
  2  21.5771
  3  1.49549e-05
  4  2.68786e-06
  5  1.16927e-05
  6  2.44671e-06
  7  0.000133174
  8  5.33179e-05
  9  0.000498946
  10  32.8905
  11  10.3675
  12  2.72307e-05
  13  0.000402987
  14  11.7689
  15  5.93002e-06
  16  2.59038e-06
  17  9.31175e-07
  18  3.37357e-06
  19  4.28839
  20  4.79435
  21  49.321
  22  1.68731e-05
  23  0.00048726
  24  0.209913
  25  0.199688
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  5.928e-01  1.997e-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.050e+00  2.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.23
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 3.47e-08 +/- 3.67e-08
Energy Flux (Fixed Index): 7.97e-06 +/- 8.45e-06

TS (Fixed Index): 1.23
Ra Dec: 342.193 -32.593
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/857710/likelihoodResults_679190401_679449601_4FGL_J2248.7-3235_daily_bin1697.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) = 4160.34428927
delta logL = 0.0293996636838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4160.34365249
delta logL = 0.0300364422801

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.072       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5163       1.0000          .0000       10.000    
     3 'Normalizat'    1.0554       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58796       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=   4160.344     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      248 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.087        533.45        .30100E-02   -.51582E-04
   2  Index         2.5177        5.3438        .23478        .28993E-04
   3  Normalizat    1.0553        .91431E-01    .40208E-01   -.79102E-03
   4  Prefactor     .58804        .10412        .40890E-01   -.72452E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.0869
  Index      = 2.51773
  Normalizat = 1.05528
  Prefactor  = 0.588038
 **********
 **   18 **HESSE 
 **********

 FCN=   4160.344     FROM HESSE     STATUS=OK            29 CALLS      277 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.087        12.209        .12040E-03   -1.5042    
   2  Index         2.5177        .93593        .10424E-01   -.51951    
   3  Normalizat    1.0553        .20312        .19512E-03   -.91201    
   4  Prefactor     .58804        .19668        .24790E-03   -1.0809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.91234e-10
Minuit parameter uncertainties:
  1  12.2113
  2  0.943337
  3  0.203269
  4  0.196915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857710': 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) = 4160.3436499
delta logL = 0.0300390352222

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.109e+01  1.221e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.518e+00  9.433e-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:  5.880e-01  1.969e-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.055e+00  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.28
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.52 +/- 0.94
Photon Flux (Free Index): 3.17e-08 +/- 3.60e-08
Energy Flux (Free Index): 9.02e-06 +/- 1.07e-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/857710/cmap_HighResolution_679190401_679449601_4FGL_J2248.7-3235_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.34e-03', comment='SUCCESS', photon_flux='3.47e-08', energy_flux2='9.02e-06', photon_flux_error='3.67e-08', dlogl='3.00e-02', energy_flux='7.97e-06', photon_flux2='3.17e-08', job_status='DONE', time_completed='2022-07-14 00:48:03.946534', photon_index_error2='0.94', photon_index2='2.52', ts='1.23', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='1.07e-05', EG='1.05', time_epoch_completed='1657784883.95', return_code='0', job_id='857710', GAL2='0.59', EG2='1.06', return_code2='0', energy_flux_error='8.45e-06', photon_flux_error2='3.60e-08', ts2='1.28', photon_index='2.76' WHERE bin_id='1697' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:48:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 857710: <4FGL_J2248.7-3235_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:53 2022
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:35:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:35:54 2022
Terminated at Thu Jul 14 00:48:04 2022
Results reported at Thu Jul 14 00:48:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1697 342.193 -32.5926 679190401 679449601 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 :                                   562.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            731 sec.

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

