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


Performing analysis on: 4FGL_J1028.3+3108_daily_bin1751
RA = 157.077, Dec = 31.1389
tmin = 693187201, tmax = 693446401
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='75144', job_status='RUN', time_executed='2022-12-23 00:30:35.207946', time_epoch_executed='1671784235.21' WHERE source_name='4FGL J1028.3+3108' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75144

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75144/ft1_4FGL_J1028.3+3108_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75144/ft2_4FGL_J1028.3+3108_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75144/ft1_4FGL_J1028.3+3108_daily_bin1751.fits outfile=/scratch/kocevski/75144/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin1751.fits ra=157.077 dec=31.1389 rad=12.0 tmin=693187201.0 tmax=693446401.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.64
user 3.42
sys 0.21

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

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

Number of photons that the gtmktime cut: 562

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75144/ft1_filtered_4FGL_J1028.3+3108_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/75144/ft2_4FGL_J1028.3+3108_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/75144/ltcube_693187201_693446401_4FGL_J1028.3+3108_daily_bin1751.fits outfile=/scratch/kocevski/75144/expmap_693187201_693446401_4FGL_J1028.3+3108_daily_bin1751.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/75144/ltcube_693187201_693446401_4FGL_J1028.3+3108_daily_bin1751.fits
.....................!
real 191.03
user 186.45
sys 4.20

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/75144/ft1_filtered_4FGL_J1028.3+3108_daily_bin1751.fits scfile=/scratch/kocevski/75144/ft2_4FGL_J1028.3+3108_daily_bin1751.fits outfile=/scratch/kocevski/75144/cmap_693187201_693446401_4FGL_J1028.3+3108_daily_bin1751.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75144/ft1_filtered_4FGL_J1028.3+3108_daily_bin1751.fits scfile=/scratch/kocevski/75144/ft2_4FGL_J1028.3+3108_daily_bin1751.fits outfile=/scratch/kocevski/75144/cmap_HighResolution_693187201_693446401_4FGL_J1028.3+3108_daily_bin1751.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.55
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62859       1.0000          .0000       .10000E+07
     2 'Prefactor '    .89923E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .61539E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25002E-06   1.0000          .0000       .10000E+07
     5 'norm      '    3.3190       1.0000          .0000       .10000E+07
     6 'Prefactor '    .45615E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.4385       1.0000          .0000       .10000E+07
     8 'norm      '    .76563E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    29.809       1.0000          .0000       .10000E+07
    10 'Prefactor '    .84013       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62762E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.9595       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20727E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    25.905       1.0000          .0000       .10000E+07
    15 'Prefactor '    .38753E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.2861       1.0000          .0000       .10000E+07
    17 'Prefactor '    .61749E-03   1.0000          .0000       .10000E+07
    18 'norm      '    2.2326       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.6334       1.0000          .0000       .10000E+07
    20 'Prefactor '    23.120       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37667E-04   1.0000          .0000       .10000E+07
    22 'norm      '    .10128E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .97615       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94062       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=   6183.103     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     2126 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51956        8.5282        .48174E-05   -.29165E-01
   2  Prefactor     .95868E-07    14.484        .70055E-05** at limit **
   3  Prefactor     .20095E-07    25.178        .12943E-05** at limit **
   4  Prefactor     .11102E-09    .67919       -.20732E-06** at limit **
   5  norm          3.3194        3.5282       -.27602E-06   -.64581E-02
   6  Prefactor      .0000        3.0697        .25677E-07** at limit **
   7  Prefactor     4.4079        4.5662       -.19755E-06   -.29403E-02
   8  norm          .22204E-09    4.8712       -.29627E-06** at limit **
   9  Prefactor     31.872        55.322        .14518E-05   -.11622E-01
  10  Prefactor     .72627        3.7422        .12598E-06   -.63823E-02
  11  Prefactor      .0000        2.0589       -.50033E-07** at limit **
  12  Prefactor     7.9509        7.4721        .21336E-07    .21636E-02
  13  Prefactor     .11102E-09    .76954       -.19739E-06** at limit **
  14  Prefactor     25.921        3.4001       -.60800E-06   -.46478E-01
  15  Prefactor     .39302E-07    15.067       -.34032E-05** at limit **
  16  Prefactor     6.2843        7.3043        .17139E-06    .33770E-02
  17  Prefactor     .79381E-08    10.321       -.25181E-05** at limit **
  18  norm          2.2327        .38239        .97471E-08    .26465E-02
  19  Prefactor     2.6358        2.8163        .81992E-07    .34726E-02
  20  Prefactor     23.135        2.7118       -.51740E-06   -.16259E-01
  21  Prefactor     .94369E-09    6.2759       -.60649E-06** at limit **
  22  norm          .22204E-08    8.1127       -.72322E-06** at limit **
  23  Normalizat    .97574        .19305       -.40761E-06    .28905E-03
  24  Prefactor     .94047        .21486        .55349E-05    .34902E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.519563
  Prefactor  = 9.58678e-08
  Prefactor  = 2.0095e-08
  Prefactor  = 1.11022e-10
  norm       = 3.31938
  Prefactor  = 0
  Prefactor  = 4.40791
  norm       = 2.22045e-10
  Prefactor  = 31.8721
  Prefactor  = 0.726274
  Prefactor  = 0
  Prefactor  = 7.95093
  Prefactor  = 1.11022e-10
  Prefactor  = 25.9215
  Prefactor  = 3.93019e-08
  Prefactor  = 6.28432
  Prefactor  = 7.93809e-09
  norm       = 2.23272
  Prefactor  = 2.63579
  Prefactor  = 23.1352
  Prefactor  = 9.4369e-10
  norm       = 2.22045e-09
  Normalizat = 0.975735
  Prefactor  = 0.940473
 **********
 **   18 **HESSE 
 **********

 FCN=   6183.103     FROM HESSE     STATUS=OK           445 CALLS     2571 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51956        291.34        .66706E-03   -1.5694    
   2  Prefactor     .95868E-07    14.972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .20095E-07    24.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    .67939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.3194        3.5256        .55539E-03   -1.5672    
   6  Prefactor      .0000        3.0670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.4079        4.5836        .47774E-03   -1.5666    
   8  norm          .22204E-09    4.8668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     31.872        56.226        .18319E-03   -1.5595    
  10  Prefactor     .72627        218.37        .49990E-03   -1.5691    
  11  Prefactor      .0000        2.0569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.9509        7.8475        .35516E-03   -1.5652    
  13  Prefactor     .11102E-09    .76823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.921        13.210        .19652E-03   -1.5606    
  15  Prefactor     .39302E-07    15.202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.2843        7.6686        .40013E-03   -1.5658    
  17  Prefactor     .79381E-08    10.394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.2327        .39184        .44119E-03   -1.5678    
  19  Prefactor     2.6358        2.8326        .62810E-03   -1.5675    
  20  Prefactor     23.135        15.973        .20802E-03   -1.5612    
  21  Prefactor     .94369E-09    6.2788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .22204E-08    8.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .97574        .16933        .45867E-01   -.93848    
  24  Prefactor     .94047        .18405        .45521E-01   -.94741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14221e-06
Minuit parameter uncertainties:
  1  24.6076
  2  0.00239638
  3  0.00141362
  4  1.53706e-05
  5  3.52564
  6  1.18213e-06
  7  4.5836
  8  6.72876e-05
  9  56.2271
  10  25.1881
  11  8.49509e-06
  12  7.84754
  13  1.64312e-05
  14  13.2097
  15  0.00154553
  16  7.66863
  17  0.000574264
  18  0.391842
  19  2.83259
  20  15.9732
  21  0.000153449
  22  0.000267811
  23  0.169424
  24  0.184167
Done.

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

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  3.187e+01  5.623e+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:  9.405e-01  1.842e-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:  9.757e-01  1.694e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/75144/likelihoodResults_693187201_693446401_4FGL_J1028.3+3108_daily_bin1751.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) = 6182.68003205
delta logL = 0.422926481657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6182.6692582
delta logL = 0.43370032726

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.744       1.0000          .0000       .10000E+07
     2 'Index     '    3.0322       1.0000          .0000       10.000    
     3 'Normalizat'    .94825       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95594       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=   6182.669     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      292 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.740        48.532        .11213E-04   -.93365E-02
   2  Index         3.0329        1.5555        .54281E-02   -.36452E-03
   3  Normalizat    .94831        .18713        .23538E-03   -.90211E-03
   4  Prefactor     .95571        .21462        .27215E-03   -.71788E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.74
  Index      = 3.03292
  Normalizat = 0.948309
  Prefactor  = 0.955715
 **********
 **   18 **HESSE 
 **********

 FCN=   6182.669     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.740        27.919        .22427E-05   -1.5637    
   2  Index         3.0329        .90573        .21712E-03   -.40434    
   3  Normalizat    .94831        .18676        .47077E-04   -.94783    
   4  Prefactor     .95571        .21389        .54429E-04   -.94221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56435e-09
Minuit parameter uncertainties:
  1  27.919
  2  0.911691
  3  0.186884
  4  0.214081
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75144': 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) = 6182.66925591
delta logL = 0.433702620936

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  1.274e+01  2.792e+01  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  3.033e+00  9.117e-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.557e-01  2.141e-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:  9.483e-01  1.869e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 157.077 31.139
Photon Index (Free Index): 3.03 +/- 0.91
Photon Flux (Free Index): 4.22e-08 +/- 4.33e-08
Energy Flux (Free Index): 8.28e-06 +/- 8.39e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/75144/cmap_HighResolution_693187201_693446401_4FGL_J1028.3+3108_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.41e-03', comment='SUCCESS', energy_flux2='8.28e-06', dlogl='4.34e-01', photon_flux2='4.22e-08', job_status='DONE', time_completed='2022-12-23 00:40:59.206081', photon_index_error2='0.91', photon_index2='3.03', ts='0.39', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='8.39e-08', energy_flux_error2='8.39e-06', EG='0.98', time_epoch_completed='1671784859.21', return_code='0', job_id='75144', GAL2='0.96', EG2='0.95', return_code2='0', photon_flux_error2='4.33e-08', ts2='1.27', photon_index='2.23' WHERE bin_id='1751' AND source_name='4FGL J1028.3+3108' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:40:59 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 75144: <4FGL_J1028.3+3108_daily_bin1751> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1028.3+3108_daily_bin1751 157.077 31.1389 693187201 693446401 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 :                                   626.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            643 sec.

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

