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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1764
RA = 342.193, Dec = -32.5926
tmin = 696556801, tmax = 696816001
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='467339', job_status='RUN', time_executed='2023-01-31 02:08:34.974258', time_epoch_executed='1675159714.97' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467339

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467339/ft1_4FGL_J2248.7-3235_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467339/ft2_4FGL_J2248.7-3235_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467339/ft1_4FGL_J2248.7-3235_daily_bin1764.fits outfile=/scratch/kocevski/467339/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1764.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=696556801.0 tmax=696816001.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.77
user 3.48
sys 0.22

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

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

Number of photons that the gtmktime cut: 378

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/467339/ft1_filtered_4FGL_J2248.7-3235_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/467339/ft2_4FGL_J2248.7-3235_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/467339/ltcube_696556801_696816001_4FGL_J2248.7-3235_daily_bin1764.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/467339/ft2_4FGL_J2248.7-3235_daily_bin1764.fits
.....................!
real 14.72
user 14.20
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467339/ft1_filtered_4FGL_J2248.7-3235_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/467339/ft2_4FGL_J2248.7-3235_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/467339/ltcube_696556801_696816001_4FGL_J2248.7-3235_daily_bin1764.fits outfile=/scratch/kocevski/467339/expmap_696556801_696816001_4FGL_J2248.7-3235_daily_bin1764.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/467339/ltcube_696556801_696816001_4FGL_J2248.7-3235_daily_bin1764.fits
.....................!
real 194.85
user 188.15
sys 4.48

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/467339/ft1_filtered_4FGL_J2248.7-3235_daily_bin1764.fits scfile=/scratch/kocevski/467339/ft2_4FGL_J2248.7-3235_daily_bin1764.fits outfile=/scratch/kocevski/467339/cmap_696556801_696816001_4FGL_J2248.7-3235_daily_bin1764.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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/467339/ft1_filtered_4FGL_J2248.7-3235_daily_bin1764.fits scfile=/scratch/kocevski/467339/ft2_4FGL_J2248.7-3235_daily_bin1764.fits outfile=/scratch/kocevski/467339/cmap_HighResolution_696556801_696816001_4FGL_J2248.7-3235_daily_bin1764.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.60
user 0.43
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/467339/ft1_filtered_4FGL_J2248.7-3235_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/467339/ft2_4FGL_J2248.7-3235_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/467339/Model_4FGL_J2248.7-3235_daily_bin1764.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/467339/ft1_filtered_4FGL_J2248.7-3235_daily_bin1764.fits.....................!
real 38.94
user 37.14
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7853       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11630E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.191       1.0000          .0000       .10000E+07
     4 'norm      '    .27368E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18045E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    45.328       1.0000          .0000       .10000E+07
     7 'Prefactor '    .16605E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    10.014       1.0000          .0000       .10000E+07
     9 'norm      '    .63262E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    91.854       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.614       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46716       1.0000          .0000       .10000E+07
    13 'norm      '    3.1902       1.0000          .0000       .10000E+07
    14 'Prefactor '    .20516E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    12.395       1.0000          .0000       .10000E+07
    16 'norm      '    4.1051       1.0000          .0000       .10000E+07
    17 'Prefactor '    .35087E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .18645E-05   1.0000          .0000       .10000E+07
    19 'norm      '    2.4205       1.0000          .0000       .10000E+07
    20 'Prefactor '    .44095       1.0000          .0000       .10000E+07
    21 'Prefactor '    19.230       1.0000          .0000       .10000E+07
    22 'norm      '    9.1773       1.0000          .0000       .10000E+07
    23 'Normalizat'    .77410       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96211       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=   4327.965     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     2087 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7857        .55097        .32262E-09   -.85656E-04
   2  Prefactor     .19207E-07    15.922        .28090E-06** at limit **
   3  Prefactor     11.234        13.235       -.19004E-06   -.11390E-02
   4  norm          .11713E-07    15.539       -.11509E-07** at limit **
   5  Prefactor      .0000        29.764       -.26543E-06** at limit **
   6  Prefactor     44.963        32.759        .33345E-07    .41224E-01
   7  Prefactor     .27756E-08    6.4282       -.20496E-06** at limit **
   8  Prefactor     10.177        11.707        .22110E-07    .14921E-01
   9  norm          .16653E-09    11.133       -.29348E-06** at limit **
  10  Prefactor     94.674        63.050        .17444E-06   -.14181E-01
  11  Prefactor     25.654        3.4746        .17470E-07    .21141E-03
  12  Prefactor     .55993        22.615        .15690E-06    .26988E-05
  13  norm          3.1827        4.5695        .14462E-06   -.38622E-03
  14  Prefactor     .44409E-09    6.9372       -.19877E-06** at limit **
  15  Prefactor     12.233        9.2801       -.11821E-06    .60351E-02
  16  norm          4.1105        1.2799        .13464E-08   -.54895E-04
  17  Prefactor     .55511E-10    10.160       -.54796E-07** at limit **
  18  norm           .0000        2.6220       -.96961E-07** at limit **
  19  norm          2.4448        7.0766       -.83687E-07    .12493E-03
  20  Prefactor     .29449E-06    117.22        .53916E-06** at limit **
  21  Prefactor     19.937        19.184        .34860E-07    .40167E-01
  22  norm          9.2214        5.3037       -.55645E-07    .23056E-03
  23  Normalizat    .77322        .27406       -.10106E-05    .15519E-04
  24  Prefactor     .96140        .26495        .15527E-06    .14343E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.78569
  Prefactor  = 1.92069e-08
  Prefactor  = 11.2337
  norm       = 1.17129e-08
  Prefactor  = 0
  Prefactor  = 44.9635
  Prefactor  = 2.77556e-09
  Prefactor  = 10.1768
  norm       = 1.66533e-10
  Prefactor  = 94.6736
  Prefactor  = 25.6537
  Prefactor  = 0.559928
  norm       = 3.1827
  Prefactor  = 4.44089e-10
  Prefactor  = 12.2331
  norm       = 4.11054
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 2.44483
  Prefactor  = 2.94487e-07
  Prefactor  = 19.9375
  norm       = 9.22144
  Normalizat = 0.773222
  Prefactor  = 0.961403
 **********
 **   18 **HESSE 
 **********

 FCN=   4327.965     FROM HESSE     STATUS=OK           451 CALLS     2538 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7857        .55048        .59648E-03   -1.5681    
   2  Prefactor     .19207E-07    18.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.234        13.312        .29922E-03   -1.5641    
   4  norm          .11713E-07    16.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        29.717        .17169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.963        35.618        .14854E-03   -1.5574    
   7  Prefactor     .27756E-08    13.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.177        30.274        .31640E-03   -1.5644    
   9  norm          .16653E-09    10.979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     94.674        64.183        .10435E-03   -1.5513    
  11  Prefactor     25.654        18.403        .19763E-03   -1.5607    
  12  Prefactor     .55993        22.029        .82085E-03   -1.5693    
  13  norm          3.1827        4.6767        .56707E-03   -1.5672    
  14  Prefactor     .44409E-09    13.307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.233        19.538        .28427E-03   -1.5638    
  16  norm          4.1105        1.5436        .49732E-03   -1.5667    
  17  Prefactor     .55511E-10    10.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        2.6273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.4448        7.0943        .65761E-03   -1.5677    
  20  Prefactor     .29449E-06    119.26        .84888E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.937        48.976        .22812E-03   -1.5619    
  22  norm          9.2214        5.3114        .33059E-03   -1.5647    
  23  Normalizat    .77322        .23416        .64261E-01   -1.0107    
  24  Prefactor     .96140        .21872        .45792E-01   -.94027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12396e-06
Minuit parameter uncertainties:
  1  0.550476
  2  0.00119683
  3  13.3121
  4  0.000873036
  5  3.96747e-05
  6  35.618
  7  0.000384359
  8  30.2749
  9  7.99926e-05
  10  64.1831
  11  18.4031
  12  7.0241
  13  4.67674
  14  0.000156898
  15  19.5379
  16  1.54357
  17  4.91956e-05
  18  6.31104e-06
  19  7.09437
  20  0.0118532
  21  48.9769
  22  5.31143
  23  0.234464
  24  0.21892
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.565e+01  1.840e+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.614e-01  2.189e-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.732e-01  2.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.99
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 9.10e-08 +/- 6.52e-08
Energy Flux (Fixed Index): 2.09e-05 +/- 1.50e-05

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

Saving results to:
/scratch/kocevski/467339/likelihoodResults_696556801_696816001_4FGL_J2248.7-3235_daily_bin1764.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) = 4327.96040142
delta logL = 0.00410952667335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4327.95870191
delta logL = 0.0058090396833

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.746       1.0000          .0000       .10000E+07
     2 'Index     '    2.6732       1.0000          .0000       10.000    
     3 'Normalizat'    .77938       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95607       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=   4327.959     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      256 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.747        21.446        .77359E-05   -.29853E-02
   2  Index         2.6734        .80560        .80799E-02   -.94844E-04
   3  Normalizat    .77893        .27679        .28334E-03    .82695E-04
   4  Prefactor     .95648        .26697        .25107E-03    .96042E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.7471
  Index      = 2.67337
  Normalizat = 0.778927
  Prefactor  = 0.956481
 **********
 **   18 **HESSE 
 **********

 FCN=   4327.959     FROM HESSE     STATUS=OK            23 CALLS      279 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.747        21.046        .15472E-05   -1.5605    
   2  Index         2.6734        .79012        .32320E-03   -.48400    
   3  Normalizat    .77893        .27705        .11334E-04   -1.0086    
   4  Prefactor     .95648        .26714        .10043E-04   -.94195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15035e-10
Minuit parameter uncertainties:
  1  21.0464
  2  0.794384
  3  0.27755
  4  0.267504
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467339': 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) = 4327.95870054
delta logL = 0.00581040808538

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.675e+01  2.105e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  2.673e+00  7.944e-01  0.000e+00  1.000e+01 (-1.000e+00)
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  9.565e-01  2.675e-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.789e-01  2.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.99
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.67 +/- 0.79
Photon Flux (Free Index): 8.75e-08 +/- 7.06e-08
Energy Flux (Free Index): 2.15e-05 +/- 1.64e-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/467339/cmap_HighResolution_696556801_696816001_4FGL_J2248.7-3235_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-02', comment='SUCCESS', photon_flux='9.10e-08', energy_flux2='2.15e-05', photon_flux_error='6.52e-08', dlogl='5.81e-03', energy_flux='2.09e-05', photon_flux2='8.75e-08', job_status='DONE', time_completed='2023-01-31 02:17:27.126584', photon_index_error2='0.79', photon_index2='2.67', ts='2.99', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='2.25e-07', energy_flux_error2='1.64e-05', EG='0.77', time_epoch_completed='1675160247.13', return_code='0', job_id='467339', GAL2='0.96', EG2='0.78', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='7.06e-08', ts2='2.99', photon_index='2.76' WHERE bin_id='1764' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:17:27 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 467339: <4FGL_J2248.7-3235_daily_bin1764> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 02:05:15 2023
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 02:05:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 02:05:30 2023
Terminated at Tue Jan 31 02:17:27 2023
Results reported at Tue Jan 31 02:17:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1764 342.193 -32.5926 696556801 696816001 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 :                                   529.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             231.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            732 sec.

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

