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


Performing analysis on: 4FGL_J1027.6+8251_daily_bin1745
RA = 156.923, Dec = 82.8611
tmin = 691632001, tmax = 691891201
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='642978', job_status='RUN', time_executed='2022-12-05 00:26:56.200874', time_epoch_executed='1670228816.2' WHERE source_name='4FGL J1027.6+8251' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/642978

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/642978/ft1_4FGL_J1027.6+8251_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/642978/ft2_4FGL_J1027.6+8251_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/642978/ft1_4FGL_J1027.6+8251_daily_bin1745.fits outfile=/scratch/kocevski/642978/ft1_filteredMKT_4FGL_J1027.6+8251_daily_bin1745.fits ra=156.923 dec=82.8611 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.34
user 2.15
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/642978/ft2_4FGL_J1027.6+8251_daily_bin1745.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/642978/ft1_filteredMKT_4FGL_J1027.6+8251_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/642978/ft1_filtered_4FGL_J1027.6+8251_daily_bin1745.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 863

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/642978/ft1_filtered_4FGL_J1027.6+8251_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/642978/ft2_4FGL_J1027.6+8251_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/642978/ltcube_691632001_691891201_4FGL_J1027.6+8251_daily_bin1745.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/642978/ft2_4FGL_J1027.6+8251_daily_bin1745.fits
.....................!
real 12.62
user 12.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/642978/ft1_filtered_4FGL_J1027.6+8251_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/642978/ft2_4FGL_J1027.6+8251_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/642978/ltcube_691632001_691891201_4FGL_J1027.6+8251_daily_bin1745.fits outfile=/scratch/kocevski/642978/expmap_691632001_691891201_4FGL_J1027.6+8251_daily_bin1745.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/642978/ltcube_691632001_691891201_4FGL_J1027.6+8251_daily_bin1745.fits
.....................!
real 192.05
user 185.46
sys 6.24

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/642978/ft1_filtered_4FGL_J1027.6+8251_daily_bin1745.fits scfile=/scratch/kocevski/642978/ft2_4FGL_J1027.6+8251_daily_bin1745.fits outfile=/scratch/kocevski/642978/cmap_691632001_691891201_4FGL_J1027.6+8251_daily_bin1745.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/642978/ft1_filtered_4FGL_J1027.6+8251_daily_bin1745.fits scfile=/scratch/kocevski/642978/ft2_4FGL_J1027.6+8251_daily_bin1745.fits outfile=/scratch/kocevski/642978/cmap_HighResolution_691632001_691891201_4FGL_J1027.6+8251_daily_bin1745.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/642978/ft1_filtered_4FGL_J1027.6+8251_daily_bin1745.fits', '/scratch/kocevski/642978/ft2_4FGL_J1027.6+8251_daily_bin1745.fits', expMap='/scratch/kocevski/642978/expmap_691632001_691891201_4FGL_J1027.6+8251_daily_bin1745.fits', expCube='/scratch/kocevski/642978/ltcube_691632001_691891201_4FGL_J1027.6+8251_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/642978/Model_4FGL_J1027.6+8251_daily_bin1745.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/642978/ft1_filtered_4FGL_J1027.6+8251_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/642978/ft2_4FGL_J1027.6+8251_daily_bin1745.fits
Exposure map: /scratch/kocevski/642978/expmap_691632001_691891201_4FGL_J1027.6+8251_daily_bin1745.fits
Exposure cube: /scratch/kocevski/642978/ltcube_691632001_691891201_4FGL_J1027.6+8251_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/642978/Model_4FGL_J1027.6+8251_daily_bin1745.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) = 9206.87011746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6210       1.0000          .0000       .10000E+07
     2 'norm      '    .15701       1.0000          .0000       .10000E+07
     3 'norm      '    13.290       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15261       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.0214       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35626E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.5433       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24404E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26738E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .93095E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.8045       1.0000          .0000       .10000E+07
    12 'norm      '    3.4278       1.0000          .0000       .10000E+07
    13 'Prefactor '    23.572       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.737       1.0000          .0000       .10000E+07
    15 'Prefactor '    .16415E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .11821E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .53102E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .92581E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    36.782       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11903E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .40884E-01   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1509       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92383       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=   9206.721     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1486 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8870        1.4411       -.21621E-07   -.13745E-02
   2  norm          .10856E-01    14.209       -.19499E-06** at limit **
   3  norm          13.403        2.0075       -.97665E-08   -.20520E-01
   4  Prefactor     .12760E-04    18.790        .21286E-06** at limit **
   5  Prefactor     4.0219        3.6671        .68106E-07   -.65875E-03
   6  Prefactor     .11079E-05    8.1866        .42615E-06** at limit **
   7  Prefactor     8.5535        11.739        .27425E-07    .14026E-01
   8  Prefactor      .0000        4.2068       -.23767E-08** at limit **
   9  Prefactor     .59153E-06    16.095        .51409E-06** at limit **
  10  norm          .81046E-08    10.747        .42401E-06** at limit **
  11  Prefactor     4.6982        6.5137       -.24396E-06   -.16889E-02
  12  norm          3.4390        1.1728        .73686E-07   -.27122E-02
  13  Prefactor     23.294        7.9939       -.10542E-06   -.37714E-01
  14  Prefactor     17.131        8.3004        .90518E-08    .33346E-01
  15  Prefactor     .82490E-07    26.482        .77367E-06** at limit **
  16  norm           .0000        2.0953       -.12326E-06** at limit **
  17  Prefactor     .27867E-07    9.8124       -.35638E-06** at limit **
  18  Prefactor      .0000        4.5511        .30308E-06** at limit **
  19  Prefactor     36.511        3.4499        .17968E-07    .46798E-01
  20  Prefactor     .84660E-06    81.132       -.21012E-06** at limit **
  21  Prefactor      .0000        37.882       -.12876E-05** at limit **
  22  Normalizat    1.1511        .18838        .48364E-05   -.77502E-04
  23  Prefactor     .92365        .10740       -.30555E-06   -.60575E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.88696
  norm       = 0.0108564
  norm       = 13.4028
  Prefactor  = 1.27596e-05
  Prefactor  = 4.02187
  Prefactor  = 1.10795e-06
  Prefactor  = 8.55353
  Prefactor  = 0
  Prefactor  = 5.91527e-07
  norm       = 8.10463e-09
  Prefactor  = 4.69816
  norm       = 3.43895
  Prefactor  = 23.2941
  Prefactor  = 17.1312
  Prefactor  = 8.24896e-08
  norm       = 0
  Prefactor  = 2.78666e-08
  Prefactor  = 0
  Prefactor  = 36.5113
  Prefactor  = 8.46601e-07
  Prefactor  = 0
  Normalizat = 1.15115
  Prefactor  = 0.923652
 **********
 **   18 **HESSE 
 **********

 FCN=   9206.721     FROM HESSE     STATUS=OK           418 CALLS     1904 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8870        22.755        .36303E-03   -1.5652    
   2  norm          .10856E-01    13.257        .12597E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          13.403        17.994        .27450E-03   -1.5635    
   4  Prefactor     .12760E-04    124.51        .12689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.0219        3.6627        .50263E-03   -1.5668    
   6  Prefactor     .11079E-05    18.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.5535        11.846        .34272E-03   -1.5649    
   8  Prefactor      .0000        4.2035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .59153E-06    21.150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .81046E-08    16.884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.6982        6.4164        .45874E-03   -1.5665    
  12  norm          3.4390        1.1539        .54610E-03   -1.5671    
  13  Prefactor     23.294        13.683        .20602E-03   -1.5611    
  14  Prefactor     17.131        13.896        .24455E-03   -1.5625    
  15  Prefactor     .82490E-07    27.521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.0788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .27867E-07    10.406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        4.5475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     36.511        18.001        .16490E-03   -1.5587    
  20  Prefactor     .84660E-06    81.525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        37.645        .15924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1511        .16852        .67497E-01   -.88126    
  23  Prefactor     .92365        .96566E-01    .45308E-01   -.95319    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97361e-07
Minuit parameter uncertainties:
  1  22.7552
  2  0.758737
  3  17.9943
  4  0.0797178
  5  3.66268
  6  0.00910915
  7  11.8458
  8  5.05322e-06
  9  0.00707411
  10  0.000739965
  11  6.41642
  12  1.15393
  13  13.6829
  14  13.8958
  15  0.00301335
  16  7.11461e-06
  17  0.00107686
  18  1.45596e-05
  19  18.0006
  20  0.0166159
  21  5.30551e-05
  22  0.168596
  23  0.096584
Done.

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

Extracting fit parameters...

4FGL J1027.6+8251
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  5.053e-06  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:  9.237e-01  9.658e-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:  1.151e+00  1.686e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/642978/likelihoodResults_691632001_691891201_4FGL_J1027.6+8251_daily_bin1745.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): 102
logL (Free Index) = 9206.72309201
delta logL = -0.00208512998324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9206.72100692
delta logL = -3.50701157004e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14377E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .91970       1.0000          .0000       10.000    
     3 'Normalizat'    1.1511       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92364       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9206.721     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      237 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.4780        .42118E-03** at limit **
   2  Index         3.2420        2.0467        .35207E-06     .0000    
   3  Normalizat    1.1511        1.1259       -.22706E-04    .32983E-05
   4  Prefactor     .92365        1.2674        .16124E-04   -.12370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24202
  Normalizat = 1.15115
  Prefactor  = 0.923651
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9206.721     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.4780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1807        2.2383        .35207E-06   -.35927    
   3  Normalizat    1.1511        1.1259       -.22706E-04   -.88126    
   4  Prefactor     .92365        1.2674        .16124E-04   -.95319    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.4299e-11
Minuit parameter uncertainties:
  1  1.42594e-07
  2  2.1183
  3  1.15091
  4  1.31178
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/642978': 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): 101
logL (Free Index) = 9206.72100688
delta logL = -7.27595761418e-12

Extracting fit parameters...

4FGL J1027.6+8251
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  1.426e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  3.242e+00  2.118e+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:  9.237e-01  1.312e+00  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:  1.151e+00  1.151e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/642978/cmap_HighResolution_691632001_691891201_4FGL_J1027.6+8251_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='4.99e-08', time_completed='2022-12-05 00:40:14.553651', job_id='642978', GAL2='0.92', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1670229614.55', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1745' AND source_name='4FGL J1027.6+8251' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:40:14 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 642978: <4FGL_J1027.6+8251_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1027.6+8251_daily_bin1745> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Dec  5 00:25:23 2022
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:25:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:25:25 2022
Terminated at Mon Dec  5 00:40:14 2022
Results reported at Mon Dec  5 00:40:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1027.6+8251_daily_bin1745 156.923 82.8611 691632001 691891201 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 :                                   801.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             343.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            891 sec.

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

