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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1729
RA = 342.193, Dec = -32.5926
tmin = 687484801, tmax = 687744001
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='378750', job_status='RUN', time_executed='2022-10-18 00:38:14.530699', time_epoch_executed='1666078694.53' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378750

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378750/ft1_4FGL_J2248.7-3235_daily_bin1729.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378750/ft2_4FGL_J2248.7-3235_daily_bin1729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378750/ft1_4FGL_J2248.7-3235_daily_bin1729.fits outfile=/scratch/kocevski/378750/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1729.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=687484801.0 tmax=687744001.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.58
user 3.38
sys 0.19

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

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

Number of photons that the gtmktime cut: 400

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378750/ft1_filtered_4FGL_J2248.7-3235_daily_bin1729.fits" evtable="EVENTS" scfile=/scratch/kocevski/378750/ft2_4FGL_J2248.7-3235_daily_bin1729.fits sctable="SC_DATA" outfile=/scratch/kocevski/378750/ltcube_687484801_687744001_4FGL_J2248.7-3235_daily_bin1729.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/378750/ft2_4FGL_J2248.7-3235_daily_bin1729.fits
.....................!
real 12.29
user 11.90
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378750/ft1_filtered_4FGL_J2248.7-3235_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378750/ft2_4FGL_J2248.7-3235_daily_bin1729.fits sctable="SC_DATA" expcube=/scratch/kocevski/378750/ltcube_687484801_687744001_4FGL_J2248.7-3235_daily_bin1729.fits outfile=/scratch/kocevski/378750/expmap_687484801_687744001_4FGL_J2248.7-3235_daily_bin1729.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/378750/ltcube_687484801_687744001_4FGL_J2248.7-3235_daily_bin1729.fits
.....................!
real 192.06
user 185.97
sys 5.77

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/378750/ft1_filtered_4FGL_J2248.7-3235_daily_bin1729.fits scfile=/scratch/kocevski/378750/ft2_4FGL_J2248.7-3235_daily_bin1729.fits outfile=/scratch/kocevski/378750/cmap_687484801_687744001_4FGL_J2248.7-3235_daily_bin1729.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378750/ft1_filtered_4FGL_J2248.7-3235_daily_bin1729.fits scfile=/scratch/kocevski/378750/ft2_4FGL_J2248.7-3235_daily_bin1729.fits outfile=/scratch/kocevski/378750/cmap_HighResolution_687484801_687744001_4FGL_J2248.7-3235_daily_bin1729.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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/378750/ft1_filtered_4FGL_J2248.7-3235_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378750/ft2_4FGL_J2248.7-3235_daily_bin1729.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378750/Model_4FGL_J2248.7-3235_daily_bin1729.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/378750/ft1_filtered_4FGL_J2248.7-3235_daily_bin1729.fits....................!
real 39.11
user 37.83
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44793       1.0000          .0000       .10000E+07
     2 'Prefactor '    .61773E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .58236E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     5 'Prefactor '    37.502       1.0000          .0000       .10000E+07
     6 'Prefactor '    50.958       1.0000          .0000       .10000E+07
     7 'Prefactor '    .48686E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .91830E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .34983E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    62.285       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2655       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.6827       1.0000          .0000       .10000E+07
    13 'norm      '    3.9066       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58347E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.050       1.0000          .0000       .10000E+07
    16 'norm      '    .38636E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .59805E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .50515E-08   1.0000          .0000       .10000E+07
    19 'norm      '    .18176E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    31.453       1.0000          .0000       .10000E+07
    21 'Prefactor '    38.946       1.0000          .0000       .10000E+07
    22 'norm      '    .16277E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .89060       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98727       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=   4580.643     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     2063 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44804        .30735        .30933E-06   -.39765E-02
   2  Prefactor     .11102E-09    14.247        .12751E-05** at limit **
   3  Prefactor      .0000        6.0458        .70075E-06** at limit **
   4  norm          .33307E-09    10.725       -.61845E-06** at limit **
   5  Prefactor     36.793        22.754        .14569E-05    .16574E-01
   6  Prefactor     49.652        21.708        .11856E-05    .18641    
   7  Prefactor     .10515E-03    96.825        .19512E-05** at limit **
   8  Prefactor     .58331E-05    23.093       -.10916E-05** at limit **
   9  norm           .0000        1.0080       -.21338E-07** at limit **
  10  Prefactor     63.420        28.064        .91990E-06   -.14560    
  11  Prefactor     8.3100        10.441        .52965E-06    .44299E-02
  12  Prefactor     6.6900        5.5108        .17069E-06    .20960E-02
  13  norm          3.8605        6.2151       -.90469E-06   -.20904E-02
  14  Prefactor     .31433E-05    19.754        .73721E-06** at limit **
  15  Prefactor     14.142        11.933        .28304E-07    .34170E-02
  16  norm          .55511E-10    .60545        .43237E-06** at limit **
  17  Prefactor      .0000        4.5702        .33781E-06** at limit **
  18  norm           .0000        2.5751       -.66528E-06** at limit **
  19  norm          .11102E-07    21.934       -.28274E-05** at limit **
  20  Prefactor     32.098        9.0390       -.12161E-06   -.20471E-01
  21  Prefactor     40.654        26.758        .77695E-06   -.10690    
  22  norm          .55511E-10    4.2662       -.85359E-06** at limit **
  23  Normalizat    .88944        .25648       -.50718E-04   -.61921E-04
  24  Prefactor     .98811        .24521        .27203E-04   -.29379E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.448038
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 3.33067e-10
  Prefactor  = 36.793
  Prefactor  = 49.6515
  Prefactor  = 0.000105153
  Prefactor  = 5.83311e-06
  norm       = 0
  Prefactor  = 63.4195
  Prefactor  = 8.30997
  Prefactor  = 6.68999
  norm       = 3.86048
  Prefactor  = 3.14332e-06
  Prefactor  = 14.1417
  norm       = 5.55112e-11
  Prefactor  = 0
  norm       = 0
  norm       = 1.11022e-08
  Prefactor  = 32.0978
  Prefactor  = 40.654
  norm       = 5.55112e-11
  Normalizat = 0.889436
  Prefactor  = 0.988106
 **********
 **   18 **HESSE 
 **********

 FCN=   4580.643     FROM HESSE     STATUS=OK           441 CALLS     2504 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44804        .30776        .68419E-03   -1.5695    
   2  Prefactor     .11102E-09    14.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        6.0483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .33307E-09    10.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.793        39.178        .16331E-03   -1.5587    
   6  Prefactor     49.652        32.470        .14010E-03   -1.5567    
   7  Prefactor     .10515E-03    129.16        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .58331E-05    40.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     63.420        54.811        .12672E-03   -1.5549    
  11  Prefactor     8.3100        10.443        .34847E-03   -1.5650    
  12  Prefactor     6.6900        5.5186        .38793E-03   -1.5656    
  13  norm          3.8605        6.2413        .51021E-03   -1.5669    
  14  Prefactor     .31433E-05    40.678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.142        12.216        .26696E-03   -1.5633    
  16  norm          .55511E-10    .60276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        4.5792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        2.5696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11102E-07    21.781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.098        51.301        .17833E-03   -1.5595    
  21  Prefactor     40.654        58.742        .16025E-03   -1.5580    
  22  norm          .55511E-10    4.2375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .88944        .21663        .44781E-01   -.96832    
  24  Prefactor     .98811        .20325        .46108E-01   -.93127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69382e-06
Minuit parameter uncertainties:
  1  0.307755
  2  8.80992e-05
  3  2.42529e-05
  4  0.000116851
  5  39.1782
  6  32.4701
  7  0.23309
  8  0.0306302
  9  7.12267e-06
  10  54.8117
  11  10.4432
  12  5.51861
  13  6.24132
  14  0.0226157
  15  12.2163
  16  8.55431e-06
  17  1.93038e-05
  18  6.10543e-06
  19  0.000982293
  20  51.3017
  21  58.7426
  22  3.32927e-05
  23  0.216838
  24  0.203407
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  8.310e+00  1.044e+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.881e-01  2.034e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  8.894e-01  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.24
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 2.95e-08 +/- 3.70e-08
Energy Flux (Fixed Index): 6.77e-06 +/- 8.51e-06

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

Saving results to:
/scratch/kocevski/378750/likelihoodResults_687484801_687744001_4FGL_J2248.7-3235_daily_bin1729.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) = 4580.62097734
delta logL = 0.0217617675135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4580.61974469
delta logL = 0.0229944163502

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9167       1.0000          .0000       .10000E+07
     2 'Index     '    2.4466       1.0000          .0000       10.000    
     3 'Normalizat'    .90068       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98082       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=   4580.620     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      211 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9167        12.825        .35612E-03    .27109E-01
   2  Index         2.4464        1.2595        .27242       -.27838E-04
   3  Normalizat    .90073        .20771        .44910E-01    .11015E-04
   4  Prefactor     .98076        .20327        .46027E-01    .64694E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.91671
  Index      = 2.44639
  Normalizat = 0.900733
  Prefactor  = 0.980764
 **********
 **   18 **HESSE 
 **********

 FCN=   4580.620     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9167        10.621        .14245E-04   -1.5652    
   2  Index         2.4464        1.3584        .15134E-01   -.53602    
   3  Normalizat    .90073        .24954        .25245E-03   -.96434    
   4  Prefactor     .98076        .24392        .23941E-03   -.93373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02415e-08
Minuit parameter uncertainties:
  1  10.6214
  2  1.38213
  3  0.24986
  4  0.244191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378750': 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) = 4580.61974465
delta logL = 0.0229944568173

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  7.917e+00  1.062e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  2.446e+00  1.382e+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:  9.808e-01  2.442e-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:  9.007e-01  2.499e-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.45 +/- 1.38
Photon Flux (Free Index): 2.13e-08 +/- 4.23e-08
Energy Flux (Free Index): 6.59e-06 +/- 8.51e-06

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/378750/cmap_HighResolution_687484801_687744001_4FGL_J2248.7-3235_daily_bin1729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='2.95e-08', energy_flux2='6.59e-06', photon_flux_error='3.70e-08', dlogl='2.30e-02', energy_flux='6.77e-06', photon_flux2='2.13e-08', job_status='DONE', time_completed='2022-10-18 00:46:54.599720', photon_index_error2='1.38', photon_index2='2.45', ts='1.24', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.31e-07', energy_flux_error2='8.51e-06', EG='0.89', time_epoch_completed='1666079214.6', return_code='0', job_id='378750', GAL2='0.98', EG2='0.90', return_code2='0', energy_flux_error='8.51e-06', photon_flux_error2='4.23e-08', ts2='1.28', photon_index='2.76' WHERE bin_id='1729' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:46:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 378750: <4FGL_J2248.7-3235_daily_bin1729> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1729> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Oct 18 00:35:30 2022
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:35:31 2022
Terminated at Tue Oct 18 00:46:55 2022
Results reported at Tue Oct 18 00:46:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1729 342.193 -32.5926 687484801 687744001 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 :                                   522.56 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   683 sec.
    Turnaround time :                            685 sec.

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

