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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1769
RA = 342.193, Dec = -32.5926
tmin = 697852801, tmax = 698112001
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='446424', job_status='RUN', time_executed='2023-02-15 01:37:06.532110', time_epoch_executed='1676453826.53' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/446424

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/446424/ft1_4FGL_J2248.7-3235_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/446424/ft2_4FGL_J2248.7-3235_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/446424/ft1_4FGL_J2248.7-3235_daily_bin1769.fits outfile=/scratch/kocevski/446424/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1769.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=697852801.0 tmax=698112001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.38
user 4.14
sys 0.22

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

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

Number of photons that the gtmktime cut: 558

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/446424/ft1_filtered_4FGL_J2248.7-3235_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/446424/ft2_4FGL_J2248.7-3235_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/446424/ltcube_697852801_698112001_4FGL_J2248.7-3235_daily_bin1769.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/446424/ft2_4FGL_J2248.7-3235_daily_bin1769.fits
.....................!
real 12.07
user 11.76
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/446424/ft1_filtered_4FGL_J2248.7-3235_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/446424/ft2_4FGL_J2248.7-3235_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/446424/ltcube_697852801_698112001_4FGL_J2248.7-3235_daily_bin1769.fits outfile=/scratch/kocevski/446424/expmap_697852801_698112001_4FGL_J2248.7-3235_daily_bin1769.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/446424/ltcube_697852801_698112001_4FGL_J2248.7-3235_daily_bin1769.fits
.....................!
real 189.73
user 185.39
sys 4.01

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/446424/ft1_filtered_4FGL_J2248.7-3235_daily_bin1769.fits scfile=/scratch/kocevski/446424/ft2_4FGL_J2248.7-3235_daily_bin1769.fits outfile=/scratch/kocevski/446424/cmap_697852801_698112001_4FGL_J2248.7-3235_daily_bin1769.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/446424/ft1_filtered_4FGL_J2248.7-3235_daily_bin1769.fits scfile=/scratch/kocevski/446424/ft2_4FGL_J2248.7-3235_daily_bin1769.fits outfile=/scratch/kocevski/446424/cmap_HighResolution_697852801_698112001_4FGL_J2248.7-3235_daily_bin1769.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.51
user 0.37
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/446424/ft1_filtered_4FGL_J2248.7-3235_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/446424/ft2_4FGL_J2248.7-3235_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/446424/Model_4FGL_J2248.7-3235_daily_bin1769.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/446424/ft1_filtered_4FGL_J2248.7-3235_daily_bin1769.fits.....................!
real 45.49
user 44.32
sys 1.07

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1781       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.8933       1.0000          .0000       .10000E+07
     3 'Prefactor '    .84617E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .37526E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .34191E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48443E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.4177       1.0000          .0000       .10000E+07
     8 'Prefactor '    11.814       1.0000          .0000       .10000E+07
     9 'norm      '    2.0885       1.0000          .0000       .10000E+07
    10 'Prefactor '    .50385E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .55915E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32167E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .44491E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    13.938       1.0000          .0000       .10000E+07
    15 'Prefactor '    35.919       1.0000          .0000       .10000E+07
    16 'norm      '    1.4512       1.0000          .0000       .10000E+07
    17 'Prefactor '    .64497       1.0000          .0000       .10000E+07
    18 'norm      '    .42341E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .55218E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    19.443       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.7326       1.0000          .0000       .10000E+07
    22 'norm      '    6.3248       1.0000          .0000       .10000E+07
    23 'Normalizat'    .57975       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2942       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=   6074.103     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1925 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1780        .40177        .24109E-08    .12084E-02
   2  Prefactor     7.8839        1.5215        .41195E-08    .54992E-02
   3  Prefactor     .13345E-06    4.9905        .16646E-06** at limit **
   4  norm          .88207E-07    5.9555        .19919E-06** at limit **
   5  Prefactor     .16653E-09    20.377       -.31901E-06** at limit **
   6  Prefactor     .85876E-07    5.4474        .11407E-06** at limit **
   7  Prefactor     4.4315        6.3822        .19194E-07    .21774E-01
   8  Prefactor     11.839        8.2397       -.45098E-08   -.21193E-01
   9  norm          2.0889        1.8868       -.37883E-07   -.18681E-02
  10  Prefactor     .10142E-06    41.892        .90686E-08** at limit **
  11  Prefactor     .42188E-08    14.221        .20678E-06** at limit **
  12  Prefactor     .55511E-10    2.4816        .37389E-07** at limit **
  13  norm          .10597E-06    4.9792        .14455E-06** at limit **
  14  Prefactor     13.686        6.3474       -.21946E-07   -.23189E-01
  15  Prefactor     35.870        9.0211       -.25371E-07   -.66578E-02
  16  norm          1.4567        .93143        .24677E-07    .33967E-02
  17  Prefactor     .67152        3.6222       -.42463E-07   -.14293E-03
  18  norm           .0000        1.6161        .36693E-07** at limit **
  19  norm           .0000        2.0401       -.72477E-07** at limit **
  20  Prefactor     18.738        5.0631        .70363E-08   -.43036E-01
  21  Prefactor     5.8247        1.5704       -.94318E-08    .13112E-01
  22  norm          6.3609        3.7440        .32049E-08    .12469E-02
  23  Normalizat    .58037        .19826       -.42484E-06   -.35391E-05
  24  Prefactor     1.2939        .20915        .34157E-06    .34852E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.17801
  Prefactor  = 7.88391
  Prefactor  = 1.33449e-07
  norm       = 8.82072e-08
  Prefactor  = 1.66533e-10
  Prefactor  = 8.58758e-08
  Prefactor  = 4.43147
  Prefactor  = 11.8389
  norm       = 2.08892
  Prefactor  = 1.01419e-07
  Prefactor  = 4.21885e-09
  Prefactor  = 5.55112e-11
  norm       = 1.05971e-07
  Prefactor  = 13.6858
  Prefactor  = 35.8698
  norm       = 1.45669
  Prefactor  = 0.671524
  norm       = 0
  norm       = 0
  Prefactor  = 18.7381
  Prefactor  = 5.82469
  norm       = 6.36088
  Normalizat = 0.580365
  Prefactor  = 1.2939
 **********
 **   18 **HESSE 
 **********

 FCN=   6074.103     FROM HESSE     STATUS=OK           449 CALLS     2374 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1780        .40144        .63426E-03   -1.5686    
   2  Prefactor     7.8839        17.027        .35666E-03   -1.5652    
   3  Prefactor     .13345E-06    11.129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .88207E-07    9.9837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    20.322        .16237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .85876E-07    8.1310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.4315        11.425        .47889E-03   -1.5666    
   8  Prefactor     11.839        11.669        .29120E-03   -1.5639    
   9  norm          2.0889        1.9042        .71410E-03   -1.5679    
  10  Prefactor     .10142E-06    42.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .42188E-08    14.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    2.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10597E-06    9.3783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.686        16.164        .26803E-03   -1.5634    
  15  Prefactor     35.870        15.136        .16687E-03   -1.5588    
  16  norm          1.4567        .97426        .89393E-03   -1.5684    
  17  Prefactor     .67152        24.618        .65292E-03   -1.5692    
  18  norm           .0000        1.6185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        2.0432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.738        29.521        .22687E-03   -1.5621    
  21  Prefactor     5.8247        39.579        .41927E-03   -1.5660    
  22  norm          6.3609        3.9936        .39889E-03   -1.5658    
  23  Normalizat    .58037        .17365        .66942E-01   -1.0882    
  24  Prefactor     1.2939        .17671        .49141E-01   -.83489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.18999e-07
Minuit parameter uncertainties:
  1  0.401442
  2  17.0271
  3  0.00243761
  4  0.00187694
  5  0.000111748
  6  0.00167098
  7  11.4255
  8  11.6692
  9  1.90417
  10  0.00417339
  11  0.000496598
  12  2.31936e-05
  13  0.00199364
  14  16.1644
  15  15.1364
  16  0.974259
  17  8.13191
  18  5.80164e-06
  19  1.92703e-06
  20  29.521
  21  30.367
  22  3.99363
  23  0.173809
  24  0.176787
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  4.219e-09  4.966e-04  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.294e+00  1.768e-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:  5.804e-01  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.193 -32.593
Photon Flux Upper Limit: 6.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/446424/likelihoodResults_697852801_698112001_4FGL_J2248.7-3235_daily_bin1769.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): 102
logL (Free Index) = 6074.10681395
delta logL = -0.00351913872146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6074.10329618
delta logL = -1.37023926072e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17214E-06   1.0000          .0000       .10000E+07
     2 'Index     '    3.0908       1.0000          .0000       10.000    
     3 'Normalizat'    .58042       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2940       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=   6074.103     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      267 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    2.4476        .42118E-03** at limit **
   2  Index         1.4126        8.3273        .50000       -.45475E-09
   3  Normalizat    .58036        .40059E-02    .66942E-01    .32825E-04
   4  Prefactor     1.2939        .42531E-02    .49141E-01    .89072E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 1.41263
  Normalizat = 0.580364
  Prefactor  = 1.2939
 **********
 **   18 **HESSE 
 **********

 FCN=   6074.103     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      298 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    12.058        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4126        9.0060        .50000       -.80017    
   3  Normalizat    .58036        .89039E-02    .29626E-03   -1.0882    
   4  Prefactor     1.2939        .94701E-02    .21723E-03   -.83489    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03809e-09
Minuit parameter uncertainties:
  1  0.000120624
  2  60980.5
  3  0.00890388
  4  0.00947012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/446424': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6074.10329481
delta logL = 7.27595761418e-11

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.776e-10  1.206e-04  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  1.413e+00  6.098e+04  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.294e+00  9.470e-03  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:  5.804e-01  8.904e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/446424/cmap_HighResolution_697852801_698112001_4FGL_J2248.7-3235_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.44e-03', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2023-02-15 01:46:55.482426', job_id='446424', GAL2='1.29', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1676454415.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='7.28e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1769' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:46:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 446424: <4FGL_J2248.7-3235_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 01:35:16 2023
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:35:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:35:17 2023
Terminated at Wed Feb 15 01:46:56 2023
Results reported at Wed Feb 15 01:46:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1769 342.193 -32.5926 697852801 698112001 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 :                                   591.05 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             296.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            700 sec.

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

