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


Performing analysis on: 4FGL_J0748.3+4928_daily_bin1773
RA = 117.082, Dec = 49.4748
tmin = 698889601, tmax = 699148801
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='656129', job_status='RUN', time_executed='2023-02-27 08:56:23.550364', time_epoch_executed='1677516983.55' WHERE source_name='4FGL J0748.3+4928' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656129

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656129/ft1_4FGL_J0748.3+4928_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656129/ft2_4FGL_J0748.3+4928_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656129/ft1_4FGL_J0748.3+4928_daily_bin1773.fits outfile=/scratch/kocevski/656129/ft1_filteredMKT_4FGL_J0748.3+4928_daily_bin1773.fits ra=117.082 dec=49.4748 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.92
user 2.72
sys 0.19

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

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

Number of photons that the gtmktime cut: 488

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656129/ft1_filtered_4FGL_J0748.3+4928_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/656129/ft2_4FGL_J0748.3+4928_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/656129/ltcube_698889601_699148801_4FGL_J0748.3+4928_daily_bin1773.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/656129/ft2_4FGL_J0748.3+4928_daily_bin1773.fits
.....................!
real 12.64
user 12.27
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656129/ft1_filtered_4FGL_J0748.3+4928_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/656129/ft2_4FGL_J0748.3+4928_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/656129/ltcube_698889601_699148801_4FGL_J0748.3+4928_daily_bin1773.fits outfile=/scratch/kocevski/656129/expmap_698889601_699148801_4FGL_J0748.3+4928_daily_bin1773.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/656129/ltcube_698889601_699148801_4FGL_J0748.3+4928_daily_bin1773.fits
.....................!
real 189.82
user 185.48
sys 4.00

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/656129/ft1_filtered_4FGL_J0748.3+4928_daily_bin1773.fits scfile=/scratch/kocevski/656129/ft2_4FGL_J0748.3+4928_daily_bin1773.fits outfile=/scratch/kocevski/656129/cmap_698889601_699148801_4FGL_J0748.3+4928_daily_bin1773.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656129/ft1_filtered_4FGL_J0748.3+4928_daily_bin1773.fits scfile=/scratch/kocevski/656129/ft2_4FGL_J0748.3+4928_daily_bin1773.fits outfile=/scratch/kocevski/656129/cmap_HighResolution_698889601_699148801_4FGL_J0748.3+4928_daily_bin1773.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/656129/ft1_filtered_4FGL_J0748.3+4928_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/656129/ft2_4FGL_J0748.3+4928_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/656129/Model_4FGL_J0748.3+4928_daily_bin1773.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/656129/ft1_filtered_4FGL_J0748.3+4928_daily_bin1773.fits.....................!
real 58.54
user 57.23
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/656129/ft1_filtered_4FGL_J0748.3+4928_daily_bin1773.fits', '/scratch/kocevski/656129/ft2_4FGL_J0748.3+4928_daily_bin1773.fits', expMap='/scratch/kocevski/656129/expmap_698889601_699148801_4FGL_J0748.3+4928_daily_bin1773.fits', expCube='/scratch/kocevski/656129/ltcube_698889601_699148801_4FGL_J0748.3+4928_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/656129/Model_4FGL_J0748.3+4928_daily_bin1773.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  0.000e+00  1.000e+06 ( 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/656129/ft1_filtered_4FGL_J0748.3+4928_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/656129/ft2_4FGL_J0748.3+4928_daily_bin1773.fits
Exposure map: /scratch/kocevski/656129/expmap_698889601_699148801_4FGL_J0748.3+4928_daily_bin1773.fits
Exposure cube: /scratch/kocevski/656129/ltcube_698889601_699148801_4FGL_J0748.3+4928_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/656129/Model_4FGL_J0748.3+4928_daily_bin1773.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) = 5406.78075495

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5407       1.0000          .0000       .10000E+07
     2 'norm      '    .36525E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .21244E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .77423E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    6.3647       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.163       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.6721       1.0000          .0000       .10000E+07
     8 'norm      '    .34755E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .14011E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .23092E-03   1.0000          .0000       .10000E+07
    11 'norm      '    6.1562       1.0000          .0000       .10000E+07
    12 'Prefactor '    17.237       1.0000          .0000       .10000E+07
    13 'Prefactor '    33.005       1.0000          .0000       .10000E+07
    14 'norm      '    3.1062       1.0000          .0000       .10000E+07
    15 'Prefactor '    .43044E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .21843       1.0000          .0000       .10000E+07
    17 'Prefactor '    23.009       1.0000          .0000       .10000E+07
    18 'norm      '    .83854E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .16653E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .73686E-06   1.0000          .0000       .10000E+07
    21 'norm      '    .13683E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    8.3599       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.7526       1.0000          .0000       .10000E+07
    24 'Prefactor '    .31968E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    67.530       1.0000          .0000       .10000E+07
    26 'Prefactor '    .63146E-02   1.0000          .0000       .10000E+07
    27 'norm      '    7.7109       1.0000          .0000       .10000E+07
    28 'norm      '    11.142       1.0000          .0000       .10000E+07
    29 'Prefactor '    .25295E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    .69735       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .91154       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5406.631     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     2954 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5420        3.2839        .40835E-07    .22697E-02
   2  norm           .0000        2.4860       -.83072E-08** at limit **
   3  norm           .0000        2.0547       -.22776E-08** at limit **
   4  Prefactor     .10769E-06    6.7314        .10551E-06** at limit **
   5  Prefactor     6.2205        7.4703        .21063E-08   -.22281E-03
   6  Prefactor     13.140        1.2935       -.43267E-08   -.18999E-02
   7  Prefactor     9.5622        1.7191       -.53178E-08   -.52491E-02
   8  norm          .32177E-05    8.7289       -.16460E-06** at limit **
   9  Prefactor     .19553E-05    12.090       -.19791E-06** at limit **
  10  Prefactor     .90150E-06    12.245       -.17789E-06** at limit **
  11  norm          6.1567        1.4482        .15375E-07    .91131E-02
  12  Prefactor     17.378        1.2563       -.77214E-09   -.46583E-02
  13  Prefactor     33.249        1.3933        .59165E-08   -.57532E-02
  14  norm          3.0843        4.1490       -.77127E-07   -.40180E-02
  15  Prefactor     .80935E-07    10.245       -.57234E-07** at limit **
  16  Prefactor     .76605E-08    1.7645        .29996E-07** at limit **
  17  Prefactor     23.050        2.6510       -.42893E-08    .30674E-02
  18  norm          .11102E-09    2.3389       -.89187E-07** at limit **
  19  norm          .27756E-09    2.3328       -.14049E-06** at limit **
  20  Prefactor     .45075E-07    6.3915        .60782E-07** at limit **
  21  norm           .0000        .34442        .12108E-07** at limit **
  22  Prefactor     8.6279        4.7043        .88238E-08    .17452E-01
  23  Prefactor     1.7225        6.3939        .22696E-07    .80698E-04
  24  Prefactor     .10518E-04    26.430        .30987E-08** at limit **
  25  Prefactor     68.672        27.094       -.17720E-07   -.16096    
  26  Prefactor     .63449E-07    15.135       -.25242E-06** at limit **
  27  norm          7.7718        10.277        .13441E-07    .23479E-01
  28  norm          11.133        3.4698        .18872E-07    .20835E-02
  29  Prefactor     .15072E-05    11.122       -.16879E-06** at limit **
  30  Normalizat    .69692        .25629        .11521E-05   -.16047E-03
  31  Prefactor     .91204        .15322       -.17855E-05   -.41997E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.54196
  norm       = 0
  norm       = 0
  Prefactor  = 1.07692e-07
  Prefactor  = 6.22054
  Prefactor  = 13.1396
  Prefactor  = 9.5622
  norm       = 3.2177e-06
  Prefactor  = 1.95532e-06
  Prefactor  = 9.01501e-07
  norm       = 6.15667
  Prefactor  = 17.3778
  Prefactor  = 33.2486
  norm       = 3.08427
  Prefactor  = 8.09353e-08
  Prefactor  = 7.66054e-09
  Prefactor  = 23.0499
  norm       = 1.11022e-10
  norm       = 2.77556e-10
  Prefactor  = 4.50751e-08
  norm       = 0
  Prefactor  = 8.62792
  Prefactor  = 1.72253
  Prefactor  = 1.05184e-05
  Prefactor  = 68.6719
  Prefactor  = 6.34492e-08
  norm       = 7.7718
  norm       = 11.1333
  Prefactor  = 1.50724e-06
  Normalizat = 0.696923
  Prefactor  = 0.912037
 **********
 **   18 **HESSE 
 **********

 FCN=   5406.631     FROM HESSE     STATUS=OK           680 CALLS     3634 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5420        3.2868        .53694E-03   -1.5670    
   2  norm           .0000        2.4787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.0545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10769E-06    6.8865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.2205        7.6943        .39762E-03   -1.5658    
   6  Prefactor     13.140        14.031        .27582E-03   -1.5635    
   7  Prefactor     9.5622        19.193        .32198E-03   -1.5646    
   8  norm          .32177E-05    16.395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19553E-05    30.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .90150E-06    30.931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1567        1.4490        .40438E-03   -1.5658    
  12  Prefactor     17.378        22.336        .24097E-03   -1.5625    
  13  Prefactor     33.249        23.801        .17409E-03   -1.5593    
  14  norm          3.0843        4.8904        .57510E-03   -1.5673    
  15  Prefactor     .80935E-07    10.316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .76605E-08    49.354        .11457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.050        11.942        .20853E-03   -1.5612    
  18  norm          .11102E-09    2.3373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .27756E-09    2.3142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .45075E-07    6.6628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        .34353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.6279        29.337        .34648E-03   -1.5649    
  23  Prefactor     1.7225        6.4447        .79158E-03   -1.5682    
  24  Prefactor     .10518E-04    38.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     68.672        37.607        .12170E-03   -1.5542    
  26  Prefactor     .63449E-07    22.211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          7.7718        11.224        .36088E-03   -1.5652    
  28  norm          11.133        13.422        .29988E-03   -1.5641    
  29  Prefactor     .15072E-05    13.535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .69692        .23443        .78108E-01   -1.0401    
  31  Prefactor     .91204        .13263        .45152E-01   -.95722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45128e-06
Minuit parameter uncertainties:
  1  3.28682
  2  3.94489e-06
  3  5.17517e-06
  4  0.00172253
  5  7.69427
  6  14.0306
  7  19.1932
  8  0.0145263
  9  0.015349
  10  0.0105611
  11  1.44897
  12  22.3357
  13  23.8006
  14  4.89039
  15  0.00182738
  16  0.0012291
  17  11.9418
  18  3.52189e-05
  19  4.81503e-05
  20  0.00109593
  21  1.87571e-06
  22  29.3377
  23  6.44474
  24  0.040283
  25  37.6068
  26  0.00237465
  27  11.2241
  28  13.422
  29  0.0090333
  30  0.234769
  31  0.132672
Done.

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

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.738e+01  2.234e+01  0.000e+00  1.000e+06 ( 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:  9.120e-01  1.327e-01  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:  6.969e-01  2.348e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 117.082 49.475
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 5.07e-08 +/- 6.51e-08
Energy Flux (Fixed Index): 1.71e-05 +/- 2.20e-05

TS (Fixed Index): 1.03
Ra Dec: 117.082 49.475
Photon Flux Upper Limit: 1.67e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.29e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656129/likelihoodResults_698889601_699148801_4FGL_J0748.3+4928_daily_bin1773.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) = 5406.33387082
delta logL = 0.297241649425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5406.32192743
delta logL = 0.309185039112

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8460       1.0000          .0000       .10000E+07
     2 'Index     '    2.9896       1.0000          .0000       10.000    
     3 'Normalizat'    .65913       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92662       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=   5406.322     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      255 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8216        196.25        .33676E-03    .15721E-02
   2  Index         2.9908        3.4671        .10838        .13657E-03
   3  Normalizat    .65927        .82535E-01    .80081E-01    .28131E-04
   4  Prefactor     .92646        .47441E-01    .45343E-01   -.77479E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.82163
  Index      = 2.99077
  Normalizat = 0.659273
  Prefactor  = 0.926465
 **********
 **   18 **HESSE 
 **********

 FCN=   5406.322     FROM HESSE     STATUS=OK            33 CALLS      288 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8216        19.792        .13471E-04   -1.5649    
   2  Index         2.9908        1.1112        .54352E-02   -.41353    
   3  Normalizat    .65927        .25580        .35460E-03   -1.0552    
   4  Prefactor     .92646        .15417        .18547E-03   -.95222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83716e-11
Minuit parameter uncertainties:
  1  19.7926
  2  1.12245
  3  0.256266
  4  0.154244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656129': 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) = 5406.32192512
delta logL = 0.309187342109

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  8.822e+00  1.979e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.991e+00  1.122e+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:  9.265e-01  1.542e-01  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:  6.593e-01  2.563e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.72
Ra Dec: 117.082 49.475
Photon Index (Free Index): 2.99 +/- 1.12
Photon Flux (Free Index): 8.34e-08 +/- 7.50e-08
Energy Flux (Free Index): 1.67e-05 +/- 1.59e-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/656129/cmap_HighResolution_698889601_699148801_4FGL_J0748.3+4928_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', comment='SUCCESS', photon_flux='5.07e-08', energy_flux2='1.67e-05', photon_flux_error='6.51e-08', dlogl='3.09e-01', energy_flux='1.71e-05', photon_flux2='8.34e-08', job_status='DONE', time_completed='2023-02-27 09:08:48.212220', photon_index_error2='1.12', photon_index2='2.99', ts='1.03', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='1.59e-05', EG='0.70', time_epoch_completed='1677517728.21', return_code='0', job_id='656129', GAL2='0.93', EG2='0.66', return_code2='0', energy_flux_error='2.20e-05', photon_flux_error2='7.50e-08', ts2='1.72', photon_index='2.38' WHERE bin_id='1773' AND source_name='4FGL J0748.3+4928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 09:08:48 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 656112: <4FGL_J0748.3+4928_daily_bin1773> in cluster <slac> Done

Job <4FGL_J0748.3+4928_daily_bin1773> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb 27 00:11:02 2023
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 08:44:53 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 08:44:53 2023
Terminated at Mon Feb 27 09:05:39 2023
Results reported at Mon Feb 27 09:05:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.3+4928_daily_bin1773 117.082 49.4748 698889601 699148801 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 :                                   761.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             227.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1246 sec.
    Turnaround time :                            32077 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0007>
Subject: Job 656129: <4FGL_J0748.3+4928_daily_bin1773> in cluster <slac> Done

Job <4FGL_J0748.3+4928_daily_bin1773> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Feb 27 00:11:03 2023
Job was executed on host(s) <bullet0007>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 08:44:55 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 08:44:55 2023
Terminated at Mon Feb 27 09:08:58 2023
Results reported at Mon Feb 27 09:08:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.3+4928_daily_bin1773 117.082 49.4748 698889601 699148801 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 :                                   746.04 sec.
    Max Memory :                                 1101 MB
    Average Memory :                             203.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3407 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1442 sec.
    Turnaround time :                            32282 sec.

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

