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


Performing analysis on: 4FGL_J0748.3+4928_daily_bin1774
RA = 117.082, Dec = 49.4748
tmin = 699148801, tmax = 699408001
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='673336', job_status='RUN', time_executed='2023-03-02 00:10:47.377730', time_epoch_executed='1677744647.38' WHERE source_name='4FGL J0748.3+4928' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/673336

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/673336/ft1_4FGL_J0748.3+4928_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/673336/ft2_4FGL_J0748.3+4928_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/673336/ft1_4FGL_J0748.3+4928_daily_bin1774.fits outfile=/scratch/kocevski/673336/ft1_filteredMKT_4FGL_J0748.3+4928_daily_bin1774.fits ra=117.082 dec=49.4748 rad=12.0 tmin=699148801.0 tmax=699408001.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.85
user 2.63
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/673336/ft2_4FGL_J0748.3+4928_daily_bin1774.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/673336/ft1_filteredMKT_4FGL_J0748.3+4928_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/673336/ft1_filtered_4FGL_J0748.3+4928_daily_bin1774.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.48
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 293

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/673336/ft1_filtered_4FGL_J0748.3+4928_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/673336/ft2_4FGL_J0748.3+4928_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/673336/ltcube_699148801_699408001_4FGL_J0748.3+4928_daily_bin1774.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/673336/ft2_4FGL_J0748.3+4928_daily_bin1774.fits
.....................!
real 12.63
user 12.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/673336/ft1_filtered_4FGL_J0748.3+4928_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/673336/ft2_4FGL_J0748.3+4928_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/673336/ltcube_699148801_699408001_4FGL_J0748.3+4928_daily_bin1774.fits outfile=/scratch/kocevski/673336/expmap_699148801_699408001_4FGL_J0748.3+4928_daily_bin1774.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/673336/ltcube_699148801_699408001_4FGL_J0748.3+4928_daily_bin1774.fits
.....................!
real 191.83
user 186.37
sys 5.15

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/673336/ft1_filtered_4FGL_J0748.3+4928_daily_bin1774.fits scfile=/scratch/kocevski/673336/ft2_4FGL_J0748.3+4928_daily_bin1774.fits outfile=/scratch/kocevski/673336/cmap_699148801_699408001_4FGL_J0748.3+4928_daily_bin1774.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/673336/ft1_filtered_4FGL_J0748.3+4928_daily_bin1774.fits scfile=/scratch/kocevski/673336/ft2_4FGL_J0748.3+4928_daily_bin1774.fits outfile=/scratch/kocevski/673336/cmap_HighResolution_699148801_699408001_4FGL_J0748.3+4928_daily_bin1774.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.53
user 0.37
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/673336/ft1_filtered_4FGL_J0748.3+4928_daily_bin1774.fits', '/scratch/kocevski/673336/ft2_4FGL_J0748.3+4928_daily_bin1774.fits', expMap='/scratch/kocevski/673336/expmap_699148801_699408001_4FGL_J0748.3+4928_daily_bin1774.fits', expCube='/scratch/kocevski/673336/ltcube_699148801_699408001_4FGL_J0748.3+4928_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/673336/Model_4FGL_J0748.3+4928_daily_bin1774.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/673336/ft1_filtered_4FGL_J0748.3+4928_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/673336/ft2_4FGL_J0748.3+4928_daily_bin1774.fits
Exposure map: /scratch/kocevski/673336/expmap_699148801_699408001_4FGL_J0748.3+4928_daily_bin1774.fits
Exposure cube: /scratch/kocevski/673336/ltcube_699148801_699408001_4FGL_J0748.3+4928_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/673336/Model_4FGL_J0748.3+4928_daily_bin1774.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) = 3282.68569963

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57469E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .36976E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .52261E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .38441E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10528E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16376E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .19462E-02   1.0000          .0000       .10000E+07
     8 'norm      '    6.1041       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12659E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.7444       1.0000          .0000       .10000E+07
    11 'norm      '    4.0249       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13208E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .17733E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .77263E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .21178E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    63.389       1.0000          .0000       .10000E+07
    17 'Prefactor '    .33668E-01   1.0000          .0000       .10000E+07
    18 'norm      '    3.0634       1.0000          .0000       .10000E+07
    19 'norm      '    .12456E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .71898E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .23347E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    5.8093       1.0000          .0000       .10000E+07
    23 'Prefactor '    .12738E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    106.17       1.0000          .0000       .10000E+07
    25 'Prefactor '    .15611       1.0000          .0000       .10000E+07
    26 'Prefactor '    .52241E-03   1.0000          .0000       .10000E+07
    27 'norm      '    43.499       1.0000          .0000       .10000E+07
    28 'norm      '    .21195       1.0000          .0000       .10000E+07
    29 'Prefactor '    743.21       1.0000          .0000       .10000E+07
    30 'Normalizat'    1.0345       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .71061       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=   3282.658     FROM MIGRAD    STATUS=CONVERGED    335 CALLS     4680 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1566        .13298E-06** at limit **
   2  norm           .0000        1.8782        .13711E-06** at limit **
   3  norm           .0000        2.2341       -.15125E-06** at limit **
   4  Prefactor      .0000        3.8541       -.21585E-06** at limit **
   5  Prefactor      .0000        19.236       -.34701E-06** at limit **
   6  Prefactor     .55511E-10    13.646        .16290E-05** at limit **
   7  Prefactor      .0000        7.7204       -.14567E-06** at limit **
   8  norm          6.0567        11.684        .15967E-06    .56265E-03
   9  Prefactor     .55511E-10    14.664       -.46409E-06** at limit **
  10  Prefactor     6.2742        78.807        .73341E-05    .47751E-03
  11  norm          4.0259        1.6225       -.10676E-07    .13516E-02
  12  Prefactor      .0000        11.687       -.12262E-05** at limit **
  13  Prefactor      .0000        17.035        .40979E-06** at limit **
  14  norm           .0000        3.2425       -.43228E-07** at limit **
  15  Prefactor      .0000        19.316       -.17070E-05** at limit **
  16  Prefactor     65.006        95.249       -.49459E-05   -.19121E-03
  17  Prefactor     .11102E-09    31.383        .11417E-05** at limit **
  18  norm          2.9740        6.1884        .61501E-06    .21296E-03
  19  norm          .49960E-09    45.063        .25190E-05** at limit **
  20  Prefactor      .0000        10.670        .43217E-06** at limit **
  21  norm           .0000        3.3956        .37735E-06** at limit **
  22  Prefactor     7.6843        122.89        .36777E-05   -.42776E-03
  23  Prefactor     .55511E-10    14.566       -.56985E-06** at limit **
  24  Prefactor     101.61        181.37       -.15904E-07   -.18276E-03
  25  Prefactor      .0000        49.569        .52394E-06** at limit **
  26  Prefactor     .55511E-10    62.837       -.53682E-07** at limit **
  27  norm          46.273        67.870        .44868E-05   -.21639E-03
  28  norm          .22204E-09    305.22       -.13784E-04** at limit **
  29  Prefactor     767.51        643.77        .23551E-05    .41543E-04
  30  Normalizat    1.0308        .30099       -.47305E-05    .33883E-04
  31  Prefactor     .71218        .16676       -.15331E-05    .54681E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 6.05672
  Prefactor  = 5.55112e-11
  Prefactor  = 6.27415
  norm       = 4.02591
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 65.0059
  Prefactor  = 1.11022e-10
  norm       = 2.97398
  norm       = 4.996e-10
  Prefactor  = 0
  norm       = 0
  Prefactor  = 7.68433
  Prefactor  = 5.55112e-11
  Prefactor  = 101.611
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 46.2729
  norm       = 2.22045e-10
  Prefactor  = 767.507
  Normalizat = 1.03084
  Prefactor  = 0.712179
 **********
 **   18 **HESSE 
 **********

 FCN=   3282.658     FROM HESSE     STATUS=OK           684 CALLS     5364 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.8730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.2351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.8492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        19.175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    13.659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        7.7244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.0567        11.685        .40613E-03   -1.5659    
   9  Prefactor     .55511E-10    14.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.2742        77.376        .38613E-03   -1.5658    
  11  norm          4.0259        1.6207        .50240E-03   -1.5668    
  12  Prefactor      .0000        11.675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        17.053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        3.2310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        19.333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     65.006        95.579        .12561E-03   -1.5547    
  17  Prefactor     .11102E-09    19.013        .69341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.9740        6.9740        .57934E-03   -1.5673    
  19  norm          .49960E-09    6.0605        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        10.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        3.4023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.6843        159.15        .41645E-03   -1.5653    
  23  Prefactor     .55511E-10    14.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     101.61        182.28        .97056E-04   -1.5506    
  25  Prefactor      .0000        49.683        .12616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .55511E-10    61.637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          46.273        68.146        .15163E-03   -1.5572    
  28  norm          .22204E-09    300.18        .11567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     767.51        637.74        .36695E-04   -1.5154    
  30  Normalizat    1.0308        .25692        .61276E-01   -.92004    
  31  Prefactor     .71218        .14194        .42542E-01   -1.0305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19342e-10
Minuit parameter uncertainties:
  1  1.57154e-06
  2  1.21232e-07
  3  2.27574e-06
  4  4.35539e-06
  5  1.73818e-05
  6  4.44674e-05
  7  9.18838e-06
  8  11.6851
  9  4.56138e-05
  10  44.0675
  11  1.6207
  12  1.01165e-05
  13  8.76993e-06
  14  2.5813e-07
  15  1.06208e-05
  16  95.5813
  17  9.97515e-05
  18  6.97404
  19  0.000108193
  20  6.73404e-06
  21  5.86305e-06
  22  69.9431
  23  5.26465e-05
  24  182.293
  25  1.62833e-05
  26  9.18491e-05
  27  68.1476
  28  0.000515586
  29  637.798
  30  0.257232
  31  0.142012
Done.

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

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  1.012e-05  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:  7.122e-01  1.420e-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:  1.031e+00  2.572e-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: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/673336/likelihoodResults_699148801_699408001_4FGL_J0748.3+4928_daily_bin1774.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) = 3282.69895007
delta logL = -0.0411618712524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3282.65778829
delta logL = -8.48444869916e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10153E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .64129       1.0000          .0000       10.000    
     3 'Normalizat'    1.0309       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71212       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=   3282.658     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      245 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    757.34        .42118E-03** at limit **
   2  Index         3.4181        7.4467        .41614       -.10928E-10
   3  Normalizat    1.0308        .74098E-01    .61277E-01   -.12062E-03
   4  Prefactor     .71218        .42241E-01    .42562E-01   -.17506E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 3.41809
  Normalizat = 1.03084
  Prefactor  = 0.712179
 **********
 **   18 **HESSE 
 **********

 FCN=   3282.658     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      272 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    1029.1        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4181        7.7365        .50000       -.32191    
   3  Normalizat    1.0308        .90176E-01    .27100E-03   -.92004    
   4  Prefactor     .71218        .52054E-01    .18402E-03   -1.0305    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.97942e-09
Minuit parameter uncertainties:
  1  0.000703562
  2  53.8474
  3  0.0901894
  4  0.0520571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/673336': 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) = 3282.6577882
delta logL = -2.50111042988e-11

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.110e-10  7.036e-04  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  3.418e+00  5.385e+01  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:  7.122e-01  5.206e-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:  1.031e+00  9.019e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/673336/cmap_HighResolution_699148801_699408001_4FGL_J0748.3+4928_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', job_status='DONE', photon_flux_upper_limit='1.36e-07', time_completed='2023-03-02 00:21:49.386841', job_id='673336', GAL2='0.71', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1677745309.39', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='-2.50e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1774' AND source_name='4FGL J0748.3+4928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:21:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 673286: <4FGL_J0748.3+4928_daily_bin1774> in cluster <slac> Done

Job <4FGL_J0748.3+4928_daily_bin1774> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Mar  2 00:05:55 2023
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:07:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:07:12 2023
Terminated at Thu Mar  2 00:21:31 2023
Results reported at Thu Mar  2 00:21:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.3+4928_daily_bin1774 117.082 49.4748 699148801 699408001 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 :                                   672.09 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            936 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 673336: <4FGL_J0748.3+4928_daily_bin1774> in cluster <slac> Done

Job <4FGL_J0748.3+4928_daily_bin1774> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Mar  2 00:05:58 2023
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:07:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:07:17 2023
Terminated at Thu Mar  2 00:21:50 2023
Results reported at Thu Mar  2 00:21:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.3+4928_daily_bin1774 117.082 49.4748 699148801 699408001 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 :                                   664.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             268.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            952 sec.

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

