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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1564
RA = 342.193, Dec = -32.5926
tmin = 644716801, tmax = 644976001
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='476325', job_status='RUN', time_executed='2021-09-28 20:48:42.516845', time_epoch_executed='1632887322.52' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1564'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/476325

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/476325/ft1_4FGL_J2248.7-3235_daily_bin1564.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/476325/ft2_4FGL_J2248.7-3235_daily_bin1564.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/476325/ft1_4FGL_J2248.7-3235_daily_bin1564.fits outfile=/scratch/kocevski/476325/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1564.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=644716801.0 tmax=644976001.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.85
user 2.63
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/476325/ft1_filtered_4FGL_J2248.7-3235_daily_bin1564.fits" evtable="EVENTS" scfile=/scratch/kocevski/476325/ft2_4FGL_J2248.7-3235_daily_bin1564.fits sctable="SC_DATA" outfile=/scratch/kocevski/476325/ltcube_644716801_644976001_4FGL_J2248.7-3235_daily_bin1564.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/476325/ft2_4FGL_J2248.7-3235_daily_bin1564.fits
.....................!
real 12.14
user 11.79
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/476325/ft1_filtered_4FGL_J2248.7-3235_daily_bin1564.fits evtable="EVENTS" scfile=/scratch/kocevski/476325/ft2_4FGL_J2248.7-3235_daily_bin1564.fits sctable="SC_DATA" expcube=/scratch/kocevski/476325/ltcube_644716801_644976001_4FGL_J2248.7-3235_daily_bin1564.fits outfile=/scratch/kocevski/476325/expmap_644716801_644976001_4FGL_J2248.7-3235_daily_bin1564.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/476325/ltcube_644716801_644976001_4FGL_J2248.7-3235_daily_bin1564.fits
.....................!
real 190.08
user 185.73
sys 4.05

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/476325/ft1_filtered_4FGL_J2248.7-3235_daily_bin1564.fits scfile=/scratch/kocevski/476325/ft2_4FGL_J2248.7-3235_daily_bin1564.fits outfile=/scratch/kocevski/476325/cmap_644716801_644976001_4FGL_J2248.7-3235_daily_bin1564.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/476325/ft1_filtered_4FGL_J2248.7-3235_daily_bin1564.fits scfile=/scratch/kocevski/476325/ft2_4FGL_J2248.7-3235_daily_bin1564.fits outfile=/scratch/kocevski/476325/cmap_HighResolution_644716801_644976001_4FGL_J2248.7-3235_daily_bin1564.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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/476325/ft1_filtered_4FGL_J2248.7-3235_daily_bin1564.fits evtable="EVENTS" scfile=/scratch/kocevski/476325/ft2_4FGL_J2248.7-3235_daily_bin1564.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/476325/Model_4FGL_J2248.7-3235_daily_bin1564.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/476325/ft1_filtered_4FGL_J2248.7-3235_daily_bin1564.fits.....................!
real 60.49
user 59.25
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55187       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0079       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .41159       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2103       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6686       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2404       1.0000         .10000E-03   10000.    
    10 'Prefactor '    44.070       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.575       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.676       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.5736       1.0000         .10000E-03   10000.    
    16 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.575       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.687       1.0000         .10000E-03   10000.    
    19 'norm      '    3.2470       1.0000         .10000E-03   10000.    
    20 'norm      '    9.1484       1.0000         .10000E-03   10000.    
    21 'Prefactor '    40.015       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .21246       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .95927       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0373       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=   8589.691     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     2998 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55191        .23871        .77952E-09   -.52950E-04
   2  Prefactor     4.0093        10.570        .14269E-06    .65817E-05
   3  Prefactor     .10000E-03    2.3039        .47670E-07** at limit **
   4  norm          .36115        19.011        .34524E-05   -.28763E-03
   5  Prefactor     .10000E-03    36.499        .51232E-06** at limit **
   6  Prefactor     2.2116        8.6577        .32087E-07    .18363E-04
   7  Prefactor     .10000E-03    4.1735       -.57539E-06** at limit **
   8  Prefactor     1.6724        24.338        .14746E-05    .29137E-03
   9  norm          2.2405        1.6660        .22940E-06   -.43222E-04
  10  Prefactor     44.102        38.877       -.23901E-05   -.40519E-03
  11  Prefactor     19.570        9.9455        .28127E-07   -.10305E-03
  12  Prefactor     .10000E-03    3.0520        .14548E-06** at limit **
  13  norm          .10000E-03    1.4852        .11289E-06** at limit **
  14  Prefactor     14.680        12.928        .55475E-07   -.21110E-03
  15  Prefactor     8.5701        9.7738       -.19671E-06   -.47019E-03
  16  norm          .10000E-03    .20211        .57919E-07** at limit **
  17  Prefactor     13.582        55.817       -.15670E-05   -.43370E-04
  18  Prefactor     13.686        9.2257       -.13748E-07   -.25905E-03
  19  norm          3.2476        3.1360       -.35646E-06   -.78384E-03
  20  norm          9.1474        7.0323       -.16352E-06   -.22804E-03
  21  Prefactor     39.990        42.674       -.37349E-05   -.48369E-03
  22  Prefactor     .10000E-03    22.683        .67529E-07** at limit **
  23  norm          .20786        5.7724        .26373E-05   -.10278E-02
  24  Normalizat    .95984        .15605        .20367E-06   -.58343E-03
  25  Prefactor     1.0367        .15213       -.23063E-06   -.43660E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.551905
  Prefactor  = 4.00928
  Prefactor  = 0.0001
  norm       = 0.361152
  Prefactor  = 0.0001
  Prefactor  = 2.21164
  Prefactor  = 0.0001
  Prefactor  = 1.6724
  norm       = 2.24046
  Prefactor  = 44.1024
  Prefactor  = 19.5703
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.6796
  Prefactor  = 8.57011
  norm       = 0.0001
  Prefactor  = 13.5823
  Prefactor  = 13.6865
  norm       = 3.24759
  norm       = 9.14739
  Prefactor  = 39.9896
  Prefactor  = 0.0001
  norm       = 0.207863
  Normalizat = 0.959843
  Prefactor  = 1.03673
 **********
 **   18 **HESSE 
 **********

 FCN=   8589.691     FROM HESSE     STATUS=OK           435 CALLS     3433 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55191        .23935        .28976E-04   -1.5559    
   2  Prefactor     4.0093        10.560        .20144E-03   -1.5307    
   3  Prefactor     .10000E-03    2.3244        .13734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .36115        123.07        .58177E-02   -1.5588    
   5  Prefactor     .10000E-03    36.699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.2116        8.6319        .27668E-03   -1.5411    
   7  Prefactor     .10000E-03    4.1671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6724        26.770        .16320E-02   -1.5449    
   9  norm          2.2405        1.6724        .93181E-04   -1.5409    
  10  Prefactor     44.102        39.310        .60391E-04   -1.4379    
  11  Prefactor     19.570        9.9601        .90528E-04   -1.4823    
  12  Prefactor     .10000E-03    3.1091        .15810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    13.866        .20964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.680        12.842        .10455E-03   -1.4941    
  15  Prefactor     8.5701        9.2186        .13690E-03   -1.5122    
  16  norm          .10000E-03    .35006        .72992E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.582        56.152        .10871E-03   -1.4971    
  18  Prefactor     13.686        9.1743        .10827E-03   -1.4968    
  19  norm          3.2476        3.1576        .15132E-03   -1.5348    
  20  norm          9.1474        7.0301        .13251E-03   -1.5103    
  21  Prefactor     39.990        46.421        .63365E-04   -1.4442    
  22  Prefactor     .10000E-03    22.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .20786        14.599        .21816E-02   -1.5617    
  24  Normalizat    .95984        .18534        .24495E-03   -.94388    
  25  Prefactor     1.0367        .17998        .24231E-03   -.91515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.85571e-09
Minuit parameter uncertainties:
  1  0.239354
  2  10.565
  3  2.08665e-06
  4  13.3594
  5  0.000128813
  6  8.63673
  7  3.0634e-05
  8  13.3889
  9  1.67242
  10  39.333
  11  9.96093
  12  8.75805e-06
  13  7.79722e-05
  14  12.8441
  15  9.2201
  16  1.28879e-07
  17  55.3222
  18  9.17526
  19  3.15773
  20  7.03074
  21  46.4627
  22  4.97807e-06
  23  3.48407
  24  0.185467
  25  0.180081
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.037e+00  1.801e-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:  9.598e-01  1.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.11
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 6.94e-08 +/- 3.53e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 8.12e-06

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) = 8588.89052525
delta logL = 0.800861049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8588.85802541
delta logL = 0.833360893677

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.730       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1746       1.0000          .0000       10.000    
     3 'Normalizat'    .99201       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0136       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=   8588.858     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      212 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.750        13.019        .21481E-02    .17486E-04
   2  Index         2.1750        .39105        .19956       -.41213E-04
   3  Normalizat    .99201        .14600        .46067E-01    .61322E-04
   4  Prefactor     1.0136        .14925        .42852E-01    .60331E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.7498
  Index      = 2.17504
  Normalizat = 0.992007
  Prefactor  = 1.0136
 **********
 **   18 **HESSE 
 **********

 FCN=   8588.858     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.750        12.064        .85925E-04   -1.4775    
   2  Index         2.1750        .41849        .76165E-02   -.60042    
   3  Normalizat    .99201        .17286        .24144E-03   -.93299    
   4  Prefactor     1.0136        .17584        .24468E-03   -.92278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51974e-10
Minuit parameter uncertainties:
  1  12.0655
  2  0.419214
  3  0.172958
  4  0.175935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/476325': 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) = 8588.85802351
delta logL = 0.83336279313

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.014e+00  1.759e-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:  9.920e-01  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.73
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.18 +/- 0.42
Photon Flux (Free Index): 4.80e-08 +/- 3.24e-08
Energy Flux (Free Index): 2.26e-05 +/- 1.51e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.94e-08', energy_flux2='2.26e-05', photon_flux_error='3.53e-08', dlogl='8.33e-01', energy_flux='1.60e-05', photon_flux2='4.80e-08', job_status='DONE', time_completed='2021-09-28 21:01:19.631734', photon_index_error2='0.42', photon_index2='2.18', ts='8.11', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.51e-05', EG='0.96', time_epoch_completed='1632888079.63', return_code='0', job_id='476325', GAL2='1.01', EG2='0.99', return_code2='0', energy_flux_error='8.12e-06', photon_flux_error2='3.24e-08', ts2='9.73', photon_index='2.76' WHERE bin_id='1564' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:01:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 476325: <4FGL_J2248.7-3235_daily_bin1564> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1564> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:45:43 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:45:44 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:45:44 2021
Terminated at Tue Sep 28 21:01:20 2021
Results reported at Tue Sep 28 21:01:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1564 342.193 -32.5926 644716801 644976001 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 :                                   756.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            937 sec.

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

