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 122 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 = 7462
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1712
RA = 342.193, Dec = -32.5926
tmin = 683078401, tmax = 683337601
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='248875', job_status='RUN', time_executed='2022-09-17 00:13:09.357215', time_epoch_executed='1663398789.36' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248875

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248875/ft1_4FGL_J2248.7-3235_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248875/ft2_4FGL_J2248.7-3235_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248875/ft1_4FGL_J2248.7-3235_daily_bin1712.fits outfile=/scratch/kocevski/248875/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1712.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=683078401.0 tmax=683337601.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.87
user 4.55
sys 0.22

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

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

Number of photons that the gtmktime cut: 302

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248875/ft1_filtered_4FGL_J2248.7-3235_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/248875/ft2_4FGL_J2248.7-3235_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/248875/ltcube_683078401_683337601_4FGL_J2248.7-3235_daily_bin1712.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/248875/ft2_4FGL_J2248.7-3235_daily_bin1712.fits
.....................!
real 13.77
user 13.26
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248875/ft1_filtered_4FGL_J2248.7-3235_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/248875/ft2_4FGL_J2248.7-3235_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/248875/ltcube_683078401_683337601_4FGL_J2248.7-3235_daily_bin1712.fits outfile=/scratch/kocevski/248875/expmap_683078401_683337601_4FGL_J2248.7-3235_daily_bin1712.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/248875/ltcube_683078401_683337601_4FGL_J2248.7-3235_daily_bin1712.fits
.....................!
real 193.10
user 187.08
sys 5.00

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/248875/ft1_filtered_4FGL_J2248.7-3235_daily_bin1712.fits scfile=/scratch/kocevski/248875/ft2_4FGL_J2248.7-3235_daily_bin1712.fits outfile=/scratch/kocevski/248875/cmap_683078401_683337601_4FGL_J2248.7-3235_daily_bin1712.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248875/ft1_filtered_4FGL_J2248.7-3235_daily_bin1712.fits scfile=/scratch/kocevski/248875/ft2_4FGL_J2248.7-3235_daily_bin1712.fits outfile=/scratch/kocevski/248875/cmap_HighResolution_683078401_683337601_4FGL_J2248.7-3235_daily_bin1712.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/248875/ft1_filtered_4FGL_J2248.7-3235_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/248875/ft2_4FGL_J2248.7-3235_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/248875/Model_4FGL_J2248.7-3235_daily_bin1712.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/248875/ft1_filtered_4FGL_J2248.7-3235_daily_bin1712.fits.....................!
real 34.12
user 32.83
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75699       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.562       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24144E-04   1.0000          .0000       .10000E+07
     4 'norm      '    48.533       1.0000          .0000       .10000E+07
     5 'Prefactor '    .30529E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .98599E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .70357E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .23231E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .32807E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .91652E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    34.971       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11028E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .22278E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13072E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .22681E-03   1.0000          .0000       .10000E+07
    16 'norm      '    1.2312       1.0000          .0000       .10000E+07
    17 'Prefactor '    .15628E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .71742E-05   1.0000          .0000       .10000E+07
    19 'norm      '    1.8864       1.0000          .0000       .10000E+07
    20 'Prefactor '    .51662E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .33681E-05   1.0000          .0000       .10000E+07
    22 'norm      '    .13165E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.3048       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .68549       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=   3508.832     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1954 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75717        .42096        .12597E-07    .28884E-03
   2  Prefactor     13.189        4.7343       -.15925E-06    .28354E-01
   3  Prefactor     .10572E-05    9.8253        .93670E-07** at limit **
   4  norm          48.999        4.2391        .53779E-08    .15282E-01
   5  Prefactor     .40340E-06    10.585       -.19518E-06** at limit **
   6  Prefactor     .15576E-06    50.363       -.14101E-05** at limit **
   7  Prefactor     .13878E-08    7.4926        .13406E-07** at limit **
   8  Prefactor     .59835E-06    7.8242        .12637E-06** at limit **
   9  norm           .0000        1.0120       -.57159E-07** at limit **
  10  Prefactor     .54212E-06    12.063        .37972E-06** at limit **
  11  Prefactor     34.929        1.0347        .14554E-08   -.15194E-02
  12  Prefactor     .40523E-08    3.5372       -.32955E-06** at limit **
  13  norm           .0000        3.4559       -.18461E-06** at limit **
  14  Prefactor     .93814E-08    2.9426       -.27233E-06** at limit **
  15  Prefactor     .65503E-08    6.0390        .43059E-06** at limit **
  16  norm          1.2310        .75442        .40207E-07    .17392E-03
  17  Prefactor     .99365E-08    6.6655        .52267E-06** at limit **
  18  norm           .0000        2.4721       -.71598E-07** at limit **
  19  norm          1.8913        10.168       -.15642E-05    .46948E-03
  20  Prefactor      .0000        35.388       -.48942E-07** at limit **
  21  Prefactor     .95535E-07    73.311        .37848E-07** at limit **
  22  norm           .0000        2.9669        .92876E-07** at limit **
  23  Normalizat    1.3050        .28280       -.31946E-05   -.10642E-04
  24  Prefactor     .68544        .26834        .19828E-05   -.69142E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.757166
  Prefactor  = 13.1886
  Prefactor  = 1.05715e-06
  norm       = 48.9993
  Prefactor  = 4.034e-07
  Prefactor  = 1.55764e-07
  Prefactor  = 1.38778e-09
  Prefactor  = 5.98355e-07
  norm       = 0
  Prefactor  = 5.42122e-07
  Prefactor  = 34.9286
  Prefactor  = 4.05231e-09
  norm       = 0
  Prefactor  = 9.38138e-09
  Prefactor  = 6.55032e-09
  norm       = 1.23104
  Prefactor  = 9.9365e-09
  norm       = 0
  norm       = 1.89133
  Prefactor  = 0
  Prefactor  = 9.55347e-08
  norm       = 0
  Normalizat = 1.30499
  Prefactor  = 0.685441
 **********
 **   18 **HESSE 
 **********

 FCN=   3508.832     FROM HESSE     STATUS=OK           437 CALLS     2391 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75717        .41759        .56197E-03   -1.5691    
   2  Prefactor     13.189        29.710        .27173E-03   -1.5635    
   3  Prefactor     .10572E-05    22.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          48.999        39.963        .14355E-03   -1.5568    
   5  Prefactor     .40340E-06    17.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .15576E-06    51.590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .13878E-08    7.4934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .59835E-06    18.179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .54212E-06    21.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.929        21.414        .16912E-03   -1.5590    
  12  Prefactor     .40523E-08    6.4106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        3.4479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .93814E-08    6.2983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .65503E-08    6.1749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2310        .76157        .87894E-03   -1.5686    
  17  Prefactor     .99365E-08    6.7559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        2.4746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8913        10.226        .75745E-03   -1.5680    
  20  Prefactor      .0000        35.200        .15475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .95535E-07    74.344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        2.9606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3050        .23800        .50953E-01   -.83418    
  24  Prefactor     .68544        .22419        .63976E-01   -1.0410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99153e-07
Minuit parameter uncertainties:
  1  0.417595
  2  29.7108
  3  0.00974671
  4  39.9632
  5  0.00534124
  6  0.00566936
  7  0.00020209
  8  0.00659602
  9  5.66419e-07
  10  0.0067523
  11  21.4145
  12  0.000323024
  13  1.12934e-06
  14  0.000486801
  15  0.000402799
  16  0.761566
  17  0.000518026
  18  7.36938e-07
  19  8.79581
  20  1.43408e-05
  21  0.00533066
  22  1.24962e-06
  23  0.238202
  24  0.224481
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.305e+00  2.382e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.42
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 1.24e-07 +/- 7.58e-08
Energy Flux (Fixed Index): 2.85e-05 +/- 1.75e-05

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) = 3507.91558981
delta logL = 0.916306246924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3507.91010133
delta logL = 0.921794718843

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.987       1.0000          .0000       .10000E+07
     2 'Index     '    4.2274       1.0000          .0000       10.000    
     3 'Normalizat'    1.2024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76535       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=   3507.910     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      254 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.971        119.04        .28909E-03    .74887E-03
   2  Index         4.2285        6.9465        .11287        .63437E-04
   3  Normalizat    1.2023        .11065        .52648E-01    .30515E-05
   4  Prefactor     .76541        .10402        .43265E-01    .10405E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.9709
  Index      = 4.22852
  Normalizat = 1.20231
  Prefactor  = 0.765415
 **********
 **   18 **HESSE 
 **********

 FCN=   3507.910     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.971        33.777        .98185E-05   -1.5639    
   2  Index         4.2285        2.3600        .47090E-02   -.15492    
   3  Normalizat    1.2023        .30203        .23278E-03   -.86531    
   4  Prefactor     .76541        .28136        .26925E-03   -1.0102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71406e-11
Minuit parameter uncertainties:
  1  33.7771
  2  2.46048
  3  0.30247
  4  0.281885
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248875': 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) = 3507.91010096
delta logL = 0.921795090052

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.197e+01  3.378e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  4.229e+00  2.460e+00  0.000e+00  1.000e+01 (-1.000e+00)
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  7.654e-01  2.819e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.202e+00  3.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.58
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 4.23 +/- 2.46
Photon Flux (Free Index): 2.09e-07 +/- 1.13e-07
Energy Flux (Free Index): 3.02e-05 +/- 1.68e-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/248875/cmap_HighResolution_683078401_683337601_4FGL_J2248.7-3235_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.24e-07', energy_flux2='3.02e-05', photon_flux_error='7.58e-08', dlogl='9.22e-01', energy_flux='2.85e-05', photon_flux2='2.09e-07', job_status='DONE', time_completed='2022-09-17 00:20:49.030490', photon_index_error2='2.46', photon_index2='4.23', ts='4.42', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='1.68e-05', EG='1.30', time_epoch_completed='1663399249.03', return_code='0', job_id='248875', GAL2='0.77', EG2='1.20', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='1.13e-07', ts2='6.58', photon_index='2.76' WHERE bin_id='1712' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:20:49 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0063>
Subject: Job 248832: <4FGL_J2248.7-3235_daily_bin1712> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1712> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 17 00:05:30 2022
Job was executed on host(s) <bullet0063>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:10:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:10:22 2022
Terminated at Sat Sep 17 00:19:04 2022
Results reported at Sat Sep 17 00:19:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1712 342.193 -32.5926 683078401 683337601 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 :                                   465.99 sec.
    Max Memory :                                 632 MB
    Average Memory :                             280.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   522 sec.
    Turnaround time :                            814 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 248875: <4FGL_J2248.7-3235_daily_bin1712> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1712> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 17 00:05:31 2022
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:10:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:10:58 2022
Terminated at Sat Sep 17 00:20:49 2022
Results reported at Sat Sep 17 00:20:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1712 342.193 -32.5926 683078401 683337601 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 :                                   461.05 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             260.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   591 sec.
    Turnaround time :                            918 sec.

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

