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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1184
RA = 342.193, Dec = -32.5926
tmin = 546220801, tmax = 546480001
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='474719', job_status='RUN', time_executed='2021-09-28 20:41:49.193029', time_epoch_executed='1632886909.19' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1184'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474719

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474719/ft1_4FGL_J2248.7-3235_daily_bin1184.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474719/ft2_4FGL_J2248.7-3235_daily_bin1184.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474719/ft1_4FGL_J2248.7-3235_daily_bin1184.fits outfile=/scratch/kocevski/474719/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1184.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=546220801.0 tmax=546480001.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.89
user 3.67
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474719/ft1_filtered_4FGL_J2248.7-3235_daily_bin1184.fits" evtable="EVENTS" scfile=/scratch/kocevski/474719/ft2_4FGL_J2248.7-3235_daily_bin1184.fits sctable="SC_DATA" outfile=/scratch/kocevski/474719/ltcube_546220801_546480001_4FGL_J2248.7-3235_daily_bin1184.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/474719/ft2_4FGL_J2248.7-3235_daily_bin1184.fits
.....................!
real 13.56
user 13.11
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474719/ft1_filtered_4FGL_J2248.7-3235_daily_bin1184.fits evtable="EVENTS" scfile=/scratch/kocevski/474719/ft2_4FGL_J2248.7-3235_daily_bin1184.fits sctable="SC_DATA" expcube=/scratch/kocevski/474719/ltcube_546220801_546480001_4FGL_J2248.7-3235_daily_bin1184.fits outfile=/scratch/kocevski/474719/expmap_546220801_546480001_4FGL_J2248.7-3235_daily_bin1184.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/474719/ltcube_546220801_546480001_4FGL_J2248.7-3235_daily_bin1184.fits
.....................!
real 190.01
user 185.30
sys 4.22

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/474719/ft1_filtered_4FGL_J2248.7-3235_daily_bin1184.fits scfile=/scratch/kocevski/474719/ft2_4FGL_J2248.7-3235_daily_bin1184.fits outfile=/scratch/kocevski/474719/cmap_546220801_546480001_4FGL_J2248.7-3235_daily_bin1184.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474719/ft1_filtered_4FGL_J2248.7-3235_daily_bin1184.fits scfile=/scratch/kocevski/474719/ft2_4FGL_J2248.7-3235_daily_bin1184.fits outfile=/scratch/kocevski/474719/cmap_HighResolution_546220801_546480001_4FGL_J2248.7-3235_daily_bin1184.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/474719/ft1_filtered_4FGL_J2248.7-3235_daily_bin1184.fits evtable="EVENTS" scfile=/scratch/kocevski/474719/ft2_4FGL_J2248.7-3235_daily_bin1184.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474719/Model_4FGL_J2248.7-3235_daily_bin1184.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/474719/ft1_filtered_4FGL_J2248.7-3235_daily_bin1184.fits.....................!
real 49.78
user 48.32
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0314       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.326       1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.807       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.7471       1.0000         .10000E-03   10000.    
    10 'Prefactor '    39.177       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.1067       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.6180       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16706E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.1309       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10477E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .27785E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    2.5127       1.0000         .10000E-03   10000.    
    20 'norm      '    15.102       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.669       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .20319E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.3116       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0387       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1248       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=   6447.659     FROM MIGRAD    STATUS=CONVERGED    601 CALLS     2934 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0314        .41724        .46895E-08   -.50900E-04
   2  Prefactor     .10000E-03    5.8117       -.60719E-08** at limit **
   3  Prefactor     .10000E-03    4.1251        .23853E-07** at limit **
   4  norm          .10000E-03    9.9663        .84337E-07** at limit **
   5  Prefactor     .10000E-03    53.448        .37366E-05** at limit **
   6  Prefactor     17.342        20.387        .14059E-06    .94325E-05
   7  Prefactor     30.807        21.346       -.11571E-05   -.90850E-05
   8  Prefactor     .10000E-03    8.1930        .99922E-08** at limit **
   9  norm          1.7502        3.6052       -.13084E-05   -.36022E-03
  10  Prefactor     39.071        83.811        .10865E-04    .40646E-04
  11  Prefactor     9.1118        8.8145       -.25245E-07   -.21165E-04
  12  Prefactor     .10000E-03    3.5512        .34738E-07** at limit **
  13  norm          3.6178        4.5074       -.54907E-07   -.19787E-03
  14  Prefactor     .10000E-03    11.283       -.18733E-06** at limit **
  15  Prefactor     .10000E-03    17.625       -.24369E-06** at limit **
  16  norm          1.1317        .78662       -.19100E-07   -.22167E-02
  17  Prefactor     .10000E-03    76.060       -.60971E-05** at limit **
  18  Prefactor     .10026E-03    8.6860        .31405E-05** at limit **
  19  norm          2.5114        4.8497        .20961E-05    .68694E-03
  20  norm          15.106        9.0381       -.35566E-07   -.60993E-04
  21  Prefactor     15.701        51.414       -.49822E-05   -.17318E-04
  22  Prefactor     .10000E-03    175.26        .50690E-05** at limit **
  23  norm          3.3100        5.3414        .63865E-07    .90826E-04
  24  Normalizat    1.0378        .19656        .18572E-05   -.18077E-03
  25  Prefactor     1.1256        .19481       -.18969E-05   -.14070E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.03137
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.3418
  Prefactor  = 30.8068
  Prefactor  = 0.0001
  norm       = 1.75018
  Prefactor  = 39.0708
  Prefactor  = 9.11177
  Prefactor  = 0.0001
  norm       = 3.61784
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.13173
  Prefactor  = 0.000100001
  Prefactor  = 0.000100264
  norm       = 2.5114
  norm       = 15.1057
  Prefactor  = 15.7009
  Prefactor  = 0.0001
  norm       = 3.31002
  Normalizat = 1.03785
  Prefactor  = 1.12564
 **********
 **   18 **HESSE 
 **********

 FCN=   6447.659     FROM HESSE     STATUS=OK           429 CALLS     3363 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0314        .41839        .32020E-04   -1.5505    
   2  Prefactor     .10000E-03    5.8129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.1543        .15920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    9.9758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    53.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.342        20.411        .96220E-04   -1.4875    
   7  Prefactor     30.807        21.342        .72188E-04   -1.4597    
   8  Prefactor     .10000E-03    8.2044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7502        3.5896        .17441E-03   -1.5443    
  10  Prefactor     39.071        84.635        .64037E-04   -1.4457    
  11  Prefactor     9.1118        8.8122        .13281E-03   -1.5104    
  12  Prefactor     .10000E-03    3.5923        .14773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.6178        4.4971        .17274E-03   -1.5328    
  14  Prefactor     .10000E-03    11.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.979        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1317        .73189        .51120E-04   -1.5495    
  17  Prefactor     .10000E-03    76.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10026E-03    29.901        .35516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.5114        4.9311        .10619E-02   -1.5391    
  20  norm          15.106        9.0406        .10306E-03   -1.4930    
  21  Prefactor     15.701        51.115        .10118E-03   -1.4915    
  22  Prefactor     .10000E-03    178.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.3100        5.2787        .17611E-03   -1.5344    
  24  Normalizat    1.0378        .24063        .26263E-03   -.91773    
  25  Prefactor     1.1256        .23885        .25605E-03   -.88651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.56477e-09
Minuit parameter uncertainties:
  1  0.418388
  2  1.24446e-06
  3  5.13153e-07
  4  4.3216e-06
  5  0.000283308
  6  20.4189
  7  21.3468
  8  6.11877e-07
  9  3.59008
  10  84.8969
  11  8.81344
  12  3.09565e-06
  13  4.49748
  14  3.67388e-05
  15  0.000285718
  16  0.731893
  17  0.000499742
  18  0.00562435
  19  4.93186
  20  9.04143
  21  51.2585
  22  0.000411368
  23  5.27945
  24  0.240879
  25  0.239078
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  9.112e+00  8.813e+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.126e+00  2.391e-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.038e+00  2.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.70
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 3.23e-08 +/- 3.12e-08
Energy Flux (Fixed Index): 7.43e-06 +/- 7.18e-06

TS (Fixed Index): 1.70
Ra Dec: 342.193 -32.593
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/474719/likelihoodResults_546220801_546480001_4FGL_J2248.7-3235_daily_bin1184.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) = 6447.04108002
delta logL = 0.617501547765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6446.89394365
delta logL = 0.764637917458

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.701       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0490       1.0000          .0000       10.000    
     3 'Normalizat'    1.0520       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1076       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=   6446.894     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      251 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.704        11.283        .10446E-03   -.94681E-04
   2  Index         2.0490        .46955        .78764E-02   -.13070E-03
   3  Normalizat    1.0519        .23022        .26095E-03   -.13497E-03
   4  Prefactor     1.1077        .23372        .25761E-03   -.14762E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.7042
  Index      = 2.04899
  Normalizat = 1.05193
  Prefactor  = 1.10767
 **********
 **   18 **HESSE 
 **********

 FCN=   6446.894     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.704        11.307        .41786E-05   -1.4941    
   2  Index         2.0490        .47064        .15753E-02   -.63131    
   3  Normalizat    1.0519        .23051        .10438E-04   -.91310    
   4  Prefactor     1.1077        .23401        .10304E-04   -.89222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85396e-11
Minuit parameter uncertainties:
  1  11.3089
  2  0.471716
  3  0.230731
  4  0.234228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474719': 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) = 6446.89394356
delta logL = 0.76463801471

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.470e+01  1.131e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.049e+00  4.717e-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.108e+00  2.342e-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.052e+00  2.307e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.23
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.05 +/- 0.47
Photon Flux (Free Index): 3.01e-08 +/- 2.52e-08
Energy Flux (Free Index): 1.85e-05 +/- 1.98e-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/474719/cmap_HighResolution_546220801_546480001_4FGL_J2248.7-3235_daily_bin1184.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.49e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='1.85e-05', photon_flux_error='3.12e-08', dlogl='7.65e-01', energy_flux='7.43e-06', photon_flux2='3.01e-08', job_status='DONE', time_completed='2021-09-28 20:53:45.768246', photon_index_error2='0.47', photon_index2='2.05', ts='1.70', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='1.98e-05', EG='1.04', time_epoch_completed='1632887625.77', return_code='0', job_id='474719', GAL2='1.11', EG2='1.05', return_code2='0', energy_flux_error='7.18e-06', photon_flux_error2='2.52e-08', ts2='3.23', photon_index='2.76' WHERE bin_id='1184' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:53:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 474719: <4FGL_J2248.7-3235_daily_bin1184> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1184> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 20:41:13 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:41:15 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:15 2021
Terminated at Tue Sep 28 20:53:46 2021
Results reported at Tue Sep 28 20:53:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1184 342.193 -32.5926 546220801 546480001 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 :                                   705.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            753 sec.

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

