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


Performing analysis on: 4FGL_J1028.3+3108_daily_bin1709
RA = 157.077, Dec = 31.1389
tmin = 682300801, tmax = 682560001
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='93184', job_status='RUN', time_executed='2022-09-16 15:24:46.883874', time_epoch_executed='1663367086.88' WHERE source_name='4FGL J1028.3+3108' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93184

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93184/ft1_4FGL_J1028.3+3108_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93184/ft2_4FGL_J1028.3+3108_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93184/ft1_4FGL_J1028.3+3108_daily_bin1709.fits outfile=/scratch/kocevski/93184/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin1709.fits ra=157.077 dec=31.1389 rad=12.0 tmin=682300801.0 tmax=682560001.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.78
user 3.50
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93184/ft1_filtered_4FGL_J1028.3+3108_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/93184/ft2_4FGL_J1028.3+3108_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/93184/ltcube_682300801_682560001_4FGL_J1028.3+3108_daily_bin1709.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/93184/ft2_4FGL_J1028.3+3108_daily_bin1709.fits
.....................!
real 13.51
user 13.12
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93184/ft1_filtered_4FGL_J1028.3+3108_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/93184/ft2_4FGL_J1028.3+3108_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/93184/ltcube_682300801_682560001_4FGL_J1028.3+3108_daily_bin1709.fits outfile=/scratch/kocevski/93184/expmap_682300801_682560001_4FGL_J1028.3+3108_daily_bin1709.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/93184/ltcube_682300801_682560001_4FGL_J1028.3+3108_daily_bin1709.fits
.....................!
real 191.50
user 185.69
sys 4.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/93184/ft1_filtered_4FGL_J1028.3+3108_daily_bin1709.fits scfile=/scratch/kocevski/93184/ft2_4FGL_J1028.3+3108_daily_bin1709.fits outfile=/scratch/kocevski/93184/cmap_682300801_682560001_4FGL_J1028.3+3108_daily_bin1709.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.59
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/93184/ft1_filtered_4FGL_J1028.3+3108_daily_bin1709.fits scfile=/scratch/kocevski/93184/ft2_4FGL_J1028.3+3108_daily_bin1709.fits outfile=/scratch/kocevski/93184/cmap_HighResolution_682300801_682560001_4FGL_J1028.3+3108_daily_bin1709.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.918       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13442E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.9836       1.0000          .0000       .10000E+07
     4 'Prefactor '    .37026E-04   1.0000          .0000       .10000E+07
     5 'norm      '    25.830       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.0003       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5033       1.0000          .0000       .10000E+07
     8 'norm      '    1.9936       1.0000          .0000       .10000E+07
     9 'Prefactor '    56.729       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15419E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .91533       1.0000          .0000       .10000E+07
    12 'Prefactor '    15.890       1.0000          .0000       .10000E+07
    13 'Prefactor '    .75284E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    33.537       1.0000          .0000       .10000E+07
    15 'Prefactor '    .75151       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61652E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    16.700       1.0000          .0000       .10000E+07
    18 'norm      '    1.4538       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50579E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .62029E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    37.698       1.0000          .0000       .10000E+07
    22 'norm      '    5.1074       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2600       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .76363       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=   6278.696     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2105 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.931        2.0170        .23972E-06   -.85392E-02
   2  Prefactor      .0000        2.0506       -.46754E-06** at limit **
   3  Prefactor     5.9888        7.8434        .21810E-06   -.16676E-02
   4  Prefactor      .0000        .88579        .20700E-07** at limit **
   5  norm          25.828        10.958       -.22792E-07   -.48564E-01
   6  Prefactor     6.0015        3.6008       -.70225E-07    .15275E-02
   7  Prefactor     1.4999        2.6890       -.80562E-07    .10235E-02
   8  norm          2.0315        9.1487       -.48744E-05   -.44454E-02
   9  Prefactor     58.869        69.862        .33374E-05    .73751E-03
  10  Prefactor      .0000        10.924       -.48216E-06** at limit **
  11  Prefactor     .92668        5.4678        .39499E-05    .52942E-02
  12  Prefactor     15.831        10.325        .86048E-07    .33898E-02
  13  Prefactor      .0000        1.2627       -.61185E-06** at limit **
  14  Prefactor     33.603        14.516        .12211E-05   -.12882E-01
  15  Prefactor     .13656E-07    146.68       -.10846E-05** at limit **
  16  Prefactor      .0000        6.5197       -.50443E-06** at limit **
  17  Prefactor     16.685        6.5881       -.59003E-07   -.95657E-01
  18  norm          1.4554        .39728       -.35753E-07    .12188E-01
  19  Prefactor      .0000        .90957       -.51133E-06** at limit **
  20  Prefactor     .22204E-08    29.820        .59078E-05** at limit **
  21  Prefactor     37.559        23.221        .73695E-06   -.74942E-02
  22  norm          5.0629        13.717        .11847E-05   -.18378E-01
  23  Normalizat    1.2599        .21517       -.17282E-04    .11179E-03
  24  Prefactor     .76343        .22851       -.24649E-05    .40366E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.9312
  Prefactor  = 0
  Prefactor  = 5.98882
  Prefactor  = 0
  norm       = 25.8281
  Prefactor  = 6.0015
  Prefactor  = 1.49992
  norm       = 2.03147
  Prefactor  = 58.8695
  Prefactor  = 0
  Prefactor  = 0.926676
  Prefactor  = 15.8306
  Prefactor  = 0
  Prefactor  = 33.603
  Prefactor  = 1.36557e-08
  Prefactor  = 0
  Prefactor  = 16.685
  norm       = 1.45544
  Prefactor  = 0
  Prefactor  = 2.22045e-09
  Prefactor  = 37.5587
  norm       = 5.06289
  Normalizat = 1.25989
  Prefactor  = 0.763428
 **********
 **   18 **HESSE 
 **********

 FCN=   6278.696     FROM HESSE     STATUS=OK           453 CALLS     2558 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.931        14.624        .26822E-03   -1.5633    
   2  Prefactor      .0000        2.0540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.9888        7.8559        .41025E-03   -1.5659    
   4  Prefactor      .0000        .88415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          25.828        11.757        .19680E-03   -1.5606    
   6  Prefactor     6.0015        3.6041        .40968E-03   -1.5659    
   7  Prefactor     1.4999        2.7326        .87275E-03   -1.5683    
   8  norm          2.0315        9.5471        .73340E-03   -1.5679    
   9  Prefactor     58.869        69.683        .13278E-03   -1.5555    
  10  Prefactor      .0000        10.925        .17359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .92668        5.5611        .44706E-03   -1.5689    
  12  Prefactor     15.831        10.332        .25099E-03   -1.5628    
  13  Prefactor      .0000        1.2620        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.603        14.636        .17270E-03   -1.5592    
  15  Prefactor     .13656E-07    145.68        .56622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        6.5345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.685        12.854        .24482E-03   -1.5626    
  18  norm          1.4554        .39415        .53949E-03   -1.5684    
  19  Prefactor      .0000        .90952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22204E-08    29.807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     37.559        23.088        .16289E-03   -1.5585    
  22  norm          5.0629        14.827        .44465E-03   -1.5663    
  23  Normalizat    1.2599        .18472        .53986E-01   -.84772    
  24  Prefactor     .76343        .19685        .74483E-01   -1.0109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74224e-07
Minuit parameter uncertainties:
  1  14.6244
  2  2.45653e-06
  3  7.85593
  4  2.93795e-06
  5  11.7567
  6  3.60406
  7  2.73263
  8  8.80791
  9  69.6837
  10  2.73718e-05
  11  4.54021
  12  10.332
  13  1.11784e-06
  14  14.6361
  15  0.00282127
  16  1.34183e-06
  17  12.8543
  18  0.394152
  19  8.59073e-07
  20  0.000513924
  21  23.0877
  22  14.8268
  23  0.184815
  24  0.197028
Done.

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

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  5.887e+01  6.968e+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:  7.634e-01  1.970e-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.260e+00  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.90
Ra Dec: 157.077 31.139
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/93184/likelihoodResults_682300801_682560001_4FGL_J1028.3+3108_daily_bin1709.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) = 6278.6921626
delta logL = 0.00396526011809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6278.68832359
delta logL = 0.00780426807978

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.088       1.0000          .0000       .10000E+07
     2 'Index     '    2.3432       1.0000          .0000       10.000    
     3 'Normalizat'    1.2555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76697       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=   6278.688     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      288 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.090        107.08        .55967E-05    .81253E-04
   2  Index         2.3434        1.0658        .77529E-02    .24953E-04
   3  Normalizat    1.2555        .21014        .23906E-03    .83813E-04
   4  Prefactor     .76697        .23113        .32899E-03    .83144E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.0901
  Index      = 2.34342
  Normalizat = 1.25553
  Prefactor  = 0.76697
 **********
 **   18 **HESSE 
 **********

 FCN=   6278.688     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.090        90.306        .22387E-06   -1.5565    
   2  Index         2.3434        .90142        .31012E-03   -.56015    
   3  Normalizat    1.2555        .20899        .47812E-04   -.84904    
   4  Prefactor     .76697        .22987        .13159E-04   -1.0096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39421e-11
Minuit parameter uncertainties:
  1  90.3082
  2  0.908371
  3  0.209126
  4  0.230159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93184': 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) = 6278.68832353
delta logL = 0.00780433377895

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  5.109e+01  9.031e+01  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  2.343e+00  9.084e-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:  7.670e-01  2.302e-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.256e+00  2.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.90
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/93184/cmap_HighResolution_682300801_682560001_4FGL_J1028.3+3108_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.53e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2022-09-16 15:35:15.588965', job_id='93184', GAL2='0.77', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1663367715.59', return_code2='0', ts='0.90', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='7.80e-03', ts2='0.91', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1709' AND source_name='4FGL J1028.3+3108' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:35:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 93184: <4FGL_J1028.3+3108_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1028.3+3108_daily_bin1709> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 15:20:24 2022
Job was executed on host(s) <bullet0281>, 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:35:16 2022
Results reported at Fri Sep 16 15:35:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1028.3+3108_daily_bin1709 157.077 31.1389 682300801 682560001 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 :                                   630.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             262.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            892 sec.

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

