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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1773
RA = 231.849, Dec = 31.2989
tmin = 698889601, tmax = 699148801
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='794214', job_status='RUN', time_executed='2023-02-27 09:58:52.894061', time_epoch_executed='1677520732.89' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794214

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794214/ft1_4FGL_J1527.3+3117_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794214/ft2_4FGL_J1527.3+3117_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794214/ft1_4FGL_J1527.3+3117_daily_bin1773.fits outfile=/scratch/kocevski/794214/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1773.fits ra=231.849 dec=31.2989 rad=12.0 tmin=698889601.0 tmax=699148801.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.94
user 2.72
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/794214/ft2_4FGL_J1527.3+3117_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/794214/ft2_4FGL_J1527.3+3117_daily_bin1773.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/794214/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/794214/ft1_filtered_4FGL_J1527.3+3117_daily_bin1773.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.70
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 712

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794214/ft1_filtered_4FGL_J1527.3+3117_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/794214/ft2_4FGL_J1527.3+3117_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/794214/ltcube_698889601_699148801_4FGL_J1527.3+3117_daily_bin1773.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/794214/ft2_4FGL_J1527.3+3117_daily_bin1773.fits
.....................!
real 13.77
user 13.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794214/ft1_filtered_4FGL_J1527.3+3117_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/794214/ft2_4FGL_J1527.3+3117_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/794214/ltcube_698889601_699148801_4FGL_J1527.3+3117_daily_bin1773.fits outfile=/scratch/kocevski/794214/expmap_698889601_699148801_4FGL_J1527.3+3117_daily_bin1773.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/794214/ltcube_698889601_699148801_4FGL_J1527.3+3117_daily_bin1773.fits
.....................!
real 190.90
user 185.53
sys 4.92

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

Setting source of interest to:
4FGL J1527.3+3117 @ 231.849 31.2989

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/794214/ft1_filtered_4FGL_J1527.3+3117_daily_bin1773.fits scfile=/scratch/kocevski/794214/ft2_4FGL_J1527.3+3117_daily_bin1773.fits outfile=/scratch/kocevski/794214/cmap_698889601_699148801_4FGL_J1527.3+3117_daily_bin1773.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=231.849 yref=31.2989 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794214/ft1_filtered_4FGL_J1527.3+3117_daily_bin1773.fits scfile=/scratch/kocevski/794214/ft2_4FGL_J1527.3+3117_daily_bin1773.fits outfile=/scratch/kocevski/794214/cmap_HighResolution_698889601_699148801_4FGL_J1527.3+3117_daily_bin1773.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=231.849 yref=31.2989 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794214/ft1_filtered_4FGL_J1527.3+3117_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/794214/ft2_4FGL_J1527.3+3117_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794214/Model_4FGL_J1527.3+3117_daily_bin1773.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/794214/ft1_filtered_4FGL_J1527.3+3117_daily_bin1773.fits.....................!
real 55.90
user 54.42
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/794214/ft1_filtered_4FGL_J1527.3+3117_daily_bin1773.fits', '/scratch/kocevski/794214/ft2_4FGL_J1527.3+3117_daily_bin1773.fits', expMap='/scratch/kocevski/794214/expmap_698889601_699148801_4FGL_J1527.3+3117_daily_bin1773.fits', expCube='/scratch/kocevski/794214/ltcube_698889601_699148801_4FGL_J1527.3+3117_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/794214/Model_4FGL_J1527.3+3117_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1527.3+3117'

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.294e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.570e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.325e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/794214/ft1_filtered_4FGL_J1527.3+3117_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/794214/ft2_4FGL_J1527.3+3117_daily_bin1773.fits
Exposure map: /scratch/kocevski/794214/expmap_698889601_699148801_4FGL_J1527.3+3117_daily_bin1773.fits
Exposure cube: /scratch/kocevski/794214/ltcube_698889601_699148801_4FGL_J1527.3+3117_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/794214/Model_4FGL_J1527.3+3117_daily_bin1773.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) = 7797.77205814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42658E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12079E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    146.51       1.0000          .0000       .10000E+07
     4 'norm      '    4.1942       1.0000          .0000       .10000E+07
     5 'Prefactor '    .60903       1.0000          .0000       .10000E+07
     6 'Prefactor '    .26384E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.5305       1.0000          .0000       .10000E+07
     8 'norm      '    3.7360       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.0877       1.0000          .0000       .10000E+07
    10 'Prefactor '    98.083       1.0000          .0000       .10000E+07
    11 'Prefactor '    .36486E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.3711       1.0000          .0000       .10000E+07
    13 'Prefactor '    .72198E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .42889E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .40579E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .83950E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.5812       1.0000          .0000       .10000E+07
    18 'Prefactor '    .58655E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .12690E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    .93082       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .93287       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7797.771     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1620 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    3.9862       -.23809E-08** at limit **
   2  norm          .11102E-09    2.4307       -.71634E-07** at limit **
   3  Prefactor     146.71        10.975       -.12685E-06    .30851E-01
   4  norm          4.1304        5.1268        .33616E-07    .22303E-03
   5  Prefactor     .58383        47.988       -.49335E-05   -.20549E-01
   6  Prefactor     .12546E-07    10.655        .52503E-06** at limit **
   7  Prefactor     6.5261        8.1433       -.16006E-05   -.15216E-01
   8  norm          3.7392        1.7658        .18679E-07    .46892E-02
   9  Prefactor     3.5532        109.04        .78792E-06   -.97085E-02
  10  Prefactor     98.308        22.669        .69728E-06   -.17332    
  11  Prefactor     .61062E-09    13.851       -.11772E-06** at limit **
  12  norm          1.3710        .87233       -.20261E-07   -.68294E-02
  13  Prefactor      .0000        3.2251        .58881E-07** at limit **
  14  Prefactor     .36637E-08    9.7860       -.26814E-06** at limit **
  15  norm           .0000        2.3186       -.25752E-07** at limit **
  16  Prefactor     .55511E-10    1.5820        .26698E-07** at limit **
  17  Prefactor     1.5516        2.1987       -.29691E-06   -.30336E-02
  18  Prefactor     .77716E-09    27.915       -.47723E-07** at limit **
  19  Prefactor      .0000        1.4246        .22201E-07** at limit **
  20  Normalizat    .93092        .17793        .44185E-05    .23573E-03
  21  Prefactor     .93299        .14056       -.66035E-06    .74799E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 1.11022e-10
  Prefactor  = 146.707
  norm       = 4.13037
  Prefactor  = 0.583829
  Prefactor  = 1.25455e-08
  Prefactor  = 6.52612
  norm       = 3.73921
  Prefactor  = 3.55316
  Prefactor  = 98.3077
  Prefactor  = 6.10623e-10
  norm       = 1.37104
  Prefactor  = 0
  Prefactor  = 3.66374e-09
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.5516
  Prefactor  = 7.77156e-10
  Prefactor  = 0
  Normalizat = 0.930916
  Prefactor  = 0.932989
 **********
 **   18 **HESSE 
 **********

 FCN=   7797.771     FROM HESSE     STATUS=OK           359 CALLS     1979 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    3.9790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11102E-09    2.4221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     146.71        43.315        .82623E-04   -1.5466    
   4  norm          4.1304        5.1354        .49185E-03   -1.5667    
   5  Prefactor     .58383        53.458        .68423E-03   -1.5693    
   6  Prefactor     .12546E-07    10.647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5261        8.1662        .39248E-03   -1.5657    
   8  norm          3.7392        1.7771        .52215E-03   -1.5669    
   9  Prefactor     3.5532        128.72        .49841E-03   -1.5670    
  10  Prefactor     98.308        60.154        .10098E-03   -1.5510    
  11  Prefactor     .61062E-09    13.844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3710        .88489        .93066E-03   -1.5685    
  13  Prefactor      .0000        3.2215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .36637E-08    9.7892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        2.3188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    1.5565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.5516        46.954        .84425E-03   -1.5683    
  18  Prefactor     .77716E-09    3.8005        .99182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        1.4172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .93092        .15480        .45294E-01   -.95382    
  21  Prefactor     .93299        .12117        .45423E-01   -.94998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27216e-06
Minuit parameter uncertainties:
  1  2.79129e-05
  2  3.09581e-05
  3  43.3153
  4  5.13541
  5  11.1734
  6  0.000731169
  7  8.16624
  8  1.77711
  9  42.7726
  10  60.1542
  11  0.000182578
  12  0.884888
  13  2.62473e-06
  14  0.000379707
  15  4.46338e-06
  16  1.98108e-05
  17  17.071
  18  0.000108994
  19  1.11212e-05
  20  0.154879
  21  0.121205
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  2.625e-06  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.570e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.325e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  9.330e-01  1.212e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  9.309e-01  1.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 231.849 31.299
Photon Flux Upper Limit: 5.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/794214/likelihoodResults_698889601_699148801_4FGL_J1527.3+3117_daily_bin1773.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) = 7797.77145664
delta logL = -0.00065800334778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7797.77080044
delta logL = -1.79870858119e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12223E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .38006       1.0000          .0000       10.000    
     3 'Normalizat'    .93087       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93298       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7797.401     FROM MIGRAD    STATUS=CONVERGED    226 CALLS      427 TOTAL
                     EDM=   .66E-07  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16581E-06    .57873E-06     .0000    ** at limit **
   2  Index        10.0000        7.9849         .0000    ** at limit **
   3  Normalizat    .88947        .17534         .0000        .11205E-02
   4  Prefactor     .95496        .14145         .0000        .76426E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.65812e-07
  Index      = 10
  Normalizat = 0.889472
  Prefactor  = 0.954958
 **********
 **   18 **HESSE 
 **********

 FCN=   7797.401     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      464 TOTAL
                     EDM=   .19E+01    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16581E-06    .10285E-04    .76426E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        9.5180        .37964        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .88947        .64128E-01    .45295E-01   -.96831    
   4  Prefactor     .95496        .49462E-01    .45424E-01   -.94246    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.86337
Minuit parameter uncertainties:
  1  2.61161e-06
  2  0.00224093
  3  0.0641334
  4  0.0494648
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794214': 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) = 7797.40110061
delta logL = 0.36969802408

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.658e-07  2.612e-06  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  1.000e+01  2.241e-03  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.325e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  9.550e-01  4.946e-02  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  8.895e-01  6.413e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 231.849 31.299

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/794214/cmap_HighResolution_698889601_699148801_4FGL_J1527.3+3117_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-03', job_status='DONE', photon_flux_upper_limit='5.87e-08', time_completed='2023-02-27 10:09:25.707237', job_id='794214', GAL2='0.95', fit_tolerance='1e-08', EG2='0.89', EG='0.93', time_epoch_completed='1677521365.71', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.70e-01', ts2='0.79', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1773' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:09:25 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 794214: <4FGL_J1527.3+3117_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1773> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Feb 27 09:55:20 2023
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:55:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:55:21 2023
Terminated at Mon Feb 27 10:09:48 2023
Results reported at Mon Feb 27 10:09:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1773 231.849 31.2989 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1527.3+3117 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   634.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            875 sec.

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

