aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 29 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1729
RA = 342.246, Dec = 21.1159
tmin = 687484801, tmax = 687744001
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='378752', job_status='RUN', time_executed='2022-10-18 00:36:07.863821', time_epoch_executed='1666078567.86' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378752

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378752/ft1_4FGL_J2248.9+2106_daily_bin1729.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378752/ft2_4FGL_J2248.9+2106_daily_bin1729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378752/ft1_4FGL_J2248.9+2106_daily_bin1729.fits outfile=/scratch/kocevski/378752/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1729.fits ra=342.246 dec=21.1159 rad=12.0 tmin=687484801.0 tmax=687744001.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.62
user 3.41
sys 0.19

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

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

Number of photons that the gtmktime cut: 660

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378752/ft1_filtered_4FGL_J2248.9+2106_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378752/ft2_4FGL_J2248.9+2106_daily_bin1729.fits sctable="SC_DATA" expcube=/scratch/kocevski/378752/ltcube_687484801_687744001_4FGL_J2248.9+2106_daily_bin1729.fits outfile=/scratch/kocevski/378752/expmap_687484801_687744001_4FGL_J2248.9+2106_daily_bin1729.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/378752/ltcube_687484801_687744001_4FGL_J2248.9+2106_daily_bin1729.fits
.....................!
real 189.82
user 185.44
sys 4.03

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/378752/ft1_filtered_4FGL_J2248.9+2106_daily_bin1729.fits scfile=/scratch/kocevski/378752/ft2_4FGL_J2248.9+2106_daily_bin1729.fits outfile=/scratch/kocevski/378752/cmap_687484801_687744001_4FGL_J2248.9+2106_daily_bin1729.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/378752/ft1_filtered_4FGL_J2248.9+2106_daily_bin1729.fits scfile=/scratch/kocevski/378752/ft2_4FGL_J2248.9+2106_daily_bin1729.fits outfile=/scratch/kocevski/378752/cmap_HighResolution_687484801_687744001_4FGL_J2248.9+2106_daily_bin1729.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/378752/ft1_filtered_4FGL_J2248.9+2106_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378752/ft2_4FGL_J2248.9+2106_daily_bin1729.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378752/Model_4FGL_J2248.9+2106_daily_bin1729.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/378752/ft1_filtered_4FGL_J2248.9+2106_daily_bin1729.fits....................!
real 75.08
user 73.71
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/378752/ft1_filtered_4FGL_J2248.9+2106_daily_bin1729.fits', '/scratch/kocevski/378752/ft2_4FGL_J2248.9+2106_daily_bin1729.fits', expMap='/scratch/kocevski/378752/expmap_687484801_687744001_4FGL_J2248.9+2106_daily_bin1729.fits', expCube='/scratch/kocevski/378752/ltcube_687484801_687744001_4FGL_J2248.9+2106_daily_bin1729.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/378752/Model_4FGL_J2248.9+2106_daily_bin1729.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  0.000e+00  1.000e+06 ( 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/378752/ft1_filtered_4FGL_J2248.9+2106_daily_bin1729.fits
Spacecraft file(s): /scratch/kocevski/378752/ft2_4FGL_J2248.9+2106_daily_bin1729.fits
Exposure map: /scratch/kocevski/378752/expmap_687484801_687744001_4FGL_J2248.9+2106_daily_bin1729.fits
Exposure cube: /scratch/kocevski/378752/ltcube_687484801_687744001_4FGL_J2248.9+2106_daily_bin1729.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/378752/Model_4FGL_J2248.9+2106_daily_bin1729.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) = 6482.18187353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33649E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .81601E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    51.745       1.0000          .0000       .10000E+07
     4 'norm      '    5.3605       1.0000          .0000       .10000E+07
     5 'Prefactor '    .64128E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0744       1.0000          .0000       .10000E+07
     7 'Prefactor '    .84960       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .51478E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    3.9572       1.0000          .0000       .10000E+07
    10 'norm      '    3.3858       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10445E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48290E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6100       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .66591E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    12.501       1.0000          .0000       .10000E+07
    16 'Prefactor '    64.021       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.758       1.0000          .0000       .10000E+07
    18 'Prefactor '    .29755E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .64023       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1273       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6481.723     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1588 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18874E-08    27.128       -.43670E-06** at limit **
   2  norm           .0000        .39673       -.90382E-07** at limit **
   3  Prefactor     52.475        8.8338        .15170E-06    .33305E-01
   4  norm          5.4210        5.6676        .21393E-06   -.43221E-03
   5  Prefactor      .0000        24.722        .22340E-05** at limit **
   6  Prefactor     1.1364        48.027        .23503E-05   -.66103E-03
   7  Prefactor     .84906        .29176        .38880E-06    .55422E-03
   8  Prefactor     .70521        53.293        .30299E-04    .43587E-05
   9  norm          3.9714        1.8727        .60475E-07   -.12331E-04
  10  norm          3.3925        2.2644       -.21073E-06   -.50632E-03
  11  Prefactor     .12990E-07    185.49       -.84404E-05** at limit **
  12  Prefactor     .27756E-08    32.800        .82200E-08** at limit **
  13  Prefactor     6.6137        .52210       -.25542E-06   -.47525E-03
  14  Prefactor     .55511E-10    18.634        .16492E-05** at limit **
  15  Prefactor     12.277        34.652        .36043E-06   -.40039E-02
  16  Prefactor     71.096        55.596        .74781E-06   -.33362E-02
  17  Prefactor     16.010        11.173        .12821E-05    .11674E-02
  18  Prefactor     .11102E-09    12.303        .72757E-06** at limit **
  19  Normalizat    .63397        .37423       -.37495E-04   -.38894E-04
  20  Prefactor     1.1260        .19165        .68374E-05   -.89058E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88738e-09
  norm       = 0
  Prefactor  = 52.4751
  norm       = 5.42105
  Prefactor  = 0
  Prefactor  = 1.1364
  Prefactor  = 0.849064
  Prefactor  = 0.705214
  norm       = 3.97135
  norm       = 3.39254
  Prefactor  = 1.29896e-08
  Prefactor  = 2.77556e-09
  Prefactor  = 6.61365
  Prefactor  = 5.55112e-11
  Prefactor  = 12.2765
  Prefactor  = 71.0959
  Prefactor  = 16.0105
  Prefactor  = 1.11022e-10
  Normalizat = 0.633968
  Prefactor  = 1.12598
 **********
 **   18 **HESSE 
 **********

 FCN=   6481.723     FROM HESSE     STATUS=OK           343 CALLS     1931 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18874E-08    27.244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .39584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     52.475        28.751        .13903E-03   -1.5563    
   4  norm          5.4210        5.6878        .43382E-03   -1.5661    
   5  Prefactor      .0000        8.8822        .83013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.1364        10.240        .11675E-01   -1.5687    
   7  Prefactor     .84906        .29454        .54395E-02   -1.5524    
   8  Prefactor     .70521        51.559        .92773E-02   -1.5540    
   9  norm          3.9714        1.8766        .50683E-03   -1.5668    
  10  norm          3.3925        2.2686        .54963E-03   -1.5671    
  11  Prefactor     .12990E-07    184.25        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .27756E-08    32.895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.6137        .52166        .34974E-02   -1.5194    
  14  Prefactor     .55511E-10    18.742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.277        35.620        .28306E-03   -1.5638    
  16  Prefactor     71.096        55.867        .12499E-03   -1.5539    
  17  Prefactor     16.010        11.229        .25204E-03   -1.5628    
  18  Prefactor     .11102E-09    12.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .63397        .36419        .12068       -1.0656    
  20  Prefactor     1.1260        .18034        .36631E-01   -.88641    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9392e-08
Minuit parameter uncertainties:
  1  0.000453225
  2  2.62171e-07
  3  28.7515
  4  5.68782
  5  3.86544e-06
  6  6.82245
  7  0.294536
  8  12.0698
  9  1.87664
  10  2.26863
  11  0.00309216
  12  0.00060505
  13  0.521662
  14  6.38709e-05
  15  35.621
  16  55.8672
  17  11.2289
  18  7.0859e-05
  19  0.365585
  20  0.180441
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  2.776e-09  6.050e-04  0.000e+00  1.000e+06 ( 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.126e+00  1.804e-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:  6.340e-01  3.656e-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.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.00e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378752/likelihoodResults_687484801_687744001_4FGL_J2248.9+2106_daily_bin1729.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) = 6481.73885271
delta logL = -0.016147645104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6481.39408542
delta logL = 0.328619643088

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47464       1.0000          .0000       .10000E+07
     2 'Index     '    3.9755       1.0000          .0000       10.000    
     3 'Normalizat'    .56094       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1488       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=   6481.394     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      240 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47674        10.942        .81303E-03    .27068E-01
   2  Index         3.9733        2.4016        .15644        .21939E-03
   3  Normalizat    .56091        .56759E-01    .12768        .90568E-04
   4  Prefactor     1.1489        .31021E-01    .35970E-01   -.40611E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.476739
  Index      = 3.97333
  Normalizat = 0.560906
  Prefactor  = 1.1489
 **********
 **   18 **HESSE 
 **********

 FCN=   6481.394     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47674        42.537        .71687E-05   -1.5694    
   2  Index         3.9733        6.9083        .55586E-02   -.20681    
   3  Normalizat    .56091        .29751        .56649E-03   -1.0967    
   4  Prefactor     1.1489        .16220        .22152E-03   -.87919    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.55865e-09
Minuit parameter uncertainties:
  1  9.00649
  2  7.90285
  3  0.298357
  4  0.162267
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378752': 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) = 6481.39408447
delta logL = 0.328620594285

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  4.767e-01  9.006e+00  0.000e+00  1.000e+06 ( 1.000e-13)
308        Index:  3.973e+00  7.903e+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:  1.149e+00  1.623e-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:  5.609e-01  2.984e-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/378752/cmap_HighResolution_687484801_687744001_4FGL_J2248.9+2106_daily_bin1729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2022-10-18 00:45:40.137613', job_id='378752', GAL2='1.15', fit_tolerance='1e-08', EG2='0.56', EG='0.63', time_epoch_completed='1666079140.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='3.29e-01', ts2='0.72', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1729' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:45:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 378752: <4FGL_J2248.9+2106_daily_bin1729> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1729> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Oct 18 00:35:30 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:35:31 2022
Terminated at Tue Oct 18 00:45:41 2022
Results reported at Tue Oct 18 00:45:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1729 342.246 21.1159 687484801 687744001 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 :                                   574.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             395.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            611 sec.

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

