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


Performing analysis on: 4FGL_J1028.3+3108_daily_bin1716
RA = 157.077, Dec = 31.1389
tmin = 684115201, tmax = 684374401
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='93195', job_status='RUN', time_executed='2022-09-16 15:22:50.879605', time_epoch_executed='1663366970.88' WHERE source_name='4FGL J1028.3+3108' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93195

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93195/ft1_4FGL_J1028.3+3108_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93195/ft2_4FGL_J1028.3+3108_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93195/ft1_4FGL_J1028.3+3108_daily_bin1716.fits outfile=/scratch/kocevski/93195/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin1716.fits ra=157.077 dec=31.1389 rad=12.0 tmin=684115201.0 tmax=684374401.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.15
user 3.90
sys 0.22

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

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

Number of photons that the gtmktime cut: 576

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93195/ft1_filtered_4FGL_J1028.3+3108_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/93195/ft2_4FGL_J1028.3+3108_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/93195/ltcube_684115201_684374401_4FGL_J1028.3+3108_daily_bin1716.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/93195/ft2_4FGL_J1028.3+3108_daily_bin1716.fits
.....................!
real 16.71
user 16.04
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93195/ft1_filtered_4FGL_J1028.3+3108_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/93195/ft2_4FGL_J1028.3+3108_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/93195/ltcube_684115201_684374401_4FGL_J1028.3+3108_daily_bin1716.fits outfile=/scratch/kocevski/93195/expmap_684115201_684374401_4FGL_J1028.3+3108_daily_bin1716.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/93195/ltcube_684115201_684374401_4FGL_J1028.3+3108_daily_bin1716.fits
.....................!
real 192.51
user 186.96
sys 5.05

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/93195/ft1_filtered_4FGL_J1028.3+3108_daily_bin1716.fits scfile=/scratch/kocevski/93195/ft2_4FGL_J1028.3+3108_daily_bin1716.fits outfile=/scratch/kocevski/93195/cmap_684115201_684374401_4FGL_J1028.3+3108_daily_bin1716.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/93195/ft1_filtered_4FGL_J1028.3+3108_daily_bin1716.fits scfile=/scratch/kocevski/93195/ft2_4FGL_J1028.3+3108_daily_bin1716.fits outfile=/scratch/kocevski/93195/cmap_HighResolution_684115201_684374401_4FGL_J1028.3+3108_daily_bin1716.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.39
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95703E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .70403E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .27118E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .36304E-07   1.0000          .0000       .10000E+07
     5 'norm      '    12.169       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2845       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20680E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .24308E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.312       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.760       1.0000          .0000       .10000E+07
    11 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.5650       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20959       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.6288       1.0000          .0000       .10000E+07
    15 'Prefactor '    .71066E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92028E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .70887E-01   1.0000          .0000       .10000E+07
    18 'norm      '    1.1283       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.7707       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.6110       1.0000          .0000       .10000E+07
    21 'Prefactor '    .64609E-04   1.0000          .0000       .10000E+07
    22 'norm      '    .71962E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0860       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2434       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=   6316.179     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     2050 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34428E-06    6.5819        .93733E-07** at limit **
   2  Prefactor     .25313E-06    3.0549       -.60193E-07** at limit **
   3  Prefactor     .16653E-09    2.2657        .54414E-08** at limit **
   4  Prefactor      .0000        1.2367        .40404E-08** at limit **
   5  norm          12.174        8.8020        .49308E-07    .35605E-01
   6  Prefactor     3.2831        2.9369        .10030E-07    .24115E-02
   7  Prefactor     .20059E-05    17.457        .29804E-06** at limit **
   8  norm          .84266E-07    4.9144       -.33453E-07** at limit **
   9  Prefactor     17.345        1.3503        .15593E-07    .26072E-03
  10  Prefactor     15.653        1.1156        .25463E-08    .34103E-04
  11  Prefactor     .22204E-09    2.0403        .21762E-07** at limit **
  12  Prefactor     3.5876        7.6724       -.79083E-08   -.20829E-02
  13  Prefactor     .21023        2.9867       -.20248E-07** at limit **
  14  Prefactor     3.5767        9.3266        .17014E-07    .40166E-02
  15  Prefactor     .39901E-06    4.1422       -.76109E-07** at limit **
  16  Prefactor     .60491E-06    9.3537        .65482E-07** at limit **
  17  Prefactor     .11736E-03    1182.1        .51795E-05** at limit **
  18  norm          1.1282        .33500       -.12933E-08   -.10387E-01
  19  Prefactor     2.7763        2.7612       -.26492E-07   -.46170E-02
  20  Prefactor     7.6066        1.3044       -.31321E-08   -.22119E-04
  21  Prefactor     .16281E-06    4.8853       -.26247E-07** at limit **
  22  norm          .50182E-06    13.041       -.46273E-07** at limit **
  23  Normalizat    1.0860        .21024        .31773E-08   -.10018E-03
  24  Prefactor     1.2437        .24746       -.39340E-06   -.10137E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.4428e-07
  Prefactor  = 2.53131e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 12.1741
  Prefactor  = 3.28308
  Prefactor  = 2.0059e-06
  norm       = 8.42659e-08
  Prefactor  = 17.345
  Prefactor  = 15.653
  Prefactor  = 2.22045e-10
  Prefactor  = 3.58757
  Prefactor  = 0.210229
  Prefactor  = 3.5767
  Prefactor  = 3.99014e-07
  Prefactor  = 6.04905e-07
  Prefactor  = 0.000117363
  norm       = 1.12824
  Prefactor  = 2.77632
  Prefactor  = 7.60662
  Prefactor  = 1.62814e-07
  norm       = 5.01821e-07
  Normalizat = 1.08599
  Prefactor  = 1.24371
 **********
 **   18 **HESSE 
 **********

 FCN=   6316.179     FROM HESSE     STATUS=OK           463 CALLS     2513 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34428E-06    7.4364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25313E-06    8.5465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-09    2.2711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.2336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          12.174        8.9441        .28691E-03   -1.5638    
   6  Prefactor     3.2831        3.0258        .55845E-03   -1.5672    
   7  Prefactor     .20059E-05    2.1516        .60388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .84266E-07    5.1127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.345        40.463        .24044E-03   -1.5625    
  10  Prefactor     15.653        19.342        .25203E-03   -1.5629    
  11  Prefactor     .22204E-09    2.0396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.5876        7.8864        .53503E-03   -1.5670    
  13  Prefactor     .21023        1.6014        .32614E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.5767        9.4193        .53011E-03   -1.5670    
  15  Prefactor     .39901E-06    8.4999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .60491E-06    10.730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11736E-03    6.3526        .10804E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.1282        .34216        .54743E-03   -1.5687    
  19  Prefactor     2.7763        2.8682        .61115E-03   -1.5675    
  20  Prefactor     7.6066        11.179        .36327E-03   -1.5653    
  21  Prefactor     .16281E-06    5.2787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .50182E-06    14.182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0860        .17598        .55586E-01   -.90203    
  24  Prefactor     1.2437        .20609        .62682E-01   -.84997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83411e-07
Minuit parameter uncertainties:
  1  0.00320004
  2  0.00294175
  3  4.16458e-05
  4  9.48395e-06
  5  8.94412
  6  3.02578
  7  0.00415494
  8  0.00131292
  9  40.4641
  10  19.3424
  11  4.08083e-05
  12  7.88646
  13  1.16044
  14  9.41937
  15  0.00368336
  16  0.0050954
  17  0.0546101
  18  0.342161
  19  2.86824
  20  11.1794
  21  0.001854
  22  0.00533567
  23  0.176075
  24  0.206225
Done.

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

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  1.734e+01  4.046e+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.244e+00  2.062e-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.086e+00  1.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/93195/likelihoodResults_684115201_684374401_4FGL_J1028.3+3108_daily_bin1716.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) = 6316.16767517
delta logL = 0.0118030273388

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6316.15958781
delta logL = 0.019890387458

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.597       1.0000          .0000       .10000E+07
     2 'Index     '    2.0195       1.0000          .0000       10.000    
     3 'Normalizat'    1.0881       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2413       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=   6316.160     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      267 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.530        62.589        .80671E-05   -.48535E-03
   2  Index         2.0179        1.0446        .10715E-01   -.19766E-04
   3  Normalizat    1.0884        .20508        .24555E-03    .28922E-03
   4  Prefactor     1.2410        .24699        .27749E-03   -.28575E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.53
  Index      = 2.01788
  Normalizat = 1.08838
  Prefactor  = 1.24098
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.530        59.593        .16134E-05   -1.5609    
   2  Index         2.0179        .99610        .42859E-03   -.63904    
   3  Normalizat    1.0884        .20519        .49109E-04   -.90126    
   4  Prefactor     1.2410        .24711        .55498E-04   -.85079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58241e-09
Minuit parameter uncertainties:
  1  59.5942
  2  1.00662
  3  0.205335
  4  0.247347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93195': 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) = 6316.15958354
delta logL = 0.0198946521368

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  2.453e+01  5.959e+01  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  2.018e+00  1.007e+00  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.241e+00  2.473e-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.088e+00  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
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/93195/cmap_HighResolution_684115201_684374401_4FGL_J1028.3+3108_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e-03', job_status='DONE', photon_flux_upper_limit='6.70e-08', time_completed='2022-09-16 15:33:26.387468', job_id='93195', GAL2='1.24', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1663367606.39', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.99e-02', ts2='0.26', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1716' AND source_name='4FGL J1028.3+3108' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:33:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 93195: <4FGL_J1028.3+3108_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1028.3+3108_daily_bin1716> 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) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:21:19 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:19 2022
Terminated at Fri Sep 16 15:33:27 2022
Results reported at Fri Sep 16 15:33:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1028.3+3108_daily_bin1716 157.077 31.1389 684115201 684374401 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 :                                   637.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            782 sec.

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

