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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin586
RA = 342.193, Dec = -32.5926
tmin = 391219201, tmax = 391478401
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='472790', job_status='RUN', time_executed='2021-09-28 20:37:46.401993', time_epoch_executed='1632886666.4' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='586'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/472790

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/472790/ft1_4FGL_J2248.7-3235_daily_bin586.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/472790/ft2_4FGL_J2248.7-3235_daily_bin586.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/472790/ft1_4FGL_J2248.7-3235_daily_bin586.fits outfile=/scratch/kocevski/472790/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin586.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=391219201.0 tmax=391478401.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.37
user 3.17
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/472790/ft2_4FGL_J2248.7-3235_daily_bin586.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/472790/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin586.fits evtable="EVENTS" outfile="/scratch/kocevski/472790/ft1_filtered_4FGL_J2248.7-3235_daily_bin586.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/472790/ft1_filtered_4FGL_J2248.7-3235_daily_bin586.fits" evtable="EVENTS" scfile=/scratch/kocevski/472790/ft2_4FGL_J2248.7-3235_daily_bin586.fits sctable="SC_DATA" outfile=/scratch/kocevski/472790/ltcube_391219201_391478401_4FGL_J2248.7-3235_daily_bin586.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/472790/ft2_4FGL_J2248.7-3235_daily_bin586.fits
.....................!
real 11.94
user 11.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/472790/ft1_filtered_4FGL_J2248.7-3235_daily_bin586.fits evtable="EVENTS" scfile=/scratch/kocevski/472790/ft2_4FGL_J2248.7-3235_daily_bin586.fits sctable="SC_DATA" expcube=/scratch/kocevski/472790/ltcube_391219201_391478401_4FGL_J2248.7-3235_daily_bin586.fits outfile=/scratch/kocevski/472790/expmap_391219201_391478401_4FGL_J2248.7-3235_daily_bin586.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/472790/ltcube_391219201_391478401_4FGL_J2248.7-3235_daily_bin586.fits
.....................!
real 193.47
user 187.76
sys 5.36

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/472790/ft1_filtered_4FGL_J2248.7-3235_daily_bin586.fits scfile=/scratch/kocevski/472790/ft2_4FGL_J2248.7-3235_daily_bin586.fits outfile=/scratch/kocevski/472790/cmap_391219201_391478401_4FGL_J2248.7-3235_daily_bin586.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.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/472790/ft1_filtered_4FGL_J2248.7-3235_daily_bin586.fits evtable="EVENTS" scfile=/scratch/kocevski/472790/ft2_4FGL_J2248.7-3235_daily_bin586.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/472790/Model_4FGL_J2248.7-3235_daily_bin586.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/472790/ft1_filtered_4FGL_J2248.7-3235_daily_bin586.fits.....................!
real 44.30
user 42.89
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98028       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.882       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    15.474       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4021       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.767       1.0000         .10000E-03   10000.    
     9 'norm      '    .16608E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    120.00       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.140       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.409       1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.2313       1.0000         .10000E-03   10000.    
    20 'norm      '    12.399       1.0000         .10000E-03   10000.    
    21 'Prefactor '    47.489       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10434E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2368       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .75179       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=   5444.796     FROM MIGRAD    STATUS=CONVERGED    597 CALLS     2978 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .98027        .38774        .61881E-09   -.56561E-05
   2  Prefactor     15.866        16.079       -.16320E-06   -.12258E-03
   3  Prefactor     .10000E-03    3.5064        .58444E-07** at limit **
   4  norm          15.436        28.065        .12220E-05    .23784E-03
   5  Prefactor     .10000E-03    14.851       -.64380E-08** at limit **
   6  Prefactor     4.4024        18.431        .57236E-06   -.81968E-05
   7  Prefactor     .10000E-03    9.2569       -.16067E-05** at limit **
   8  Prefactor     16.738        22.297        .98798E-07    .49757E-04
   9  norm          .10000E-03    3.0415       -.54349E-05** at limit **
  10  Prefactor     119.82        55.805        .22722E-05    .27479E-03
  11  Prefactor     11.143        11.987        .14167E-06    .39248E-04
  12  Prefactor     .10000E-03    2.9003        .97452E-07** at limit **
  13  norm          .10000E-03    1.5294       -.16022E-07** at limit **
  14  Prefactor     .10000E-03    5.8203        .11162E-07** at limit **
  15  Prefactor     26.409        10.776       -.48162E-06   -.39198E-03
  16  norm          .10000E-03    .28296        .35964E-06** at limit **
  17  Prefactor     .10000E-03    15.307        .17429E-06** at limit **
  18  Prefactor     .10000E-03    6.8251        .39999E-07** at limit **
  19  norm          2.2335        4.0962        .31835E-07   -.38742E-03
  20  norm          12.400        8.1737        .33228E-07   -.23448E-04
  21  Prefactor     47.448        36.060       -.35206E-06   -.12281E-03
  22  Prefactor     .10000E-03    17.833        .36140E-07** at limit **
  23  norm          .10000E-03    3.4242        .81601E-06** at limit **
  24  Normalizat    1.2367        .19374        .14589E-06   -.38310E-04
  25  Prefactor     .75191        .18691       -.41116E-06    .26740E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.980271
  Prefactor  = 15.8657
  Prefactor  = 0.0001
  norm       = 15.436
  Prefactor  = 0.0001
  Prefactor  = 4.40241
  Prefactor  = 0.0001
  Prefactor  = 16.7379
  norm       = 0.0001
  Prefactor  = 119.816
  Prefactor  = 11.1426
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.4091
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.23345
  norm       = 12.4001
  Prefactor  = 47.4477
  Prefactor  = 0.0001
  norm       = 0.000100002
  Normalizat = 1.23667
  Prefactor  = 0.751914
 **********
 **   18 **HESSE 
 **********

 FCN=   5444.796     FROM HESSE     STATUS=OK           427 CALLS     3405 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .98027        .38738        .28107E-04   -1.5510    
   2  Prefactor     15.866        16.088        .10050E-03   -1.4911    
   3  Prefactor     .10000E-03    3.5223        .13491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.436        28.131        .10182E-03   -1.4922    
   5  Prefactor     .10000E-03    14.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4024        18.380        .19195E-03   -1.5288    
   7  Prefactor     .10000E-03    9.3061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.738        22.322        .97811E-04   -1.4889    
   9  norm          .10000E-03    3.0530        .24548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     119.82        57.285        .18368E-03   -1.3514    
  11  Prefactor     11.143        12.005        .12003E-03   -1.5040    
  12  Prefactor     .10000E-03    2.9102        .12271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.5341        .89047E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.8264        .17378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.409        10.342        .77954E-04   -1.4680    
  16  norm          .10000E-03    .32014        .72174E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.8963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.2335        3.8155        .18245E-03   -1.5409    
  20  norm          12.400        8.1749        .11376E-03   -1.5004    
  21  Prefactor     47.448        34.999        .58186E-04   -1.4329    
  22  Prefactor     .10000E-03    17.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    5.9131        .23682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2367        .23692        .22847E-03   -.85477    
  25  Prefactor     .75191        .22651        .28131E-03   -1.0153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01636e-09
Minuit parameter uncertainties:
  1  0.387383
  2  16.092
  3  1.0051e-06
  4  28.1556
  5  4.99276e-05
  6  17.9998
  7  1.04435e-05
  8  22.3335
  9  3.48599e-05
  10  57.3111
  11  12.0081
  12  6.2025e-07
  13  8.65255e-07
  14  4.20291e-07
  15  10.3423
  16  8.90162e-07
  17  4.82605e-05
  18  2.57366e-06
  19  3.81593
  20  8.17567
  21  35.0137
  22  1.82367e-06
  23  0.000213548
  24  0.23713
  25  0.226787
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.114e+01  1.201e+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.519e-01  2.268e-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.237e+00  2.371e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.17
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 3.95e-08 +/- 4.25e-08
Energy Flux (Fixed Index): 9.08e-06 +/- 9.79e-06

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

Saving results to:
/scratch/kocevski/472790/likelihoodResults_391219201_391478401_4FGL_J2248.7-3235_daily_bin586.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) = 5444.77351145
delta logL = 0.022011723634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5444.76818168
delta logL = 0.0273414928633

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.429       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5495       1.0000          .0000       10.000    
     3 'Normalizat'    1.2423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74695       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5444.768     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      243 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.430        13.772        .11362E-03   -.81715E-03
   2  Index         2.5493        .86181        .11204E-01   -.19393E-03
   3  Normalizat    1.2423        .22657        .22803E-03    .15558E-03
   4  Prefactor     .74695        .22199        .28213E-03    .13757E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4296
  Index      = 2.54926
  Normalizat = 1.24232
  Prefactor  = 0.746951
 **********
 **   18 **HESSE 
 **********

 FCN=   5444.768     FROM HESSE     STATUS=OK            23 CALLS      266 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.430        13.587        .22725E-04   -1.5003    
   2  Index         2.5493        .85026        .44817E-03   -.51226    
   3  Normalizat    1.2423        .22680        .45605E-04   -.85305    
   4  Prefactor     .74695        .22215        .11285E-04   -1.0171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97222e-09
Minuit parameter uncertainties:
  1  13.5904
  2  0.855747
  3  0.22698
  4  0.222419
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/472790': 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) = 5444.76818165
delta logL = 0.0273415195361

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.243e+01  1.359e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.549e+00  8.557e-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:  7.470e-01  2.224e-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.242e+00  2.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.55 +/- 0.86
Photon Flux (Free Index): 3.65e-08 +/- 4.20e-08
Energy Flux (Free Index): 1.00e-05 +/- 1.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/472790/cmap_HighResolution_391219201_391478401_4FGL_J2248.7-3235_daily_bin586.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', photon_flux='3.95e-08', energy_flux2='1.00e-05', photon_flux_error='4.25e-08', dlogl='2.73e-02', energy_flux='9.08e-06', photon_flux2='3.65e-08', job_status='DONE', time_completed='2021-09-28 20:48:47.507050', photon_index_error2='0.86', photon_index2='2.55', ts='1.17', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='1.14e-05', EG='1.24', time_epoch_completed='1632887327.51', return_code='0', job_id='472790', GAL2='0.75', EG2='1.24', return_code2='0', energy_flux_error='9.79e-06', photon_flux_error2='4.20e-08', ts2='1.22', photon_index='2.76' WHERE bin_id='586' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:48:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 472790: <4FGL_J2248.7-3235_daily_bin586> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin586 342.193 -32.5926 391219201 391478401 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 :                                   659.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            802 sec.

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

