/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 83 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 = 7648
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1258
RA = 342.193, Dec = -32.5926
tmin = 565401601, tmax = 565660801
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='474838', job_status='RUN', time_executed='2021-09-28 20:42:59.165917', time_epoch_executed='1632886979.17' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1258'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474838

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474838/ft1_4FGL_J2248.7-3235_daily_bin1258.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474838/ft2_4FGL_J2248.7-3235_daily_bin1258.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474838/ft1_4FGL_J2248.7-3235_daily_bin1258.fits outfile=/scratch/kocevski/474838/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1258.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=565401601.0 tmax=565660801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.72
user 3.39
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474838/ft2_4FGL_J2248.7-3235_daily_bin1258.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/474838/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1258.fits evtable="EVENTS" outfile="/scratch/kocevski/474838/ft1_filtered_4FGL_J2248.7-3235_daily_bin1258.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474838/ft1_filtered_4FGL_J2248.7-3235_daily_bin1258.fits" evtable="EVENTS" scfile=/scratch/kocevski/474838/ft2_4FGL_J2248.7-3235_daily_bin1258.fits sctable="SC_DATA" outfile=/scratch/kocevski/474838/ltcube_565401601_565660801_4FGL_J2248.7-3235_daily_bin1258.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/474838/ft2_4FGL_J2248.7-3235_daily_bin1258.fits
.....................!
real 13.60
user 13.22
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474838/ft1_filtered_4FGL_J2248.7-3235_daily_bin1258.fits evtable="EVENTS" scfile=/scratch/kocevski/474838/ft2_4FGL_J2248.7-3235_daily_bin1258.fits sctable="SC_DATA" expcube=/scratch/kocevski/474838/ltcube_565401601_565660801_4FGL_J2248.7-3235_daily_bin1258.fits outfile=/scratch/kocevski/474838/expmap_565401601_565660801_4FGL_J2248.7-3235_daily_bin1258.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/474838/ltcube_565401601_565660801_4FGL_J2248.7-3235_daily_bin1258.fits
.....................!
real 192.34
user 186.88
sys 5.08

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/474838/ft1_filtered_4FGL_J2248.7-3235_daily_bin1258.fits scfile=/scratch/kocevski/474838/ft2_4FGL_J2248.7-3235_daily_bin1258.fits outfile=/scratch/kocevski/474838/cmap_565401601_565660801_4FGL_J2248.7-3235_daily_bin1258.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474838/ft1_filtered_4FGL_J2248.7-3235_daily_bin1258.fits scfile=/scratch/kocevski/474838/ft2_4FGL_J2248.7-3235_daily_bin1258.fits outfile=/scratch/kocevski/474838/cmap_HighResolution_565401601_565660801_4FGL_J2248.7-3235_daily_bin1258.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/474838/ft1_filtered_4FGL_J2248.7-3235_daily_bin1258.fits evtable="EVENTS" scfile=/scratch/kocevski/474838/ft2_4FGL_J2248.7-3235_daily_bin1258.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474838/Model_4FGL_J2248.7-3235_daily_bin1258.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/474838/ft1_filtered_4FGL_J2248.7-3235_daily_bin1258.fits.....................!
real 49.52
user 48.11
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7015       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    25.685       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .40952       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.264       1.0000         .10000E-03   10000.    
     7 'Prefactor '    41.681       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7304       1.0000         .10000E-03   10000.    
     9 'norm      '    .11902E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.006       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.620       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10407E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.5622       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3168       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.6981       1.0000         .10000E-03   10000.    
    20 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    65.336       1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.511       1.0000         .10000E-03   10000.    
    23 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0411       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .70260       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=   6420.653     FROM MIGRAD    STATUS=CONVERGED    637 CALLS     2994 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7014        .54746        .64314E-07   -.27646E-03
   2  Prefactor     .10000E-03    32.702        .39214E-06** at limit **
   3  Prefactor     .10000E-03    3.3075        .17043E-06** at limit **
   4  norm          25.683        21.292        .32092E-05   -.78223E-05
   5  Prefactor     .23334E-03    38.270        .21770E-05** at limit **
   6  Prefactor     18.257        17.541       -.41433E-06   -.10585E-03
   7  Prefactor     41.681        17.353       -.38949E-05   -.43349E-04
   8  Prefactor     4.7350        9.8476        .20613E-06   -.15798E-03
   9  norm          .10000E-03    1.5162       -.60101E-06** at limit **
  10  Prefactor     23.959        44.063        .18146E-04    .30777E-04
  11  Prefactor     14.618        12.555       -.11703E-05   -.25194E-03
  12  Prefactor     .10000E-03    5.1522        .98346E-07** at limit **
  13  norm          .10000E-03    .90923       -.46259E-08** at limit **
  14  Prefactor     .10000E-03    7.9391       -.21618E-07** at limit **
  15  Prefactor     .10000E-03    3.7033       -.36943E-07** at limit **
  16  norm          4.5622        .85369        .24589E-07   -.37282E-03
  17  Prefactor     1.1934        381.00        .97561E-04   -.36320E-04
  18  Prefactor     .10000E-03    10.143        .43417E-07** at limit **
  19  norm          1.6983        2.5722       -.55492E-06   -.39908E-03
  20  norm          .10000E-03    4.9456       -.22486E-06** at limit **
  21  Prefactor     65.332        34.389        .10957E-04   -.20421E-04
  22  Prefactor     33.508        36.693        .28062E-04   -.40912E-04
  23  norm          .10000E-03    1.4481       -.36308E-06** at limit **
  24  Normalizat    1.0410        .17353       -.60351E-05   -.22125E-03
  25  Prefactor     .70291        .16383       -.11822E-06   -.56293E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.7014
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 25.6828
  Prefactor  = 0.000233344
  Prefactor  = 18.2567
  Prefactor  = 41.6809
  Prefactor  = 4.73505
  norm       = 0.000100001
  Prefactor  = 23.9589
  Prefactor  = 14.6183
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.56218
  Prefactor  = 1.19342
  Prefactor  = 0.0001
  norm       = 1.69831
  norm       = 0.0001
  Prefactor  = 65.3322
  Prefactor  = 33.5077
  norm       = 0.0001
  Normalizat = 1.04096
  Prefactor  = 0.702906
 **********
 **   18 **HESSE 
 **********

 FCN=   6420.653     FROM HESSE     STATUS=OK           433 CALLS     3427 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7014        .54794        .25897E-04   -1.5379    
   2  Prefactor     .10000E-03    33.575        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.3370        .14228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          25.683        21.290        .79042E-04   -1.4694    
   5  Prefactor     .23334E-03    41.752        .13930       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.257        17.543        .93719E-04   -1.4853    
   7  Prefactor     41.681        17.361        .62092E-04   -1.4416    
   8  Prefactor     4.7350        9.8331        .18501E-03   -1.5273    
   9  norm          .10000E-03    1.5459        .19099E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.959        43.766        .81755E-04   -1.4729    
  11  Prefactor     14.618        12.631        .10475E-03   -1.4943    
  12  Prefactor     .10000E-03    5.3477        .35507E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .91019        .74601E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.9680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.7194        .15036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.5622        .85143        .30558E-04   -1.5281    
  17  Prefactor     1.1934        381.04        .38376E-03   -1.5489    
  18  Prefactor     .10000E-03    10.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.6983        2.5465        .15343E-03   -1.5447    
  20  norm          .10000E-03    5.0159        .17398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     65.332        34.378        .49650E-04   -1.4090    
  22  Prefactor     33.508        36.726        .69222E-04   -1.4550    
  23  norm          .10000E-03    1.4589        .94064E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0410        .20534        .23327E-03   -.91671    
  25  Prefactor     .70291        .19331        .27769E-03   -1.0341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3762e-09
Minuit parameter uncertainties:
  1  0.547944
  2  0.000369914
  3  2.90522e-05
  4  21.2965
  5  0.149333
  6  17.5484
  7  17.3631
  8  9.83644
  9  7.4347e-05
  10  43.8244
  11  12.6337
  12  3.53891e-05
  13  7.83868e-07
  14  7.56354e-06
  15  3.91185e-06
  16  0.851435
  17  42.9257
  18  2.17096e-05
  19  2.54665
  20  6.54844e-05
  21  34.388
  22  36.7507
  23  4.37609e-05
  24  0.205497
  25  0.193492
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.462e+01  1.263e+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:  7.029e-01  1.935e-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.041e+00  2.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.83
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 5.18e-08 +/- 4.47e-08
Energy Flux (Fixed Index): 1.19e-05 +/- 1.03e-05

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

Saving results to:
/scratch/kocevski/474838/likelihoodResults_565401601_565660801_4FGL_J2248.7-3235_daily_bin1258.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) = 6420.55051199
delta logL = 0.102103400633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6420.54659751
delta logL = 0.10601788003

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.483       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1986       1.0000          .0000       10.000    
     3 'Normalizat'    1.0235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71642       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=   6420.547     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      256 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.488        208.43        .29555E-02    .10009E-03
   2  Index         3.1990        6.5883        .21687        .77276E-04
   3  Normalizat    1.0233        .58272E-01    .42878E-01   -.23126E-04
   4  Prefactor     .71644        .57400E-01    .62237E-01   -.17276E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4884
  Index      = 3.19904
  Normalizat = 1.02332
  Prefactor  = 0.71644
 **********
 **   18 **HESSE 
 **********

 FCN=   6420.547     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.488        14.525        .11822E-03   -1.5030    
   2  Index         3.1990        1.1299        .90267E-02   -.36847    
   3  Normalizat    1.0233        .20043        .23501E-03   -.92253    
   4  Prefactor     .71644        .19525        .27530E-03   -1.0289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53261e-11
Minuit parameter uncertainties:
  1  14.5291
  2  1.14126
  3  0.200575
  4  0.195442
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474838': 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) = 6420.54659535
delta logL = 0.106020040991

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.149e+01  1.453e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  3.199e+00  1.141e+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.164e-01  1.954e-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.023e+00  2.006e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.06
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 3.20 +/- 1.14
Photon Flux (Free Index): 6.29e-08 +/- 5.23e-08
Energy Flux (Free Index): 1.15e-05 +/- 9.59e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/474838/cmap_HighResolution_565401601_565660801_4FGL_J2248.7-3235_daily_bin1258.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', photon_flux='5.18e-08', energy_flux2='1.15e-05', photon_flux_error='4.47e-08', dlogl='1.06e-01', energy_flux='1.19e-05', photon_flux2='6.29e-08', job_status='DONE', time_completed='2021-09-28 20:55:08.488815', photon_index_error2='1.14', photon_index2='3.20', ts='1.83', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.41e-07', energy_flux_error2='9.59e-06', EG='1.04', time_epoch_completed='1632887708.49', return_code='0', job_id='474838', GAL2='0.72', EG2='1.02', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='5.23e-08', ts2='2.06', photon_index='2.76' WHERE bin_id='1258' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:55:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 474838: <4FGL_J2248.7-3235_daily_bin1258> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1258> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 20:41:24 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:41:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 20:41:25 2021
Terminated at Tue Sep 28 20:55:09 2021
Results reported at Tue Sep 28 20:55:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1258 342.193 -32.5926 565401601 565660801 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 :                                   730.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            825 sec.

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

