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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin1715
RA = 147.244, Dec = 0.3717
tmin = 683856001, tmax = 684115201
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='86127', job_status='RUN', time_executed='2022-09-16 15:00:07.431282', time_epoch_executed='1663365607.43' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86127

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86127/ft1_4FGL_J0948.9+0022_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86127/ft2_4FGL_J0948.9+0022_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86127/ft1_4FGL_J0948.9+0022_daily_bin1715.fits outfile=/scratch/kocevski/86127/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin1715.fits ra=147.244 dec=0.3717 rad=12.0 tmin=683856001.0 tmax=684115201.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.50
user 3.20
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/86127/ft2_4FGL_J0948.9+0022_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/86127/ft2_4FGL_J0948.9+0022_daily_bin1715.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/86127/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/86127/ft1_filtered_4FGL_J0948.9+0022_daily_bin1715.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.52
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 588

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86127/ft1_filtered_4FGL_J0948.9+0022_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/86127/ft2_4FGL_J0948.9+0022_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/86127/ltcube_683856001_684115201_4FGL_J0948.9+0022_daily_bin1715.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/86127/ft2_4FGL_J0948.9+0022_daily_bin1715.fits
.....................!
real 14.56
user 14.10
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86127/ft1_filtered_4FGL_J0948.9+0022_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/86127/ft2_4FGL_J0948.9+0022_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/86127/ltcube_683856001_684115201_4FGL_J0948.9+0022_daily_bin1715.fits outfile=/scratch/kocevski/86127/expmap_683856001_684115201_4FGL_J0948.9+0022_daily_bin1715.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/86127/ltcube_683856001_684115201_4FGL_J0948.9+0022_daily_bin1715.fits
.....................!
real 192.45
user 186.56
sys 5.12

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 147 point sources and 0 extended sources

Setting source of interest to:
4FGL J0948.9+0022 @ 147.244 0.3717

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/86127/ft1_filtered_4FGL_J0948.9+0022_daily_bin1715.fits scfile=/scratch/kocevski/86127/ft2_4FGL_J0948.9+0022_daily_bin1715.fits outfile=/scratch/kocevski/86127/cmap_683856001_684115201_4FGL_J0948.9+0022_daily_bin1715.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=147.244 yref=0.3717 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.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86127/ft1_filtered_4FGL_J0948.9+0022_daily_bin1715.fits scfile=/scratch/kocevski/86127/ft2_4FGL_J0948.9+0022_daily_bin1715.fits outfile=/scratch/kocevski/86127/cmap_HighResolution_683856001_684115201_4FGL_J0948.9+0022_daily_bin1715.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=147.244 yref=0.3717 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/86127/ft1_filtered_4FGL_J0948.9+0022_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/86127/ft2_4FGL_J0948.9+0022_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/86127/Model_4FGL_J0948.9+0022_daily_bin1715.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/86127/ft1_filtered_4FGL_J0948.9+0022_daily_bin1715.fits.....................!
real 66.05
user 64.59
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/86127/ft1_filtered_4FGL_J0948.9+0022_daily_bin1715.fits', '/scratch/kocevski/86127/ft2_4FGL_J0948.9+0022_daily_bin1715.fits', expMap='/scratch/kocevski/86127/expmap_683856001_684115201_4FGL_J0948.9+0022_daily_bin1715.fits', expCube='/scratch/kocevski/86127/ltcube_683856001_684115201_4FGL_J0948.9+0022_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/86127/Model_4FGL_J0948.9+0022_daily_bin1715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0948.9+0022'

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.422e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
218        alpha:  2.453e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
219         beta:  1.652e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
220           Eb:  2.768e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/86127/ft1_filtered_4FGL_J0948.9+0022_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/86127/ft2_4FGL_J0948.9+0022_daily_bin1715.fits
Exposure map: /scratch/kocevski/86127/expmap_683856001_684115201_4FGL_J0948.9+0022_daily_bin1715.fits
Exposure cube: /scratch/kocevski/86127/ltcube_683856001_684115201_4FGL_J0948.9+0022_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/86127/Model_4FGL_J0948.9+0022_daily_bin1715.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) = 6606.90638254

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14824E-03   1.0000          .0000       .10000E+07
     2 'norm      '    6.0535       1.0000          .0000       .10000E+07
     3 'Prefactor '    .67435E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .26158E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17897E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .58118E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .62866E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.2224       1.0000          .0000       .10000E+07
     9 'norm      '    .20590       1.0000          .0000       .10000E+07
    10 'norm      '    .53402E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.5739       1.0000          .0000       .10000E+07
    12 'Prefactor '    79.348       1.0000          .0000       .10000E+07
    13 'Prefactor '    20.198       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10603E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .92817       1.0000          .0000       .10000E+07
    16 'Prefactor '    .60147E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    18.015       1.0000          .0000       .10000E+07
    18 'norm      '    4.3509       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.7069       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0208       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6606.796     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1668 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.3384        .30053E-07** at limit **
   2  norm          5.9456        7.4075       -.12058E-07    .35001E-03
   3  Prefactor     .65670E-04    25.267        .87262E-06** at limit **
   4  Prefactor     .86123E-01    29.407        .12518E-05** at limit **
   5  Prefactor     .16487E-07    23.427        .35687E-06** at limit **
   6  Prefactor     .19484E-07    12.421        .82150E-07** at limit **
   7  norm           .0000        1.0322       -.41685E-07** at limit **
   8  norm          2.2229        1.3637       -.10644E-07   -.16569E-02
   9  norm          .20596        .37804       -.12119E-08** at limit **
  10  norm           .0000        .53427       -.15228E-07** at limit **
  11  Prefactor     9.3097        12.587        .30514E-06   -.53238E-02
  12  Prefactor     79.194        5.9118       -.33761E-07    .31465    
  13  Prefactor     21.179        10.170        .36589E-07   -.48486E-01
  14  Prefactor     .55511E-10    5.1280       -.62266E-07** at limit **
  15  Prefactor     .25498E-05    130.69       -.50387E-06** at limit **
  16  Prefactor     .44592E-04    28.839        .86212E-06** at limit **
  17  Prefactor     18.286        2.8535       -.10537E-07    .98181E-01
  18  norm          4.3523        1.9127        .16712E-07    .19732E-03
  19  Prefactor     2.6358        8.3796       -.26881E-06   -.46083E-03
  20  Normalizat    1.1875        .23338       -.25760E-07   -.13809E-03
  21  Prefactor     1.0204        .18118       -.77621E-06   -.15340E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 5.94558
  Prefactor  = 6.567e-05
  Prefactor  = 0.0861228
  Prefactor  = 1.64868e-08
  Prefactor  = 1.94844e-08
  norm       = 0
  norm       = 2.22287
  norm       = 0.205959
  norm       = 0
  Prefactor  = 9.30965
  Prefactor  = 79.1938
  Prefactor  = 21.1788
  Prefactor  = 5.55112e-11
  Prefactor  = 2.54985e-06
  Prefactor  = 4.45923e-05
  Prefactor  = 18.2858
  norm       = 4.35231
  Prefactor  = 2.63582
  Normalizat = 1.18754
  Prefactor  = 1.02039
 **********
 **   18 **HESSE 
 **********

 FCN=   6606.796     FROM HESSE     STATUS=OK           363 CALLS     2031 TOTAL
                     EDM=   .77E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.3354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.9456        7.4234        .40784E-03   -1.5659    
   3  Prefactor     .65670E-04    53.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .86123E-01    1.6997        .70445E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16487E-07    24.202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .19484E-07    12.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.2229        1.3722        .68949E-03   -1.5678    
   9  norm          .20596        .42690        .11672E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .53463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.3097        12.618        .32363E-03   -1.5647    
  12  Prefactor     79.194        57.245        .11227E-03   -1.5530    
  13  Prefactor     21.179        56.522        .22258E-03   -1.5616    
  14  Prefactor     .55511E-10    5.1459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .25498E-05    137.75        .43832E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .44592E-04    53.191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.286        20.248        .23570E-03   -1.5622    
  18  norm          4.3523        1.9224        .48265E-03   -1.5666    
  19  Prefactor     2.6358        8.4652        .61885E-03   -1.5675    
  20  Normalizat    1.1875        .20541        .62752E-01   -.86989    
  21  Prefactor     1.0204        .15492        .42063E-01   -.92053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.69187e-06
Minuit parameter uncertainties:
  1  1.84545e-06
  2  7.42342
  3  0.11899
  4  0.765209
  5  0.00126307
  6  0.000991583
  7  3.21664e-06
  8  1.37219
  9  0.426898
  10  5.2118e-07
  11  12.6178
  12  57.2454
  13  56.5234
  14  2.70992e-05
  15  0.0374837
  16  0.0974054
  17  20.2486
  18  1.92239
  19  8.46526
  20  0.205553
  21  0.154989
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.060e-01  4.269e-01  0.000e+00  1.000e+06 ( 1.000e-10)
218        alpha:  2.453e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
219         beta:  1.652e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
220           Eb:  2.768e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.020e+00  1.550e-01  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  1.188e+00  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.42
Ra Dec: 147.244 0.372
Photon Flux Upper Limit: 9.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/86127/likelihoodResults_683856001_684115201_4FGL_J0948.9+0022_daily_bin1715.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) = 6606.4109906
delta logL = 0.384535469738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6606.40201846
delta logL = 0.393507603743

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .73473E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    1.0549       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0084       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6606.402     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      221 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73547E-01    .15819        .64790E-03** at limit **
   2  alpha         1.0554        .77700        .50000       -.47190E-04
   3  Normalizat    1.2068        .19355        .62314E-01    .90068E-05
   4  Prefactor     1.0083        .15399        .43579E-01    .84904E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0735466
  alpha      = 1.05544
  Normalizat = 1.20678
  Prefactor  = 1.00829
 **********
 **   18 **HESSE 
 **********

 FCN=   6606.402     FROM HESSE     STATUS=OK            35 CALLS      256 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73547E-01    .15809        .34698E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.0554        1.0494        .23291E-01   -.61606    
   3  Normalizat    1.2068        .22693        .27562E-03   -.86393    
   4  Prefactor     1.0083        .18062        .23599E-03   -.92454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.20911e-09
Minuit parameter uncertainties:
  1  0.158094
  2  1.10219
  3  0.227114
  4  0.180724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86127': 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) = 6606.40201829
delta logL = 0.393507774385

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  7.355e-02  1.581e-01  0.000e+00  1.000e+06 ( 1.000e-10)
218        alpha:  1.055e+00  1.102e+00  0.000e+00  5.000e+00 ( 1.000e+00)
219         beta:  1.652e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
220           Eb:  2.768e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.008e+00  1.807e-01  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  1.207e+00  2.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.21
Ra Dec: 147.244 0.372
Photon Index (Free Index): 1.06 +/- 1.10
Photon Flux (Free Index): 6.13e-09 +/- 9.80e-09
Energy Flux (Free Index): 8.97e-06 +/- 1.70e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/86127/cmap_HighResolution_683856001_684115201_4FGL_J0948.9+0022_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.44e-05', comment='SUCCESS', energy_flux2='8.97e-06', dlogl='3.94e-01', photon_flux2='6.13e-09', job_status='DONE', time_completed='2022-09-16 15:09:08.988762', photon_index_error2='1.10', photon_index2='1.06', ts='0.42', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='9.78e-08', energy_flux_error2='1.70e-05', EG='1.19', time_epoch_completed='1663366148.99', return_code='0', job_id='86127', GAL2='1.01', EG2='1.21', return_code2='0', photon_flux_error2='9.80e-09', ts2='1.21', photon_index='2.45' WHERE bin_id='1715' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:09:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 86127: <4FGL_J0948.9+0022_daily_bin1715> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin1715> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 14:55:22 2022
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:56:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:56:35 2022
Terminated at Fri Sep 16 15:09:09 2022
Results reported at Fri Sep 16 15:09:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin1715 147.244 0.3717 683856001 684115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0948.9+0022 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   543.31 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             268.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            827 sec.

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

