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


Performing analysis on: 4FGL_J0748.3+4928_weekly_bin715
RA = 117.082, Dec = 49.4748
tmin = 671414401, tmax = 672019201
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='934226', job_status='RUN', time_executed='2022-04-19 02:25:51.851942', time_epoch_executed='1650360351.85' WHERE source_name='4FGL J0748.3+4928' and cadence='weekly' and bin_id='715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934226

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934226/ft1_4FGL_J0748.3+4928_weekly_bin715.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934226/ft2_4FGL_J0748.3+4928_weekly_bin715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934226/ft1_4FGL_J0748.3+4928_weekly_bin715.fits outfile=/scratch/kocevski/934226/ft1_filteredMKT_4FGL_J0748.3+4928_weekly_bin715.fits ra=117.082 dec=49.4748 rad=12.0 tmin=671414401.0 tmax=672019201.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.74
user 7.41
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/934226/ft2_4FGL_J0748.3+4928_weekly_bin715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/934226/ft2_4FGL_J0748.3+4928_weekly_bin715.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/934226/ft1_filteredMKT_4FGL_J0748.3+4928_weekly_bin715.fits evtable="EVENTS" outfile="/scratch/kocevski/934226/ft1_filtered_4FGL_J0748.3+4928_weekly_bin715.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.38
sys 0.17

Number of photons that the gtmktime cut: 1675

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934226/ft1_filtered_4FGL_J0748.3+4928_weekly_bin715.fits" evtable="EVENTS" scfile=/scratch/kocevski/934226/ft2_4FGL_J0748.3+4928_weekly_bin715.fits sctable="SC_DATA" outfile=/scratch/kocevski/934226/ltcube_671414401_672019201_4FGL_J0748.3+4928_weekly_bin715.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/934226/ft2_4FGL_J0748.3+4928_weekly_bin715.fits
.....................!
real 28.42
user 27.88
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934226/ft1_filtered_4FGL_J0748.3+4928_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/934226/ft2_4FGL_J0748.3+4928_weekly_bin715.fits sctable="SC_DATA" expcube=/scratch/kocevski/934226/ltcube_671414401_672019201_4FGL_J0748.3+4928_weekly_bin715.fits outfile=/scratch/kocevski/934226/expmap_671414401_672019201_4FGL_J0748.3+4928_weekly_bin715.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/934226/ltcube_671414401_672019201_4FGL_J0748.3+4928_weekly_bin715.fits
.....................!
real 192.93
user 186.50
sys 5.91

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

Setting source of interest to:
4FGL J0748.3+4928 @ 117.082 49.4748

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/934226/ft1_filtered_4FGL_J0748.3+4928_weekly_bin715.fits scfile=/scratch/kocevski/934226/ft2_4FGL_J0748.3+4928_weekly_bin715.fits outfile=/scratch/kocevski/934226/cmap_671414401_672019201_4FGL_J0748.3+4928_weekly_bin715.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=117.082 yref=49.4748 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.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934226/ft1_filtered_4FGL_J0748.3+4928_weekly_bin715.fits scfile=/scratch/kocevski/934226/ft2_4FGL_J0748.3+4928_weekly_bin715.fits outfile=/scratch/kocevski/934226/cmap_HighResolution_671414401_672019201_4FGL_J0748.3+4928_weekly_bin715.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=117.082 yref=49.4748 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/934226/ft1_filtered_4FGL_J0748.3+4928_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/934226/ft2_4FGL_J0748.3+4928_weekly_bin715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934226/Model_4FGL_J0748.3+4928_weekly_bin715.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/934226/ft1_filtered_4FGL_J0748.3+4928_weekly_bin715.fits.....................!
real 158.47
user 156.82
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/934226/ft1_filtered_4FGL_J0748.3+4928_weekly_bin715.fits', '/scratch/kocevski/934226/ft2_4FGL_J0748.3+4928_weekly_bin715.fits', expMap='/scratch/kocevski/934226/expmap_671414401_672019201_4FGL_J0748.3+4928_weekly_bin715.fits', expCube='/scratch/kocevski/934226/ltcube_671414401_672019201_4FGL_J0748.3+4928_weekly_bin715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/934226/Model_4FGL_J0748.3+4928_weekly_bin715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0748.3+4928'

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.597e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.379e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/934226/ft1_filtered_4FGL_J0748.3+4928_weekly_bin715.fits
Spacecraft file(s): /scratch/kocevski/934226/ft2_4FGL_J0748.3+4928_weekly_bin715.fits
Exposure map: /scratch/kocevski/934226/expmap_671414401_672019201_4FGL_J0748.3+4928_weekly_bin715.fits
Exposure cube: /scratch/kocevski/934226/ltcube_671414401_672019201_4FGL_J0748.3+4928_weekly_bin715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/934226/Model_4FGL_J0748.3+4928_weekly_bin715.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) = 17875.915598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6487       1.0000         .10000E-03   10000.    
     2 'norm      '    1.7677       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.2899       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9730       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6251       1.0000         .10000E-03   10000.    
     9 'norm      '    .17699       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.840       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.482       1.0000         .10000E-03   10000.    
    12 'norm      '    .30597       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .61115E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.8691       1.0000         .10000E-03   10000.    
    15 'norm      '    1.3424       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.1417       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6476       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10637E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.3004       1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.9008       1.0000         .10000E-03   10000.    
    23 'norm      '    1.5981       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.2015       1.0000         .10000E-03   10000.    
    26 'Prefactor '    35.357       1.0000         .10000E-03   10000.    
    27 'Prefactor '    11.098       1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.5582       1.0000         .10000E-03   10000.    
    29 'norm      '    .90204       1.0000         .10000E-03   10000.    
    30 'norm      '    .86451       1.0000         .10000E-03   10000.    
    31 'Prefactor '    7.3866       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .82881       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0444       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17875.89     FROM MIGRAD    STATUS=CONVERGED    891 CALLS     4006 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6485        1.8279       -.16953E-06   -.12434E-03
   2  norm          1.7675        1.7031       -.15095E-06   -.10938E-03
   3  Prefactor     .10000E-03    2.8262       -.78822E-07** at limit **
   4  norm          .10000E-03    .83928       -.73037E-08** at limit **
   5  Prefactor     4.2898        4.3763       -.27376E-07    .91824E-05
   6  Prefactor     .10000E-03    1.4072       -.90823E-07** at limit **
   7  Prefactor     5.9726        6.2431       -.24840E-06   -.78020E-04
   8  Prefactor     4.6248        6.8120       -.52519E-06   -.18532E-05
   9  norm          .16929        1.5062       -.16339E-06   -.22013E-03
  10  Prefactor     12.839        9.1355       -.21371E-06    .45737E-04
  11  Prefactor     13.486        14.522       -.49265E-06   -.13014E-03
  12  norm          .30593        .41421       -.16045E-06   -.20060E-02
  13  Prefactor     .10073E-03    2.5677        .12114E-05** at limit **
  14  Prefactor     8.8686        8.4803        .20256E-05    .25295E-03
  15  norm          1.3426        .92993        .49434E-07   -.12146E-03
  16  Prefactor     .10000E-03    1.1044        .30629E-06** at limit **
  17  Prefactor     2.1147        57.915       -.76858E-04   -.12430E-04
  18  Prefactor     3.6466        13.453       -.11864E-05   -.31489E-05
  19  Prefactor     .10000E-03    1.3358        .43618E-06** at limit **
  20  norm          .10000E-03    1.0930       -.20434E-06** at limit **
  21  norm          1.3006        1.0088       -.57461E-07    .17003E-03
  22  Prefactor     4.9006        4.3994       -.13258E-06    .35433E-04
  23  norm          1.5980        .43562        .22653E-06    .23472E-02
  24  Prefactor     .10000E-03    12.255       -.61083E-06** at limit **
  25  Prefactor     8.2018        4.0027       -.28226E-06    .17030E-03
  26  Prefactor     35.351        20.571       -.38108E-05    .78606E-04
  27  Prefactor     11.098        7.1613        .64750E-06    .17827E-03
  28  Prefactor     4.5582        3.3202        .11560E-06    .56152E-04
  29  norm          .90226        1.9046       -.34808E-06   -.13895E-03
  30  norm          .86447        .33167        .11508E-06   -.30249E-02
  31  Prefactor     7.3865        5.9849       -.22815E-06    .24386E-04
  32  Normalizat    .82882        .11817        .34819E-05    .10104E-03
  33  Prefactor     1.0444        .75525E-01   -.27957E-06    .65335E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.6485
  norm       = 1.7675
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.28976
  Prefactor  = 0.0001
  Prefactor  = 5.97261
  Prefactor  = 4.6248
  norm       = 0.169294
  Prefactor  = 12.8395
  Prefactor  = 13.4859
  norm       = 0.305925
  Prefactor  = 0.000100733
  Prefactor  = 8.86855
  norm       = 1.34257
  Prefactor  = 0.0001
  Prefactor  = 2.11472
  Prefactor  = 3.64662
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 1.3006
  Prefactor  = 4.90064
  norm       = 1.59802
  Prefactor  = 0.0001
  Prefactor  = 8.20176
  Prefactor  = 35.351
  Prefactor  = 11.0984
  Prefactor  = 4.55822
  norm       = 0.90226
  norm       = 0.864472
  Prefactor  = 7.3865
  Normalizat = 0.828817
  Prefactor  = 1.04445
 **********
 **   18 **HESSE 
 **********

 FCN=   17875.89     FROM HESSE     STATUS=OK           723 CALLS     4729 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6485        1.8109        .18330E-03   -1.5451    
   2  norm          1.7675        1.6909        .16507E-03   -1.5442    
   3  Prefactor     .10000E-03    2.8277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .84870        .11953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.2898        4.3800        .19451E-03   -1.5294    
   6  Prefactor     .10000E-03    1.4378        .15466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.9726        6.2395        .82149E-03   -1.5219    
   8  Prefactor     4.6248        6.8001        .18715E-03   -1.5278    
   9  norm          .16929        7.0714        .31592E-02   -1.5626    
  10  Prefactor     12.839        9.1090        .11179E-03   -1.4991    
  11  Prefactor     13.486        14.331        .10909E-03   -1.4973    
  12  norm          .30593        .35243        .94262E-03   -1.5597    
  13  Prefactor     .10073E-03    42.647        .39957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.8686        8.4826        .13459E-03   -1.5112    
  15  norm          1.3426        .93782        .10358E-03   -1.5476    
  16  Prefactor     .10000E-03    1.1080        .13728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.1147        58.291        .28163E-03   -1.5417    
  18  Prefactor     3.6466        13.446        .21151E-03   -1.5326    
  19  Prefactor     .10000E-03    4.0584        .29301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.0686        .26118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.3006        .96929        .11136E-03   -1.5480    
  22  Prefactor     4.9006        4.3933        .18169E-03   -1.5265    
  23  norm          1.5980        .43003        .43300E-04   -1.5455    
  24  Prefactor     .10000E-03    12.666        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.2018        3.9860        .13999E-03   -1.5135    
  26  Prefactor     35.351        20.548        .67396E-04   -1.4518    
  27  Prefactor     11.098        7.1560        .12026E-03   -1.5042    
  28  Prefactor     4.5582        3.3287        .18855E-03   -1.5281    
  29  norm          .90226        1.9500        .25789E-02   -1.5518    
  30  norm          .86447        2.8663        .19584E-02   -1.5522    
  31  Prefactor     7.3865        5.9844        .14757E-03   -1.5164    
  32  Normalizat    .82882        .13222        .30363E-03   -.99008    
  33  Prefactor     1.0444        .86699E-01    .18778E-03   -.91262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29517e-07
Minuit parameter uncertainties:
  1  1.81098
  2  1.69094
  3  2.29535e-06
  4  3.2138e-06
  5  4.38034
  6  9.42506e-06
  7  6.24013
  8  6.80125
  9  2.18791
  10  9.10997
  11  14.335
  12  0.352433
  13  0.01119
  14  8.48374
  15  0.937835
  16  3.02156e-05
  17  22.2288
  18  13.457
  19  0.000116881
  20  2.24607e-05
  21  0.969299
  22  4.39362
  23  0.430028
  24  7.58732e-05
  25  3.9861
  26  20.5522
  27  7.15652
  28  3.32884
  29  1.95012
  30  2.86675
  31  5.98486
  32  0.132275
  33  0.0867105
Done.

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

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.007e-04  1.119e-02  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.379e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  1.044e+00  8.671e-02  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  8.288e-01  1.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.082 49.475
Photon Flux Upper Limit: 4.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/934226/likelihoodResults_671414401_672019201_4FGL_J0748.3+4928_weekly_bin715.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): 102
logL (Free Index) = 17875.891456
delta logL = -0.000108275140519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17875.8914559
delta logL = -0.000108268402983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96365E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3787       1.0000          .0000       10.000    
     3 'Normalizat'    .82881       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0444       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17875.89     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      224 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .81042        .90712E-01** at limit **
   2  Index         2.3963        2.2121        .50000       -.58561E-05
   3  Normalizat    .82882        .15514E-02    .68624E-01    .20513E-03
   4  Prefactor     1.0444        .10710E-02    .40247E-01    .33577E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.39627
  Normalizat = 0.828819
  Prefactor  = 1.04445
 **********
 **   18 **HESSE 
 **********

 FCN=   17875.89     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      265 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3642        .69865E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3963        2.3885        .50000       -.54773    
   3  Normalizat    .82882        .16880E-02    .30362E-03   -.99008    
   4  Prefactor     1.0444        .11671E-02    .18778E-03   -.91262    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.08756e-11
Minuit parameter uncertainties:
  1  9.84864e-05
  2  2.53491
  3  0.00168798
  4  0.00116709
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934226': 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): 102
logL (Free Index) = 17875.8913477
delta logL = 2.66918505076e-08

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  9.849e-05  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.396e+00  2.535e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  1.044e+00  1.167e-03  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  8.288e-01  1.688e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.082 49.475

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/934226/cmap_HighResolution_671414401_672019201_4FGL_J0748.3+4928_weekly_bin715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2022-04-19 03:05:05.161660', job_id='934226', GAL2='1.04', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1650362705.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.67e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='715' AND source_name='4FGL J0748.3+4928' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 19 03:05:05 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0191>
Subject: Job 930498: <4FGL_J0748.3+4928_weekly_bin715> in cluster <slac> Done

Job <4FGL_J0748.3+4928_weekly_bin715> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Apr 19 00:06:12 2022
Job was executed on host(s) <bullet0191>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:12:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:12:10 2022
Terminated at Tue Apr 19 02:54:09 2022
Results reported at Tue Apr 19 02:54:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.3+4928_weekly_bin715 117.082 49.4748 671414401 672019201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0748.3+4928 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2354.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             311.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2520 sec.
    Turnaround time :                            10077 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 934226: <4FGL_J0748.3+4928_weekly_bin715> in cluster <slac> Done

Job <4FGL_J0748.3+4928_weekly_bin715> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 19 00:17:15 2022
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:24:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:24:47 2022
Terminated at Tue Apr 19 03:05:06 2022
Results reported at Tue Apr 19 03:05:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.3+4928_weekly_bin715 117.082 49.4748 671414401 672019201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0748.3+4928 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2351.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             339.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2418 sec.
    Turnaround time :                            10071 sec.

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

