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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1701
RA = 342.193, Dec = -32.5926
tmin = 680227201, tmax = 680486401
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='192104', job_status='RUN', time_executed='2022-07-26 02:15:44.776337', time_epoch_executed='1658826944.78' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192104

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192104/ft1_4FGL_J2248.7-3235_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192104/ft2_4FGL_J2248.7-3235_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192104/ft1_4FGL_J2248.7-3235_daily_bin1701.fits outfile=/scratch/kocevski/192104/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1701.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=680227201.0 tmax=680486401.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.92
user 2.67
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/192104/ft2_4FGL_J2248.7-3235_daily_bin1701.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/192104/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/192104/ft1_filtered_4FGL_J2248.7-3235_daily_bin1701.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/192104/ft1_filtered_4FGL_J2248.7-3235_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/192104/ft2_4FGL_J2248.7-3235_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/192104/ltcube_680227201_680486401_4FGL_J2248.7-3235_daily_bin1701.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/192104/ft2_4FGL_J2248.7-3235_daily_bin1701.fits
.....................!
real 15.69
user 15.23
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192104/ft1_filtered_4FGL_J2248.7-3235_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192104/ft2_4FGL_J2248.7-3235_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/192104/ltcube_680227201_680486401_4FGL_J2248.7-3235_daily_bin1701.fits outfile=/scratch/kocevski/192104/expmap_680227201_680486401_4FGL_J2248.7-3235_daily_bin1701.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/192104/ltcube_680227201_680486401_4FGL_J2248.7-3235_daily_bin1701.fits
.....................!
real 195.17
user 188.09
sys 5.97

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/192104/ft1_filtered_4FGL_J2248.7-3235_daily_bin1701.fits scfile=/scratch/kocevski/192104/ft2_4FGL_J2248.7-3235_daily_bin1701.fits outfile=/scratch/kocevski/192104/cmap_680227201_680486401_4FGL_J2248.7-3235_daily_bin1701.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192104/ft1_filtered_4FGL_J2248.7-3235_daily_bin1701.fits scfile=/scratch/kocevski/192104/ft2_4FGL_J2248.7-3235_daily_bin1701.fits outfile=/scratch/kocevski/192104/cmap_HighResolution_680227201_680486401_4FGL_J2248.7-3235_daily_bin1701.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/192104/ft1_filtered_4FGL_J2248.7-3235_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192104/ft2_4FGL_J2248.7-3235_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192104/Model_4FGL_J2248.7-3235_daily_bin1701.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/192104/ft1_filtered_4FGL_J2248.7-3235_daily_bin1701.fits........................!
real 19.53
user 18.15
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11228E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    85.281       1.0000         .10000E-03   10000.    
     4 'norm      '    .11326E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .43331E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11164E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11303E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .12741E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    119.15       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.636       1.0000         .10000E-03   10000.    
    13 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    53.210       1.0000         .10000E-03   10000.    
    16 'norm      '    .10121E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .27909E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10340E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    35.190       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .16489E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    6.5221       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .78449       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .77964       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=   880.3478     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     2908 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.6093       -.37405E-06** at limit **
   2  Prefactor     .10000E-03    109.34        .70564E-06** at limit **
   3  Prefactor     85.437        195.98       -.29326E-05   -.10957E-04
   4  norm          .10000E-03    37.107       -.60243E-07** at limit **
   5  Prefactor     .10000E-03    652.23       -.35181E-06** at limit **
   6  Prefactor     .10000E-03    97.979       -.18319E-06** at limit **
   7  Prefactor     .10000E-03    20.527       -.76725E-07** at limit **
   8  Prefactor     .10000E-03    170.76        .26017E-06** at limit **
   9  norm          .10000E-03    21.361       -.51508E-05** at limit **
  10  Prefactor     118.94        130.92       -.38658E-05    .10156E-04
  11  Prefactor     .10000E-03    327.17       -.74517E-05** at limit **
  12  Prefactor     51.640        63.491        .15196E-06   -.23297E-05
  13  norm          .10000E-03    6.7891       -.12179E-06** at limit **
  14  Prefactor     .10000E-03    63.305       -.18411E-06** at limit **
  15  Prefactor     53.183        35.703        .78950E-06    .32958E-03
  16  norm          .10000E-03    1.6046       -.46556E-06** at limit **
  17  Prefactor     .10000E-03    555.62       -.11308E-05** at limit **
  18  Prefactor     .10000E-03    83.809       -.21933E-05** at limit **
  19  norm          .10000E-03    14.878       -.53173E-06** at limit **
  20  norm          35.197        25.776       -.11066E-07   -.37636E-05
  21  Prefactor     .10004E-03    1640.1       -.31895E-05** at limit **
  22  Prefactor     .10000E-03    103.34        .24247E-06** at limit **
  23  norm          6.5123        8.9889        .19615E-05   -.11568E-03
  24  Normalizat    .78464        .45228        .12882E-05    .53026E-04
  25  Prefactor     .77936        .41632        .12354E-06    .65131E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 85.4365
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 118.945
  Prefactor  = 0.000100005
  Prefactor  = 51.6401
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.1834
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 35.197
  Prefactor  = 0.00010004
  Prefactor  = 0.0001
  norm       = 6.51226
  Normalizat = 0.784641
  Prefactor  = 0.779363
 **********
 **   18 **HESSE 
 **********

 FCN=   880.3478     FROM HESSE     STATUS=OK           411 CALLS     3319 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.5983        .79848E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    109.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     85.437        196.14        .21751E-03   -1.3857    
   4  norm          .10000E-03    37.107        .17666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    652.21        .21227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    97.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.535        .13136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    170.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    21.323        .18750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     118.94        130.91        .18433E-03   -1.3522    
  11  Prefactor     .10000E-03    333.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     51.640        63.497        .55812E-04   -1.4270    
  13  norm          .10000E-03    6.7956        .75496E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    63.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.183        34.508        .54985E-04   -1.4248    
  16  norm          .10000E-03    1.7195        .69604E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    556.35        .21420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    84.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    14.983        .11198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          35.197        25.822        .67556E-04   -1.4521    
  21  Prefactor     .10004E-03    1672.2        .18210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    103.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.5123        8.8748        .99703E-04   -1.5198    
  24  Normalizat    .78464        .50727        .26732E-03   -1.0064    
  25  Prefactor     .77936        .46623        .25880E-03   -1.0049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59066e-10
Minuit parameter uncertainties:
  1  1.86788e-05
  2  0.000476793
  3  197.66
  4  8.52119e-07
  5  0.000361926
  6  2.59865e-07
  7  3.39526e-07
  8  0.000256403
  9  0.000177996
  10  131.232
  11  0.00256078
  12  63.5805
  13  2.67941e-06
  14  0.000146332
  15  34.5214
  16  8.58487e-06
  17  0.00102759
  18  0.000571485
  19  0.000169126
  20  25.8307
  21  0.0168243
  22  8.6524e-05
  23  8.87662
  24  0.51037
  25  0.468611
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.000e-04  2.561e-03  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:  7.794e-01  4.686e-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:  7.846e-01  5.104e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/192104/likelihoodResults_680227201_680486401_4FGL_J2248.7-3235_daily_bin1701.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 880.34776583
delta logL = -1.41475685496e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 880.347751755
delta logL = -7.29659177523e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10860E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7358       1.0000          .0000       10.000    
     3 'Normalizat'    .78465       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77937       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=   879.5097     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      293 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2260        164.16        .90712E-02   -.33811E-03
   2  Index         5.6637        7.8219        .87598E-01   -.32309E-04
   3  Normalizat    .50154        .19078        .73092E-01   -.10987E-03
   4  Prefactor     .93877        .18526        .43448E-01   -.11461E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22601
  Index      = 5.66367
  Normalizat = 0.501544
  Prefactor  = 0.938771
 **********
 **   18 **HESSE 
 **********

 FCN=   879.5097     FROM HESSE     STATUS=OK            29 CALLS      322 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2260        22.617        .59817E-04   -1.5209    
   2  Index         5.6637        2.7477        .37533E-02    .13313    
   3  Normalizat    .50154        .50362        .32359E-03   -1.1234    
   4  Prefactor     .93877        .47729        .23641E-03   -.94799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09733e-10
Minuit parameter uncertainties:
  1  22.6484
  2  2.91245
  3  0.508293
  4  0.479447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192104': 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) = 879.50973774
delta logL = 0.838013942886

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  6.226e+00  2.265e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  5.664e+00  2.912e+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.388e-01  4.794e-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.015e-01  5.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.95
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 5.66 +/- 2.91
Photon Flux (Free Index): 6.47e-07 +/- 5.96e-07
Energy Flux (Free Index): 8.21e-05 +/- 7.40e-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/192104/cmap_HighResolution_680227201_680486401_4FGL_J2248.7-3235_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.61e-02', comment='SUCCESS', energy_flux2='8.21e-05', dlogl='8.38e-01', photon_flux2='6.47e-07', job_status='DONE', time_completed='2022-07-26 02:22:01.472621', photon_index_error2='2.91', photon_index2='5.66', ts='-0.00', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='5.84e-07', energy_flux_error2='7.40e-05', EG='0.78', time_epoch_completed='1658827321.47', return_code='0', job_id='192104', GAL2='0.94', EG2='0.50', return_code2='0', photon_flux_error2='5.96e-07', ts2='1.95', photon_index='2.76' WHERE bin_id='1701' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:22:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 192104: <4FGL_J2248.7-3235_daily_bin1701> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 02:10:30 2022
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:13:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:13:09 2022
Terminated at Tue Jul 26 02:22:02 2022
Results reported at Tue Jul 26 02:22:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1701 342.193 -32.5926 680227201 680486401 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 :                                   378.05 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             245.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   532 sec.
    Turnaround time :                            692 sec.

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

