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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin1753
RA = 147.244, Dec = 0.3717
tmin = 693705601, tmax = 693964801
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='451349', job_status='RUN', time_executed='2022-12-29 00:45:49.209658', time_epoch_executed='1672303549.21' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/451349

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/451349/ft1_4FGL_J0948.9+0022_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/451349/ft2_4FGL_J0948.9+0022_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/451349/ft1_4FGL_J0948.9+0022_daily_bin1753.fits outfile=/scratch/kocevski/451349/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin1753.fits ra=147.244 dec=0.3717 rad=12.0 tmin=693705601.0 tmax=693964801.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.68
user 4.39
sys 0.23

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

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

Number of photons that the gtmktime cut: 470

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/451349/ft1_filtered_4FGL_J0948.9+0022_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/451349/ft2_4FGL_J0948.9+0022_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/451349/ltcube_693705601_693964801_4FGL_J0948.9+0022_daily_bin1753.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/451349/ft2_4FGL_J0948.9+0022_daily_bin1753.fits
.....................!
real 14.42
user 13.96
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/451349/ft1_filtered_4FGL_J0948.9+0022_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/451349/ft2_4FGL_J0948.9+0022_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/451349/ltcube_693705601_693964801_4FGL_J0948.9+0022_daily_bin1753.fits outfile=/scratch/kocevski/451349/expmap_693705601_693964801_4FGL_J0948.9+0022_daily_bin1753.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/451349/ltcube_693705601_693964801_4FGL_J0948.9+0022_daily_bin1753.fits
.....................!
real 191.69
user 185.90
sys 4.75

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/451349/ft1_filtered_4FGL_J0948.9+0022_daily_bin1753.fits scfile=/scratch/kocevski/451349/ft2_4FGL_J0948.9+0022_daily_bin1753.fits outfile=/scratch/kocevski/451349/cmap_693705601_693964801_4FGL_J0948.9+0022_daily_bin1753.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/451349/ft1_filtered_4FGL_J0948.9+0022_daily_bin1753.fits scfile=/scratch/kocevski/451349/ft2_4FGL_J0948.9+0022_daily_bin1753.fits outfile=/scratch/kocevski/451349/cmap_HighResolution_693705601_693964801_4FGL_J0948.9+0022_daily_bin1753.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12831E-01   1.0000          .0000       .10000E+07
     2 'norm      '    1.4401       1.0000          .0000       .10000E+07
     3 'Prefactor '    19.593       1.0000          .0000       .10000E+07
     4 'Prefactor '    .68971       1.0000          .0000       .10000E+07
     5 'Prefactor '    .44812E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.1577       1.0000          .0000       .10000E+07
     7 'norm      '    .92484E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .75976       1.0000          .0000       .10000E+07
     9 'norm      '    .21448       1.0000          .0000       .10000E+07
    10 'norm      '    .41560E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .81476E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48524E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .65264E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.1717       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20893       1.0000          .0000       .10000E+07
    16 'Prefactor '    63.211       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12207       1.0000          .0000       .10000E+07
    18 'norm      '    2.2882       1.0000          .0000       .10000E+07
    19 'Prefactor '    .71771E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0403       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0666       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=   5262.168     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1690 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12952E-05    61.471        .45037E-05** at limit **
   2  norm          1.4476        4.1028        .34152E-06   -.17548E-02
   3  Prefactor     19.622        6.9781        .20085E-06    .11327    
   4  Prefactor     .73190        7.8444       -.25616E-06    .94053E-03
   5  Prefactor     .33751E-07    17.200        .55945E-06** at limit **
   6  Prefactor     3.3868        38.868       -.34106E-05   -.23466E-01
   7  norm           .0000        4.8282        .66776E-08** at limit **
   8  norm          .75580        .96662       -.12221E-07    .14652E-02
   9  norm          .21454        .52349        .15041E-06** at limit **
  10  norm           .0000        2.9169        .11680E-06** at limit **
  11  Prefactor     .18182E-04    23.467        .14325E-05** at limit **
  12  Prefactor     .27453E-05    57.650        .24471E-05** at limit **
  13  Prefactor     .10825E-07    15.137        .17327E-06** at limit **
  14  Prefactor     3.2463        11.584        .11071E-05   -.16841E-02
  15  Prefactor     .32064E-05    152.51        .29841E-05** at limit **
  16  Prefactor     62.416        59.104       -.15849E-05    .60658E-01
  17  Prefactor     .27756E-09    34.842       -.57235E-06** at limit **
  18  norm          2.2898        1.2971        .63476E-07   -.37974E-02
  19  Prefactor     .23841E-05    25.825        .38783E-05** at limit **
  20  Normalizat    1.0410        .24614        .10021E-04   -.19249E-05
  21  Prefactor     1.0665        .19451       -.67669E-05    .44545E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.29524e-06
  norm       = 1.44758
  Prefactor  = 19.6221
  Prefactor  = 0.731903
  Prefactor  = 3.37508e-08
  Prefactor  = 3.38684
  norm       = 0
  norm       = 0.7558
  norm       = 0.214539
  norm       = 0
  Prefactor  = 1.81823e-05
  Prefactor  = 2.7453e-06
  Prefactor  = 1.08247e-08
  Prefactor  = 3.24627
  Prefactor  = 3.20638e-06
  Prefactor  = 62.4156
  Prefactor  = 2.77556e-10
  norm       = 2.28976
  Prefactor  = 2.38415e-06
  Normalizat = 1.04103
  Prefactor  = 1.0665
 **********
 **   18 **HESSE 
 **********

 FCN=   5262.168     FROM HESSE     STATUS=OK           389 CALLS     2079 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12952E-05    4.9957        .50004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4476        4.1666        .89870E-03   -1.5684    
   3  Prefactor     19.622        21.137        .22599E-03   -1.5619    
   4  Prefactor     .73190        7.9417        .61547E-03   -1.5691    
   5  Prefactor     .33751E-07    17.313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.3868        152.03        .49407E-03   -1.5671    
   7  norm           .0000        4.8047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .75580        .97846        .55984E-03   -1.5691    
   9  norm          .21454        .53893        .11524E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.1228        .29845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .18182E-04    7.5731        .68862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .27453E-05    65.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10825E-07    15.268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.2463        12.641        .56881E-03   -1.5672    
  15  Prefactor     .32064E-05    162.11        .11619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     62.416        70.962        .12579E-03   -1.5550    
  17  Prefactor     .27756E-09    35.120        .13371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.2898        1.3059        .67835E-03   -1.5678    
  19  Prefactor     .23841E-05    4.7156        .56290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0410        .21422        .60870E-01   -.91668    
  21  Prefactor     1.0665        .16579        .39021E-01   -.90545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.00443e-07
Minuit parameter uncertainties:
  1  0.0050875
  2  4.16661
  3  21.1372
  4  4.82185
  5  0.00152829
  6  45.3846
  7  1.3755e-06
  8  0.978464
  9  0.538932
  10  2.46531e-06
  11  0.0234689
  12  0.0269105
  13  0.000813664
  14  12.6414
  15  0.0455984
  16  70.9627
  17  0.000205157
  18  1.30593
  19  0.00670606
  20  0.214394
  21  0.165865
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.145e-01  5.389e-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.066e+00  1.659e-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.041e+00  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 147.244 0.372
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/451349/likelihoodResults_693705601_693964801_4FGL_J0948.9+0022_daily_bin1753.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) = 5262.1483499
delta logL = 0.0197496982073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5262.1466987
delta logL = 0.0214008949652

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23770       1.0000          .0000       .10000E+07
     2 'alpha     '    2.9437       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0321       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0715       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5262.147     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      268 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23904        .54797        .73267E-05** at limit **
   2  alpha         2.9494        3.6861        .62861E-01   -.43076E-05
   3  Normalizat    1.0318        .24252        .27027E-03   -.11626E-03
   4  Prefactor     1.0716        .19542        .21593E-03   -.44039E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.239041
  alpha      = 2.94943
  Normalizat = 1.03182
  Prefactor  = 1.07159
 **********
 **   18 **HESSE 
 **********

 FCN=   5262.147     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23904        .53093        .29307E-06   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.9494        3.6605        .25144E-02    .18076    
   3  Normalizat    1.0318        .24311        .10811E-04   -.91972    
   4  Prefactor     1.0716        .19557        .43187E-04   -.90380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6258e-10
Minuit parameter uncertainties:
  1  0.530926
  2  2.52509
  3  0.243377
  4  0.195703
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/451349': 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) = 5262.14669172
delta logL = 0.0214078799963

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  2.390e-01  5.309e-01  0.000e+00  1.000e+06 ( 1.000e-10)
218        alpha:  2.949e+00  2.525e+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.072e+00  1.957e-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.032e+00  2.434e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
Ra Dec: 147.244 0.372

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/451349/cmap_HighResolution_693705601_693964801_4FGL_J0948.9+0022_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-05', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2022-12-29 00:54:30.786032', job_id='451349', GAL2='1.07', fit_tolerance='1e-08', EG2='1.03', EG='1.04', time_epoch_completed='1672304070.79', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.14e-02', ts2='0.24', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1753' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 00:54:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 451349: <4FGL_J0948.9+0022_daily_bin1753> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin1753> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Dec 29 00:40:24 2022
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 00:42:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 00:42:30 2022
Terminated at Thu Dec 29 00:54:31 2022
Results reported at Thu Dec 29 00:54:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin1753 147.244 0.3717 693705601 693964801 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 :                                   522.13 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             271.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            847 sec.

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

