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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1627
RA = 342.193, Dec = -32.5926
tmin = 661046401, tmax = 661305601
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='251013', job_status='RUN', time_executed='2021-12-16 00:38:47.658863', time_epoch_executed='1639643927.66' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1627'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/251013

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/251013/ft1_4FGL_J2248.7-3235_daily_bin1627.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/251013/ft2_4FGL_J2248.7-3235_daily_bin1627.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/251013/ft1_4FGL_J2248.7-3235_daily_bin1627.fits outfile=/scratch/kocevski/251013/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1627.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=661046401.0 tmax=661305601.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.55
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/251013/ft1_filtered_4FGL_J2248.7-3235_daily_bin1627.fits" evtable="EVENTS" scfile=/scratch/kocevski/251013/ft2_4FGL_J2248.7-3235_daily_bin1627.fits sctable="SC_DATA" outfile=/scratch/kocevski/251013/ltcube_661046401_661305601_4FGL_J2248.7-3235_daily_bin1627.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/251013/ft2_4FGL_J2248.7-3235_daily_bin1627.fits
.....................!
real 12.27
user 11.91
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/251013/ft1_filtered_4FGL_J2248.7-3235_daily_bin1627.fits evtable="EVENTS" scfile=/scratch/kocevski/251013/ft2_4FGL_J2248.7-3235_daily_bin1627.fits sctable="SC_DATA" expcube=/scratch/kocevski/251013/ltcube_661046401_661305601_4FGL_J2248.7-3235_daily_bin1627.fits outfile=/scratch/kocevski/251013/expmap_661046401_661305601_4FGL_J2248.7-3235_daily_bin1627.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/251013/ltcube_661046401_661305601_4FGL_J2248.7-3235_daily_bin1627.fits
.....................!
real 190.44
user 185.37
sys 4.73

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/251013/ft1_filtered_4FGL_J2248.7-3235_daily_bin1627.fits scfile=/scratch/kocevski/251013/ft2_4FGL_J2248.7-3235_daily_bin1627.fits outfile=/scratch/kocevski/251013/cmap_661046401_661305601_4FGL_J2248.7-3235_daily_bin1627.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/251013/ft1_filtered_4FGL_J2248.7-3235_daily_bin1627.fits scfile=/scratch/kocevski/251013/ft2_4FGL_J2248.7-3235_daily_bin1627.fits outfile=/scratch/kocevski/251013/cmap_HighResolution_661046401_661305601_4FGL_J2248.7-3235_daily_bin1627.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.58
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/251013/ft1_filtered_4FGL_J2248.7-3235_daily_bin1627.fits evtable="EVENTS" scfile=/scratch/kocevski/251013/ft2_4FGL_J2248.7-3235_daily_bin1627.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/251013/Model_4FGL_J2248.7-3235_daily_bin1627.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/251013/ft1_filtered_4FGL_J2248.7-3235_daily_bin1627.fits.....................!
real 41.84
user 40.60
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34860       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4167       1.0000         .10000E-03   10000.    
     4 'norm      '    44.715       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10354E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2744       1.0000         .10000E-03   10000.    
     9 'norm      '    .41461       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11983E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.524       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.7885       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.245       1.0000         .10000E-03   10000.    
    16 'norm      '    .55062       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.0933       1.0000         .10000E-03   10000.    
    20 'norm      '    15.474       1.0000         .10000E-03   10000.    
    21 'Prefactor '    50.504       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10357E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.2360       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.4451       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .39597       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=   4953.952     FROM MIGRAD    STATUS=CONVERGED    594 CALLS     2935 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34856        .31922       -.13305E-07   -.72238E-03
   2  Prefactor     .10000E-03    20.080        .30679E-06** at limit **
   3  Prefactor     3.4188        7.1506        .48953E-05   -.26401E-03
   4  norm          44.701        32.301       -.51342E-07    .37785E-04
   5  Prefactor     .10000E-03    33.940       -.11999E-04** at limit **
   6  Prefactor     .10000E-03    32.327        .10527E-04** at limit **
   7  Prefactor     .10000E-03    12.431        .20076E-06** at limit **
   8  Prefactor     7.2714        22.469        .14420E-06   -.51812E-04
   9  norm          .41259        1.4454       -.48062E-06   -.91699E-03
  10  Prefactor     .10000E-03    201.27       -.49885E-05** at limit **
  11  Prefactor     25.528        14.724        .48894E-06   -.49444E-04
  12  Prefactor     .10000E-03    4.1378        .40163E-07** at limit **
  13  norm          3.7881        3.6489        .22049E-07   -.53236E-04
  14  Prefactor     .10000E-03    7.7983        .68728E-07** at limit **
  15  Prefactor     14.239        12.281        .85918E-07   -.65410E-05
  16  norm          .55064        .69959       -.15394E-07   -.44984E-03
  17  Prefactor     .10000E-03    17.864       -.55994E-06** at limit **
  18  Prefactor     .10000E-03    6.9208        .47693E-07** at limit **
  19  norm          3.0933        3.7033        .50735E-07    .14810E-04
  20  norm          15.476        9.2534       -.19523E-06   -.45376E-04
  21  Prefactor     50.503        41.040       -.36863E-06   -.42240E-05
  22  Prefactor     .10000E-03    68.094        .32718E-05** at limit **
  23  norm          3.2369        3.6367        .64634E-07   -.98201E-04
  24  Normalizat    1.4447        .20920       -.53725E-06   -.92568E-05
  25  Prefactor     .39633        .19525       -.54006E-06   -.89066E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.348561
  Prefactor  = 0.0001
  Prefactor  = 3.41876
  norm       = 44.7006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.27139
  norm       = 0.41259
  Prefactor  = 0.000100001
  Prefactor  = 25.5285
  Prefactor  = 0.0001
  norm       = 3.78807
  Prefactor  = 0.0001
  Prefactor  = 14.2388
  norm       = 0.550638
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.09334
  norm       = 15.4758
  Prefactor  = 50.5034
  Prefactor  = 0.0001
  norm       = 3.23685
  Normalizat = 1.44467
  Prefactor  = 0.39633
 **********
 **   18 **HESSE 
 **********

 FCN=   4953.952     FROM HESSE     STATUS=OK           437 CALLS     3372 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34856        .30585        .36740E-03   -1.5590    
   2  Prefactor     .10000E-03    20.178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.4188        6.9235        .21885E-03   -1.5338    
   4  norm          44.701        32.063        .59956E-04   -1.4370    
   5  Prefactor     .10000E-03    34.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    32.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.2714        22.505        .14872E-03   -1.5169    
   9  norm          .41259        1.5289        .15201E-02   -1.5580    
  10  Prefactor     .10000E-03    202.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.528        14.749        .79290E-04   -1.4697    
  12  Prefactor     .10000E-03    4.2082        .13979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.7881        3.6352        .12332E-03   -1.5319    
  14  Prefactor     .10000E-03    7.8057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.239        12.188        .10612E-03   -1.4953    
  16  norm          .55064        .65636        .52385E-03   -1.5560    
  17  Prefactor     .10000E-03    17.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.9458        .18055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.0933        3.6987        .14121E-03   -1.5356    
  20  norm          15.476        9.2724        .10182E-03   -1.4921    
  21  Prefactor     50.503        40.968        .56431E-04   -1.4285    
  22  Prefactor     .10000E-03    68.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.2369        3.6189        .12904E-03   -1.5348    
  24  Normalizat    1.4447        .24579        .20077E-03   -.79345    
  25  Prefactor     .39633        .22463        .34703E-03   -1.1700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.58549e-10
Minuit parameter uncertainties:
  1  0.305851
  2  1.61647e-05
  3  6.92511
  4  32.0755
  5  2.22398e-05
  6  0.000172661
  7  2.10313e-05
  8  22.5312
  9  1.52901
  10  0.000909127
  11  14.751
  12  4.16124e-06
  13  3.63539
  14  4.51358e-06
  15  12.1906
  16  0.656369
  17  1.34045e-06
  18  7.06059e-06
  19  3.69897
  20  9.27325
  21  40.9907
  22  5.35701e-05
  23  3.61918
  24  0.245992
  25  0.225134
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.553e+01  1.475e+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:  3.963e-01  2.251e-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.445e+00  2.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.47
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 9.05e-08 +/- 5.22e-08
Energy Flux (Fixed Index): 2.08e-05 +/- 1.20e-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) = 4953.49620727
delta logL = 0.455631798263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4953.43315567
delta logL = 0.518683397205

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.068       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2707       1.0000          .0000       10.000    
     3 'Normalizat'    1.4740       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .37150       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=   4953.433     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      214 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.068        21.415        .17971E-02   -.15628E-02
   2  Index         2.2709        .49628        .16092       -.13557E-04
   3  Normalizat    1.4739        .20358        .45041E-01   -.30356E-05
   4  Prefactor     .37161        .19507        .80655E-01    .36727E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.0682
  Index      = 2.2709
  Normalizat = 1.47389
  Prefactor  = 0.371609
 **********
 **   18 **HESSE 
 **********

 FCN=   4953.433     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.068        17.319        .71884E-04   -1.4593    
   2  Index         2.2709        .43827        .65107E-02   -.57737    
   3  Normalizat    1.4739        .23023        .19909E-03   -.78515    
   4  Prefactor     .37161        .21809        .35729E-03   -1.1828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38992e-09
Minuit parameter uncertainties:
  1  17.3216
  2  0.43907
  3  0.23039
  4  0.218573
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/251013': 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) = 4953.43315541
delta logL = 0.51868365066

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.107e+01  1.732e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.271e+00  4.391e-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:  3.716e-01  2.186e-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.474e+00  2.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.49
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.27 +/- 0.44
Photon Flux (Free Index): 7.32e-08 +/- 4.71e-08
Energy Flux (Free Index): 2.91e-05 +/- 2.00e-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/251013/cmap_HighResolution_661046401_661305601_4FGL_J2248.7-3235_daily_bin1627.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.05e-08', energy_flux2='2.91e-05', photon_flux_error='5.22e-08', dlogl='5.19e-01', energy_flux='2.08e-05', photon_flux2='7.32e-08', job_status='DONE', time_completed='2021-12-16 00:48:13.915137', photon_index_error2='0.44', photon_index2='2.27', ts='4.47', fit_tolerance='1e-08', GAL='0.40', photon_index_error='0.00', energy_flux_error2='2.00e-05', EG='1.44', time_epoch_completed='1639644493.92', return_code='0', job_id='251013', GAL2='0.37', EG2='1.47', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='4.71e-08', ts2='5.49', photon_index='2.76' WHERE bin_id='1627' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 16 00:48:13 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 251013: <4FGL_J2248.7-3235_daily_bin1627> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1627> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Thu Dec 16 00:35:48 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 16 00:35:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 16 00:35:50 2021
Terminated at Thu Dec 16 00:48:14 2021
Results reported at Thu Dec 16 00:48:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1627 342.193 -32.5926 661046401 661305601 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 :                                   568.32 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             308.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            746 sec.

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

