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


Performing analysis on: 4FGL_J1028.3+3108_daily_bin1712
RA = 157.077, Dec = 31.1389
tmin = 683078401, tmax = 683337601
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='93189', job_status='RUN', time_executed='2022-09-16 15:22:24.789135', time_epoch_executed='1663366944.79' WHERE source_name='4FGL J1028.3+3108' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93189

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93189/ft1_4FGL_J1028.3+3108_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93189/ft2_4FGL_J1028.3+3108_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93189/ft1_4FGL_J1028.3+3108_daily_bin1712.fits outfile=/scratch/kocevski/93189/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin1712.fits ra=157.077 dec=31.1389 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.77
user 4.54
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/93189/ft2_4FGL_J1028.3+3108_daily_bin1712.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/93189/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/93189/ft1_filtered_4FGL_J1028.3+3108_daily_bin1712.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.32
sys 0.18

Number of photons that the gtmktime cut: 533

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93189/ft1_filtered_4FGL_J1028.3+3108_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/93189/ft2_4FGL_J1028.3+3108_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/93189/ltcube_683078401_683337601_4FGL_J1028.3+3108_daily_bin1712.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/93189/ft2_4FGL_J1028.3+3108_daily_bin1712.fits
.....................!
real 13.61
user 13.20
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93189/ft1_filtered_4FGL_J1028.3+3108_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/93189/ft2_4FGL_J1028.3+3108_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/93189/ltcube_683078401_683337601_4FGL_J1028.3+3108_daily_bin1712.fits outfile=/scratch/kocevski/93189/expmap_683078401_683337601_4FGL_J1028.3+3108_daily_bin1712.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/93189/ltcube_683078401_683337601_4FGL_J1028.3+3108_daily_bin1712.fits
.....................!
real 192.18
user 186.12
sys 5.70

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/93189/ft1_filtered_4FGL_J1028.3+3108_daily_bin1712.fits scfile=/scratch/kocevski/93189/ft2_4FGL_J1028.3+3108_daily_bin1712.fits outfile=/scratch/kocevski/93189/cmap_683078401_683337601_4FGL_J1028.3+3108_daily_bin1712.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/93189/ft1_filtered_4FGL_J1028.3+3108_daily_bin1712.fits scfile=/scratch/kocevski/93189/ft2_4FGL_J1028.3+3108_daily_bin1712.fits outfile=/scratch/kocevski/93189/cmap_HighResolution_683078401_683337601_4FGL_J1028.3+3108_daily_bin1712.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.61
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/93189/ft1_filtered_4FGL_J1028.3+3108_daily_bin1712.fits', '/scratch/kocevski/93189/ft2_4FGL_J1028.3+3108_daily_bin1712.fits', expMap='/scratch/kocevski/93189/expmap_683078401_683337601_4FGL_J1028.3+3108_daily_bin1712.fits', expCube='/scratch/kocevski/93189/ltcube_683078401_683337601_4FGL_J1028.3+3108_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/93189/Model_4FGL_J1028.3+3108_daily_bin1712.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/93189/ft1_filtered_4FGL_J1028.3+3108_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/93189/ft2_4FGL_J1028.3+3108_daily_bin1712.fits
Exposure map: /scratch/kocevski/93189/expmap_683078401_683337601_4FGL_J1028.3+3108_daily_bin1712.fits
Exposure cube: /scratch/kocevski/93189/ltcube_683078401_683337601_4FGL_J1028.3+3108_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/93189/Model_4FGL_J1028.3+3108_daily_bin1712.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) = 6024.11059425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73003E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .96946E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .14775E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1475       1.0000          .0000       .10000E+07
     5 'norm      '    11.517       1.0000          .0000       .10000E+07
     6 'Prefactor '    .47045E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.7574       1.0000          .0000       .10000E+07
     8 'norm      '    1.1624       1.0000          .0000       .10000E+07
     9 'Prefactor '    92.695       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35798E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    14.023       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1749       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0395       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.401       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10986E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .18983E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    23.238       1.0000          .0000       .10000E+07
    18 'norm      '    1.8996       1.0000          .0000       .10000E+07
    19 'Prefactor '    .22795E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    15.693       1.0000          .0000       .10000E+07
    21 'Prefactor '    .16040       1.0000          .0000       .10000E+07
    22 'norm      '    .12879E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0708       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2403       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=   6024.107     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     2124 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15792E-05    20.490        .64761E-06** at limit **
   2  Prefactor     .22204E-09    4.5519       -.15773E-06** at limit **
   3  Prefactor     .86597E-08    5.8836        .79671E-07** at limit **
   4  Prefactor     1.1481        1.6282        .18840E-06    .33944E-03
   5  norm          11.504        9.3074        .23037E-06    .43238E-01
   6  Prefactor     .11435E-07    10.041       -.92255E-06** at limit **
   7  Prefactor     4.7592        5.1929       -.87887E-07   -.15659E-02
   8  norm          1.1503        24.618       -.12136E-05    .12174E-02
   9  Prefactor     92.727        1.2224        .10249E-07   -.14023E-01
  10  Prefactor     .90311E-06    21.769       -.62456E-06** at limit **
  11  Prefactor     13.970        6.7485       -.66622E-07   -.17083E-02
  12  Prefactor     2.1925        7.3031        .68235E-06    .19968E-02
  13  Prefactor     2.0375        3.0966        .15683E-06    .18618E-02
  14  Prefactor     19.399        8.4040       -.12745E-06   -.67307E-01
  15  Prefactor     .16653E-09    14.734        .43861E-06** at limit **
  16  Prefactor     .16165E-06    95.604       -.13183E-05** at limit **
  17  Prefactor     23.243        6.6908       -.12043E-06   -.66656E-01
  18  norm          1.8998        .42677        .21419E-07    .41503E-02
  19  Prefactor      .0000        1.8529        .25505E-07** at limit **
  20  Prefactor     15.825        2.0540        .34911E-07    .65913E-02
  21  Prefactor     .13076E-05    11.633        .18425E-06** at limit **
  22  norm          .36082E-08    5.4111       -.46175E-06** at limit **
  23  Normalizat    1.0710        .24567       -.24760E-05    .59889E-04
  24  Prefactor     1.2403        .27843        .26320E-05    .55304E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.57918e-06
  Prefactor  = 2.22045e-10
  Prefactor  = 8.65974e-09
  Prefactor  = 1.14813
  norm       = 11.5045
  Prefactor  = 1.14353e-08
  Prefactor  = 4.75924
  norm       = 1.15028
  Prefactor  = 92.7273
  Prefactor  = 9.03111e-07
  Prefactor  = 13.9703
  Prefactor  = 2.1925
  Prefactor  = 2.03752
  Prefactor  = 19.3993
  Prefactor  = 1.66533e-10
  Prefactor  = 1.61648e-07
  Prefactor  = 23.2429
  norm       = 1.89979
  Prefactor  = 0
  Prefactor  = 15.8251
  Prefactor  = 1.30757e-06
  norm       = 3.60822e-09
  Normalizat = 1.07099
  Prefactor  = 1.24025
 **********
 **   18 **HESSE 
 **********

 FCN=   6024.107     FROM HESSE     STATUS=OK           453 CALLS     2577 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15792E-05    27.470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .22204E-09    4.5477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .86597E-08    6.0941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1481        1.9249        .26636E-02   -1.5687    
   5  norm          11.504        9.9934        .29495E-03   -1.5640    
   6  Prefactor     .11435E-07    10.146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.7592        5.2220        .46106E-03   -1.5664    
   8  norm          1.1503        25.355        .10675E-02   -1.5687    
   9  Prefactor     92.727        95.639        .10387E-03   -1.5515    
  10  Prefactor     .90311E-06    25.735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.970        6.7887        .26721E-03   -1.5633    
  12  Prefactor     2.1925        7.3792        .69789E-03   -1.5678    
  13  Prefactor     2.0375        3.1615        .72385E-03   -1.5679    
  14  Prefactor     19.399        15.763        .22711E-03   -1.5620    
  15  Prefactor     .16653E-09    15.064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16165E-06    98.030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.243        16.392        .20749E-03   -1.5612    
  18  norm          1.8998        .44500        .52558E-03   -1.5680    
  19  Prefactor      .0000        1.8482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.825        20.574        .25256E-03   -1.5628    
  21  Prefactor     .13076E-05    55.505        .12528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .36082E-08    5.4576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0710        .20726        .62533E-01   -.90689    
  24  Prefactor     1.2403        .23040        .66845E-01   -.85101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11808e-07
Minuit parameter uncertainties:
  1  0.0131728
  2  6.4233e-05
  3  0.000459579
  4  1.92492
  5  9.99341
  6  0.000681757
  7  5.22197
  8  10.801
  9  95.641
  10  0.00964184
  11  6.78868
  12  7.37927
  13  3.16153
  14  15.7629
  15  0.000103624
  16  0.00796225
  17  16.3924
  18  0.444998
  19  7.48849e-06
  20  20.5738
  21  0.0170386
  22  0.000281461
  23  0.207413
  24  0.230592
Done.

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

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  9.273e+01  9.564e+01  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:  1.240e+00  2.306e-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:  1.071e+00  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.14
Ra Dec: 157.077 31.139
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.96e-08 +/- 5.11e-08
Energy Flux (Fixed Index): 2.09e-05 +/- 2.16e-05

TS (Fixed Index): 1.14
Ra Dec: 157.077 31.139
Photon Flux Upper Limit: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/93189/likelihoodResults_683078401_683337601_4FGL_J1028.3+3108_daily_bin1712.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) = 6023.36681525
delta logL = 0.740133497583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6023.34112317
delta logL = 0.76582557418

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.227       1.0000          .0000       .10000E+07
     2 'Index     '    3.1245       1.0000          .0000       10.000    
     3 'Normalizat'    1.0042       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2890       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6023.341     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      320 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.209        227.67        .79656E-05   -.30086E-02
   2  Index         3.1252        2.3856        .36292E-02   -.26272E-03
   3  Normalizat    1.0025        .25650        .28435E-03    .82056E-03
   4  Prefactor     1.2910        .29538        .29057E-03    .61595E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.2095
  Index      = 3.12516
  Normalizat = 1.00248
  Prefactor  = 1.29103
 **********
 **   18 **HESSE 
 **********

 FCN=   6023.341     FROM HESSE     STATUS=OK            25 CALLS      345 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.209        51.286        .31862E-06   -1.5608    
   2  Index         3.1252        .84240        .14517E-03   -.38436    
   3  Normalizat    1.0025        .24659        .56870E-04   -.92947    
   4  Prefactor     1.2910        .27663        .58114E-04   -.83574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13364e-09
Minuit parameter uncertainties:
  1  51.2874
  2  0.847106
  3  0.246868
  4  0.276944
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93189': 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) = 6023.34109566
delta logL = 0.765853083828

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  2.521e+01  5.129e+01  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  3.125e+00  8.471e-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:  1.291e+00  2.769e-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:  1.002e+00  2.469e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.75
Ra Dec: 157.077 31.139
Photon Index (Free Index): 3.13 +/- 0.85
Photon Flux (Free Index): 1.04e-07 +/- 7.35e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.41e-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/93189/cmap_HighResolution_683078401_683337601_4FGL_J1028.3+3108_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', photon_flux='4.96e-08', energy_flux2='1.97e-05', photon_flux_error='5.11e-08', dlogl='7.66e-01', energy_flux='2.09e-05', photon_flux2='1.04e-07', job_status='DONE', time_completed='2022-09-16 15:32:47.420760', photon_index_error2='0.85', photon_index2='3.13', ts='1.14', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.41e-05', EG='1.07', time_epoch_completed='1663367567.42', return_code='0', job_id='93189', GAL2='1.29', EG2='1.00', return_code2='0', energy_flux_error='2.16e-05', photon_flux_error2='7.35e-08', ts2='2.75', photon_index='2.23' WHERE bin_id='1712' AND source_name='4FGL J1028.3+3108' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:32:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 93189: <4FGL_J1028.3+3108_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1028.3+3108_daily_bin1712> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 15:20:25 2022
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:21:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:21:17 2022
Terminated at Fri Sep 16 15:32:47 2022
Results reported at Fri Sep 16 15:32:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1028.3+3108_daily_bin1712 157.077 31.1389 683078401 683337601 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 :                                   624.38 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            742 sec.

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

