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


Performing analysis on: 4FGL_J1028.3+3108_daily_bin1780
RA = 157.077, Dec = 31.1389
tmin = 700704001, tmax = 700963201
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='58509', job_status='RUN', time_executed='2023-03-20 00:36:50.321634', time_epoch_executed='1679297810.32' WHERE source_name='4FGL J1028.3+3108' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/58509

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/58509/ft1_4FGL_J1028.3+3108_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/58509/ft2_4FGL_J1028.3+3108_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/58509/ft1_4FGL_J1028.3+3108_daily_bin1780.fits outfile=/scratch/kocevski/58509/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin1780.fits ra=157.077 dec=31.1389 rad=12.0 tmin=700704001.0 tmax=700963201.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.08
user 3.90
sys 0.17

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

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

Number of photons that the gtmktime cut: 570

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/58509/ft1_filtered_4FGL_J1028.3+3108_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/58509/ft2_4FGL_J1028.3+3108_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/58509/ltcube_700704001_700963201_4FGL_J1028.3+3108_daily_bin1780.fits outfile=/scratch/kocevski/58509/expmap_700704001_700963201_4FGL_J1028.3+3108_daily_bin1780.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/58509/ltcube_700704001_700963201_4FGL_J1028.3+3108_daily_bin1780.fits
.....................!
real 189.69
user 184.82
sys 4.53

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/58509/ft1_filtered_4FGL_J1028.3+3108_daily_bin1780.fits scfile=/scratch/kocevski/58509/ft2_4FGL_J1028.3+3108_daily_bin1780.fits outfile=/scratch/kocevski/58509/cmap_700704001_700963201_4FGL_J1028.3+3108_daily_bin1780.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/58509/ft1_filtered_4FGL_J1028.3+3108_daily_bin1780.fits scfile=/scratch/kocevski/58509/ft2_4FGL_J1028.3+3108_daily_bin1780.fits outfile=/scratch/kocevski/58509/cmap_HighResolution_700704001_700963201_4FGL_J1028.3+3108_daily_bin1780.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.58
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83753E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.6600       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20286E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .68994E-03   1.0000          .0000       .10000E+07
     5 'norm      '    12.634       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10935E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.3693       1.0000          .0000       .10000E+07
     8 'norm      '    2.2385       1.0000          .0000       .10000E+07
     9 'Prefactor '    71.017       1.0000          .0000       .10000E+07
    10 'Prefactor '    .29594E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.7321       1.0000          .0000       .10000E+07
    12 'Prefactor '    .32196E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13099E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43480E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10050E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.391       1.0000          .0000       .10000E+07
    17 'Prefactor '    .34851E-03   1.0000          .0000       .10000E+07
    18 'norm      '    2.0057       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.5367       1.0000          .0000       .10000E+07
    20 'Prefactor '    .13544E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    3.2459       1.0000          .0000       .10000E+07
    22 'norm      '    .30213E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0813       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .72275       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=   6483.211     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1977 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    5.5698        .14880E-05** at limit **
   2  Prefactor     5.6612        6.8536        .13196E-06   -.49560E-03
   3  Prefactor     .10414E-06    2.9044       -.20718E-05** at limit **
   4  Prefactor     .11102E-09    3.1004       -.23175E-06** at limit **
   5  norm          12.633        1.6953        .23249E-06    .14215E-01
   6  Prefactor      .0000        1.3099        .74270E-07** at limit **
   7  Prefactor     9.3665        4.5027        .27399E-08    .37056E-02
   8  norm          2.2571        6.8602       -.72749E-06    .23731E-02
   9  Prefactor     70.846        47.209       -.25063E-05    .14311E-01
  10  Prefactor     .39863E-06    6.7660       -.10903E-05** at limit **
  11  Prefactor     5.7279        4.1101        .78800E-07   -.87424E-03
  12  Prefactor     .37748E-08    3.4478        .29428E-06** at limit **
  13  Prefactor     .11102E-09    2.1884       -.11846E-06** at limit **
  14  Prefactor     .35610E-06    5.3578        .97804E-07** at limit **
  15  Prefactor     .19429E-08    17.099        .23274E-07** at limit **
  16  Prefactor     10.374        5.4646       -.10071E-05    .34420E-01
  17  Prefactor     .32030E-07    3.6015       -.12630E-05** at limit **
  18  norm          2.0060        .34845        .46829E-08   -.11101E-01
  19  Prefactor     4.5374        3.4905        .16846E-07   -.14228E-02
  20  Prefactor     .39302E-07    5.0985        .69859E-06** at limit **
  21  Prefactor     3.2452        1.2981       -.29456E-06    .22697E-02
  22  norm          .99476E-07    3.1679        .11984E-05** at limit **
  23  Normalizat    1.0810        .18910        .98959E-06   -.87034E-04
  24  Prefactor     .72303        .20280        .32949E-05   -.72601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 5.66122
  Prefactor  = 1.04139e-07
  Prefactor  = 1.11022e-10
  norm       = 12.6327
  Prefactor  = 0
  Prefactor  = 9.36648
  norm       = 2.25709
  Prefactor  = 70.8464
  Prefactor  = 3.98626e-07
  Prefactor  = 5.7279
  Prefactor  = 3.77476e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 3.56104e-07
  Prefactor  = 1.94289e-09
  Prefactor  = 10.374
  Prefactor  = 3.20299e-08
  norm       = 2.006
  Prefactor  = 4.53741
  Prefactor  = 3.93019e-08
  Prefactor  = 3.24518
  norm       = 9.9476e-08
  Normalizat = 1.08097
  Prefactor  = 0.723028
 **********
 **   18 **HESSE 
 **********

 FCN=   6483.211     FROM HESSE     STATUS=OK           443 CALLS     2420 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    6.9007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.6612        6.9990        .42199E-03   -1.5660    
   3  Prefactor     .10414E-06    3.8817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    3.0422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          12.633        9.4061        .28156E-03   -1.5637    
   6  Prefactor      .0000        1.3083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.3665        4.4974        .32717E-03   -1.5647    
   8  norm          2.2571        6.9117        .68670E-03   -1.5678    
   9  Prefactor     70.846        48.364        .11867E-03   -1.5540    
  10  Prefactor     .39863E-06    11.309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7279        4.1193        .41929E-03   -1.5660    
  12  Prefactor     .37748E-08    3.4670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11102E-09    2.1748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .35610E-06    11.049        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .19429E-08    17.106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.374        13.308        .31058E-03   -1.5644    
  17  Prefactor     .32030E-07    6.3802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.0060        .36617        .43304E-03   -1.5680    
  19  Prefactor     4.5374        3.4964        .47241E-03   -1.5665    
  20  Prefactor     .39302E-07    5.7039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.2452        12.901        .56193E-03   -1.5672    
  22  norm          .99476E-07    4.0034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0810        .16277        .38818E-01   -.90365    
  24  Prefactor     .72303        .17572        .67867E-01   -1.0263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05311e-07
Minuit parameter uncertainties:
  1  0.000120044
  2  6.99899
  3  0.00127155
  4  3.25235e-05
  5  9.40612
  6  1.56914e-06
  7  4.49739
  8  6.91173
  9  48.3638
  10  0.00424653
  11  4.11935
  12  0.000229219
  13  2.86487e-05
  14  0.00396713
  15  0.000364638
  16  13.3077
  17  0.000903733
  18  0.366166
  19  3.49644
  20  0.000946876
  21  12.9015
  22  0.00126197
  23  0.162844
  24  0.175856
Done.

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

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  7.085e+01  4.836e+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.230e-01  1.759e-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.081e+00  1.628e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.51
Ra Dec: 157.077 31.139
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 3.79e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 1.09e-05

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) = 6483.21055
delta logL = 0.000860745317368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6483.20960893
delta logL = 0.00180181262749

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.991       1.0000          .0000       .10000E+07
     2 'Index     '    2.2719       1.0000          .0000       10.000    
     3 'Normalizat'    1.0795       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72344       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=   6483.210     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      270 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.900        72.771        .24257E-04   -.24067E-02
   2  Index         2.2698        .63259        .62119E-02    .44047E-03
   3  Normalizat    1.0794        .18241        .22454E-03    .31442E-04
   4  Prefactor     .72414        .20237        .30010E-03   -.26280E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.8998
  Index      = 2.26976
  Normalizat = 1.07943
  Prefactor  = 0.724139
 **********
 **   18 **HESSE 
 **********

 FCN=   6483.210     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.900        68.245        .97027E-06   -1.5543    
   2  Index         2.2698        .59318        .12424E-02   -.57764    
   3  Normalizat    1.0794        .18225        .89817E-05   -.90415    
   4  Prefactor     .72414        .20234        .12004E-04   -1.0259    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.24493e-10
Minuit parameter uncertainties:
  1  68.2455
  2  0.59518
  3  0.182357
  4  0.202542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/58509': 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) = 6483.20957189
delta logL = 0.00183885176193

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  6.790e+01  6.825e+01  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  2.270e+00  5.952e-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.241e-01  2.025e-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.079e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.50
Ra Dec: 157.077 31.139
Photon Index (Free Index): 2.27 +/- 0.60
Photon Flux (Free Index): 3.91e-08 +/- 3.35e-08
Energy Flux (Free Index): 1.56e-05 +/- 1.28e-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/58509/cmap_HighResolution_700704001_700963201_4FGL_J1028.3+3108_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.79e-08', energy_flux2='1.56e-05', photon_flux_error='2.59e-08', dlogl='1.84e-03', energy_flux='1.60e-05', photon_flux2='3.91e-08', job_status='DONE', time_completed='2023-03-20 00:46:20.571634', photon_index_error2='0.60', photon_index2='2.27', ts='4.51', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='1.08', time_epoch_completed='1679298380.57', return_code='0', job_id='58509', GAL2='0.72', EG2='1.08', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='3.35e-08', ts2='4.50', photon_index='2.23' WHERE bin_id='1780' AND source_name='4FGL J1028.3+3108' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:46:20 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 58509: <4FGL_J1028.3+3108_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1028.3+3108_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:35:17 2023
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:35:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:35:18 2023
Terminated at Mon Mar 20 00:46:21 2023
Results reported at Mon Mar 20 00:46:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1028.3+3108_daily_bin1780 157.077 31.1389 700704001 700963201 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 :                                   572.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            664 sec.

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

