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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin1713
RA = 147.244, Dec = 0.3717
tmin = 683337601, tmax = 683596801
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='86124', job_status='RUN', time_executed='2022-09-16 14:58:04.232212', time_epoch_executed='1663365484.23' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86124

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86124/ft1_4FGL_J0948.9+0022_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86124/ft2_4FGL_J0948.9+0022_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86124/ft1_4FGL_J0948.9+0022_daily_bin1713.fits outfile=/scratch/kocevski/86124/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin1713.fits ra=147.244 dec=0.3717 rad=12.0 tmin=683337601.0 tmax=683596801.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.52
user 3.28
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/86124/ft2_4FGL_J0948.9+0022_daily_bin1713.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/86124/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin1713.fits evtable="EVENTS" outfile="/scratch/kocevski/86124/ft1_filtered_4FGL_J0948.9+0022_daily_bin1713.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.16

Number of photons that the gtmktime cut: 680

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86124/ft1_filtered_4FGL_J0948.9+0022_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/86124/ft2_4FGL_J0948.9+0022_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/86124/ltcube_683337601_683596801_4FGL_J0948.9+0022_daily_bin1713.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/86124/ft2_4FGL_J0948.9+0022_daily_bin1713.fits
.....................!
real 14.93
user 14.51
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86124/ft1_filtered_4FGL_J0948.9+0022_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/86124/ft2_4FGL_J0948.9+0022_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/86124/ltcube_683337601_683596801_4FGL_J0948.9+0022_daily_bin1713.fits outfile=/scratch/kocevski/86124/expmap_683337601_683596801_4FGL_J0948.9+0022_daily_bin1713.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/86124/ltcube_683337601_683596801_4FGL_J0948.9+0022_daily_bin1713.fits
.....................!
real 192.29
user 186.52
sys 4.93

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/86124/ft1_filtered_4FGL_J0948.9+0022_daily_bin1713.fits scfile=/scratch/kocevski/86124/ft2_4FGL_J0948.9+0022_daily_bin1713.fits outfile=/scratch/kocevski/86124/cmap_683337601_683596801_4FGL_J0948.9+0022_daily_bin1713.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.62
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86124/ft1_filtered_4FGL_J0948.9+0022_daily_bin1713.fits scfile=/scratch/kocevski/86124/ft2_4FGL_J0948.9+0022_daily_bin1713.fits outfile=/scratch/kocevski/86124/cmap_HighResolution_683337601_683596801_4FGL_J0948.9+0022_daily_bin1713.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.60
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/86124/ft1_filtered_4FGL_J0948.9+0022_daily_bin1713.fits', '/scratch/kocevski/86124/ft2_4FGL_J0948.9+0022_daily_bin1713.fits', expMap='/scratch/kocevski/86124/expmap_683337601_683596801_4FGL_J0948.9+0022_daily_bin1713.fits', expCube='/scratch/kocevski/86124/ltcube_683337601_683596801_4FGL_J0948.9+0022_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/86124/Model_4FGL_J0948.9+0022_daily_bin1713.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/86124/ft1_filtered_4FGL_J0948.9+0022_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/86124/ft2_4FGL_J0948.9+0022_daily_bin1713.fits
Exposure map: /scratch/kocevski/86124/expmap_683337601_683596801_4FGL_J0948.9+0022_daily_bin1713.fits
Exposure cube: /scratch/kocevski/86124/ltcube_683337601_683596801_4FGL_J0948.9+0022_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/86124/Model_4FGL_J0948.9+0022_daily_bin1713.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) = 7483.35488067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17963E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .90454E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.023       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.7441       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.2824       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.999       1.0000          .0000       .10000E+07
     7 'norm      '    .37040E-05   1.0000          .0000       .10000E+07
     8 'norm      '    1.7274       1.0000          .0000       .10000E+07
     9 'norm      '    .84897       1.0000          .0000       .10000E+07
    10 'norm      '    .26651E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11411E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.3018       1.0000          .0000       .10000E+07
    13 'Prefactor '    .22108       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.0926       1.0000          .0000       .10000E+07
    15 'Prefactor '    86.230       1.0000          .0000       .10000E+07
    16 'Prefactor '    .47493E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .89281E-02   1.0000          .0000       .10000E+07
    18 'norm      '    4.7845       1.0000          .0000       .10000E+07
    19 'Prefactor '    .22111E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .84460       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2429       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=   7483.329     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     1656 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    1.3312       -.78985E-07** at limit **
   2  norm          .27756E-09    12.502       -.45055E-07** at limit **
   3  Prefactor     39.070        5.9545        .23664E-07    .17265E-01
   4  Prefactor     4.7431        3.5568        .70930E-08    .22760E-03
   5  Prefactor     2.0698        27.255       -.27762E-06   -.55013E-01
   6  Prefactor     18.029        3.4950       -.17390E-07   -.80552E-01
   7  norm          .55511E-10    1.1248       -.58442E-07** at limit **
   8  norm          1.7303        1.3743        .48863E-07    .14278E-01
   9  norm          .84836        .54234       -.15459E-07   -.12686E-01
  10  norm          .55511E-10    1.0404        .60020E-07** at limit **
  11  Prefactor     .16653E-09    14.839       -.34080E-07** at limit **
  12  Prefactor     6.8664        23.587        .31950E-06   -.72081E-01
  13  Prefactor     .63838E-08    39.057        .57876E-06** at limit **
  14  Prefactor     1.1734        21.009        .44272E-07   -.64874E-03
  15  Prefactor     87.866        74.112       -.20261E-06   -.15434E-01
  16  Prefactor     .22649E-06    69.172        .98520E-07** at limit **
  17  Prefactor     .22204E-09    12.006       -.15724E-08** at limit **
  18  norm          4.7808        1.6342        .18603E-07    .94521E-02
  19  Prefactor     .55511E-10    3.7407       -.17834E-07** at limit **
  20  Normalizat    .84313        .22177        .33287E-05    .67547E-04
  21  Prefactor     1.2434        .17609       -.25876E-05   -.16891E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  norm       = 2.77556e-10
  Prefactor  = 39.0702
  Prefactor  = 4.7431
  Prefactor  = 2.06979
  Prefactor  = 18.0289
  norm       = 5.55112e-11
  norm       = 1.7303
  norm       = 0.848357
  norm       = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 6.8664
  Prefactor  = 6.38378e-09
  Prefactor  = 1.17339
  Prefactor  = 87.8663
  Prefactor  = 2.26485e-07
  Prefactor  = 2.22045e-10
  norm       = 4.78078
  Prefactor  = 5.55112e-11
  Normalizat = 0.843135
  Prefactor  = 1.24343
 **********
 **   18 **HESSE 
 **********

 FCN=   7483.329     FROM HESSE     STATUS=OK           361 CALLS     2017 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    1.3302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .27756E-09    12.359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.070        18.888        .16010E-03   -1.5583    
   4  Prefactor     4.7431        3.5684        .46172E-03   -1.5664    
   5  Prefactor     2.0698        81.669        .67932E-03   -1.5679    
   6  Prefactor     18.029        26.803        .23580E-03   -1.5623    
   7  norm          .55511E-10    1.1290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7303        1.3878        .79861E-03   -1.5682    
   9  norm          .84836        .54639        .49354E-03   -1.5690    
  10  norm          .55511E-10    1.0289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    14.698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.8664        33.415        .39962E-03   -1.5656    
  13  Prefactor     .63838E-08    38.481        .11412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.1734        22.751        .11423E-02   -1.5686    
  15  Prefactor     87.866        76.849        .10770E-03   -1.5520    
  16  Prefactor     .22649E-06    68.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .22204E-09    11.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.7808        1.6355        .45972E-03   -1.5664    
  19  Prefactor     .55511E-10    3.7430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .84313        .19162        .70081E-01   -.98488    
  21  Prefactor     1.2434        .14825        .48639E-01   -.85005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13857e-06
Minuit parameter uncertainties:
  1  2.68929e-05
  2  0.000117013
  3  18.8876
  4  3.5684
  5  26.0033
  6  26.803
  7  1.86455e-05
  8  1.38775
  9  0.546386
  10  1.68992e-05
  11  0.000106648
  12  30.2948
  13  0.000989742
  14  10.3336
  15  76.8496
  16  0.00788805
  17  0.000108458
  18  1.63549
  19  2.07365e-05
  20  0.191776
  21  0.148299
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  8.484e-01  5.464e-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.243e+00  1.483e-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:  8.431e-01  1.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.29
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 6.51e-08 +/- 4.19e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 1.05e-05

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) = 7483.16790797
delta logL = 0.161130603892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7483.12103204
delta logL = 0.20800653389

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66029       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9815       1.0000          .0000       5.0000    
     3 'Normalizat'    .86927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2308       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=   7483.121     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65964        .45097        .63992E-03    .25191E-02
   2  alpha         1.9808        .46813        .41434       -.56280E-04
   3  Normalizat    .86932        .17889        .69113E-01    .55545E-05
   4  Prefactor     1.2308        .14748        .48843E-01    .22190E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.659641
  alpha      = 1.98079
  Normalizat = 0.869316
  Prefactor  = 1.23085
 **********
 **   18 **HESSE 
 **********

 FCN=   7483.121     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65964        .58791        .45716E-05   -1.5692    
   2  alpha         1.9808        .69665        .16078E-01   -.20921    
   3  Normalizat    .86932        .21314        .30578E-03   -.97547    
   4  Prefactor     1.2308        .17491        .21592E-03   -.85387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56945e-11
Minuit parameter uncertainties:
  1  0.587912
  2  0.706434
  3  0.213344
  4  0.174989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86124': 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) = 7483.12103142
delta logL = 0.208007146657

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  6.596e-01  5.879e-01  0.000e+00  1.000e+06 ( 1.000e-10)
218        alpha:  1.981e+00  7.064e-01  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.231e+00  1.750e-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:  8.693e-01  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.69
Ra Dec: 147.244 0.372
Photon Index (Free Index): 1.98 +/- 0.71
Photon Flux (Free Index): 4.48e-08 +/- 4.31e-08
Energy Flux (Free Index): 1.61e-05 +/- 1.08e-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/86124/cmap_HighResolution_683337601_683596801_4FGL_J0948.9+0022_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.51e-08', energy_flux2='1.61e-05', photon_flux_error='4.19e-08', dlogl='2.08e-01', energy_flux='1.62e-05', photon_flux2='4.48e-08', job_status='DONE', time_completed='2022-09-16 15:07:07.155686', photon_index_error2='0.71', photon_index2='1.98', ts='4.29', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='0.84', time_epoch_completed='1663366027.16', return_code='0', job_id='86124', GAL2='1.23', EG2='0.87', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='4.31e-08', ts2='4.69', photon_index='2.45' WHERE bin_id='1713' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:07:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 86124: <4FGL_J0948.9+0022_daily_bin1713> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin1713> 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) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:56:32 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:32 2022
Terminated at Fri Sep 16 15:07:08 2022
Results reported at Fri Sep 16 15:07:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin1713 147.244 0.3717 683337601 683596801 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 :                                   544.18 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             338.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            706 sec.

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

