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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1763
RA = 342.193, Dec = -32.5926
tmin = 696297601, tmax = 696556801
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='296603', job_status='RUN', time_executed='2023-01-28 01:49:39.130823', time_epoch_executed='1674899379.13' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/296603

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/296603/ft1_4FGL_J2248.7-3235_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/296603/ft2_4FGL_J2248.7-3235_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/296603/ft1_4FGL_J2248.7-3235_daily_bin1763.fits outfile=/scratch/kocevski/296603/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1763.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=696297601.0 tmax=696556801.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.79
user 3.50
sys 0.22

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

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

Number of photons that the gtmktime cut: 422

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/296603/ft1_filtered_4FGL_J2248.7-3235_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/296603/ft2_4FGL_J2248.7-3235_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/296603/ltcube_696297601_696556801_4FGL_J2248.7-3235_daily_bin1763.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/296603/ft2_4FGL_J2248.7-3235_daily_bin1763.fits
.....................!
real 15.34
user 14.93
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/296603/ft1_filtered_4FGL_J2248.7-3235_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/296603/ft2_4FGL_J2248.7-3235_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/296603/ltcube_696297601_696556801_4FGL_J2248.7-3235_daily_bin1763.fits outfile=/scratch/kocevski/296603/expmap_696297601_696556801_4FGL_J2248.7-3235_daily_bin1763.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/296603/ltcube_696297601_696556801_4FGL_J2248.7-3235_daily_bin1763.fits
.....................!
real 191.81
user 186.47
sys 4.44

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/296603/ft1_filtered_4FGL_J2248.7-3235_daily_bin1763.fits scfile=/scratch/kocevski/296603/ft2_4FGL_J2248.7-3235_daily_bin1763.fits outfile=/scratch/kocevski/296603/cmap_696297601_696556801_4FGL_J2248.7-3235_daily_bin1763.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/296603/ft1_filtered_4FGL_J2248.7-3235_daily_bin1763.fits scfile=/scratch/kocevski/296603/ft2_4FGL_J2248.7-3235_daily_bin1763.fits outfile=/scratch/kocevski/296603/cmap_HighResolution_696297601_696556801_4FGL_J2248.7-3235_daily_bin1763.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/296603/ft1_filtered_4FGL_J2248.7-3235_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/296603/ft2_4FGL_J2248.7-3235_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/296603/Model_4FGL_J2248.7-3235_daily_bin1763.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/296603/ft1_filtered_4FGL_J2248.7-3235_daily_bin1763.fits.....................!
real 41.24
user 39.31
sys 1.37

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0360       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16343       1.0000          .0000       .10000E+07
     3 'Prefactor '    14.612       1.0000          .0000       .10000E+07
     4 'norm      '    .43275E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19746E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.6775       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.3132       1.0000          .0000       .10000E+07
     8 'Prefactor '    .30189       1.0000          .0000       .10000E+07
     9 'norm      '    5.2862       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10244E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.8533       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11297E-06   1.0000          .0000       .10000E+07
    13 'norm      '    6.4665       1.0000          .0000       .10000E+07
    14 'Prefactor '    .63401E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    16.207       1.0000          .0000       .10000E+07
    16 'norm      '    1.8609       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12040E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .29122E-03   1.0000          .0000       .10000E+07
    19 'norm      '    16.293       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.232       1.0000          .0000       .10000E+07
    21 'Prefactor '    16.373       1.0000          .0000       .10000E+07
    22 'norm      '    .14133E-01   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.3892       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .71660       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=   4758.257     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     2507 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0359        .56743       -.10273E-07   -.11111E-01
   2  Prefactor     .32030E-07    50.266        .46379E-06** at limit **
   3  Prefactor     14.653        11.773       -.61271E-07    .47849E-01
   4  norm          .18331E-05    18.405        .25188E-06** at limit **
   5  Prefactor     .33307E-09    13.451       -.19433E-06** at limit **
   6  Prefactor     6.7035        4.6634       -.89640E-07   -.26806E-01
   7  Prefactor     4.3272        6.0152        .22903E-08    .10770E-02
   8  Prefactor     .11953E-05    7.8164        .12459E-06** at limit **
   9  norm          5.2881        3.0704        .42148E-08    .22622E-02
  10  Prefactor     .83833E-06    21.374       -.64699E-06** at limit **
  11  Prefactor     3.8288        4.1218        .11606E-06    .10593E-01
  12  Prefactor     .27756E-09    2.6500       -.61327E-07** at limit **
  13  norm          6.4652        5.7673       -.21038E-07    .71110E-02
  14  Prefactor     .12768E-08    15.139       -.70622E-07** at limit **
  15  Prefactor     16.213        14.562        .69796E-07   -.96034E-01
  16  norm          1.8624        .99959        .36853E-08    .63586E-02
  17  Prefactor     .56066E-08    6.0503        .42759E-07** at limit **
  18  norm          .10603E-07    7.1126       -.15058E-06** at limit **
  19  norm          16.299        10.087        .12218E-06    .13571    
  20  Prefactor     15.457        52.543        .84616E-06    .14123E-01
  21  Prefactor     15.874        9.0340       -.71794E-07    .43539E-01
  22  norm          .15634E-05    78.491        .12084E-06** at limit **
  23  Normalizat    1.3876        .28959       -.63869E-06    .17388E-03
  24  Prefactor     .71774        .25939        .14554E-05    .12742E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.03586
  Prefactor  = 3.20299e-08
  Prefactor  = 14.6525
  norm       = 1.83309e-06
  Prefactor  = 3.33067e-10
  Prefactor  = 6.70352
  Prefactor  = 4.32715
  Prefactor  = 1.19532e-06
  norm       = 5.28806
  Prefactor  = 8.38329e-07
  Prefactor  = 3.82885
  Prefactor  = 2.77556e-10
  norm       = 6.46521
  Prefactor  = 1.27676e-09
  Prefactor  = 16.2134
  norm       = 1.86236
  Prefactor  = 5.60663e-09
  norm       = 1.06026e-08
  norm       = 16.2991
  Prefactor  = 15.4568
  Prefactor  = 15.8735
  norm       = 1.56342e-06
  Normalizat = 1.38762
  Prefactor  = 0.717741
 **********
 **   18 **HESSE 
 **********

 FCN=   4758.257     FROM HESSE     STATUS=OK           465 CALLS     2972 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0359        .56648        .60224E-03   -1.5679    
   2  Prefactor     .32030E-07    10.895        .12467E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.653        12.105        .26176E-03   -1.5631    
   4  norm          .18331E-05    21.747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33307E-09    13.443        .17053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.7035        15.297        .38808E-03   -1.5656    
   7  Prefactor     4.3272        6.0228        .48482E-03   -1.5666    
   8  Prefactor     .11953E-05    13.335        .10187E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.2881        3.0802        .43692E-03   -1.5662    
  10  Prefactor     .83833E-06    22.883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.8288        21.041        .51385E-03   -1.5669    
  12  Prefactor     .27756E-09    2.6529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.4652        5.8639        .39444E-03   -1.5657    
  14  Prefactor     .12768E-08    15.799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.213        16.537        .24852E-03   -1.5627    
  16  norm          1.8624        1.0289        .76357E-03   -1.5681    
  17  Prefactor     .56066E-08    6.0494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10603E-07    7.0671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          16.299        14.819        .24786E-03   -1.5627    
  20  Prefactor     15.457        67.441        .27511E-03   -1.5629    
  21  Prefactor     15.874        95.812        .24725E-03   -1.5628    
  22  norm          .15634E-05    7.4230        .53736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3876        .24285        .55043E-01   -.80988    
  24  Prefactor     .71774        .21382        .69620E-01   -1.0284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14208e-06
Minuit parameter uncertainties:
  1  0.566476
  2  0.00118195
  3  12.1052
  4  0.0126277
  5  0.000138078
  6  15.2966
  7  6.02279
  8  0.00798472
  9  3.08021
  10  0.00876002
  11  17.9514
  12  5.68721e-05
  13  5.86395
  14  0.000281268
  15  16.5375
  16  1.02893
  17  0.000368467
  18  0.000546954
  19  14.8191
  20  64.5742
  21  77.9987
  22  0.00681329
  23  0.243054
  24  0.21407
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.829e+00  1.795e+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:  7.177e-01  2.141e-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.388e+00  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/296603/likelihoodResults_696297601_696556801_4FGL_J2248.7-3235_daily_bin1763.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) = 4758.24666199
delta logL = 0.0104311573805

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4758.24436654
delta logL = 0.0127266056907

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8096       1.0000          .0000       .10000E+07
     2 'Index     '    2.0971       1.0000          .0000       10.000    
     3 'Normalizat'    1.3975       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70996       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4758.244     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      304 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7872        18.157        .10338E-03    .69326E-03
   2  Index         2.0919        2.3649        .10709E-01   -.45696E-04
   3  Normalizat    1.3978        .26865        .24263E-03    .47858E-04
   4  Prefactor     .70981        .25307        .30964E-03    .22213E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.78721
  Index      = 2.09189
  Normalizat = 1.39782
  Prefactor  = 0.70981
 **********
 **   18 **HESSE 
 **********

 FCN=   4758.244     FROM HESSE     STATUS=OK            27 CALLS      331 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7872        18.690        .20676E-04   -1.5669    
   2  Index         2.0919        2.3973        .21419E-02   -.62072    
   3  Normalizat    1.3978        .26895        .48527E-04   -.80692    
   4  Prefactor     .70981        .25329        .12386E-04   -1.0314    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.90882e-12
Minuit parameter uncertainties:
  1  16.8267
  2  2.5637
  3  0.269221
  4  0.2537
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/296603': 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) = 4758.24436329
delta logL = 0.0127298566531

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.787e+00  1.683e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  2.092e+00  2.564e+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:  7.098e-01  2.537e-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.398e+00  2.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 342.193 -32.593

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/296603/cmap_HighResolution_696297601_696556801_4FGL_J2248.7-3235_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-02', job_status='DONE', photon_flux_upper_limit='1.61e-07', time_completed='2023-01-28 01:59:39.522138', job_id='296603', GAL2='0.71', fit_tolerance='1e-08', EG2='1.40', EG='1.39', time_epoch_completed='1674899979.52', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.27e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1763' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 01:59:39 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 296603: <4FGL_J2248.7-3235_daily_bin1763> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1763> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Jan 28 01:45:30 2023
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 01:48:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 01:48:29 2023
Terminated at Sat Jan 28 01:59:40 2023
Results reported at Sat Jan 28 01:59:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1763 342.193 -32.5926 696297601 696556801 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 :                                   601.62 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             295.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            850 sec.

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

