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

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

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

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

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

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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1706
RA = 342.193, Dec = -32.5926
tmin = 681523201, tmax = 681782401
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='507791', job_status='RUN', time_executed='2022-08-10 02:18:57.332371', time_epoch_executed='1660123137.33' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1706'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507791

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507791/ft1_4FGL_J2248.7-3235_daily_bin1706.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507791/ft2_4FGL_J2248.7-3235_daily_bin1706.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507791/ft1_4FGL_J2248.7-3235_daily_bin1706.fits outfile=/scratch/kocevski/507791/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1706.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=681523201.0 tmax=681782401.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 2.64
user 2.44
sys 0.18

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

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

Number of photons that the gtmktime cut: 72

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507791/ft1_filtered_4FGL_J2248.7-3235_daily_bin1706.fits" evtable="EVENTS" scfile=/scratch/kocevski/507791/ft2_4FGL_J2248.7-3235_daily_bin1706.fits sctable="SC_DATA" outfile=/scratch/kocevski/507791/ltcube_681523201_681782401_4FGL_J2248.7-3235_daily_bin1706.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/507791/ft2_4FGL_J2248.7-3235_daily_bin1706.fits
.....................!
real 15.24
user 14.87
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507791/ft1_filtered_4FGL_J2248.7-3235_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/507791/ft2_4FGL_J2248.7-3235_daily_bin1706.fits sctable="SC_DATA" expcube=/scratch/kocevski/507791/ltcube_681523201_681782401_4FGL_J2248.7-3235_daily_bin1706.fits outfile=/scratch/kocevski/507791/expmap_681523201_681782401_4FGL_J2248.7-3235_daily_bin1706.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/507791/ltcube_681523201_681782401_4FGL_J2248.7-3235_daily_bin1706.fits
.....................!
real 193.56
user 186.70
sys 5.03

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J2248.7-3235 @ 342.193 -32.5926

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/507791/ft1_filtered_4FGL_J2248.7-3235_daily_bin1706.fits scfile=/scratch/kocevski/507791/ft2_4FGL_J2248.7-3235_daily_bin1706.fits outfile=/scratch/kocevski/507791/cmap_681523201_681782401_4FGL_J2248.7-3235_daily_bin1706.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507791/ft1_filtered_4FGL_J2248.7-3235_daily_bin1706.fits scfile=/scratch/kocevski/507791/ft2_4FGL_J2248.7-3235_daily_bin1706.fits outfile=/scratch/kocevski/507791/cmap_HighResolution_681523201_681782401_4FGL_J2248.7-3235_daily_bin1706.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507791/ft1_filtered_4FGL_J2248.7-3235_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/507791/ft2_4FGL_J2248.7-3235_daily_bin1706.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507791/Model_4FGL_J2248.7-3235_daily_bin1706.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/507791/ft1_filtered_4FGL_J2248.7-3235_daily_bin1706.fits........................!
real 18.65
user 17.31
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/507791/ft1_filtered_4FGL_J2248.7-3235_daily_bin1706.fits', '/scratch/kocevski/507791/ft2_4FGL_J2248.7-3235_daily_bin1706.fits', expMap='/scratch/kocevski/507791/expmap_681523201_681782401_4FGL_J2248.7-3235_daily_bin1706.fits', expCube='/scratch/kocevski/507791/ltcube_681523201_681782401_4FGL_J2248.7-3235_daily_bin1706.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/507791/Model_4FGL_J2248.7-3235_daily_bin1706.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/507791/ft1_filtered_4FGL_J2248.7-3235_daily_bin1706.fits
Spacecraft file(s): /scratch/kocevski/507791/ft2_4FGL_J2248.7-3235_daily_bin1706.fits
Exposure map: /scratch/kocevski/507791/expmap_681523201_681782401_4FGL_J2248.7-3235_daily_bin1706.fits
Exposure cube: /scratch/kocevski/507791/ltcube_681523201_681782401_4FGL_J2248.7-3235_daily_bin1706.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/507791/Model_4FGL_J2248.7-3235_daily_bin1706.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) = 824.259988423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6437       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.776       1.0000         .10000E-03   10000.    
     4 'norm      '    .10628E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    77.327       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6372       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10345E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .77349E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    35.518       1.0000         .10000E-03   10000.    
    12 'Prefactor '    41.325       1.0000         .10000E-03   10000.    
    13 'norm      '    5.9034       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11753E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10890E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.8253       1.0000         .10000E-03   10000.    
    20 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    279.28       1.0000         .10000E-03   10000.    
    22 'Prefactor '    254.23       1.0000         .10000E-03   10000.    
    23 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .58450       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .54585       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   824.2557     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     3867 TOTAL
                     EDM=   .22E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6434        2.0997       -.70748E-08   -.53546E-05
   2  Prefactor     .10000E-03    56.777        .14795E-05** at limit **
   3  Prefactor     27.779        28.426        .19087E-07    .16022E-05
   4  norm          .10000E-03    55.578        .10338E-05** at limit **
   5  Prefactor     77.399        142.19       -.27708E-05    .73870E-06
   6  Prefactor     .10000E-03    42.107       -.70487E-07** at limit **
   7  Prefactor     2.6012        152.32        .25883E-06    .81529E-05
   8  Prefactor     .10000E-03    38.955       -.12428E-05** at limit **
   9  norm          .10000E-03    4.7420       -.55352E-06** at limit **
  10  Prefactor     .10001E-03    6921.0       -.61963E-04** at limit **
  11  Prefactor     35.498        43.561        .23532E-06    .85926E-05
  12  Prefactor     41.322        31.256        .28195E-06    .13288E-05
  13  norm          5.9043        10.674        .39187E-06    .13527E-03
  14  Prefactor     .10000E-03    92.114       -.46207E-05** at limit **
  15  Prefactor     .10000E-03    24.400       -.12955E-06** at limit **
  16  norm          .10000E-03    1.0181       -.60188E-07** at limit **
  17  Prefactor     .10000E-03    240.47        .57298E-05** at limit **
  18  Prefactor     .10000E-03    16.735       -.28624E-06** at limit **
  19  norm          9.8227        11.949       -.55672E-08    .56722E-06
  20  norm          .10000E-03    15.642        .87586E-07** at limit **
  21  Prefactor     279.27        148.67        .88455E-07    .14940E-06
  22  Prefactor     254.24        154.63       -.32646E-06    .20496E-06
  23  norm          .10000E-03    11.279       -.35783E-07** at limit **
  24  Normalizat    .58476        .45096        .89681E-06    .10651E-04
  25  Prefactor     .54556        .36587       -.10656E-05    .20636E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.64344
  Prefactor  = 0.0001
  Prefactor  = 27.7789
  norm       = 0.0001
  Prefactor  = 77.3988
  Prefactor  = 0.0001
  Prefactor  = 2.60119
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 35.4984
  Prefactor  = 41.3219
  norm       = 5.90429
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.82267
  norm       = 0.0001
  Prefactor  = 279.273
  Prefactor  = 254.245
  norm       = 0.0001
  Normalizat = 0.584761
  Prefactor  = 0.545559
 **********
 **   18 **HESSE 
 **********

 FCN=   824.2557     FROM HESSE     STATUS=OK           427 CALLS     4294 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6434        2.1040        .36079E-04   -1.5383    
   2  Prefactor     .10000E-03    56.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.779        28.506        .76015E-04   -1.4653    
   4  norm          .10000E-03    55.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     77.399        142.17        .22833E-03   -1.3946    
   6  Prefactor     .10000E-03    42.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6012        157.95        .25108E-03   -1.5385    
   8  Prefactor     .10000E-03    38.854        .17491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.7419        .61011E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    6923.5        .37069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.498        44.046        .67244E-04   -1.4516    
  12  Prefactor     41.322        31.303        .62357E-04   -1.4421    
  13  norm          5.9043        10.697        .12052E-03   -1.5222    
  14  Prefactor     .10000E-03    92.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    24.447        .13846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.0288        .28180E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    240.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.743        .11474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.8227        11.941        .10364E-03   -1.5081    
  20  norm          .10000E-03    15.705        .11090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     279.27        149.31        .12138E-03   -1.2350    
  22  Prefactor     254.24        156.39        .12706E-03   -1.2505    
  23  norm          .10000E-03    11.298        .93901E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .58476        .53568        .26466E-03   -1.0863    
  25  Prefactor     .54556        .43161        .24959E-03   -1.0993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13141e-11
Minuit parameter uncertainties:
  1  2.10404
  2  1.17227e-05
  3  28.52
  4  1.27902e-05
  5  142.805
  6  3.42668e-06
  7  40.6516
  8  2.26421e-05
  9  4.45741e-09
  10  0.0111659
  11  44.0867
  12  31.3152
  13  10.7006
  14  9.98452e-05
  15  8.95685e-06
  16  5.433e-07
  17  5.58289e-05
  18  6.65491e-07
  19  11.9436
  20  6.89434e-06
  21  149.517
  22  156.645
  23  2.72881e-06
  24  0.540532
  25  0.434249
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  5.456e-01  4.342e-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.848e-01  5.405e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.09
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 1.56e-07
Energy Flux (Fixed Index): 2.89e-05 +/- 3.59e-05

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

Saving results to:
/scratch/kocevski/507791/likelihoodResults_681523201_681782401_4FGL_J2248.7-3235_daily_bin1706.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) = 824.004856145
delta logL = 0.250804627975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 824.002521772
delta logL = 0.25313900197

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.921       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8131       1.0000          .0000       10.000    
     3 'Normalizat'    .53414       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58093       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=   824.0025     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      297 TOTAL
                     EDM=   .88E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.953        40.510        .94609E-04    .90123E-07
   2  Index         3.8147        1.8630        .46379E-02    .23980E-05
   3  Normalizat    .53356        .46136        .27575E-03    .15976E-06
   4  Prefactor     .58101        .41692        .24247E-03    .11136E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.9534
  Index      = 3.81467
  Normalizat = 0.533557
  Prefactor  = 0.58101
 **********
 **   18 **HESSE 
 **********

 FCN=   824.0025     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .74E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.953        36.693        .37844E-05   -1.4860    
   2  Index         3.8147        1.6943        .18551E-03   -.23934    
   3  Normalizat    .53356        .46189        .11030E-04   -1.1088    
   4  Prefactor     .58101        .41732        .96989E-05   -1.0839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.43178e-15
Minuit parameter uncertainties:
  1  36.739
  2  1.73072
  3  0.465268
  4  0.419564
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507791': 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) = 824.00251513
delta logL = 0.253145643149

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.795e+01  3.674e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  3.815e+00  1.731e+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:  5.810e-01  4.196e-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.336e-01  4.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.62
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 3.81 +/- 1.73
Photon Flux (Free Index): 1.93e-07 +/- 2.03e-07
Energy Flux (Free Index): 2.99e-05 +/- 3.11e-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/507791/cmap_HighResolution_681523201_681782401_4FGL_J2248.7-3235_daily_bin1706.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.02e-02', comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='2.99e-05', photon_flux_error='1.56e-07', dlogl='2.53e-01', energy_flux='2.89e-05', photon_flux2='1.93e-07', job_status='DONE', time_completed='2022-08-10 02:25:22.802001', photon_index_error2='1.73', photon_index2='3.81', ts='1.09', fit_tolerance='1e-08', GAL='0.55', photon_index_error='0.00', photon_flux_upper_limit='5.09e-07', energy_flux_error2='3.11e-05', EG='0.58', time_epoch_completed='1660123522.8', return_code='0', job_id='507791', GAL2='0.58', EG2='0.53', return_code2='0', energy_flux_error='3.59e-05', photon_flux_error2='2.03e-07', ts2='1.62', photon_index='2.76' WHERE bin_id='1706' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 10 02:25:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 507791: <4FGL_J2248.7-3235_daily_bin1706> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1706> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Aug 10 02:15:33 2022
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 10 02:17:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 10 02:17:44 2022
Terminated at Wed Aug 10 02:25:23 2022
Results reported at Wed Aug 10 02:25:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1706 342.193 -32.5926 681523201 681782401 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 :                                   383.46 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   459 sec.
    Turnaround time :                            590 sec.

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

