/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 2 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 = 7424
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2248.9+2106_daily_bin421
RA = 342.246, Dec = 21.1159
tmin = 348451201, tmax = 348710401
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='479039', job_status='RUN', time_executed='2021-09-28 20:55:33.956968', time_epoch_executed='1632887733.96' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='421'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/479039

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/479039/ft1_4FGL_J2248.9+2106_daily_bin421.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/479039/ft2_4FGL_J2248.9+2106_daily_bin421.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/479039/ft1_4FGL_J2248.9+2106_daily_bin421.fits outfile=/scratch/kocevski/479039/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin421.fits ra=342.246 dec=21.1159 rad=12.0 tmin=348451201.0 tmax=348710401.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.46
user 3.20
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/479039/ft1_filtered_4FGL_J2248.9+2106_daily_bin421.fits" evtable="EVENTS" scfile=/scratch/kocevski/479039/ft2_4FGL_J2248.9+2106_daily_bin421.fits sctable="SC_DATA" outfile=/scratch/kocevski/479039/ltcube_348451201_348710401_4FGL_J2248.9+2106_daily_bin421.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/479039/ft2_4FGL_J2248.9+2106_daily_bin421.fits
.....................!
real 11.88
user 11.52
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/479039/ft1_filtered_4FGL_J2248.9+2106_daily_bin421.fits evtable="EVENTS" scfile=/scratch/kocevski/479039/ft2_4FGL_J2248.9+2106_daily_bin421.fits sctable="SC_DATA" expcube=/scratch/kocevski/479039/ltcube_348451201_348710401_4FGL_J2248.9+2106_daily_bin421.fits outfile=/scratch/kocevski/479039/expmap_348451201_348710401_4FGL_J2248.9+2106_daily_bin421.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/479039/ltcube_348451201_348710401_4FGL_J2248.9+2106_daily_bin421.fits
.....................!
real 190.06
user 185.02
sys 4.72

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/479039/ft1_filtered_4FGL_J2248.9+2106_daily_bin421.fits scfile=/scratch/kocevski/479039/ft2_4FGL_J2248.9+2106_daily_bin421.fits outfile=/scratch/kocevski/479039/cmap_348451201_348710401_4FGL_J2248.9+2106_daily_bin421.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/479039/ft1_filtered_4FGL_J2248.9+2106_daily_bin421.fits scfile=/scratch/kocevski/479039/ft2_4FGL_J2248.9+2106_daily_bin421.fits outfile=/scratch/kocevski/479039/cmap_HighResolution_348451201_348710401_4FGL_J2248.9+2106_daily_bin421.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10274E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.844       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6895       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .82793       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .28791       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.931       1.0000         .10000E-03   10000.    
    10 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5563       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.809       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.5377       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.5165       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.555       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .37754E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10949E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .75053       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1030       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=   7451.212     FROM MIGRAD    STATUS=CONVERGED    598 CALLS     2976 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.702        .14766E-04** at limit **
   2  norm          .11186E-01    .41869       -.21094E-06   -.50821E-03
   3  Prefactor     20.849        15.297       -.35139E-06    .68779E-04
   4  norm          .10000E-03    1.5125       -.65619E-07** at limit **
   5  Prefactor     7.6910        12.304       -.90725E-07   -.49720E-04
   6  Prefactor     .10000E-03    25.943       -.17943E-04** at limit **
   7  Prefactor     .84451        8.1098       -.14657E-05   -.11410E-03
   8  Prefactor     .28792        .17173       -.35629E-08   -.57306E-03
   9  Prefactor     18.933        12.092        .22962E-07    .51925E-05
  10  norm          .10000E-03    .38315        .18663E-07** at limit **
  11  Prefactor     .10000E-03    18.171        .82882E-05** at limit **
  12  norm          1.5563        1.2926       -.83873E-07    .24684E-03
  13  Prefactor     11.809        16.827       -.19638E-06   -.31906E-05
  14  Prefactor     .10000E-03    8.1765       -.56983E-06** at limit **
  15  Prefactor     .10000E-03    6.5225        .12446E-06** at limit **
  16  Prefactor     .10000E-03    .42900E-01    .16352E-08** at limit **
  17  Prefactor     .10000E-03    12.576       -.54983E-05** at limit **
  18  Prefactor     9.5352        8.2686       -.25378E-06   -.15444E-03
  19  Prefactor     4.5175        9.0036       -.34368E-06   -.11806E-03
  20  Prefactor     .10000E-03    11.628        .14378E-05** at limit **
  21  Prefactor     14.558        18.300       -.40222E-06   -.18632E-04
  22  Prefactor     .10006E-03    2.3506        .98730E-06** at limit **
  23  Prefactor     .10019E-03    9.2229       -.12909E-05** at limit **
  24  Normalizat    .75049        .20367       -.10685E-06    .58310E-04
  25  Prefactor     1.1029        .11237        .13799E-06    .10663E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0111861
  Prefactor  = 20.8487
  norm       = 0.0001
  Prefactor  = 7.69099
  Prefactor  = 0.0001
  Prefactor  = 0.844508
  Prefactor  = 0.287923
  Prefactor  = 18.9328
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.55625
  Prefactor  = 11.8094
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.53524
  Prefactor  = 4.51746
  Prefactor  = 0.0001
  Prefactor  = 14.5578
  Prefactor  = 0.000100058
  Prefactor  = 0.000100188
  Normalizat = 0.750489
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.212     FROM HESSE     STATUS=OK           445 CALLS     3421 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11186E-01    .40433        .19038E-01   -1.5687    
   3  Prefactor     20.849        15.250        .87731E-04   -1.4794    
   4  norm          .10000E-03    1.5201        .10365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.6910        12.262        .14461E-03   -1.5153    
   6  Prefactor     .10000E-03    25.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .84451        28.124        .45509E-02   -1.5524    
   8  Prefactor     .28792        .16935        .25771E-04   -1.5601    
   9  Prefactor     18.933        12.087        .92054E-04   -1.4837    
  10  norm          .10000E-03    .63821        .10300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    18.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5563        1.3004        .86947E-04   -1.5458    
  13  Prefactor     11.809        16.776        .11658E-03   -1.5021    
  14  Prefactor     .10000E-03    8.2658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.5393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .70773E-01    .34141E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.5352        8.2257        .12976E-03   -1.5090    
  19  Prefactor     4.5175        8.9929        .18944E-03   -1.5283    
  20  Prefactor     .10000E-03    11.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     14.558        18.297        .10498E-03   -1.4945    
  22  Prefactor     .10006E-03    14.414        .25069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10019E-03    81.786        .50252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .75049        .22847        .34914E-03   -1.0193    
  25  Prefactor     1.1029        .12974        .16925E-03   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69519e-08
Minuit parameter uncertainties:
  1  1.41541e-05
  2  0.133903
  3  15.2525
  4  1.5049e-06
  5  12.2656
  6  6.43417e-06
  7  9.75141
  8  0.169348
  9  12.089
  10  3.20605e-06
  11  3.54024e-05
  12  1.30038
  13  16.7824
  14  1.21179e-05
  15  9.04293e-07
  16  3.22823e-07
  17  3.73755e-05
  18  8.22667
  19  8.99555
  20  6.40243e-06
  21  18.304
  22  0.00182486
  23  0.00786332
  24  0.228765
  25  0.129775
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.000e-04  1.212e-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:  1.103e+00  1.298e-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:  7.505e-01  2.288e-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.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/479039/likelihoodResults_348451201_348710401_4FGL_J2248.9+2106_daily_bin421.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) = 7451.21221944
delta logL = -0.000576649368668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7451.21164255
delta logL = 2.41788256972e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3294       1.0000          .0000       10.000    
     3 'Normalizat'    .75046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1029       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=   7451.212     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      210 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    195.22        .90712E-02** at limit **
   2  Index         2.3646        8.4643        .50000       -.38660E-04
   3  Normalizat    .75049        .23271E-01    .78862E-01    .32167E-04
   4  Prefactor     1.1029        .13508E-01    .37477E-01   -.18520E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.3646
  Normalizat = 0.750488
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.212     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      243 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    642.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3646        5.4447        .50000       -.55516    
   3  Normalizat    .75049        .44941E-01    .34914E-03   -1.0193    
   4  Prefactor     1.1029        .26148E-01    .16925E-03   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.68795e-07
Minuit parameter uncertainties:
  1  0.0014904
  2  36.172
  3  0.0449437
  4  0.0261487
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/479039': 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) = 7451.21164223
delta logL = 5.55341102881e-07

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.000e-04  1.490e-03  1.000e-04  1.000e+04 ( 1.000e-13)
308        Index:  2.365e+00  3.617e+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:  1.103e+00  2.615e-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:  7.505e-01  4.494e-02  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/479039/cmap_HighResolution_348451201_348710401_4FGL_J2248.9+2106_daily_bin421.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.72e-03', job_status='DONE', photon_flux_upper_limit='7.46e-08', time_completed='2021-09-28 21:08:17.610017', job_id='479039', GAL2='1.10', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1632888497.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='5.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='421' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:08:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 479039: <4FGL_J2248.9+2106_daily_bin421> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin421> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:55:21 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:55:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 20:55:23 2021
Terminated at Tue Sep 28 21:08:18 2021
Results reported at Tue Sep 28 21:08:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin421 342.246 21.1159 348451201 348710401 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 :                                   762.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             376.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            777 sec.

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

