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


Performing analysis on: 4FGL_J0958.0+4728_daily_bin1750
RA = 149.509, Dec = 47.4675
tmin = 692928001, tmax = 693187201
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='3849', job_status='RUN', time_executed='2022-12-20 00:27:52.280895', time_epoch_executed='1671524872.28' WHERE source_name='4FGL J0958.0+4728' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/3849

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/3849/ft1_4FGL_J0958.0+4728_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/3849/ft2_4FGL_J0958.0+4728_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/3849/ft1_4FGL_J0958.0+4728_daily_bin1750.fits outfile=/scratch/kocevski/3849/ft1_filteredMKT_4FGL_J0958.0+4728_daily_bin1750.fits ra=149.509 dec=47.4675 rad=12.0 tmin=692928001.0 tmax=693187201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.83
user 3.25
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/3849/ft2_4FGL_J0958.0+4728_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/3849/ft2_4FGL_J0958.0+4728_daily_bin1750.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/3849/ft1_filteredMKT_4FGL_J0958.0+4728_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/3849/ft1_filtered_4FGL_J0958.0+4728_daily_bin1750.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.33
sys 0.15

Number of photons that the gtmktime cut: 557

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/3849/ft1_filtered_4FGL_J0958.0+4728_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/3849/ft2_4FGL_J0958.0+4728_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/3849/ltcube_692928001_693187201_4FGL_J0958.0+4728_daily_bin1750.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/3849/ft2_4FGL_J0958.0+4728_daily_bin1750.fits
.....................!
real 11.67
user 11.23
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/3849/ft1_filtered_4FGL_J0958.0+4728_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/3849/ft2_4FGL_J0958.0+4728_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/3849/ltcube_692928001_693187201_4FGL_J0958.0+4728_daily_bin1750.fits outfile=/scratch/kocevski/3849/expmap_692928001_693187201_4FGL_J0958.0+4728_daily_bin1750.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/3849/ltcube_692928001_693187201_4FGL_J0958.0+4728_daily_bin1750.fits
.....................!
real 190.86
user 185.79
sys 4.67

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

Setting source of interest to:
4FGL J0958.0+4728 @ 149.509 47.4675

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/3849/ft1_filtered_4FGL_J0958.0+4728_daily_bin1750.fits scfile=/scratch/kocevski/3849/ft2_4FGL_J0958.0+4728_daily_bin1750.fits outfile=/scratch/kocevski/3849/cmap_692928001_693187201_4FGL_J0958.0+4728_daily_bin1750.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=149.509 yref=47.4675 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.60
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/3849/ft1_filtered_4FGL_J0958.0+4728_daily_bin1750.fits scfile=/scratch/kocevski/3849/ft2_4FGL_J0958.0+4728_daily_bin1750.fits outfile=/scratch/kocevski/3849/cmap_HighResolution_692928001_693187201_4FGL_J0958.0+4728_daily_bin1750.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=149.509 yref=47.4675 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/3849/ft1_filtered_4FGL_J0958.0+4728_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/3849/ft2_4FGL_J0958.0+4728_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/3849/Model_4FGL_J0958.0+4728_daily_bin1750.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/3849/ft1_filtered_4FGL_J0958.0+4728_daily_bin1750.fits.....................!
real 53.52
user 52.20
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/3849/ft1_filtered_4FGL_J0958.0+4728_daily_bin1750.fits', '/scratch/kocevski/3849/ft2_4FGL_J0958.0+4728_daily_bin1750.fits', expMap='/scratch/kocevski/3849/expmap_692928001_693187201_4FGL_J0958.0+4728_daily_bin1750.fits', expCube='/scratch/kocevski/3849/ltcube_692928001_693187201_4FGL_J0958.0+4728_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/3849/Model_4FGL_J0958.0+4728_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0958.0+4728'

4FGL J0958.0+4728
   Spectrum: LogParabola
353         norm:  6.827e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
354        alpha:  2.365e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
355         beta:  2.538e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
356           Eb:  4.863e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/3849/ft1_filtered_4FGL_J0958.0+4728_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/3849/ft2_4FGL_J0958.0+4728_daily_bin1750.fits
Exposure map: /scratch/kocevski/3849/expmap_692928001_693187201_4FGL_J0958.0+4728_daily_bin1750.fits
Exposure cube: /scratch/kocevski/3849/ltcube_692928001_693187201_4FGL_J0958.0+4728_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/3849/Model_4FGL_J0958.0+4728_daily_bin1750.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) = 6042.28683217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12867E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.6650       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28231E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17325E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .68350E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .61173E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .28494       1.0000          .0000       .10000E+07
     8 'norm      '    2.0855       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6459       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.769       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3445       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.8290       1.0000          .0000       .10000E+07
    13 'norm      '    .10838E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .23842E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    24.493       1.0000          .0000       .10000E+07
    16 'norm      '    .39187E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    29.194       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.372       1.0000          .0000       .10000E+07
    19 'norm      '    2.4010       1.0000          .0000       .10000E+07
    20 'norm      '    12.707       1.0000          .0000       .10000E+07
    21 'Prefactor '    .66058E-06   1.0000          .0000       .10000E+07
    22 'norm      '    3.5616       1.0000          .0000       .10000E+07
    23 'Prefactor '    .31681E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .44109E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .30077E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .17393E-05   1.0000          .0000       .10000E+07
    27 'norm      '    2.3659       1.0000          .0000       .10000E+07
    28 'Prefactor '    .56399E-06   1.0000          .0000       .10000E+07
    29 'Prefactor '    .39852E-01   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.0519       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .77287       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6042.182     FROM MIGRAD    STATUS=CONVERGED    226 CALLS     2419 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12768E-08    6.1964        .25251E-05** at limit **
   2  norm          4.6617        4.6330       -.11071E-06   -.32167E-02
   3  Prefactor     .55733E-07    56.692       -.11136E-05** at limit **
   4  Prefactor      .0000        1.6998       -.71105E-06** at limit **
   5  Prefactor      .0000        5.1523        .59356E-06** at limit **
   6  norm           .0000        .78323        .33772E-07** at limit **
   7  Prefactor     .28979        3.6663        .10251E-06   -.33314E-03
   8  norm          2.0889        5.5072        .12062E-05    .74786E-03
   9  Prefactor     2.6450        2.1756        .15943E-06   -.12593E-02
  10  Prefactor     11.766        7.0587       -.19447E-06   -.17445E-02
  11  Prefactor     3.3416        3.1725        .20616E-06   -.11010E-02
  12  Prefactor     6.8275        4.8396       -.15309E-06    .66582E-03
  13  norm          .23315E-08    5.8449       -.11152E-05** at limit **
  14  Prefactor     .42688E-06    9.5440       -.15461E-05** at limit **
  15  Prefactor     24.483        8.0057        .83017E-07   -.71155E-03
  16  norm           .0000        4.0468       -.13194E-06** at limit **
  17  Prefactor     28.745        2.7819        .26128E-06   -.35544E-02
  18  Prefactor     12.215        6.9235       -.10442E-05    .14679E-01
  19  norm          2.3982        .65494       -.62683E-08    .27662E-02
  20  norm          12.717        2.3975        .28940E-06   -.17110E-02
  21  Prefactor      .0000        1.0907       -.27314E-06** at limit **
  22  norm          3.5535        2.2342       -.78132E-07    .12451E-02
  23  Prefactor     .14988E-08    10.291       -.52858E-06** at limit **
  24  norm          .42061E-06    9.2084        .49797E-06** at limit **
  25  Prefactor     .25591E-07    30.379        .50792E-05** at limit **
  26  Prefactor      .0000        3.1161        .25717E-06** at limit **
  27  norm          2.3660        1.3731       -.54218E-07   -.18784E-03
  28  Prefactor     .11269E-06    23.550       -.39518E-05** at limit **
  29  Prefactor     .18208E-05    3.6328        .95241E-06** at limit **
  30  Normalizat    1.0517        .18572       -.90407E-05   -.11704E-03
  31  Prefactor     .77301        .22985        .54058E-05    .11676E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.27676e-09
  norm       = 4.66172
  Prefactor  = 5.57332e-08
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0.289789
  norm       = 2.08886
  Prefactor  = 2.64503
  Prefactor  = 11.7663
  Prefactor  = 3.34163
  Prefactor  = 6.82746
  norm       = 2.33147e-09
  Prefactor  = 4.26881e-07
  Prefactor  = 24.4832
  norm       = 0
  Prefactor  = 28.7447
  Prefactor  = 12.2147
  norm       = 2.39821
  norm       = 12.7165
  Prefactor  = 0
  norm       = 3.55348
  Prefactor  = 1.4988e-09
  norm       = 4.20608e-07
  Prefactor  = 2.55906e-08
  Prefactor  = 0
  norm       = 2.36604
  Prefactor  = 1.12688e-07
  Prefactor  = 1.82082e-06
  Normalizat = 1.05167
  Prefactor  = 0.773006
 **********
 **   18 **HESSE 
 **********

 FCN=   6042.182     FROM HESSE     STATUS=OK           698 CALLS     3117 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12768E-08    6.3095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.6617        4.6369        .46571E-03   -1.5665    
   3  Prefactor     .55733E-07    56.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.6906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        5.1526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .27241        .17672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .28979        2.5855        .31230E-02   -1.5697    
   8  norm          2.0889        5.5359        .71468E-03   -1.5679    
   9  Prefactor     2.6450        2.2038        .62650E-03   -1.5675    
  10  Prefactor     11.766        9.2133        .29176E-03   -1.5639    
  11  Prefactor     3.3416        3.1887        .55317E-03   -1.5671    
  12  Prefactor     6.8275        9.9439        .38370E-03   -1.5656    
  13  norm          .23315E-08    5.9410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .42688E-06    16.845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     24.483        8.0331        .20210E-03   -1.5609    
  16  norm           .0000        4.0354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     28.745        28.716        .18511E-03   -1.5601    
  18  Prefactor     12.215        32.219        .29683E-03   -1.5638    
  19  norm          2.3982        .66164        .66054E-03   -1.5677    
  20  norm          12.717        11.966        .28075E-03   -1.5637    
  21  Prefactor      .0000        1.0910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.5535        2.2351        .53529E-03   -1.5670    
  23  Prefactor     .14988E-08    10.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .42061E-06    16.428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .25591E-07    33.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        3.0974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.3660        1.3735        .66592E-03   -1.5677    
  28  Prefactor     .11269E-06    25.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .18208E-05    29.992        .15970E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0517        .16279        .40432E-01   -.91319    
  31  Prefactor     .77301        .19773        .70394E-01   -1.0073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.12593e-08
Minuit parameter uncertainties:
  1  0.000180673
  2  4.63686
  3  0.00356255
  4  5.79192e-06
  5  4.59804e-06
  6  6.64073e-07
  7  1.73119
  8  5.5359
  9  2.20378
  10  9.21333
  11  3.18869
  12  9.94391
  13  0.000234001
  14  0.00536305
  15  8.03312
  16  1.14129e-05
  17  28.7159
  18  32.2194
  19  0.661636
  20  11.9658
  21  4.86181e-06
  22  2.23506
  23  0.000248074
  24  0.00525714
  25  0.0018387
  26  1.40911e-05
  27  1.37355
  28  0.00340943
  29  0.0147799
  30  0.162863
  31  0.19791
Done.

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

Extracting fit parameters...

4FGL J0958.0+4728
   Spectrum: LogParabola
353         norm:  1.272e+01  1.197e+01  0.000e+00  1.000e+06 ( 1.000e-12)
354        alpha:  2.365e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
355         beta:  2.538e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
356           Eb:  4.863e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  7.730e-01  1.979e-01  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.052e+00  1.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.57
Ra Dec: 149.509 47.468
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 2.93e-08 +/- 2.76e-08
Energy Flux (Fixed Index): 8.81e-06 +/- 8.29e-06

TS (Fixed Index): 1.57
Ra Dec: 149.509 47.468
Photon Flux Upper Limit: 9.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/3849/likelihoodResults_692928001_693187201_4FGL_J0958.0+4728_daily_bin1750.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) = 6042.00743616
delta logL = 0.174856391543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6042.00139377
delta logL = 0.180898784563

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.817       1.0000          .0000       .10000E+07
     2 'alpha     '    2.9983       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0302       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79167       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6042.001     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      257 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.838        267.04        .30437E-03    .93975E-03
   2  alpha         3.0006        2.7184        .42235        .32608E-04
   3  Normalizat    1.0303        .73478E-01    .42143E-01    .24208E-05
   4  Prefactor     .79138        .82806E-01    .69652E-01    .18189E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.8384
  alpha      = 3.00057
  Normalizat = 1.03027
  Prefactor  = 0.791375
 **********
 **   18 **HESSE 
 **********

 FCN=   6042.001     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.838        12.376        .12175E-04   -1.5642    
   2  alpha         3.0006        1.1536        .22996E-01    .20159    
   3  Normalizat    1.0303        .18721        .21734E-03   -.92023    
   4  Prefactor     .79138        .23198        .30819E-03   -1.0005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.96686e-12
Minuit parameter uncertainties:
  1  12.376
  2  1.20117
  3  0.187329
  4  0.232271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/3849': 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) = 6042.00138194
delta logL = 0.180910613713

Extracting fit parameters...

4FGL J0958.0+4728
   Spectrum: LogParabola
353         norm:  1.084e+01  1.238e+01  0.000e+00  1.000e+06 ( 1.000e-12)
354        alpha:  3.001e+00  1.201e+00  0.000e+00  5.000e+00 ( 1.000e+00)
355         beta:  2.538e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
356           Eb:  4.863e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  7.914e-01  2.323e-01  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.030e+00  1.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.94
Ra Dec: 149.509 47.468
Photon Index (Free Index): 3.00 +/- 1.20
Photon Flux (Free Index): 4.43e-08 +/- 4.15e-08
Energy Flux (Free Index): 9.44e-06 +/- 7.92e-06

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/3849/cmap_HighResolution_692928001_693187201_4FGL_J0958.0+4728_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.70e-05', comment='SUCCESS', photon_flux='2.93e-08', energy_flux2='9.44e-06', photon_flux_error='2.76e-08', dlogl='1.81e-01', energy_flux='8.81e-06', photon_flux2='4.43e-08', job_status='DONE', time_completed='2022-12-20 00:41:04.295592', photon_index_error2='1.20', photon_index2='3.00', ts='1.57', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='9.00e-08', energy_flux_error2='7.92e-06', EG='1.05', time_epoch_completed='1671525664.3', return_code='0', job_id='3849', GAL2='0.79', EG2='1.03', return_code2='0', energy_flux_error='8.29e-06', photon_flux_error2='4.15e-08', ts2='1.94', photon_index='2.37' WHERE bin_id='1750' AND source_name='4FGL J0958.0+4728' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:41:04 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 3849: <4FGL_J0958.0+4728_daily_bin1750> in cluster <slac> Done

Job <4FGL_J0958.0+4728_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 00:25:33 2022
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:25:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:25:35 2022
Terminated at Tue Dec 20 00:41:05 2022
Results reported at Tue Dec 20 00:41:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0958.0+4728_daily_bin1750 149.509 47.4675 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0958.0+4728 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   793.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            932 sec.

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

