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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1666
RA = 342.193, Dec = -32.5926
tmin = 671155201, tmax = 671414401
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='414529', job_status='RUN', time_executed='2022-04-12 00:36:23.364922', time_epoch_executed='1649748983.36' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414529

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414529/ft1_4FGL_J2248.7-3235_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414529/ft2_4FGL_J2248.7-3235_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414529/ft1_4FGL_J2248.7-3235_daily_bin1666.fits outfile=/scratch/kocevski/414529/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1666.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=671155201.0 tmax=671414401.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 5.25
user 4.97
sys 0.25

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

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

Number of photons that the gtmktime cut: 677

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414529/ft1_filtered_4FGL_J2248.7-3235_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414529/ft2_4FGL_J2248.7-3235_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414529/ltcube_671155201_671414401_4FGL_J2248.7-3235_daily_bin1666.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/414529/ft2_4FGL_J2248.7-3235_daily_bin1666.fits
.....................!
real 11.57
user 11.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414529/ft1_filtered_4FGL_J2248.7-3235_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414529/ft2_4FGL_J2248.7-3235_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414529/ltcube_671155201_671414401_4FGL_J2248.7-3235_daily_bin1666.fits outfile=/scratch/kocevski/414529/expmap_671155201_671414401_4FGL_J2248.7-3235_daily_bin1666.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/414529/ltcube_671155201_671414401_4FGL_J2248.7-3235_daily_bin1666.fits
.....................!
real 192.68
user 186.56
sys 5.78

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/414529/ft1_filtered_4FGL_J2248.7-3235_daily_bin1666.fits scfile=/scratch/kocevski/414529/ft2_4FGL_J2248.7-3235_daily_bin1666.fits outfile=/scratch/kocevski/414529/cmap_671155201_671414401_4FGL_J2248.7-3235_daily_bin1666.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414529/ft1_filtered_4FGL_J2248.7-3235_daily_bin1666.fits scfile=/scratch/kocevski/414529/ft2_4FGL_J2248.7-3235_daily_bin1666.fits outfile=/scratch/kocevski/414529/cmap_HighResolution_671155201_671414401_4FGL_J2248.7-3235_daily_bin1666.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414529/ft1_filtered_4FGL_J2248.7-3235_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414529/ft2_4FGL_J2248.7-3235_daily_bin1666.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414529/Model_4FGL_J2248.7-3235_daily_bin1666.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/414529/ft1_filtered_4FGL_J2248.7-3235_daily_bin1666.fits.....................!
real 52.56
user 51.21
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .67742       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4227       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.346       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .52270       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.8112       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5501       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.384       1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.791       1.0000         .10000E-03   10000.    
    16 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.8634       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    9.6544       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .58031       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1790       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=   7442.676     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2482 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67740        .25355       -.62632E-08    .68883E-04
   2  Prefactor     .10000E-03    5.4068        .51094E-07** at limit **
   3  Prefactor     .10000E-03    1.9786       -.99292E-08** at limit **
   4  norm          .10000E-03    8.9629       -.25538E-05** at limit **
   5  Prefactor     .10000E-03    9.6539        .34758E-05** at limit **
   6  Prefactor     8.4232        8.4648        .41502E-07    .17822E-04
   7  Prefactor     16.348        10.330        .14765E-06   -.58701E-04
   8  Prefactor     .10000E-03    3.5586        .36065E-07** at limit **
   9  norm          .52300        1.1961       -.37394E-06   -.18344E-02
  10  Prefactor     .10000E-03    12.418        .12406E-06** at limit **
  11  Prefactor     7.8134        9.3559       -.71590E-08   -.14357E-03
  12  Prefactor     1.5503        3.9165       -.51679E-05   -.18103E-03
  13  norm          .10000E-03    1.2632       -.10792E-07** at limit **
  14  Prefactor     22.370        17.955       -.19576E-05    .34083E-03
  15  Prefactor     25.788        11.410        .10557E-05    .57159E-04
  16  norm          .10000E-03    .40055       -.62100E-07** at limit **
  17  Prefactor     .10000E-03    12.570       -.13667E-05** at limit **
  18  Prefactor     3.8611        7.8024       -.10001E-05   -.14142E-03
  19  norm          .10000E-03    1.3874       -.40175E-08** at limit **
  20  norm          9.6534        7.4250        .58676E-07   -.13102E-03
  21  Prefactor     .10000E-03    31.558        .16314E-05** at limit **
  22  Prefactor     .10000E-03    50.856       -.14430E-05** at limit **
  23  norm          .10000E-03    1.2144       -.28989E-08** at limit **
  24  Normalizat    .58005        .14814       -.28015E-06    .14205E-03
  25  Prefactor     1.1792        .15103        .72955E-06    .10720E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.677399
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 8.42322
  Prefactor  = 16.3483
  Prefactor  = 0.0001
  norm       = 0.522996
  Prefactor  = 0.0001
  Prefactor  = 7.81338
  Prefactor  = 1.55027
  norm       = 0.0001
  Prefactor  = 22.37
  Prefactor  = 25.7881
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.8611
  norm       = 0.0001
  norm       = 9.65339
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.580046
  Prefactor  = 1.17921
 **********
 **   18 **HESSE 
 **********

 FCN=   7442.676     FROM HESSE     STATUS=OK           423 CALLS     2905 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67740        .25383        .25838E-04   -1.5543    
   2  Prefactor     .10000E-03    5.4174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.0106        .11848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    8.9171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.5166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.4232        8.4668        .13813E-03   -1.5127    
   7  Prefactor     16.348        10.308        .99063E-04   -1.4899    
   8  Prefactor     .10000E-03    3.5628        .15894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .52300        .99547        .14126E-02   -1.5563    
  10  Prefactor     .10000E-03    12.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.8134        9.3699        .14347E-03   -1.5149    
  12  Prefactor     1.5503        4.2614        .28526E-03   -1.5459    
  13  norm          .10000E-03    1.2722        .94549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.370        17.892        .84662E-04   -1.4762    
  15  Prefactor     25.788        10.805        .78880E-04   -1.4692    
  16  norm          .10000E-03    .78573        .92546E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.8611        7.7590        .20530E-03   -1.5315    
  19  norm          .10000E-03    1.3902        .99236E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          9.6534        7.4233        .12897E-03   -1.5086    
  21  Prefactor     .10000E-03    31.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    51.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.2215        .92819E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .58005        .17330        .27355E-03   -1.0884    
  25  Prefactor     1.1792        .17747        .20805E-03   -.86974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11943e-09
Minuit parameter uncertainties:
  1  0.253834
  2  5.89837e-06
  3  1.04619e-06
  4  0.000166159
  5  0.000223842
  6  8.46798
  7  10.3089
  8  8.632e-07
  9  0.995497
  10  1.01329e-05
  11  9.37167
  12  4.26222
  13  1.07368e-06
  14  17.8966
  15  10.8061
  16  5.10507e-06
  17  0.000105333
  18  7.76106
  19  2.21689e-07
  20  7.42399
  21  0.000191149
  22  0.000184014
  23  5.41646e-08
  24  0.173467
  25  0.177562
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  7.813e+00  9.372e+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

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.179e+00  1.776e-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.800e-01  1.735e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/414529/likelihoodResults_671155201_671414401_4FGL_J2248.7-3235_daily_bin1666.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) = 7442.60170597
delta logL = 0.0742366612831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7442.57705577
delta logL = 0.0988868598324

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1603       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1332       1.0000          .0000       10.000    
     3 'Normalizat'    .56273       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1968       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=   7442.577     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      250 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1340        52.121        .70064E-02    .82461E-03
   2  Index         4.1444        7.0429        .20464        .11244E-03
   3  Normalizat    .56272        .36460E-01    .62710E-01    .33474E-04
   4  Prefactor     1.1968        .38540E-01    .34706E-01   -.13286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.13395
  Index      = 4.14442
  Normalizat = 0.562715
  Prefactor  = 1.19681
 **********
 **   18 **HESSE 
 **********

 FCN=   7442.577     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      281 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1340        117.69        .12774E-03   -1.5416    
   2  Index         4.1444        5.7811        .11005E-01   -.17196    
   3  Normalizat    .56272        .13242        .27747E-03   -1.0959    
   4  Prefactor     1.1968        .14295        .20674E-03   -.86429    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.7217e-09
Minuit parameter uncertainties:
  1  31.7601
  2  12.1428
  3  0.132494
  4  0.142998
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414529': 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) = 7442.5770516
delta logL = 0.0988910348815

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.197e+00  1.430e-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.627e-01  1.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.09
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 4.14 +/- 12.14
Photon Flux (Free Index): 3.37e-08 +/- 3.90e-08
Energy Flux (Free Index): 4.93e-06 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/414529/cmap_HighResolution_671155201_671414401_4FGL_J2248.7-3235_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.52e-03', comment='SUCCESS', energy_flux2='4.93e-06', dlogl='9.89e-02', photon_flux2='3.37e-08', job_status='DONE', time_completed='2022-04-12 00:48:44.770204', photon_index_error2='12.14', photon_index2='4.14', ts='0.85', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='9.53e-08', energy_flux_error2='1.26e-05', EG='0.58', time_epoch_completed='1649749724.77', return_code='0', job_id='414529', GAL2='1.20', EG2='0.56', return_code2='102', photon_flux_error2='3.90e-08', ts2='1.09', photon_index='2.76' WHERE bin_id='1666' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:48:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 414529: <4FGL_J2248.7-3235_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:40 2022
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:41 2022
Terminated at Tue Apr 12 00:48:45 2022
Results reported at Tue Apr 12 00:48:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1666 342.193 -32.5926 671155201 671414401 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 :                                   743.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            785 sec.

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

