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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin753
RA = 342.246, Dec = 21.1159
tmin = 434505601, tmax = 434764801
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='480586', job_status='RUN', time_executed='2021-09-28 21:00:27.027022', time_epoch_executed='1632888027.03' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/480586

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/480586/ft1_4FGL_J2248.9+2106_daily_bin753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/480586/ft2_4FGL_J2248.9+2106_daily_bin753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/480586/ft1_4FGL_J2248.9+2106_daily_bin753.fits outfile=/scratch/kocevski/480586/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin753.fits ra=342.246 dec=21.1159 rad=12.0 tmin=434505601.0 tmax=434764801.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 6.05
user 5.76
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/480586/ft1_filtered_4FGL_J2248.9+2106_daily_bin753.fits" evtable="EVENTS" scfile=/scratch/kocevski/480586/ft2_4FGL_J2248.9+2106_daily_bin753.fits sctable="SC_DATA" outfile=/scratch/kocevski/480586/ltcube_434505601_434764801_4FGL_J2248.9+2106_daily_bin753.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/480586/ft2_4FGL_J2248.9+2106_daily_bin753.fits
.....................!
real 12.07
user 11.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/480586/ft1_filtered_4FGL_J2248.9+2106_daily_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/480586/ft2_4FGL_J2248.9+2106_daily_bin753.fits sctable="SC_DATA" expcube=/scratch/kocevski/480586/ltcube_434505601_434764801_4FGL_J2248.9+2106_daily_bin753.fits outfile=/scratch/kocevski/480586/expmap_434505601_434764801_4FGL_J2248.9+2106_daily_bin753.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/480586/ltcube_434505601_434764801_4FGL_J2248.9+2106_daily_bin753.fits
.....................!
real 191.91
user 186.87
sys 4.62

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/480586/ft1_filtered_4FGL_J2248.9+2106_daily_bin753.fits scfile=/scratch/kocevski/480586/ft2_4FGL_J2248.9+2106_daily_bin753.fits outfile=/scratch/kocevski/480586/cmap_434505601_434764801_4FGL_J2248.9+2106_daily_bin753.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/480586/ft1_filtered_4FGL_J2248.9+2106_daily_bin753.fits scfile=/scratch/kocevski/480586/ft2_4FGL_J2248.9+2106_daily_bin753.fits outfile=/scratch/kocevski/480586/cmap_HighResolution_434505601_434764801_4FGL_J2248.9+2106_daily_bin753.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/480586/ft1_filtered_4FGL_J2248.9+2106_daily_bin753.fits', '/scratch/kocevski/480586/ft2_4FGL_J2248.9+2106_daily_bin753.fits', expMap='/scratch/kocevski/480586/expmap_434505601_434764801_4FGL_J2248.9+2106_daily_bin753.fits', expCube='/scratch/kocevski/480586/ltcube_434505601_434764801_4FGL_J2248.9+2106_daily_bin753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/480586/Model_4FGL_J2248.9+2106_daily_bin753.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/480586/ft1_filtered_4FGL_J2248.9+2106_daily_bin753.fits
Spacecraft file(s): /scratch/kocevski/480586/ft2_4FGL_J2248.9+2106_daily_bin753.fits
Exposure map: /scratch/kocevski/480586/expmap_434505601_434764801_4FGL_J2248.9+2106_daily_bin753.fits
Exposure cube: /scratch/kocevski/480586/ltcube_434505601_434764801_4FGL_J2248.9+2106_daily_bin753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/480586/Model_4FGL_J2248.9+2106_daily_bin753.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) = 3732.12650732

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.606       1.0000         .10000E-03   10000.    
     2 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.256       1.0000         .10000E-03   10000.    
     4 'norm      '    10.708       1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.952       1.0000         .10000E-03   10000.    
     6 'Prefactor '    79.656       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7632       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9708       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .80818       1.0000         .10000E-03   10000.    
    10 'norm      '    .12086       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14105E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.8392       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19174E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12966E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13638E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11588E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    46.616       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.5522       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .22121E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.6206       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .60051       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=   3732.104     FROM MIGRAD    STATUS=CONVERGED    605 CALLS     2989 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.566        122.09        .27776E-05   -.51981E-05
   2  norm          .10000E-03    1.5714       -.66955E-07** at limit **
   3  Prefactor     24.268        30.298        .40286E-06   -.16281E-04
   4  norm          10.706        11.999        .34921E-06   -.58573E-05
   5  Prefactor     38.987        40.732        .35205E-06    .21038E-04
   6  Prefactor     79.252        165.30       -.42118E-05    .37852E-05
   7  Prefactor     2.7667        28.193       -.34675E-06    .11206E-05
   8  Prefactor     1.9702        .64539        .82312E-07   -.30932E-03
   9  Prefactor     .81613        33.197        .50159E-05   -.25502E-04
  10  norm          .12451        5.3885        .37575E-05    .99618E-04
  11  Prefactor     .10000E-03    42.287       -.87901E-07** at limit **
  12  norm          .10000E-03    .81929        .14477E-08** at limit **
  13  Prefactor     .10000E-03    32.991        .19854E-07** at limit **
  14  Prefactor     .10000E-03    8.5872       -.64951E-08** at limit **
  15  Prefactor     .10000E-03    21.381       -.93694E-07** at limit **
  16  Prefactor     3.8388        .55696        .16633E-07   -.43288E-04
  17  Prefactor     .10000E-03    48.079        .97211E-05** at limit **
  18  Prefactor     .10000E-03    38.779       -.25823E-05** at limit **
  19  Prefactor     .10020E-03    40.777        .66500E-05** at limit **
  20  Prefactor     .10000E-03    19.218       -.32630E-06** at limit **
  21  Prefactor     46.705        41.817        .47327E-06   -.18162E-04
  22  Prefactor     8.5506        9.8996       -.52135E-06    .37202E-04
  23  Prefactor     .10000E-03    43.324       -.11211E-06** at limit **
  24  Normalizat    1.6209        .38204       -.13189E-05   -.16800E-03
  25  Prefactor     .60032        .18563       -.14796E-05   -.19534E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.5663
  norm       = 0.0001
  Prefactor  = 24.2682
  norm       = 10.7056
  Prefactor  = 38.9868
  Prefactor  = 79.2518
  Prefactor  = 2.76667
  Prefactor  = 1.97022
  Prefactor  = 0.816132
  norm       = 0.12451
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.83879
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100204
  Prefactor  = 0.0001
  Prefactor  = 46.7047
  Prefactor  = 8.5506
  Prefactor  = 0.000100001
  Normalizat = 1.62093
  Prefactor  = 0.60032
 **********
 **   18 **HESSE 
 **********

 FCN=   3732.104     FROM HESSE     STATUS=OK           433 CALLS     3422 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.566        122.58        .51122E-04   -1.4137    
   2  norm          .10000E-03    1.6176        .14913E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.268        30.293        .81333E-04   -1.4722    
   4  norm          10.706        11.992        .12244E-03   -1.5053    
   5  Prefactor     38.987        41.084        .64221E-04   -1.4458    
   6  Prefactor     79.252        165.18        .22499E-03   -1.3925    
   7  Prefactor     2.7667        28.205        .24486E-03   -1.5375    
   8  Prefactor     1.9702        .65805        .24702E-04   -1.5427    
   9  Prefactor     .81613        155.10        .56261E-02   -1.5527    
  10  norm          .12451        7.5408        .13922E-02   -1.5637    
  11  Prefactor     .10000E-03    42.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .81940        .54003E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    32.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.5944        .17484E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    21.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.8388        .56014        .16332E-04   -1.5316    
  17  Prefactor     .10000E-03    121.93        .56574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    38.617        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10020E-03    307.54        .62400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    19.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     46.705        41.844        .58726E-04   -1.4340    
  22  Prefactor     8.5506        9.8475        .68537E-03   -1.5123    
  23  Prefactor     .10000E-03    43.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.6209        .45873        .34646E-03   -.74435    
  25  Prefactor     .60032        .22308        .26457E-03   -1.0757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14242e-08
Minuit parameter uncertainties:
  1  123.092
  2  9.16258e-06
  3  30.3125
  4  11.9946
  5  41.1135
  6  166.146
  7  17.6777
  8  0.658056
  9  22.5597
  10  1.93743
  11  0.000112834
  12  6.50268e-07
  13  2.32506e-05
  14  1.33792e-05
  15  1.65869e-05
  16  0.560145
  17  0.000345061
  18  0.000489243
  19  0.0159126
  20  4.33067e-05
  21  41.8703
  22  9.84937
  23  0.000318246
  24  0.459931
  25  0.223407
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.000e-04  1.338e-05  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.003e-01  2.234e-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.621e+00  4.599e-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: 1.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/480586/likelihoodResults_434505601_434764801_4FGL_J2248.9+2106_daily_bin753.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): 102
logL (Free Index) = 3732.10464704
delta logL = -0.000540466276107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3732.10410656
delta logL = 1.33459252538e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2881       1.0000          .0000       10.000    
     3 'Normalizat'    1.6209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60034       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=   3732.104     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      211 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1604.1        .90712E-02** at limit **
   2  Index         2.2778        5.8737        .50000        .99882E-05
   3  Normalizat    1.6209        .20147        .78295E-01    .53296E-05
   4  Prefactor     .60032        .99337E-01    .59805E-01    .16954E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.27783
  Normalizat = 1.62093
  Prefactor  = 0.60032
 **********
 **   18 **HESSE 
 **********

 FCN=   3732.104     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.278        .17558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2778        5.5798        .50000       -.57571    
   3  Normalizat    1.6209        .43216        .34646E-03   -.74435    
   4  Prefactor     .60032        .21365        .26456E-03   -1.0757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81403e-10
Minuit parameter uncertainties:
  1  5.19896e-07
  2  7.03336
  3  0.433162
  4  0.213935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/480586': 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) = 3732.10410652
delta logL = 4.89426383865e-08

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.000e-04  5.199e-07  1.000e-04  1.000e+04 ( 1.000e-13)
308        Index:  2.278e+00  7.033e+00  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.003e-01  2.139e-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.621e+00  4.332e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/480586/cmap_HighResolution_434505601_434764801_4FGL_J2248.9+2106_daily_bin753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', job_status='DONE', photon_flux_upper_limit='1.41e-07', time_completed='2021-09-28 21:09:39.333688', job_id='480586', GAL2='0.60', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1632888579.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.60', dlogl='4.89e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='753' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:09:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 480586: <4FGL_J2248.9+2106_daily_bin753> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 21:00:13 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 21:00: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 21:00:15 2021
Terminated at Tue Sep 28 21:09:40 2021
Results reported at Tue Sep 28 21:09:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin753 342.246 21.1159 434505601 434764801 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 :                                   549.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   564 sec.
    Turnaround time :                            567 sec.

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

