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


Performing analysis on: 4FGL_J1027.6+8251_daily_bin1710
RA = 156.923, Dec = 82.8611
tmin = 682560001, tmax = 682819201
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='93168', job_status='RUN', time_executed='2022-09-16 15:21:27.866018', time_epoch_executed='1663366887.87' WHERE source_name='4FGL J1027.6+8251' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93168

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93168/ft1_4FGL_J1027.6+8251_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93168/ft2_4FGL_J1027.6+8251_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93168/ft1_4FGL_J1027.6+8251_daily_bin1710.fits outfile=/scratch/kocevski/93168/ft1_filteredMKT_4FGL_J1027.6+8251_daily_bin1710.fits ra=156.923 dec=82.8611 rad=12.0 tmin=682560001.0 tmax=682819201.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.69
user 3.44
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/93168/ft2_4FGL_J1027.6+8251_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/93168/ft2_4FGL_J1027.6+8251_daily_bin1710.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/93168/ft1_filteredMKT_4FGL_J1027.6+8251_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/93168/ft1_filtered_4FGL_J1027.6+8251_daily_bin1710.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.32
sys 0.17

Number of photons that the gtmktime cut: 956

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93168/ft1_filtered_4FGL_J1027.6+8251_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/93168/ft2_4FGL_J1027.6+8251_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/93168/ltcube_682560001_682819201_4FGL_J1027.6+8251_daily_bin1710.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/93168/ft2_4FGL_J1027.6+8251_daily_bin1710.fits
.....................!
real 15.15
user 14.54
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93168/ft1_filtered_4FGL_J1027.6+8251_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/93168/ft2_4FGL_J1027.6+8251_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/93168/ltcube_682560001_682819201_4FGL_J1027.6+8251_daily_bin1710.fits outfile=/scratch/kocevski/93168/expmap_682560001_682819201_4FGL_J1027.6+8251_daily_bin1710.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/93168/ltcube_682560001_682819201_4FGL_J1027.6+8251_daily_bin1710.fits
.....................!
real 193.34
user 187.07
sys 5.33

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 208 point sources and 0 extended sources

Setting source of interest to:
4FGL J1027.6+8251 @ 156.923 82.8611

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/93168/ft1_filtered_4FGL_J1027.6+8251_daily_bin1710.fits scfile=/scratch/kocevski/93168/ft2_4FGL_J1027.6+8251_daily_bin1710.fits outfile=/scratch/kocevski/93168/cmap_682560001_682819201_4FGL_J1027.6+8251_daily_bin1710.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=156.923 yref=82.8611 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.60
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/93168/ft1_filtered_4FGL_J1027.6+8251_daily_bin1710.fits scfile=/scratch/kocevski/93168/ft2_4FGL_J1027.6+8251_daily_bin1710.fits outfile=/scratch/kocevski/93168/cmap_HighResolution_682560001_682819201_4FGL_J1027.6+8251_daily_bin1710.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=156.923 yref=82.8611 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/93168/ft1_filtered_4FGL_J1027.6+8251_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/93168/ft2_4FGL_J1027.6+8251_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/93168/Model_4FGL_J1027.6+8251_daily_bin1710.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/93168/ft1_filtered_4FGL_J1027.6+8251_daily_bin1710.fits.....................!
real 124.82
user 122.89
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/93168/ft1_filtered_4FGL_J1027.6+8251_daily_bin1710.fits', '/scratch/kocevski/93168/ft2_4FGL_J1027.6+8251_daily_bin1710.fits', expMap='/scratch/kocevski/93168/expmap_682560001_682819201_4FGL_J1027.6+8251_daily_bin1710.fits', expCube='/scratch/kocevski/93168/ltcube_682560001_682819201_4FGL_J1027.6+8251_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/93168/Model_4FGL_J1027.6+8251_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1027.6+8251'

4FGL J1027.6+8251
   Spectrum: PowerLaw
309    Prefactor:  2.038e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.340e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/93168/ft1_filtered_4FGL_J1027.6+8251_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/93168/ft2_4FGL_J1027.6+8251_daily_bin1710.fits
Exposure map: /scratch/kocevski/93168/expmap_682560001_682819201_4FGL_J1027.6+8251_daily_bin1710.fits
Exposure cube: /scratch/kocevski/93168/ltcube_682560001_682819201_4FGL_J1027.6+8251_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/93168/Model_4FGL_J1027.6+8251_daily_bin1710.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) = 10085.9100827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31556E-04   1.0000          .0000       .10000E+07
     2 'norm      '    3.9275       1.0000          .0000       .10000E+07
     3 'norm      '    .16658E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .48208E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5972       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.210       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10197E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.2487       1.0000          .0000       .10000E+07
     9 'Prefactor '    .70802E-04   1.0000          .0000       .10000E+07
    10 'norm      '    3.2592       1.0000          .0000       .10000E+07
    11 'Prefactor '    .26990E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .78356       1.0000          .0000       .10000E+07
    13 'Prefactor '    .36393E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    15.358       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.2007       1.0000          .0000       .10000E+07
    16 'norm      '     .0000       1.0000          .0000       .10000E+07
    17 'Prefactor '    27.679       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.1954       1.0000          .0000       .10000E+07
    19 'Prefactor '    .54864E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .41005E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    12.041       1.0000          .0000       .10000E+07
    22 'Normalizat'    .87888       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0104       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10085.86     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1539 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.9451        .21723E-06** at limit **
   2  norm          3.9307        7.5784        .65477E-07   -.59169E-03
   3  norm           .0000        4.6877       -.22073E-06** at limit **
   4  Prefactor     .14100E-06    44.423       -.16301E-05** at limit **
   5  Prefactor     2.6001        3.2152        .15824E-06    .24207E-03
   6  Prefactor     17.217        7.5186        .16570E-07    .78950E-03
   7  Prefactor      .0000        2.2352        .68820E-06** at limit **
   8  Prefactor     1.2458        9.6702        .81849E-07    .10216E-03
   9  Prefactor      .0000        4.7783        .68248E-06** at limit **
  10  norm          3.2607        3.5637       -.44404E-06    .12126E-03
  11  Prefactor      .0000        2.4831        .24880E-06** at limit **
  12  norm          .78401        .55900       -.38819E-07    .62866E-03
  13  Prefactor     .11102E-08    18.033       -.18577E-06** at limit **
  14  Prefactor     15.374        9.4957        .29670E-06    .60372E-03
  15  Prefactor     10.006        53.433        .13050E-05   -.16881E-01
  16  norm           .0000        1.3236        .17866E-06** at limit **
  17  Prefactor     28.292        19.437        .31990E-06    .68516E-01
  18  Prefactor     6.1802        11.011       -.13923E-05   -.76667E-03
  19  Prefactor     .22204E-09    13.933        .29751E-06** at limit **
  20  Prefactor     .20206E-07    30.056       -.23084E-05** at limit **
  21  Prefactor     12.201        2.7176        .80841E-07    .21927E-02
  22  Normalizat    .87826        .15651        .80326E-05    .24831E-04
  23  Prefactor     1.0104        .94726E-01    .24638E-05    .19060E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 3.93068
  norm       = 0
  Prefactor  = 1.40998e-07
  Prefactor  = 2.60013
  Prefactor  = 17.217
  Prefactor  = 0
  Prefactor  = 1.24582
  Prefactor  = 0
  norm       = 3.26066
  Prefactor  = 0
  norm       = 0.784009
  Prefactor  = 1.11022e-09
  Prefactor  = 15.3739
  Prefactor  = 10.0055
  norm       = 0
  Prefactor  = 28.2924
  Prefactor  = 6.1802
  Prefactor  = 2.22045e-10
  Prefactor  = 2.02061e-08
  Prefactor  = 12.2011
  Normalizat = 0.878263
  Prefactor  = 1.01044
 **********
 **   18 **HESSE 
 **********

 FCN=   10085.86     FROM HESSE     STATUS=OK           416 CALLS     1955 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.9508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9307        7.5929        .50881E-03   -1.5668    
   3  norm           .0000        4.6872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14100E-06    44.676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6001        3.2246        .63282E-03   -1.5676    
   6  Prefactor     17.217        7.5202        .24116E-03   -1.5625    
   7  Prefactor      .0000        2.2346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.2458        9.7938        .10009E-02   -1.5686    
   9  Prefactor      .0000        4.7776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.2607        3.6091        .56072E-03   -1.5672    
  11  Prefactor      .0000        2.4770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .78401        .56425        .54169E-03   -1.5690    
  13  Prefactor     .11102E-08    17.917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.374        9.5262        .25531E-03   -1.5630    
  15  Prefactor     10.006        68.838        .33017E-03   -1.5645    
  16  norm           .0000        1.3234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     28.292        41.298        .19011E-03   -1.5602    
  18  Prefactor     6.1802        11.028        .40308E-03   -1.5658    
  19  Prefactor     .22204E-09    13.903        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .20206E-07    30.081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.201        34.312        .28844E-03   -1.5638    
  22  Normalizat    .87826        .14064        .67680E-01   -.97228    
  23  Prefactor     1.0104        .85302E-01    .43269E-01   -.92382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09832e-06
Minuit parameter uncertainties:
  1  1.54818e-05
  2  7.59294
  3  9.62958e-06
  4  0.00501988
  5  3.22456
  6  7.52019
  7  1.15231e-06
  8  6.9861
  9  6.52702e-06
  10  3.60909
  11  1.8621e-06
  12  0.564247
  13  0.000282019
  14  9.5262
  15  52.4896
  16  1.89694e-06
  17  41.2983
  18  11.0283
  19  0.00010865
  20  0.00155889
  21  34.3121
  22  0.140695
  23  0.0853132
Done.

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

Extracting fit parameters...

4FGL J1027.6+8251
   Spectrum: PowerLaw
309    Prefactor:  1.246e+00  6.986e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.340e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.010e+00  8.531e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  8.783e-01  1.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 156.923 82.861
Photon Flux Upper Limit: 5.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/93168/likelihoodResults_682560001_682819201_4FGL_J1027.6+8251_daily_bin1710.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) = 10085.8490657
delta logL = 0.00905548232186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10085.8486754
delta logL = 0.00944584677927

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1101       1.0000          .0000       .10000E+07
     2 'Index     '    2.6526       1.0000          .0000       10.000    
     3 'Normalizat'    .87662       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0108       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10085.85     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      270 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1066        11.834        .22416E-03    .18152E-01
   2  Index         2.6512        2.6936        .60498E-02   -.10136E-04
   3  Normalizat    .87663        .14907        .29966E-03   -.79141E-04
   4  Prefactor     1.0108        .94269E-01    .17763E-03   -.14058E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.10664
  Index      = 2.65123
  Normalizat = 0.876633
  Prefactor  = 1.01082
 **********
 **   18 **HESSE 
 **********

 FCN=   10085.85     FROM HESSE     STATUS=OK            27 CALLS      297 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1066        7.9852        .44833E-04   -1.5687    
   2  Index         2.6512        2.2673        .24199E-03   -.48901    
   3  Normalizat    .87663        .14918        .11986E-04   -.97286    
   4  Prefactor     1.0108        .94298E-01    .35525E-04   -.92370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7683e-11
Minuit parameter uncertainties:
  1  5.94535
  2  2.38115
  3  0.149251
  4  0.0943138
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93168': 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) = 10085.8486746
delta logL = 0.00944661133872

Extracting fit parameters...

4FGL J1027.6+8251
   Spectrum: PowerLaw
309    Prefactor:  1.107e+00  5.945e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.651e+00  2.381e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.011e+00  9.431e-02  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  8.766e-01  1.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 156.923 82.861

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/93168/cmap_HighResolution_682560001_682819201_4FGL_J1027.6+8251_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.24e-08', time_completed='2022-09-16 15:36:10.525102', job_id='93168', GAL2='1.01', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1663367770.53', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='9.45e-03', ts2='0.05', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1710' AND source_name='4FGL J1027.6+8251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:36:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 93168: <4FGL_J1027.6+8251_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1027.6+8251_daily_bin1710> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 15:20:23 2022
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:21:09 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:09 2022
Terminated at Fri Sep 16 15:36:11 2022
Results reported at Fri Sep 16 15:36:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1027.6+8251_daily_bin1710 156.923 82.8611 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1027.6+8251 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   883.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             382.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            948 sec.

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

