aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 3 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 17388
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0948.9+0022_weekly_bin70
RA = 147.244, Dec = 0.3717
tmin = 281318401, tmax = 281923201
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='50231', job_status='RUN', time_executed='2021-07-16 03:16:17.807700', time_epoch_executed='1626430577.81' WHERE source_name='4FGL J0948.9+0022' and cadence='weekly' and bin_id='70'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/50231

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/50231/ft1_4FGL_J0948.9+0022_weekly_bin70.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/50231/ft2_4FGL_J0948.9+0022_weekly_bin70.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/50231/ft1_4FGL_J0948.9+0022_weekly_bin70.fits outfile=/scratch/kocevski/50231/ft1_filteredMKT_4FGL_J0948.9+0022_weekly_bin70.fits ra=147.244 dec=0.3717 rad=12.0 tmin=281318401.0 tmax=281923201.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 7.46
user 7.13
sys 0.29

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/50231/ft1_filtered_4FGL_J0948.9+0022_weekly_bin70.fits evtable="EVENTS" scfile=/scratch/kocevski/50231/ft2_4FGL_J0948.9+0022_weekly_bin70.fits sctable="SC_DATA" expcube=/scratch/kocevski/50231/ltcube_281318401_281923201_4FGL_J0948.9+0022_weekly_bin70.fits outfile=/scratch/kocevski/50231/expmap_281318401_281923201_4FGL_J0948.9+0022_weekly_bin70.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/50231/ltcube_281318401_281923201_4FGL_J0948.9+0022_weekly_bin70.fits
.....................!
real 191.70
user 185.84
sys 5.46

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/50231/ft1_filtered_4FGL_J0948.9+0022_weekly_bin70.fits scfile=/scratch/kocevski/50231/ft2_4FGL_J0948.9+0022_weekly_bin70.fits outfile=/scratch/kocevski/50231/cmap_281318401_281923201_4FGL_J0948.9+0022_weekly_bin70.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.58
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/50231/ft1_filtered_4FGL_J0948.9+0022_weekly_bin70.fits scfile=/scratch/kocevski/50231/ft2_4FGL_J0948.9+0022_weekly_bin70.fits outfile=/scratch/kocevski/50231/cmap_HighResolution_281318401_281923201_4FGL_J0948.9+0022_weekly_bin70.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.59
user 0.42
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/50231/ft1_filtered_4FGL_J0948.9+0022_weekly_bin70.fits', '/scratch/kocevski/50231/ft2_4FGL_J0948.9+0022_weekly_bin70.fits', expMap='/scratch/kocevski/50231/expmap_281318401_281923201_4FGL_J0948.9+0022_weekly_bin70.fits', expCube='/scratch/kocevski/50231/ltcube_281318401_281923201_4FGL_J0948.9+0022_weekly_bin70.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/50231/Model_4FGL_J0948.9+0022_weekly_bin70.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  1.000e-04  1.000e+04 ( 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  0.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/50231/ft1_filtered_4FGL_J0948.9+0022_weekly_bin70.fits
Spacecraft file(s): /scratch/kocevski/50231/ft2_4FGL_J0948.9+0022_weekly_bin70.fits
Exposure map: /scratch/kocevski/50231/expmap_281318401_281923201_4FGL_J0948.9+0022_weekly_bin70.fits
Exposure cube: /scratch/kocevski/50231/ltcube_281318401_281923201_4FGL_J0948.9+0022_weekly_bin70.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/50231/Model_4FGL_J0948.9+0022_weekly_bin70.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) = 11835.7914493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6824       1.0000         .10000E-03   10000.    
     2 'norm      '    9.6621       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .35470       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.504       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3405       1.0000         .10000E-03   10000.    
     8 'norm      '    3.3432       1.0000         .10000E-03   10000.    
     9 'norm      '    4.0242       1.0000         .10000E-03   10000.    
    10 'norm      '    1.7005       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7183       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0330       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.989       1.0000         .10000E-03   10000.    
    15 'norm      '    5.4221       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .19240E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    52.752       1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.301       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1231       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92168       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11835.77     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2576 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6823        3.4112        .13990E-07   -.15318E-03
   2  norm          9.6648        5.6401       -.16817E-06   -.27886E-03
   3  Prefactor     .31792        31.859        .12149E-04   -.35565E-03
   4  Prefactor     .10000E-03    1.6514        .21296E-06** at limit **
   5  Prefactor     .10000E-03    6.0619        .87672E-07** at limit **
   6  Prefactor     11.505        11.046       -.42264E-07   -.11956E-03
   7  Prefactor     1.3274        61.590        .17213E-06    .83697E-06
   8  norm          3.3430        2.8333        .29333E-07   -.67863E-04
   9  norm          4.0243        1.1122        .29054E-07   -.10476E-03
  10  norm          1.7006        .50085        .27359E-07    .75294E-04
  11  norm          1.7181        1.3497        .74154E-07    .17638E-03
  12  Prefactor     2.0363        11.862       -.42665E-05    .10647E-03
  13  Prefactor     .10000E-03    10.420        .70166E-06** at limit **
  14  Prefactor     31.969        27.713       -.76638E-06   -.21283E-04
  15  norm          5.4235        6.7697        .41960E-06    .10519E-03
  16  Prefactor     .10002E-03    8.2287        .51345E-05** at limit **
  17  Prefactor     52.748        46.833        .50454E-06    .42271E-04
  18  Prefactor     22.335        31.145        .15531E-05   -.21107E-05
  19  Prefactor     .10002E-03    16.902       -.34499E-05** at limit **
  20  norm          .10000E-03    .38959        .17695E-06** at limit **
  21  Prefactor     .10000E-03    1.1747        .18726E-06** at limit **
  22  Normalizat    1.1229        .15085        .40728E-06   -.72145E-03
  23  Prefactor     .92188        .11144       -.10433E-05   -.95179E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.68231
  norm       = 9.66483
  Prefactor  = 0.317919
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.5048
  Prefactor  = 1.32742
  norm       = 3.34295
  norm       = 4.02428
  norm       = 1.70056
  norm       = 1.71812
  Prefactor  = 2.03626
  Prefactor  = 0.000100001
  Prefactor  = 31.9688
  norm       = 5.42352
  Prefactor  = 0.000100023
  Prefactor  = 52.7478
  Prefactor  = 22.3349
  Prefactor  = 0.000100016
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.12291
  Prefactor  = 0.92188
 **********
 **   18 **HESSE 
 **********

 FCN=   11835.77     FROM HESSE     STATUS=OK           376 CALLS     2952 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6823        3.4131        .13667E-03   -1.5191    
   2  norm          9.6648        5.6216        .12892E-03   -1.5086    
   3  Prefactor     .31792        48.487        .45850E-02   -1.5595    
   4  Prefactor     .10000E-03    1.7291        .27307E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.0649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.505        11.064        .11811E-03   -1.5029    
   7  Prefactor     1.3274        62.917        .37857E-03   -1.5478    
   8  norm          3.3430        2.8266        .16196E-03   -1.5342    
   9  norm          4.0243        1.1166        .57377E-04   -1.5307    
  10  norm          1.7006        .49805        .39639E-04   -1.5447    
  11  norm          1.7181        1.3421        .10809E-03   -1.5446    
  12  Prefactor     2.0363        12.167        .14505E-02   -1.5423    
  13  Prefactor     .10000E-03    10.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.969        27.656        .70845E-04   -1.4577    
  15  norm          5.4235        6.7649        .17257E-03   -1.5242    
  16  Prefactor     .10002E-03    14.932        .36988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     52.748        47.039        .55222E-04   -1.4254    
  18  Prefactor     22.335        32.058        .84819E-04   -1.4762    
  19  Prefactor     .10002E-03    18.568        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .71072        .13134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.1845        .11528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1229        .17667        .27030E-03   -.89019    
  23  Prefactor     .92188        .13095        .23424E-03   -.95381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42037e-09
Minuit parameter uncertainties:
  1  3.41324
  2  5.62195
  3  7.85762
  4  1.92443e-05
  5  1.05239e-05
  6  11.0657
  7  18.2974
  8  2.82674
  9  1.11658
  10  0.498049
  11  1.34209
  12  9.95777
  13  0.000164048
  14  27.6667
  15  6.7659
  16  0.00115996
  17  47.0725
  18  32.083
  19  0.00107832
  20  6.10512e-06
  21  1.42963e-05
  22  0.176765
  23  0.130996
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.701e+00  4.980e-01  1.000e-04  1.000e+04 ( 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  0.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:  9.219e-01  1.310e-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.123e+00  1.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.54
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.31e-07 +/- 3.82e-08
Energy Flux (Fixed Index): 3.25e-05 +/- 9.53e-06

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) = 11834.8857146
delta logL = 0.882784070036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11834.8850858
delta logL = 0.883412868632

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5678       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0066       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1624       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89599       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=   11834.89     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      211 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5678        .46344        .84899E-02   -.10675E-02
   2  alpha         2.0066        .26546        .27722       -.12391E-03
   3  Normalizat    1.1624        .13858        .60215E-01   -.85317E-03
   4  Prefactor     .89599        .11015        .44954E-01   -.99844E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.56785
  alpha      = 2.00658
  Normalizat = 1.16241
  Prefactor  = 0.895989
 **********
 **   18 **HESSE 
 **********

 FCN=   11834.89     FROM HESSE     STATUS=OK            29 CALLS      240 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5678        .50362        .38466E-04   -1.5458    
   2  alpha         2.0066        .31276        .11437E-01   -.19867    
   3  Normalizat    1.1624        .16301        .26632E-03   -.87773    
   4  Prefactor     .89599        .12910        .23706E-03   -.96281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04641e-10
Minuit parameter uncertainties:
  1  0.503618
  2  0.313612
  3  0.163084
  4  0.129142
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/50231': 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) = 11834.8850858
delta logL = 0.883412870146

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.568e+00  5.036e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.007e+00  3.136e-01  0.000e+00  5.000e+00 ( 1.000e+00)
219         beta:  1.652e-01  0.000e+00  0.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:  8.960e-01  1.291e-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.162e+00  1.631e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.26
Ra Dec: 147.244 0.372
Photon Index (Free Index): 2.01 +/- 0.31
Photon Flux (Free Index): 1.07e-07 +/- 3.68e-08
Energy Flux (Free Index): 3.76e-05 +/- 1.19e-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/50231/cmap_HighResolution_281318401_281923201_4FGL_J0948.9+0022_weekly_bin70.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.31e-07', energy_flux2='3.76e-05', photon_flux_error='3.82e-08', dlogl='8.83e-01', energy_flux='3.25e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-07-16 03:30:19.435567', photon_index_error2='0.31', photon_index2='2.01', ts='22.54', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.19e-05', EG='1.12', time_epoch_completed='1626431419.44', return_code='0', job_id='50231', GAL2='0.90', EG2='1.16', return_code2='0', energy_flux_error='9.53e-06', photon_flux_error2='3.68e-08', ts2='24.26', photon_index='2.45' WHERE bin_id='70' AND source_name='4FGL J0948.9+0022' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 16 03:30:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 50231: <4FGL_J0948.9+0022_weekly_bin70> in cluster <slac> Done

Job <4FGL_J0948.9+0022_weekly_bin70> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Jul 16 03:15:38 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 16 03:16:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 16 03:16:06 2021
Terminated at Fri Jul 16 03:30:20 2021
Results reported at Fri Jul 16 03:30:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_weekly_bin70 147.244 0.3717 281318401 281923201 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 :                                   824.00 sec.
    Max Memory :                                 620 MB
    Average Memory :                             303.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            882 sec.

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

