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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1549
RA = 342.246, Dec = 21.1159
tmin = 640828801, tmax = 641088001
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='484959', job_status='RUN', time_executed='2021-09-28 21:17:29.533688', time_epoch_executed='1632889049.53' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1549'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484959

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484959/ft1_4FGL_J2248.9+2106_daily_bin1549.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484959/ft2_4FGL_J2248.9+2106_daily_bin1549.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484959/ft1_4FGL_J2248.9+2106_daily_bin1549.fits outfile=/scratch/kocevski/484959/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1549.fits ra=342.246 dec=21.1159 rad=12.0 tmin=640828801.0 tmax=641088001.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.11
user 2.93
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/484959/ft2_4FGL_J2248.9+2106_daily_bin1549.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/484959/ft2_4FGL_J2248.9+2106_daily_bin1549.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/484959/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1549.fits evtable="EVENTS" outfile="/scratch/kocevski/484959/ft1_filtered_4FGL_J2248.9+2106_daily_bin1549.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484959/ft1_filtered_4FGL_J2248.9+2106_daily_bin1549.fits" evtable="EVENTS" scfile=/scratch/kocevski/484959/ft2_4FGL_J2248.9+2106_daily_bin1549.fits sctable="SC_DATA" outfile=/scratch/kocevski/484959/ltcube_640828801_641088001_4FGL_J2248.9+2106_daily_bin1549.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/484959/ft2_4FGL_J2248.9+2106_daily_bin1549.fits
.....................!
real 12.62
user 12.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484959/ft1_filtered_4FGL_J2248.9+2106_daily_bin1549.fits evtable="EVENTS" scfile=/scratch/kocevski/484959/ft2_4FGL_J2248.9+2106_daily_bin1549.fits sctable="SC_DATA" expcube=/scratch/kocevski/484959/ltcube_640828801_641088001_4FGL_J2248.9+2106_daily_bin1549.fits outfile=/scratch/kocevski/484959/expmap_640828801_641088001_4FGL_J2248.9+2106_daily_bin1549.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/484959/ltcube_640828801_641088001_4FGL_J2248.9+2106_daily_bin1549.fits
.....................!
real 189.99
user 185.44
sys 4.21

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J2248.9+2106 @ 342.246 21.1159

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/484959/ft1_filtered_4FGL_J2248.9+2106_daily_bin1549.fits scfile=/scratch/kocevski/484959/ft2_4FGL_J2248.9+2106_daily_bin1549.fits outfile=/scratch/kocevski/484959/cmap_640828801_641088001_4FGL_J2248.9+2106_daily_bin1549.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.246 yref=21.1159 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484959/ft1_filtered_4FGL_J2248.9+2106_daily_bin1549.fits scfile=/scratch/kocevski/484959/ft2_4FGL_J2248.9+2106_daily_bin1549.fits outfile=/scratch/kocevski/484959/cmap_HighResolution_640828801_641088001_4FGL_J2248.9+2106_daily_bin1549.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.246 yref=21.1159 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/484959/ft1_filtered_4FGL_J2248.9+2106_daily_bin1549.fits evtable="EVENTS" scfile=/scratch/kocevski/484959/ft2_4FGL_J2248.9+2106_daily_bin1549.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/484959/Model_4FGL_J2248.9+2106_daily_bin1549.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/484959/ft1_filtered_4FGL_J2248.9+2106_daily_bin1549.fits.....................!
real 85.46
user 84.08
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/484959/ft1_filtered_4FGL_J2248.9+2106_daily_bin1549.fits', '/scratch/kocevski/484959/ft2_4FGL_J2248.9+2106_daily_bin1549.fits', expMap='/scratch/kocevski/484959/expmap_640828801_641088001_4FGL_J2248.9+2106_daily_bin1549.fits', expCube='/scratch/kocevski/484959/ltcube_640828801_641088001_4FGL_J2248.9+2106_daily_bin1549.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/484959/Model_4FGL_J2248.9+2106_daily_bin1549.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2248.9+2106'

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.757e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
308        Index:  2.298e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
309        Scale:  1.432e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/484959/ft1_filtered_4FGL_J2248.9+2106_daily_bin1549.fits
Spacecraft file(s): /scratch/kocevski/484959/ft2_4FGL_J2248.9+2106_daily_bin1549.fits
Exposure map: /scratch/kocevski/484959/expmap_640828801_641088001_4FGL_J2248.9+2106_daily_bin1549.fits
Exposure cube: /scratch/kocevski/484959/ltcube_640828801_641088001_4FGL_J2248.9+2106_daily_bin1549.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/484959/Model_4FGL_J2248.9+2106_daily_bin1549.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) = 8169.21824673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.321       1.0000         .10000E-03   10000.    
     4 'norm      '    4.5533       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.143       1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.018       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.163       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .42407       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10901E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.270       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4742       1.0000         .10000E-03   10000.    
    13 'Prefactor '    54.718       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .30648       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.7389       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .13556E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.144       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.6648       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.4478       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .64954       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8169.213     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2900 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.838       -.93116E-07** at limit **
   2  norm          .10000E-03    .20155        .17008E-08** at limit **
   3  Prefactor     19.325        15.716       -.13385E-06   -.49861E-04
   4  norm          4.5539        4.8237        .13855E-05   -.54244E-04
   5  Prefactor     17.145        13.292       -.44419E-08    .12163E-06
   6  Prefactor     26.992        55.785        .42105E-05   -.66481E-04
   7  Prefactor     13.167        10.691       -.72675E-07   -.40857E-04
   8  Prefactor     .42409        .18749        .81080E-08    .22328E-04
   9  Prefactor     .10000E-03    2.9477       -.61419E-08** at limit **
  10  norm          .10000E-03    .58193        .57120E-06** at limit **
  11  Prefactor     12.293        22.076       -.31298E-05   -.20657E-03
  12  norm          1.4743        1.2090        .40446E-08   -.84077E-05
  13  Prefactor     54.720        30.164       -.12941E-06    .57357E-05
  14  Prefactor     .10000E-03    6.0026       -.90491E-07** at limit **
  15  Prefactor     .10000E-03    7.1474        .13392E-06** at limit **
  16  Prefactor     .30649        .12571        .61733E-08   -.56643E-04
  17  Prefactor     .10000E-03    8.8044       -.34691E-06** at limit **
  18  Prefactor     .10000E-03    4.3660       -.42121E-07** at limit **
  19  Prefactor     6.7386        13.033        .41904E-07    .29940E-05
  20  Prefactor     .10000E-03    51.205       -.62017E-06** at limit **
  21  Prefactor     15.137        17.568        .16760E-06   -.43603E-05
  22  Prefactor     5.6659        6.5669        .11371E-06   -.99397E-05
  23  Prefactor     .10000E-03    10.710        .25086E-06** at limit **
  24  Normalizat    1.4475        .20640       -.60404E-06   -.22516E-03
  25  Prefactor     .64966        .10362        .13344E-06   -.28897E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.3252
  norm       = 4.55386
  Prefactor  = 17.1446
  Prefactor  = 26.9919
  Prefactor  = 13.1666
  Prefactor  = 0.424086
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 12.2929
  norm       = 1.47425
  Prefactor  = 54.7199
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.306487
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.73861
  Prefactor  = 0.0001
  Prefactor  = 15.1365
  Prefactor  = 5.66586
  Prefactor  = 0.0001
  Normalizat = 1.44753
  Prefactor  = 0.649656
 **********
 **   18 **HESSE 
 **********

 FCN=   8169.213     FROM HESSE     STATUS=OK           427 CALLS     3327 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .20161        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.325        15.716        .91120E-04   -1.4828    
   4  norm          4.5539        4.8243        .94327E-03   -1.5281    
   5  Prefactor     17.145        13.269        .96732E-04   -1.4880    
   6  Prefactor     26.992        54.612        .77072E-04   -1.4668    
   7  Prefactor     13.167        10.729        .11040E-03   -1.4982    
   8  Prefactor     .42409        .18468        .24216E-04   -1.5578    
   9  Prefactor     .10000E-03    2.9494        .15154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.2110        .11885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.293        22.006        .11436E-03   -1.5007    
  12  norm          1.4743        1.2184        .87514E-04   -1.5465    
  13  Prefactor     54.720        30.162        .54226E-04   -1.4227    
  14  Prefactor     .10000E-03    6.0350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.1560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .30649        .12516        .19270E-04   -1.5597    
  17  Prefactor     .10000E-03    8.8809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.4186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.7386        13.026        .15457E-03   -1.5189    
  20  Prefactor     .10000E-03    52.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     15.137        17.569        .10292E-03   -1.4930    
  22  Prefactor     5.6659        6.5824        .16877E-03   -1.5232    
  23  Prefactor     .10000E-03    10.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.4475        .24460        .28231E-03   -.79264    
  25  Prefactor     .64966        .12253        .21059E-03   -1.0553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.06796e-10
Minuit parameter uncertainties:
  1  9.84493e-07
  2  1.73315e-08
  3  15.719
  4  4.82468
  5  13.2714
  6  54.7129
  7  10.7304
  8  0.18468
  9  2.78329e-07
  10  9.08848e-05
  11  22.021
  12  1.21844
  13  30.1701
  14  1.51351e-06
  15  3.56439e-06
  16  0.125156
  17  4.91528e-06
  18  1.30693e-06
  19  13.0314
  20  8.84621e-06
  21  17.5751
  22  6.58328
  23  9.80049e-06
  24  0.244801
  25  0.122578
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.000e-04  1.514e-06  1.000e-04  1.000e+04 ( 1.000e-13)
308        Index:  2.298e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
309        Scale:  1.432e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  6.497e-01  1.226e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.448e+00  2.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.246 21.116
Photon Flux Upper Limit: 7.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/484959/likelihoodResults_640828801_641088001_4FGL_J2248.9+2106_daily_bin1549.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) = 8169.21352986
delta logL = -0.000789598443589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8169.21274034
delta logL = -8.17444743006e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3022       1.0000          .0000       10.000    
     3 'Normalizat'    1.4475       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64969       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8169.213     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    174.56        .90712E-02** at limit **
   2  Index         2.3064        7.0878        .50000       -.61412E-05
   3  Normalizat    1.4475        .27992E-01    .63827E-01    .66440E-04
   4  Prefactor     .64966        .14679E-01    .41728E-01    .85358E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.30638
  Normalizat = 1.44753
  Prefactor  = 0.649656
 **********
 **   18 **HESSE 
 **********

 FCN=   8169.213     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      239 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1167.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3064        5.6720        .50000       -.56892    
   3  Normalizat    1.4475        .11384        .28231E-03   -.79264    
   4  Prefactor     .64966        .59670E-01    .21059E-03   -1.0553    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.53897e-09
Minuit parameter uncertainties:
  1  5.95538e-06
  2  59.8125
  3  0.113857
  4  0.0596755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484959': 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): 102
logL (Free Index) = 8169.21274025
delta logL = 1.19171090773e-08

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.000e-04  5.955e-06  1.000e-04  1.000e+04 ( 1.000e-13)
308        Index:  2.306e+00  5.981e+01  0.000e+00  1.000e+01 (-1.000e+00)
309        Scale:  1.432e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  6.497e-01  5.968e-02  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.448e+00  1.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.246 21.116

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/484959/cmap_HighResolution_640828801_641088001_4FGL_J2248.9+2106_daily_bin1549.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.51e-03', job_status='DONE', photon_flux_upper_limit='7.19e-08', time_completed='2021-09-28 21:30:45.781536', job_id='484959', GAL2='0.65', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1632889845.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.19e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1549' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:30:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 484959: <4FGL_J2248.9+2106_daily_bin1549> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1549> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 21:15:21 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 21:15:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 21:15:22 2021
Terminated at Tue Sep 28 21:30:46 2021
Results reported at Tue Sep 28 21:30:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1549 342.246 21.1159 640828801 641088001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2248.9+2106 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   791.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            925 sec.

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

