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


Performing analysis on: 4FGL_J1028.3+3108_daily_bin1749
RA = 157.077, Dec = 31.1389
tmin = 692668801, tmax = 692928001
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='947876', job_status='RUN', time_executed='2022-12-17 00:31:41.517149', time_epoch_executed='1671265901.52' WHERE source_name='4FGL J1028.3+3108' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/947876

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/947876/ft1_4FGL_J1028.3+3108_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/947876/ft2_4FGL_J1028.3+3108_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/947876/ft1_4FGL_J1028.3+3108_daily_bin1749.fits outfile=/scratch/kocevski/947876/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin1749.fits ra=157.077 dec=31.1389 rad=12.0 tmin=692668801.0 tmax=692928001.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.63
user 3.41
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/947876/ft2_4FGL_J1028.3+3108_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/947876/ft2_4FGL_J1028.3+3108_daily_bin1749.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/947876/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/947876/ft1_filtered_4FGL_J1028.3+3108_daily_bin1749.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 534

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/947876/ft1_filtered_4FGL_J1028.3+3108_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/947876/ft2_4FGL_J1028.3+3108_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/947876/ltcube_692668801_692928001_4FGL_J1028.3+3108_daily_bin1749.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/947876/ft2_4FGL_J1028.3+3108_daily_bin1749.fits
.....................!
real 11.84
user 11.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/947876/ft1_filtered_4FGL_J1028.3+3108_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/947876/ft2_4FGL_J1028.3+3108_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/947876/ltcube_692668801_692928001_4FGL_J1028.3+3108_daily_bin1749.fits outfile=/scratch/kocevski/947876/expmap_692668801_692928001_4FGL_J1028.3+3108_daily_bin1749.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/947876/ltcube_692668801_692928001_4FGL_J1028.3+3108_daily_bin1749.fits
.....................!
real 191.49
user 186.06
sys 5.07

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

Setting source of interest to:
4FGL J1028.3+3108 @ 157.077 31.1389

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/947876/ft1_filtered_4FGL_J1028.3+3108_daily_bin1749.fits scfile=/scratch/kocevski/947876/ft2_4FGL_J1028.3+3108_daily_bin1749.fits outfile=/scratch/kocevski/947876/cmap_692668801_692928001_4FGL_J1028.3+3108_daily_bin1749.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=157.077 yref=31.1389 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/947876/ft1_filtered_4FGL_J1028.3+3108_daily_bin1749.fits scfile=/scratch/kocevski/947876/ft2_4FGL_J1028.3+3108_daily_bin1749.fits outfile=/scratch/kocevski/947876/cmap_HighResolution_692668801_692928001_4FGL_J1028.3+3108_daily_bin1749.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=157.077 yref=31.1389 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/947876/ft1_filtered_4FGL_J1028.3+3108_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/947876/ft2_4FGL_J1028.3+3108_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/947876/Model_4FGL_J1028.3+3108_daily_bin1749.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/947876/ft1_filtered_4FGL_J1028.3+3108_daily_bin1749.fits.....................!
real 52.03
user 50.76
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/947876/ft1_filtered_4FGL_J1028.3+3108_daily_bin1749.fits', '/scratch/kocevski/947876/ft2_4FGL_J1028.3+3108_daily_bin1749.fits', expMap='/scratch/kocevski/947876/expmap_692668801_692928001_4FGL_J1028.3+3108_daily_bin1749.fits', expCube='/scratch/kocevski/947876/ltcube_692668801_692928001_4FGL_J1028.3+3108_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/947876/Model_4FGL_J1028.3+3108_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1028.3+3108'

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  4.572e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  2.234e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  1.828e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/947876/ft1_filtered_4FGL_J1028.3+3108_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/947876/ft2_4FGL_J1028.3+3108_daily_bin1749.fits
Exposure map: /scratch/kocevski/947876/expmap_692668801_692928001_4FGL_J1028.3+3108_daily_bin1749.fits
Exposure cube: /scratch/kocevski/947876/ltcube_692668801_692928001_4FGL_J1028.3+3108_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/947876/Model_4FGL_J1028.3+3108_daily_bin1749.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) = 5967.0293742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.398       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8981       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.0237       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0401       1.0000          .0000       .10000E+07
     5 'norm      '    5.9419       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.971       1.0000          .0000       .10000E+07
     7 'Prefactor '    .26967E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .34533E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16108E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .63324E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8871       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.010       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.5878       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.678       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11865E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .13935E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.3351       1.0000          .0000       .10000E+07
    18 'norm      '    1.5223       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.1704       1.0000          .0000       .10000E+07
    20 'Prefactor '    15.872       1.0000          .0000       .10000E+07
    21 'Prefactor '    .74530E-03   1.0000          .0000       .10000E+07
    22 'norm      '    7.2381       1.0000          .0000       .10000E+07
    23 'Normalizat'    .70803       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5966.959     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1978 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.849        6.0516        .92431E-06   -.13416    
   2  Prefactor     5.9466        6.0751       -.10542E-06    .36143E-02
   3  Prefactor     2.0535        7.1003       -.36617E-06   -.53776E-03
   4  Prefactor     3.0372        1.9064        .25157E-07    .13640E-01
   5  norm          5.9164        5.2563       -.16586E-06   -.22309E-02
   6  Prefactor     17.972        5.4246       -.43605E-07    .59585E-02
   7  Prefactor     .76217E-07    3.0058       -.16929E-05** at limit **
   8  norm          .26479E-07    3.7451        .92245E-06** at limit **
   9  Prefactor     .57970E-06    30.372       -.13954E-05** at limit **
  10  Prefactor     .10986E-06    19.360        .84495E-06** at limit **
  11  Prefactor     5.8912        4.4535       -.12368E-06   -.23057E-02
  12  Prefactor     13.037        2.5632       -.60596E-06    .34228E-02
  13  Prefactor     3.5899        2.4598       -.73197E-08    .16564E-01
  14  Prefactor     10.633        7.6720        .15546E-05    .36502E-01
  15  Prefactor     .24369E-07    10.208       -.12659E-05** at limit **
  16  Prefactor     .61062E-09    3.3001       -.55627E-07** at limit **
  17  Prefactor     5.3143        6.8664       -.25490E-05   -.22512E-01
  18  norm          1.5227        .34014       -.75064E-08    .58356E-01
  19  Prefactor     1.1738        2.1340        .17719E-06    .16646E-02
  20  Prefactor     15.841        1.5871        .23006E-06    .39872E-02
  21  Prefactor     .99920E-09    8.2458        .88665E-06** at limit **
  22  norm          7.2329        3.8207        .78184E-06    .36314E-01
  23  Normalizat    .70768        .18098        .80650E-05    .45152E-03
  24  Prefactor     .91781        .19717       -.51850E-05    .21778E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.8492
  Prefactor  = 5.94663
  Prefactor  = 2.05346
  Prefactor  = 3.03725
  norm       = 5.91637
  Prefactor  = 17.9718
  Prefactor  = 7.62168e-08
  norm       = 2.64788e-08
  Prefactor  = 5.79703e-07
  Prefactor  = 1.09857e-07
  Prefactor  = 5.89119
  Prefactor  = 13.0372
  Prefactor  = 3.58987
  Prefactor  = 10.6334
  Prefactor  = 2.43694e-08
  Prefactor  = 6.10623e-10
  Prefactor  = 5.31428
  norm       = 1.52269
  Prefactor  = 1.17376
  Prefactor  = 15.8411
  Prefactor  = 9.99201e-10
  norm       = 7.23286
  Normalizat = 0.707676
  Prefactor  = 0.917809
 **********
 **   18 **HESSE 
 **********

 FCN=   5966.959     FROM HESSE     STATUS=OK           451 CALLS     2429 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.849        33.727        .23985E-03   -1.5623    
   2  Prefactor     5.9466        6.1708        .41326E-03   -1.5659    
   3  Prefactor     2.0535        7.2376        .72710E-03   -1.5679    
   4  Prefactor     3.0372        1.9005        .58168E-03   -1.5673    
   5  norm          5.9164        5.2623        .41171E-03   -1.5659    
   6  Prefactor     17.972        5.4280        .23598E-03   -1.5623    
   7  Prefactor     .76217E-07    5.6246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .26479E-07    5.0995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .57970E-06    30.915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10986E-06    19.461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8912        4.4501        .41365E-03   -1.5659    
  12  Prefactor     13.037        7.3133        .27745E-03   -1.5636    
  13  Prefactor     3.5899        2.5311        .53326E-03   -1.5670    
  14  Prefactor     10.633        9.7465        .30637E-03   -1.5643    
  15  Prefactor     .24369E-07    10.285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .61062E-09    3.3484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.3143        7.2035        .43487E-03   -1.5662    
  18  norm          1.5227        .34830        .46568E-03   -1.5683    
  19  Prefactor     1.1738        2.2000        .10605E-02   -1.5686    
  20  Prefactor     15.841        15.181        .25113E-03   -1.5628    
  21  Prefactor     .99920E-09    8.2708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.2329        9.6408        .37259E-03   -1.5654    
  23  Normalizat    .70768        .16378        .42398E-01   -1.0359    
  24  Prefactor     .91781        .17467        .45233E-01   -.95522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5509e-06
Minuit parameter uncertainties:
  1  33.7271
  2  6.17077
  3  7.23765
  4  1.90054
  5  5.26234
  6  5.42801
  7  0.00130955
  8  0.000734889
  9  0.00846688
  10  0.00292454
  11  4.45011
  12  7.31332
  13  2.5311
  14  9.74655
  15  0.00100103
  16  8.95407e-05
  17  7.20354
  18  0.3483
  19  2.19996
  20  15.1808
  21  0.000179674
  22  9.64082
  23  0.163896
  24  0.174781
Done.

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

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  5.797e-07  8.467e-03  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  2.234e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  1.828e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.178e-01  1.748e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  7.077e-01  1.639e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 157.077 31.139
Photon Flux Upper Limit: 5.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/947876/likelihoodResults_692668801_692928001_4FGL_J1028.3+3108_daily_bin1749.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) = 5966.97472385
delta logL = -0.0155215873292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5966.84933538
delta logL = 0.109866886868

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11702       1.0000          .0000       .10000E+07
     2 'Index     '    4.6771       1.0000          .0000       10.000    
     3 'Normalizat'    .67907       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93609       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5966.849     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      238 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11732        2.6768        .12017E-02** at limit **
   2  Index         4.6767        2.5576        .11254        .28299E-03
   3  Normalizat    .67895        .20000E-01    .42010E-01    .30665E-04
   4  Prefactor     .93611        .22988E-01    .45463E-01   -.20273E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.117324
  Index      = 4.67672
  Normalizat = 0.678951
  Prefactor  = 0.936113
 **********
 **   18 **HESSE 
 **********

 FCN=   5966.849     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      271 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11732        23.124        .48678E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6767        6.8144        .80065E-02   -.64702E-01
   3  Normalizat    .67895        .10237        .25920E-03   -1.0473    
   4  Prefactor     .93611        .11507        .25541E-03   -.94890    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.82775e-10
Minuit parameter uncertainties:
  1  3.29428
  2  10.8043
  3  0.102401
  4  0.115099
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/947876': 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) = 5966.84933475
delta logL = 0.109867513612

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  1.173e-01  3.294e+00  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  4.677e+00  1.080e+01  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  1.828e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.361e-01  1.151e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  6.790e-01  1.024e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 157.077 31.139

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/947876/cmap_HighResolution_692668801_692928001_4FGL_J1028.3+3108_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-03', job_status='DONE', photon_flux_upper_limit='5.54e-08', time_completed='2022-12-17 00:41:28.823759', job_id='947876', GAL2='0.94', fit_tolerance='1e-08', EG2='0.68', EG='0.71', time_epoch_completed='1671266488.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.10e-01', ts2='0.25', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1749' AND source_name='4FGL J1028.3+3108' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:41:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 947876: <4FGL_J1028.3+3108_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1028.3+3108_daily_bin1749> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Dec 17 00:30:23 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:30:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:30:25 2022
Terminated at Sat Dec 17 00:41:29 2022
Results reported at Sat Dec 17 00:41:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1028.3+3108_daily_bin1749 157.077 31.1389 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1028.3+3108 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   589.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            666 sec.

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

