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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1552
RA = 342.246, Dec = 21.1159
tmin = 641606401, tmax = 641865601
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='484963', job_status='RUN', time_executed='2021-09-28 21:15:35.850454', time_epoch_executed='1632888935.85' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1552'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484963

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484963/ft1_4FGL_J2248.9+2106_daily_bin1552.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484963/ft2_4FGL_J2248.9+2106_daily_bin1552.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484963/ft1_4FGL_J2248.9+2106_daily_bin1552.fits outfile=/scratch/kocevski/484963/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1552.fits ra=342.246 dec=21.1159 rad=12.0 tmin=641606401.0 tmax=641865601.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 2.56
user 2.38
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484963/ft1_filtered_4FGL_J2248.9+2106_daily_bin1552.fits" evtable="EVENTS" scfile=/scratch/kocevski/484963/ft2_4FGL_J2248.9+2106_daily_bin1552.fits sctable="SC_DATA" outfile=/scratch/kocevski/484963/ltcube_641606401_641865601_4FGL_J2248.9+2106_daily_bin1552.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/484963/ft2_4FGL_J2248.9+2106_daily_bin1552.fits
.....................!
real 12.36
user 12.03
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484963/ft1_filtered_4FGL_J2248.9+2106_daily_bin1552.fits evtable="EVENTS" scfile=/scratch/kocevski/484963/ft2_4FGL_J2248.9+2106_daily_bin1552.fits sctable="SC_DATA" expcube=/scratch/kocevski/484963/ltcube_641606401_641865601_4FGL_J2248.9+2106_daily_bin1552.fits outfile=/scratch/kocevski/484963/expmap_641606401_641865601_4FGL_J2248.9+2106_daily_bin1552.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/484963/ltcube_641606401_641865601_4FGL_J2248.9+2106_daily_bin1552.fits
.....................!
real 190.77
user 185.05
sys 5.37

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/484963/ft1_filtered_4FGL_J2248.9+2106_daily_bin1552.fits scfile=/scratch/kocevski/484963/ft2_4FGL_J2248.9+2106_daily_bin1552.fits outfile=/scratch/kocevski/484963/cmap_641606401_641865601_4FGL_J2248.9+2106_daily_bin1552.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484963/ft1_filtered_4FGL_J2248.9+2106_daily_bin1552.fits scfile=/scratch/kocevski/484963/ft2_4FGL_J2248.9+2106_daily_bin1552.fits outfile=/scratch/kocevski/484963/cmap_HighResolution_641606401_641865601_4FGL_J2248.9+2106_daily_bin1552.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .25433       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.764       1.0000         .10000E-03   10000.    
     4 'norm      '    3.7790       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.956       1.0000         .10000E-03   10000.    
     6 'Prefactor '    56.530       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .26484E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.472       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.7985       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.970       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.002       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .61228       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.0653       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.173       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.9100       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97988       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=   7106.664     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2952 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.743        .10977E-05** at limit **
   2  norm          .25432        .48023        .36537E-06    .42435E-02
   3  Prefactor     15.776        19.567       -.73682E-06   -.10700E-03
   4  norm          3.7797        3.2192        .66884E-07    .56015E-04
   5  Prefactor     14.955        18.240        .89308E-07    .13052E-03
   6  Prefactor     56.495        84.277        .74832E-05    .25785E-03
   7  Prefactor     .10010E-03    30.467        .11501E-04** at limit **
   8  Prefactor     .10000E-03    .92213E-01   -.57473E-07** at limit **
   9  Prefactor     15.472        11.208        .71568E-09    .71714E-04
  10  norm          .10000E-03    .29761       -.15065E-06** at limit **
  11  Prefactor     .10000E-03    6.4761        .11220E-07** at limit **
  12  norm          5.7987        2.5177        .96858E-08    .18532E-04
  13  Prefactor     10.961        30.693        .23424E-05    .14384E-03
  14  Prefactor     13.003        11.412        .63524E-07    .29121E-04
  15  Prefactor     .10000E-03    6.8583       -.48503E-06** at limit **
  16  Prefactor     .61232        .18062        .15820E-09    .22671E-02
  17  Prefactor     .10000E-03    8.0807       -.15271E-06** at limit **
  18  Prefactor     .10000E-03    13.879       -.51542E-06** at limit **
  19  Prefactor     9.0652        16.239       -.46420E-07    .33112E-04
  20  Prefactor     .10000E-03    7.1338        .28282E-06** at limit **
  21  Prefactor     11.172        18.343       -.59505E-07    .52047E-05
  22  Prefactor     .10000E-03    5.4923        .60641E-06** at limit **
  23  Prefactor     2.9230        52.460       -.30530E-05   -.12663E-03
  24  Normalizat    1.1116        .23403       -.15241E-06    .96912E-04
  25  Prefactor     .97997        .12035        .61259E-06    .55441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.254322
  Prefactor  = 15.7757
  norm       = 3.77973
  Prefactor  = 14.9553
  Prefactor  = 56.4948
  Prefactor  = 0.000100105
  Prefactor  = 0.0001
  Prefactor  = 15.472
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.79873
  Prefactor  = 10.9605
  Prefactor  = 13.0026
  Prefactor  = 0.0001
  Prefactor  = 0.612318
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.06516
  Prefactor  = 0.0001
  Prefactor  = 11.1721
  Prefactor  = 0.0001
  Prefactor  = 2.92301
  Normalizat = 1.11157
  Prefactor  = 0.979969
 **********
 **   18 **HESSE 
 **********

 FCN=   7106.664     FROM HESSE     STATUS=OK           433 CALLS     3385 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .25432        .50807        .20446E-03   -1.5607    
   3  Prefactor     15.776        19.512        .10088E-03   -1.4913    
   4  norm          3.7797        3.2131        .13544E-03   -1.5319    
   5  Prefactor     14.955        17.733        .10357E-03   -1.4934    
   6  Prefactor     56.495        87.121        .53354E-04   -1.4203    
   7  Prefactor     .10010E-03    36.913        .38603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .14024        .47726E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.472        11.157        .10182E-03   -1.4921    
  10  norm          .10000E-03    .30800        .90073E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.4801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.7987        2.5163        .83985E-04   -1.5226    
  13  Prefactor     10.961        30.894        .12096E-03   -1.5046    
  14  Prefactor     13.003        11.410        .11109E-03   -1.4987    
  15  Prefactor     .10000E-03    6.8764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .61232        .18050        .18026E-04   -1.5551    
  17  Prefactor     .10000E-03    8.1607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.363        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.0652        16.235        .13312E-03   -1.5106    
  20  Prefactor     .10000E-03    7.1384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.172        18.343        .11986E-03   -1.5039    
  22  Prefactor     .10000E-03    45.444        .33902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.9230        46.187        .23818E-03   -1.5366    
  24  Normalizat    1.1116        .27135        .33479E-03   -.89381    
  25  Prefactor     .97997        .14231        .19441E-03   -.93400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.46838e-09
Minuit parameter uncertainties:
  1  0.000219018
  2  0.508081
  3  19.5203
  4  3.2132
  5  17.7393
  6  87.3186
  7  0.00393306
  8  1.7446e-06
  9  11.1589
  10  7.16002e-06
  11  7.58558e-06
  12  2.51637
  13  30.9388
  14  11.4121
  15  6.32225e-05
  16  0.180498
  17  3.48263e-05
  18  0.000107351
  19  16.2426
  20  2.84827e-05
  21  18.3527
  22  0.000211174
  23  23.2592
  24  0.271686
  25  0.142367
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.300e+01  1.141e+01  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:  9.800e-01  1.424e-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.112e+00  2.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.27
Ra Dec: 342.246 21.116
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 4.54e-08 +/- 3.99e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 1.51e-05

TS (Fixed Index): 2.27
Ra Dec: 342.246 21.116
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/484963/likelihoodResults_641606401_641865601_4FGL_J2248.9+2106_daily_bin1552.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) = 7106.51482607
delta logL = 0.14965405655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7106.50533502
delta logL = 0.159145107502

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7106.505     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      272 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.566        15.960        .95565E-04   -.81042E-03
   2  Index         1.9181        .63079        .10178E-01   -.24743E-03
   3  Normalizat    1.1295        .25602        .33251E-03    .43064E-03
   4  Prefactor     .97395        .14084        .19493E-03    .83658E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.5658
  Index      = 1.91814
  Normalizat = 1.12946
  Prefactor  = 0.973953
 **********
 **   18 **HESSE 
 **********

 FCN=   7106.505     FROM HESSE     STATUS=OK            23 CALLS      295 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.566        15.762        .19113E-04   -1.4869    
   2  Index         1.9181        .62282        .40712E-03   -.66413    
   3  Normalizat    1.1295        .25608        .66502E-04   -.88812    
   4  Prefactor     .97395        .14091        .38986E-04   -.93603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6107e-09
Minuit parameter uncertainties:
  1  15.7655
  2  0.625451
  3  0.25636
  4  0.140965
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484963': 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) = 7106.5053349
delta logL = 0.159145228269

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.757e+01  1.577e+01  1.000e-04  1.000e+04 ( 1.000e-13)
308        Index:  1.918e+00  6.255e-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:  9.740e-01  1.410e-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.129e+00  2.564e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.61
Ra Dec: 342.246 21.116
Photon Index (Free Index): 1.92 +/- 0.63
Photon Flux (Free Index): 3.15e-08 +/- 3.69e-08
Energy Flux (Free Index): 2.69e-05 +/- 3.39e-05

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/484963/cmap_HighResolution_641606401_641865601_4FGL_J2248.9+2106_daily_bin1552.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', comment='SUCCESS', photon_flux='4.54e-08', energy_flux2='2.69e-05', photon_flux_error='3.99e-08', dlogl='1.59e-01', energy_flux='1.73e-05', photon_flux2='3.15e-08', job_status='DONE', time_completed='2021-09-28 21:28:01.500325', photon_index_error2='0.63', photon_index2='1.92', ts='2.27', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='3.39e-05', EG='1.11', time_epoch_completed='1632889681.5', return_code='0', job_id='484963', GAL2='0.97', EG2='1.13', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='3.69e-08', ts2='2.61', photon_index='2.30' WHERE bin_id='1552' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:28:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 484963: <4FGL_J2248.9+2106_daily_bin1552> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1552> 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) <bullet0279>, 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:28:02 2021
Results reported at Tue Sep 28 21:28:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1552 342.246 21.1159 641606401 641865601 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 :                                   742.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             329.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            761 sec.

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

