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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1770
RA = 342.246, Dec = 21.1159
tmin = 698112001, tmax = 698371201
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='503128', job_status='RUN', time_executed='2023-02-18 02:00:59.284724', time_epoch_executed='1676714459.28' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/503128

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/503128/ft1_4FGL_J2248.9+2106_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/503128/ft2_4FGL_J2248.9+2106_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/503128/ft1_4FGL_J2248.9+2106_daily_bin1770.fits outfile=/scratch/kocevski/503128/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1770.fits ra=342.246 dec=21.1159 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.33
user 4.10
sys 0.21

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

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

Number of photons that the gtmktime cut: 901

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/503128/ft1_filtered_4FGL_J2248.9+2106_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/503128/ft2_4FGL_J2248.9+2106_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/503128/ltcube_698112001_698371201_4FGL_J2248.9+2106_daily_bin1770.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/503128/ft2_4FGL_J2248.9+2106_daily_bin1770.fits
.....................!
real 11.92
user 11.60
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/503128/ft1_filtered_4FGL_J2248.9+2106_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/503128/ft2_4FGL_J2248.9+2106_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/503128/ltcube_698112001_698371201_4FGL_J2248.9+2106_daily_bin1770.fits outfile=/scratch/kocevski/503128/expmap_698112001_698371201_4FGL_J2248.9+2106_daily_bin1770.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/503128/ltcube_698112001_698371201_4FGL_J2248.9+2106_daily_bin1770.fits
.....................!
real 188.28
user 184.20
sys 3.73

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/503128/ft1_filtered_4FGL_J2248.9+2106_daily_bin1770.fits scfile=/scratch/kocevski/503128/ft2_4FGL_J2248.9+2106_daily_bin1770.fits outfile=/scratch/kocevski/503128/cmap_698112001_698371201_4FGL_J2248.9+2106_daily_bin1770.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/503128/ft1_filtered_4FGL_J2248.9+2106_daily_bin1770.fits scfile=/scratch/kocevski/503128/ft2_4FGL_J2248.9+2106_daily_bin1770.fits outfile=/scratch/kocevski/503128/cmap_HighResolution_698112001_698371201_4FGL_J2248.9+2106_daily_bin1770.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.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76855E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .42691       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5306       1.0000          .0000       .10000E+07
     4 'norm      '    13.794       1.0000          .0000       .10000E+07
     5 'Prefactor '    .83264E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.6357       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.3045       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0724       1.0000         .10000E-03   10000.    
     9 'norm      '    1.2673       1.0000          .0000       .10000E+07
    10 'norm      '    1.7327       1.0000          .0000       .10000E+07
    11 'Prefactor '    33.539       1.0000          .0000       .10000E+07
    12 'Prefactor '    14.922       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.6339       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .56766E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.454       1.0000          .0000       .10000E+07
    16 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    17 'Prefactor '    .59816E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22925       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0691       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0125       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=   9780.901     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1206 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18319E-08    21.452        .22504E-06** at limit **
   2  norm          .42799        .71374        .46313E-07    .73582E-03
   3  Prefactor     3.5464        1.8218       -.22865E-07    .88376E-02
   4  norm          13.687        6.4266       -.53661E-07    .15600E-03
   5  Prefactor     .61745E-06    65.874        .19105E-05** at limit **
   6  Prefactor     2.5708        8.0840        .35651E-06   -.11768E-03
   7  Prefactor     1.3044        .29078        .39525E-06    .35848E-03
   8  Prefactor     3.0798        8.7135       -.14003E-05    .28275E-03
   9  norm          1.2673        .96326        .37420E-07    .19262E-02
  10  norm          1.7249        1.4920        .70364E-07    .18600E-02
  11  Prefactor     34.038        4.1657       -.96899E-07    .14738    
  12  Prefactor     15.272        11.815        .59239E-07    .11496E-01
  13  Prefactor     1.6329        .23693        .22668E-06    .76665E-03
  14  Prefactor      .0000        4.2615       -.29022E-07** at limit **
  15  Prefactor     14.439        1.1016        .11803E-07   -.22026E-01
  16  Prefactor     .44409E-09    12.266       -.68757E-06** at limit **
  17  Prefactor      .0000        1.8924        .14088E-06** at limit **
  18  Prefactor     .37692E-07    51.479        .10022E-05** at limit **
  19  Normalizat    1.0688        .25765       -.59021E-05    .18937E-04
  20  Prefactor     1.0127        .13504        .26802E-05    .39785E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.83187e-09
  norm       = 0.427986
  Prefactor  = 3.5464
  norm       = 13.6871
  Prefactor  = 6.17451e-07
  Prefactor  = 2.57075
  Prefactor  = 1.3044
  Prefactor  = 3.07975
  norm       = 1.26732
  norm       = 1.72486
  Prefactor  = 34.0384
  Prefactor  = 15.2717
  Prefactor  = 1.63286
  Prefactor  = 0
  Prefactor  = 14.4394
  Prefactor  = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 3.76921e-08
  Normalizat = 1.06882
  Prefactor  = 1.01271
 **********
 **   18 **HESSE 
 **********

 FCN=   9780.901     FROM HESSE     STATUS=OK           343 CALLS     1549 TOTAL
                     EDM=   .88E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18319E-08    21.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .42799        .84746        .24712E-02   -1.5695    
   3  Prefactor     3.5464        15.262        .53773E-03   -1.5670    
   4  norm          13.687        6.4604        .26943E-03   -1.5634    
   5  Prefactor     .61745E-06    66.221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5708        8.1556        .62781E-03   -1.5676    
   7  Prefactor     1.3044        .29164        .54152E-02   -1.5480    
   8  Prefactor     3.0798        8.7226        .57853E-02   -1.5357    
   9  norm          1.2673        .98161        .98872E-03   -1.5685    
  10  norm          1.7249        1.5021        .79710E-03   -1.5682    
  11  Prefactor     34.038        33.422        .17270E-03   -1.5591    
  12  Prefactor     15.272        11.919        .25902E-03   -1.5630    
  13  Prefactor     1.6329        .24149        .39363E-02   -1.5452    
  14  Prefactor      .0000        4.2675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.439        20.437        .26319E-03   -1.5632    
  16  Prefactor     .44409E-09    12.295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .37692E-07    10.530        .11277E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0688        .22474        .85530E-01   -.90759    
  20  Prefactor     1.0127        .11467        .42979E-01   -.92307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.75289e-07
Minuit parameter uncertainties:
  1  0.000398621
  2  0.847462
  3  14.7138
  4  6.46038
  5  0.0127888
  6  8.15563
  7  0.291636
  8  8.72625
  9  0.981611
  10  1.50211
  11  33.4224
  12  11.9195
  13  0.241487
  14  4.13763e-07
  15  20.4371
  16  0.000152154
  17  1.3731e-06
  18  0.00126024
  19  0.224937
  20  0.1147
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.527e+01  1.192e+01  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.013e+00  1.147e-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.069e+00  2.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.76
Ra Dec: 342.246 21.116
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 5.34e-08 +/- 4.16e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.58e-05

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

Saving results to:
/scratch/kocevski/503128/likelihoodResults_698112001_698371201_4FGL_J2248.9+2106_daily_bin1770.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) = 9780.70544163
delta logL = 0.195725180181

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9780.69022513
delta logL = 0.210941676736

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9138       1.0000          .0000       .10000E+07
     2 'Index     '    2.7244       1.0000          .0000       10.000    
     3 'Normalizat'    1.0359       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       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=   9780.690     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      289 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9102        14.630        .12720E-04    .68997E-03
   2  Index         2.7246        .84117        .65439E-02    .47338E-04
   3  Normalizat    1.0358        .26071        .38383E-03   -.25520E-03
   4  Prefactor     1.0234        .13691        .20578E-03   -.36395E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.91018
  Index      = 2.72464
  Normalizat = 1.03582
  Prefactor  = 1.02343
 **********
 **   18 **HESSE 
 **********

 FCN=   9780.690     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9102        11.810        .50881E-06   -1.5645    
   2  Index         2.7246        .67934        .26175E-03   -.47245    
   3  Normalizat    1.0358        .25911        .15353E-04   -.91840    
   4  Prefactor     1.0234        .13639        .41156E-04   -.91953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26606e-10
Minuit parameter uncertainties:
  1  11.8105
  2  0.682001
  3  0.259424
  4  0.136439
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/503128': 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) = 9780.69022508
delta logL = 0.210941732625

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  9.910e+00  1.181e+01  0.000e+00  1.000e+06 ( 1.000e-13)
308        Index:  2.725e+00  6.820e-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.023e+00  1.364e-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.036e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.21
Ra Dec: 342.246 21.116
Photon Index (Free Index): 2.72 +/- 0.68
Photon Flux (Free Index): 8.12e-08 +/- 6.61e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.32e-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/503128/cmap_HighResolution_698112001_698371201_4FGL_J2248.9+2106_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', photon_flux='5.34e-08', energy_flux2='1.92e-05', photon_flux_error='4.16e-08', dlogl='2.11e-01', energy_flux='2.03e-05', photon_flux2='8.12e-08', job_status='DONE', time_completed='2023-02-18 02:11:33.573486', photon_index_error2='0.68', photon_index2='2.72', ts='2.76', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.43e-07', energy_flux_error2='1.32e-05', EG='1.07', time_epoch_completed='1676715093.57', return_code='0', job_id='503128', GAL2='1.02', EG2='1.04', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='6.61e-08', ts2='3.21', photon_index='2.30' WHERE bin_id='1770' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 02:11:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 503128: <4FGL_J2248.9+2106_daily_bin1770> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 02:00:25 2023
Job was executed on host(s) <bullet0024>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 02:00:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 02:00:26 2023
Terminated at Sat Feb 18 02:11:34 2023
Results reported at Sat Feb 18 02:11:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1770 342.246 21.1159 698112001 698371201 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 :                                   636.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             343.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            669 sec.

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

