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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin1755
RA = 147.244, Dec = 0.3717
tmin = 694224001, tmax = 694483201
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='820446', job_status='RUN', time_executed='2023-01-04 00:52:09.750547', time_epoch_executed='1672822329.75' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820446

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820446/ft1_4FGL_J0948.9+0022_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820446/ft2_4FGL_J0948.9+0022_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820446/ft1_4FGL_J0948.9+0022_daily_bin1755.fits outfile=/scratch/kocevski/820446/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin1755.fits ra=147.244 dec=0.3717 rad=12.0 tmin=694224001.0 tmax=694483201.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.04
user 2.78
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/820446/ft2_4FGL_J0948.9+0022_daily_bin1755.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/820446/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/820446/ft1_filtered_4FGL_J0948.9+0022_daily_bin1755.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.51
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 124

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/820446/ft1_filtered_4FGL_J0948.9+0022_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/820446/ft2_4FGL_J0948.9+0022_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/820446/ltcube_694224001_694483201_4FGL_J0948.9+0022_daily_bin1755.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/820446/ft2_4FGL_J0948.9+0022_daily_bin1755.fits
.....................!
real 16.41
user 16.03
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820446/ft1_filtered_4FGL_J0948.9+0022_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820446/ft2_4FGL_J0948.9+0022_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/820446/ltcube_694224001_694483201_4FGL_J0948.9+0022_daily_bin1755.fits outfile=/scratch/kocevski/820446/expmap_694224001_694483201_4FGL_J0948.9+0022_daily_bin1755.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/820446/ltcube_694224001_694483201_4FGL_J0948.9+0022_daily_bin1755.fits
.....................!
real 192.06
user 186.34
sys 5.30

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/820446/ft1_filtered_4FGL_J0948.9+0022_daily_bin1755.fits scfile=/scratch/kocevski/820446/ft2_4FGL_J0948.9+0022_daily_bin1755.fits outfile=/scratch/kocevski/820446/cmap_694224001_694483201_4FGL_J0948.9+0022_daily_bin1755.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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820446/ft1_filtered_4FGL_J0948.9+0022_daily_bin1755.fits scfile=/scratch/kocevski/820446/ft2_4FGL_J0948.9+0022_daily_bin1755.fits outfile=/scratch/kocevski/820446/cmap_HighResolution_694224001_694483201_4FGL_J0948.9+0022_daily_bin1755.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.58
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19947E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .18819E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .15319E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .69168E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .33734E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .37251E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .32343E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .10816E-05   1.0000          .0000       .10000E+07
     9 'norm      '    1.9837       1.0000          .0000       .10000E+07
    10 'norm      '    .35499E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    52.378       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.150       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.6844       1.0000          .0000       .10000E+07
    14 'Prefactor '    .55511E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    .48341E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .72579E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .71821E-02   1.0000          .0000       .10000E+07
    18 'norm      '    3.6174       1.0000          .0000       .10000E+07
    19 'Prefactor '    17.586       1.0000          .0000       .10000E+07
    20 'Normalizat'    .10003E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.6872       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=   1522.288     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     1667 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17247E-06    13.612        .13976E-05** at limit **
   2  norm          .94369E-09    9.3921       -.40820E-06** at limit **
   3  Prefactor     .34748E-04    103.46        .48120E-05** at limit **
   4  Prefactor     .26201E-07    15.652        .77646E-06** at limit **
   5  Prefactor     .17376E-05    54.326        .24431E-06** at limit **
   6  Prefactor     .39968E-08    26.106        .11154E-05** at limit **
   7  norm          .55511E-10    5.8855        .76002E-07** at limit **
   8  norm           .0000        3.8155       -.32760E-06** at limit **
   9  norm          1.9436        1.9737       -.21145E-06    .19849E-02
  10  norm          .55511E-10    5.4261       -.53603E-06** at limit **
  11  Prefactor     54.176        19.852       -.84370E-07   -.20351    
  12  Prefactor     29.855        114.81       -.44160E-05    .23937E-02
  13  Prefactor     .12929E-03    52.618        .22199E-05** at limit **
  14  Prefactor     .11102E-09    9.6941        .43276E-06** at limit **
  15  Prefactor     .55511E-10    96.650        .20543E-05** at limit **
  16  Prefactor     .39713E-06    41.264        .21201E-05** at limit **
  17  Prefactor     .28239E-06    13.826       -.20589E-05** at limit **
  18  norm          3.5563        3.6142        .26198E-06    .22758E-02
  19  Prefactor     17.405        15.100       -.67636E-06   -.24338E-01
  20  Normalizat    .10000E-01    .25614       -.10490E-03** at limit **
  21  Prefactor     1.6791        .20089       -.20705E-04    .12880E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.72473e-07
  norm       = 9.4369e-10
  Prefactor  = 3.47481e-05
  Prefactor  = 2.62013e-08
  Prefactor  = 1.73761e-06
  Prefactor  = 3.9968e-09
  norm       = 5.55112e-11
  norm       = 0
  norm       = 1.94364
  norm       = 5.55112e-11
  Prefactor  = 54.1759
  Prefactor  = 29.8546
  Prefactor  = 0.000129292
  Prefactor  = 1.11022e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 3.97127e-07
  Prefactor  = 2.82385e-07
  norm       = 3.55626
  Prefactor  = 17.4049
  Normalizat = 0.01
  Prefactor  = 1.67914
 **********
 **   18 **HESSE 
 **********

 FCN=   1522.288     FROM HESSE     STATUS=OK           345 CALLS     2012 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17247E-06    13.693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .94369E-09    9.3767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .34748E-04    119.92        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .26201E-07    15.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17376E-05    55.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .39968E-08    26.088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-10    5.8823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.9436        1.9910        .73552E-03   -1.5680    
  10  norm          .55511E-10    5.3676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     54.176        47.456        .13818E-03   -1.5561    
  12  Prefactor     29.855        118.23        .28714E-03   -1.5599    
  13  Prefactor     .12929E-03    759.41        .81113E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11102E-09    9.6767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    96.855        .15607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .39713E-06    41.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .28239E-06    13.961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.5563        3.6216        .53097E-03   -1.5670    
  19  Prefactor     17.405        15.162        .23856E-03   -1.5625    
  20  Normalizat    .10000E-01    .25538        .32178E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.6791        .20310        .41901E-01   -.72639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26038e-06
Minuit parameter uncertainties:
  1  0.00307352
  2  0.000186238
  3  0.129106
  4  0.00128082
  5  0.0195537
  6  0.000644383
  7  3.842e-05
  8  1.22053e-05
  9  1.99101
  10  3.44541e-05
  11  47.4563
  12  118.243
  13  0.626772
  14  5.971e-05
  15  0.000133757
  16  0.00811223
  17  0.00397106
  18  3.62157
  19  15.1615
  20  5.45196e-06
  21  0.203205
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.944e+00  1.991e+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

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.679e+00  2.032e-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.000e-02  5.452e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.49e-07 +/- 1.53e-07
Energy Flux (Fixed Index): 3.72e-05 +/- 3.81e-05

TS (Fixed Index): 1.48
Ra Dec: 147.244 0.372
Photon Flux Upper Limit: 5.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.27e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/820446/likelihoodResults_694224001_694483201_4FGL_J0948.9+0022_daily_bin1755.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) = 1521.75869367
delta logL = 0.529285799283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1521.73032525
delta logL = 0.557654213585

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86564       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6732       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=   1521.730     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      257 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86568        1.2942        .48165E-03    .58801E-01
   2  alpha         5.0000        4.8768        .46314    ** at limit **
   3  Normalizat    .10000E-01    .15592        .22694    ** at limit **
   4  Prefactor     1.6734        .20038        .41780E-01   -.20697E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.865682
  alpha      = 5
  Normalizat = 0.01
  Prefactor  = 1.67341
 **********
 **   18 **HESSE 
 **********

 FCN=   1521.730     FROM HESSE     STATUS=OK            27 CALLS      284 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86568        .71071        .28572E-05   -1.5689    
   2  alpha         5.0000        4.1421        .56032E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .10000E-01    .17329        .86631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6734        .18407        .18463E-03   -.72792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2398e-09
Minuit parameter uncertainties:
  1  0.710706
  2  0.00011102
  3  4.34838e-07
  4  0.184148
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820446': 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) = 1521.73032395
delta logL = 0.55765551877

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  8.657e-01  7.107e-01  0.000e+00  1.000e+06 ( 1.000e-10)
218        alpha:  5.000e+00  1.110e-04  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.673e+00  1.841e-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.000e-02  4.348e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.59
Ra Dec: 147.244 0.372
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 3.18e-07 +/- 2.60e-07
Energy Flux (Free Index): 4.28e-05 +/- 3.51e-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/820446/cmap_HighResolution_694224001_694483201_4FGL_J0948.9+0022_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-04', comment='SUCCESS', photon_flux='1.49e-07', energy_flux2='4.28e-05', photon_flux_error='1.53e-07', dlogl='5.58e-01', energy_flux='3.72e-05', photon_flux2='3.18e-07', job_status='DONE', time_completed='2023-01-04 00:58:13.234032', photon_index_error2='0.00', photon_index2='5.00', ts='1.48', fit_tolerance='1e-08', GAL='1.68', photon_index_error='0.00', photon_flux_upper_limit='5.08e-07', energy_flux_error2='3.51e-05', EG='0.01', time_epoch_completed='1672822693.23', return_code='0', job_id='820446', GAL2='1.67', EG2='0.01', return_code2='0', energy_flux_error='3.81e-05', photon_flux_error2='2.60e-07', ts2='2.59', photon_index='2.45' WHERE bin_id='1755' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 00:58:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 820446: <4FGL_J0948.9+0022_daily_bin1755> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin1755> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan  4 00:50:11 2023
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:50:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:50:15 2023
Terminated at Wed Jan  4 00:58:14 2023
Results reported at Wed Jan  4 00:58:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin1755 147.244 0.3717 694224001 694483201 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 :                                   366.05 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             298.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   481 sec.
    Turnaround time :                            483 sec.

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

