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


Performing analysis on: 4FGL_J1028.3+3108_daily_bin1762
RA = 157.077, Dec = 31.1389
tmin = 696038401, tmax = 696297601
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='106560', job_status='RUN', time_executed='2023-01-25 00:50:46.206620', time_epoch_executed='1674636646.21' WHERE source_name='4FGL J1028.3+3108' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106560

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106560/ft1_4FGL_J1028.3+3108_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106560/ft2_4FGL_J1028.3+3108_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106560/ft1_4FGL_J1028.3+3108_daily_bin1762.fits outfile=/scratch/kocevski/106560/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin1762.fits ra=157.077 dec=31.1389 rad=12.0 tmin=696038401.0 tmax=696297601.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.68
user 3.44
sys 0.23

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

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

Number of photons that the gtmktime cut: 508

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106560/ft1_filtered_4FGL_J1028.3+3108_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/106560/ft2_4FGL_J1028.3+3108_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/106560/ltcube_696038401_696297601_4FGL_J1028.3+3108_daily_bin1762.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/106560/ft2_4FGL_J1028.3+3108_daily_bin1762.fits
.....................!
real 13.59
user 13.22
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106560/ft1_filtered_4FGL_J1028.3+3108_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/106560/ft2_4FGL_J1028.3+3108_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/106560/ltcube_696038401_696297601_4FGL_J1028.3+3108_daily_bin1762.fits outfile=/scratch/kocevski/106560/expmap_696038401_696297601_4FGL_J1028.3+3108_daily_bin1762.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/106560/ltcube_696038401_696297601_4FGL_J1028.3+3108_daily_bin1762.fits
.....................!
real 191.43
user 185.80
sys 5.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/106560/ft1_filtered_4FGL_J1028.3+3108_daily_bin1762.fits scfile=/scratch/kocevski/106560/ft2_4FGL_J1028.3+3108_daily_bin1762.fits outfile=/scratch/kocevski/106560/cmap_696038401_696297601_4FGL_J1028.3+3108_daily_bin1762.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106560/ft1_filtered_4FGL_J1028.3+3108_daily_bin1762.fits scfile=/scratch/kocevski/106560/ft2_4FGL_J1028.3+3108_daily_bin1762.fits outfile=/scratch/kocevski/106560/cmap_HighResolution_696038401_696297601_4FGL_J1028.3+3108_daily_bin1762.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.76
user 0.40
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23860       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.5707       1.0000          .0000       .10000E+07
     3 'Prefactor '    .21410E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.5766       1.0000          .0000       .10000E+07
     5 'norm      '    3.2361       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.6644       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11768E-06   1.0000          .0000       .10000E+07
     8 'norm      '    14.537       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18475E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11126E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22892E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .40207       1.0000          .0000       .10000E+07
    13 'Prefactor '    .84044E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .69283       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10664E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    19.409       1.0000          .0000       .10000E+07
    17 'Prefactor '    .86577E-01   1.0000          .0000       .10000E+07
    18 'norm      '    1.5085       1.0000          .0000       .10000E+07
    19 'Prefactor '    .45323E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18471E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    8.2157       1.0000          .0000       .10000E+07
    22 'norm      '    3.3827       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0037       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0989       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=   5814.311     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2077 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70912E-05    33.955        .26878E-06** at limit **
   2  Prefactor     5.4759        8.7360        .75889E-07   -.74706E-02
   3  Prefactor     .45121E-05    107.00        .22823E-06** at limit **
   4  Prefactor     2.5856        2.9803        .42392E-07    .64370E-03
   5  norm          3.2379        4.1662        .20105E-07   -.13764E-03
   6  Prefactor     4.6626        4.8846       -.31803E-07   -.10649E-02
   7  Prefactor      .0000        1.6911       -.14664E-07** at limit **
   8  norm          14.487        10.533       -.90354E-07   -.17868E-01
   9  Prefactor     .10036E-06    22.956        .51099E-06** at limit **
  10  Prefactor     .52275E-06    9.0879        .24963E-06** at limit **
  11  Prefactor     .22396E-02    5.3601        .76146E-07** at limit **
  12  Prefactor     .40654        18.771       -.33415E-06   -.11410E-01
  13  Prefactor     .88818E-09    2.6024       -.24328E-07** at limit **
  14  Prefactor     .70800        .97048       -.32268E-07    .34269E-02
  15  Prefactor     .11646E-06    8.0443       -.14939E-06** at limit **
  16  Prefactor     19.394        2.7336       -.66154E-08    .22143E-01
  17  Prefactor     .92395E-01    2.4309        .16766E-06** at limit **
  18  norm          1.5087        .36391        .32142E-08    .50297E-03
  19  Prefactor     .73097E-01    23.556       -.33006E-06** at limit **
  20  Prefactor     .11646E-06    8.1144       -.12296E-07** at limit **
  21  Prefactor     8.1834        1.3131       -.69844E-08   -.12402E-02
  22  norm          3.3112        4.3438        .73392E-07   -.20907E-01
  23  Normalizat    1.0043        .21724       -.37346E-05   -.22803E-03
  24  Prefactor     1.0986        .23817        .15921E-05   -.15352E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.09122e-06
  Prefactor  = 5.47592
  Prefactor  = 4.51211e-06
  Prefactor  = 2.5856
  norm       = 3.23791
  Prefactor  = 4.66258
  Prefactor  = 0
  norm       = 14.4872
  Prefactor  = 1.00364e-07
  Prefactor  = 5.22749e-07
  Prefactor  = 0.00223957
  Prefactor  = 0.406536
  Prefactor  = 8.88178e-10
  Prefactor  = 0.708003
  Prefactor  = 1.16462e-07
  Prefactor  = 19.3944
  Prefactor  = 0.0923953
  norm       = 1.50867
  Prefactor  = 0.0730965
  Prefactor  = 1.16462e-07
  Prefactor  = 8.18339
  norm       = 3.31117
  Normalizat = 1.00427
  Prefactor  = 1.09862
 **********
 **   18 **HESSE 
 **********

 FCN=   5814.311     FROM HESSE     STATUS=OK           483 CALLS     2560 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70912E-05    95.491        .11126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.4759        8.9133        .42542E-03   -1.5661    
   3  Prefactor     .45121E-05    9.8569        .66599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.5856        3.0085        .63556E-03   -1.5676    
   5  norm          3.2379        4.1674        .56282E-03   -1.5672    
   6  Prefactor     4.6626        4.9225        .46574E-03   -1.5665    
   7  Prefactor      .0000        1.6864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.487        10.908        .26243E-03   -1.5632    
   9  Prefactor     .10036E-06    23.212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .52275E-06    11.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .22396E-02    3.3166        .49953E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .40654        6.0343        .64107E-02   -1.5695    
  13  Prefactor     .88818E-09    2.5759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .70800        93.136        .61292E-03   -1.5691    
  15  Prefactor     .11646E-06    8.3443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.394        17.197        .22707E-03   -1.5620    
  17  Prefactor     .92395E-01    5.3326        .91241E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.5087        .37846        .49418E-03   -1.5683    
  19  Prefactor     .73097E-01    1.4745        .60952E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11646E-06    9.9397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.1834        15.208        .34953E-03   -1.5651    
  22  norm          3.3112        12.665        .54989E-03   -1.5672    
  23  Normalizat    1.0043        .18777        .46214E-01   -.92887    
  24  Prefactor     1.0986        .20007        .61326E-01   -.89511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.237e-07
Minuit parameter uncertainties:
  1  0.052045
  2  8.9133
  3  0.013338
  4  3.0085
  5  4.16741
  6  4.92246
  7  4.69676e-06
  8  10.9079
  9  0.003053
  10  0.0048409
  11  0.172368
  12  3.13252
  13  9.49311e-05
  14  16.241
  15  0.00197166
  16  17.1972
  17  1.40386
  18  0.37846
  19  0.656606
  20  0.00215191
  21  15.2083
  22  12.6648
  23  0.187889
  24  0.200209
Done.

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

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  1.004e-07  3.053e-03  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.099e+00  2.002e-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.004e+00  1.879e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/106560/likelihoodResults_696038401_696297601_4FGL_J1028.3+3108_daily_bin1762.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) = 5814.3319733
delta logL = -0.0205774017286

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5814.31139595
delta logL = -5.82094799029e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19706E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0008       1.0000          .0000       10.000    
     3 'Normalizat'    1.0043       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0986       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=   5814.311     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      197 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    25.991       -.24719E-05** at limit **
   2  Index         2.0537        5.5094        .11804E-03    .23429E-11
   3  Normalizat    1.0043        .20552       -.25492E-05   -.17848E-03
   4  Prefactor     1.0986        .23569       -.15089E-04   -.20424E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.05373
  Normalizat = 1.00427
  Prefactor  = 1.09862
 **********
 **   18 **HESSE 
 **********

 FCN=   5814.311     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      230 TOTAL
                     EDM=   .18E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .15853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0537        6.0268        .45492       -.63013    
   3  Normalizat    1.0043        .34516E-03    .46221E-01   -.92887    
   4  Prefactor     1.0986        .39595E-03    .61326E-01   -.89511    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.84673e-14
Minuit parameter uncertainties:
  1  4.85512e-06
  2  31960.3
  3  0.000345164
  4  0.000395953
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106560': 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): 102
logL (Free Index) = 5814.31139589
delta logL = 2.16368789552e-09

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  5.551e-11  4.855e-06  0.000e+00  1.000e+06 ( 1.000e-14)
266        Index:  2.054e+00  3.196e+04  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.099e+00  3.960e-04  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.004e+00  3.452e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/106560/cmap_HighResolution_696038401_696297601_4FGL_J1028.3+3108_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.38e-03', job_status='DONE', photon_flux_upper_limit='5.73e-08', time_completed='2023-01-25 01:00:39.487592', job_id='106560', GAL2='1.10', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1674637239.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.16e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1762' AND source_name='4FGL J1028.3+3108' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:00:39 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 106560: <4FGL_J1028.3+3108_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1028.3+3108_daily_bin1762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 25 00:45:25 2023
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:48:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:48:47 2023
Terminated at Wed Jan 25 01:00:40 2023
Results reported at Wed Jan 25 01:00:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1028.3+3108_daily_bin1762 157.077 31.1389 696038401 696297601 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 :                                   595.07 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            915 sec.

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

