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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin523
RA = 342.193, Dec = -32.5926
tmin = 374889601, tmax = 375148801
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='472697', job_status='RUN', time_executed='2021-09-28 20:37:23.339593', time_epoch_executed='1632886643.34' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='523'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/472697

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/472697/ft1_4FGL_J2248.7-3235_daily_bin523.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/472697/ft2_4FGL_J2248.7-3235_daily_bin523.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/472697/ft1_4FGL_J2248.7-3235_daily_bin523.fits outfile=/scratch/kocevski/472697/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin523.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=374889601.0 tmax=375148801.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.51
user 3.29
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/472697/ft1_filtered_4FGL_J2248.7-3235_daily_bin523.fits" evtable="EVENTS" scfile=/scratch/kocevski/472697/ft2_4FGL_J2248.7-3235_daily_bin523.fits sctable="SC_DATA" outfile=/scratch/kocevski/472697/ltcube_374889601_375148801_4FGL_J2248.7-3235_daily_bin523.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/472697/ft2_4FGL_J2248.7-3235_daily_bin523.fits
.....................!
real 11.69
user 11.35
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/472697/ft1_filtered_4FGL_J2248.7-3235_daily_bin523.fits evtable="EVENTS" scfile=/scratch/kocevski/472697/ft2_4FGL_J2248.7-3235_daily_bin523.fits sctable="SC_DATA" expcube=/scratch/kocevski/472697/ltcube_374889601_375148801_4FGL_J2248.7-3235_daily_bin523.fits outfile=/scratch/kocevski/472697/expmap_374889601_375148801_4FGL_J2248.7-3235_daily_bin523.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/472697/ltcube_374889601_375148801_4FGL_J2248.7-3235_daily_bin523.fits
.....................!
real 189.77
user 185.08
sys 4.27

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/472697/ft1_filtered_4FGL_J2248.7-3235_daily_bin523.fits scfile=/scratch/kocevski/472697/ft2_4FGL_J2248.7-3235_daily_bin523.fits outfile=/scratch/kocevski/472697/cmap_374889601_375148801_4FGL_J2248.7-3235_daily_bin523.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/472697/ft1_filtered_4FGL_J2248.7-3235_daily_bin523.fits scfile=/scratch/kocevski/472697/ft2_4FGL_J2248.7-3235_daily_bin523.fits outfile=/scratch/kocevski/472697/cmap_HighResolution_374889601_375148801_4FGL_J2248.7-3235_daily_bin523.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3669       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.429       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0917       1.0000         .10000E-03   10000.    
     4 'norm      '    16.423       1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.610       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.795       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14748E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.939       1.0000         .10000E-03   10000.    
     9 'norm      '    .70799       1.0000         .10000E-03   10000.    
    10 'Prefactor '    54.267       1.0000         .10000E-03   10000.    
    11 'Prefactor '    51.802       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2800       1.0000         .10000E-03   10000.    
    13 'norm      '    .10504E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .23889E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.274       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3428       1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.249       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.8701       1.0000         .10000E-03   10000.    
    19 'norm      '    3.7151       1.0000         .10000E-03   10000.    
    20 'norm      '    .14377E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.692       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .13447E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.9176       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0150       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .67570       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=   6229.153     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     2112 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3673        .35755       -.25656E-08    .13118E-04
   2  Prefactor     10.445        9.9183       -.27581E-06    .13384E-03
   3  Prefactor     2.0991        3.4429        .48372E-07    .12286E-06
   4  norm          16.277        16.921        .37838E-06    .10931E-02
   5  Prefactor     26.534        34.108       -.17606E-05   -.41623E-03
   6  Prefactor     14.797        4.7286       -.60690E-06    .11178E-01
   7  Prefactor     .10000E-03    5.1921       -.98427E-06** at limit **
   8  Prefactor     24.057        23.068        .11014E-05    .18044E-02
   9  norm          .65705        2.4649        .70099E-06    .99389E-04
  10  Prefactor     56.630        58.371       -.23038E-05   -.32077E-03
  11  Prefactor     51.791        14.914       -.40245E-06   -.22279E-02
  12  Prefactor     5.3129        6.8183        .15988E-06    .94349E-04
  13  norm          .10000E-03    17.827       -.95299E-06** at limit **
  14  Prefactor     .10000E-03    8.6586       -.92735E-06** at limit **
  15  Prefactor     10.118        12.075        .48405E-06    .10868E-02
  16  norm          1.3502        .84558       -.44280E-07   -.66028E-04
  17  Prefactor     25.846        15.617       -.66693E-06   -.35728E-03
  18  Prefactor     3.8787        6.3521       -.43713E-06   -.15807E-03
  19  norm          3.7066        3.6894       -.10734E-06    .12318E-04
  20  norm          .10001E-03    31.766       -.44733E-06** at limit **
  21  Prefactor     18.164        42.238        .16088E-05    .42873E-03
  22  Prefactor     .10000E-03    11.551        .11953E-06** at limit **
  23  norm          4.8318        5.1392        .32777E-06    .37320E-03
  24  Normalizat    1.0128        .21634        .16140E-06    .82450E-04
  25  Prefactor     .67674        .20141        .29618E-06    .71585E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.36728
  Prefactor  = 10.4451
  Prefactor  = 2.09906
  norm       = 16.2772
  Prefactor  = 26.5337
  Prefactor  = 14.7973
  Prefactor  = 0.0001
  Prefactor  = 24.0569
  norm       = 0.657054
  Prefactor  = 56.6297
  Prefactor  = 51.7908
  Prefactor  = 5.31294
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.1179
  norm       = 1.35023
  Prefactor  = 25.8457
  Prefactor  = 3.87868
  norm       = 3.70656
  norm       = 0.000100012
  Prefactor  = 18.164
  Prefactor  = 0.0001
  norm       = 4.83177
  Normalizat = 1.01284
  Prefactor  = 0.676745
 **********
 **   18 **HESSE 
 **********

 FCN=   6229.153     FROM HESSE     STATUS=OK           503 CALLS     2615 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3673        .35684        .53072E-02   -1.5474    
   2  Prefactor     10.445        9.9213        .31017E-02   -1.5061    
   3  Prefactor     2.0991        3.4721        .71357E-02   -1.5418    
   4  norm          16.277        17.096        .24708E-02   -1.4901    
   5  Prefactor     26.534        34.305        .19789E-02   -1.4677    
   6  Prefactor     14.797        13.289        .26033E-02   -1.4938    
   7  Prefactor     .10000E-03    5.1600        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.057        23.243        .20467E-02   -1.4727    
   9  norm          .65705        2.8241        .12092E-01   -1.5546    
  10  Prefactor     56.630        63.087        .13612E-02   -1.4201    
  11  Prefactor     51.791        15.002        .13931E-02   -1.4267    
  12  Prefactor     5.3129        6.8172        .43730E-02   -1.5247    
  13  norm          .10000E-03    2.0259        .61129E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.6352        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.118        11.783        .31251E-02   -1.5072    
  16  norm          1.3502        .80522        .91821E-02   -1.5476    
  17  Prefactor     25.846        44.029        .19547E-02   -1.4691    
  18  Prefactor     3.8787        6.4052        .51280E-02   -1.5314    
  19  norm          3.7066        3.6801        .52378E-02   -1.5323    
  20  norm          .10001E-03    4.5425        .60152E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     18.164        45.454        .24508E-02   -1.4855    
  22  Prefactor     .10000E-03    11.557        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.8318        5.2460        .45343E-02   -1.5268    
  24  Normalizat    1.0128        .17698        .44206E-01   -.92601    
  25  Prefactor     .67674        .16540        .61319E-01   -1.0445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93502e-07
Minuit parameter uncertainties:
  1  0.356845
  2  9.9229
  3  3.4724
  4  17.1015
  5  34.3309
  6  13.2921
  7  5.59778e-05
  8  23.2515
  9  2.72442
  10  63.1614
  11  15.0033
  12  6.8182
  13  3.23488e-05
  14  6.72335e-05
  15  11.7857
  16  0.805227
  17  44.0844
  18  6.40631
  19  3.68037
  20  0.000464987
  21  45.5412
  22  1.42377e-05
  23  5.24651
  24  0.177082
  25  0.165517
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  5.179e+01  1.500e+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:  6.767e-01  1.655e-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.013e+00  1.771e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.97
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 1.84e-07 +/- 5.31e-08
Energy Flux (Fixed Index): 4.22e-05 +/- 1.22e-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) = 6228.28461678
delta logL = 0.86860260922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6228.20204691
delta logL = 0.951172474943

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.036       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3068       1.0000          .0000       10.000    
     3 'Normalizat'    1.0743       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63118       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=   6228.202     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      210 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.036        21.023        .13054E-02    .16680E-02
   2  Index         2.3068        .33681        .12461       -.43561E-04
   3  Normalizat    1.0743        .17068        .39156E-01    .12880E-04
   4  Prefactor     .63121        .16564        .63264E-01    .17803E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.0362
  Index      = 2.3068
  Normalizat = 1.0743
  Prefactor  = 0.631212
 **********
 **   18 **HESSE 
 **********

 FCN=   6228.202     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.036        18.230        .52216E-04   -1.4170    
   2  Index         2.3068        .31161        .51627E-02   -.56882    
   3  Normalizat    1.0743        .20448        .22371E-03   -.90581    
   4  Prefactor     .63121        .19657        .27990E-03   -1.0629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.574e-09
Minuit parameter uncertainties:
  1  18.2321
  2  0.311891
  3  0.204633
  4  0.196784
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/472697': 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) = 6228.20204689
delta logL = 0.951172495829

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  5.904e+01  1.823e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.307e+00  3.119e-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:  6.312e-01  1.968e-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.074e+00  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 29.57
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.31 +/- 0.31
Photon Flux (Free Index): 1.43e-07 +/- 5.50e-08
Energy Flux (Free Index): 5.35e-05 +/- 2.14e-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/472697/cmap_HighResolution_374889601_375148801_4FGL_J2248.7-3235_daily_bin523.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.84e-07', energy_flux2='5.35e-05', photon_flux_error='5.31e-08', dlogl='9.51e-01', energy_flux='4.22e-05', photon_flux2='1.43e-07', job_status='DONE', time_completed='2021-09-28 20:47:09.386931', photon_index_error2='0.31', photon_index2='2.31', ts='27.97', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', energy_flux_error2='2.14e-05', EG='1.01', time_epoch_completed='1632887229.39', return_code='0', job_id='472697', GAL2='0.63', EG2='1.07', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='5.50e-08', ts2='29.57', photon_index='2.76' WHERE bin_id='523' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:47:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 472697: <4FGL_J2248.7-3235_daily_bin523> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin523> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:35:19 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:35:20 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:35:20 2021
Terminated at Tue Sep 28 20:47:10 2021
Results reported at Tue Sep 28 20:47:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin523 342.193 -32.5926 374889601 375148801 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 :                                   585.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             279.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            711 sec.

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

