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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1750
RA = 231.849, Dec = 31.2989
tmin = 692928001, tmax = 693187201
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='17493', job_status='RUN', time_executed='2022-12-20 01:11:59.306110', time_epoch_executed='1671527519.31' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17493

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17493/ft1_4FGL_J1527.3+3117_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17493/ft2_4FGL_J1527.3+3117_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17493/ft1_4FGL_J1527.3+3117_daily_bin1750.fits outfile=/scratch/kocevski/17493/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1750.fits ra=231.849 dec=31.2989 rad=12.0 tmin=692928001.0 tmax=693187201.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.45
user 3.22
sys 0.21

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

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

Number of photons that the gtmktime cut: 534

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17493/ft1_filtered_4FGL_J1527.3+3117_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/17493/ft2_4FGL_J1527.3+3117_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/17493/ltcube_692928001_693187201_4FGL_J1527.3+3117_daily_bin1750.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/17493/ft2_4FGL_J1527.3+3117_daily_bin1750.fits
.....................!
real 11.56
user 11.17
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17493/ft1_filtered_4FGL_J1527.3+3117_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/17493/ft2_4FGL_J1527.3+3117_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/17493/ltcube_692928001_693187201_4FGL_J1527.3+3117_daily_bin1750.fits outfile=/scratch/kocevski/17493/expmap_692928001_693187201_4FGL_J1527.3+3117_daily_bin1750.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/17493/ltcube_692928001_693187201_4FGL_J1527.3+3117_daily_bin1750.fits
.....................!
real 192.30
user 185.43
sys 6.10

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/17493/ft1_filtered_4FGL_J1527.3+3117_daily_bin1750.fits scfile=/scratch/kocevski/17493/ft2_4FGL_J1527.3+3117_daily_bin1750.fits outfile=/scratch/kocevski/17493/cmap_692928001_693187201_4FGL_J1527.3+3117_daily_bin1750.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17493/ft1_filtered_4FGL_J1527.3+3117_daily_bin1750.fits scfile=/scratch/kocevski/17493/ft2_4FGL_J1527.3+3117_daily_bin1750.fits outfile=/scratch/kocevski/17493/cmap_HighResolution_692928001_693187201_4FGL_J1527.3+3117_daily_bin1750.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.75
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17493/ft1_filtered_4FGL_J1527.3+3117_daily_bin1750.fits', '/scratch/kocevski/17493/ft2_4FGL_J1527.3+3117_daily_bin1750.fits', expMap='/scratch/kocevski/17493/expmap_692928001_693187201_4FGL_J1527.3+3117_daily_bin1750.fits', expCube='/scratch/kocevski/17493/ltcube_692928001_693187201_4FGL_J1527.3+3117_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17493/Model_4FGL_J1527.3+3117_daily_bin1750.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/17493/ft1_filtered_4FGL_J1527.3+3117_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/17493/ft2_4FGL_J1527.3+3117_daily_bin1750.fits
Exposure map: /scratch/kocevski/17493/expmap_692928001_693187201_4FGL_J1527.3+3117_daily_bin1750.fits
Exposure cube: /scratch/kocevski/17493/ltcube_692928001_693187201_4FGL_J1527.3+3117_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17493/Model_4FGL_J1527.3+3117_daily_bin1750.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) = 5828.96477419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.7750       1.0000          .0000       .10000E+07
     2 'norm      '    3.4666       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.461       1.0000          .0000       .10000E+07
     4 'norm      '    .79191E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    20.532       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.0438       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.7080       1.0000          .0000       .10000E+07
     8 'norm      '    2.5124       1.0000          .0000       .10000E+07
     9 'Prefactor '    72.936       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13104E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .12067E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .27922E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.4905       1.0000          .0000       .10000E+07
    14 'Prefactor '    .68002E-02   1.0000          .0000       .10000E+07
    15 'norm      '    7.2379       1.0000          .0000       .10000E+07
    16 'Prefactor '    .99920E-09   1.0000          .0000       .10000E+07
    17 'Prefactor '    .24575E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .18790E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.8353       1.0000          .0000       .10000E+07
    20 'Normalizat'    .82311       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97546       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=   5828.900     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     1678 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.7396        6.9646       -.34448E-06    .24081E-05
   2  norm          3.4671        4.2492       -.23434E-06    .37960E-02
   3  Prefactor     25.435        1.8487       -.26078E-07    .11507E-01
   4  norm          .22204E-09    5.7112       -.57044E-07** at limit **
   5  Prefactor     20.451        14.385        .31294E-05    .47747E-02
   6  Prefactor     8.1158        11.746        .35077E-05    .31905E-02
   7  Prefactor     9.5532        8.6225        .48114E-06   -.24656E-02
   8  norm          2.4875        2.2202       -.95177E-06    .12456E-01
   9  Prefactor     75.644        70.728        .11704E-05   -.47559E-03
  10  Prefactor     .83267E-08    33.630        .20088E-05** at limit **
  11  Prefactor     .73308E-06    13.710       -.20822E-05** at limit **
  12  norm          .55511E-10    1.1075       -.50219E-07** at limit **
  13  Prefactor     7.4879        7.0780        .47344E-06   -.18399E-02
  14  Prefactor     .66058E-08    22.387        .21299E-05** at limit **
  15  norm          7.2249        10.763        .15267E-05    .27552E-02
  16  Prefactor     .11102E-09    1.3783        .25519E-06** at limit **
  17  Prefactor     .55417E-06    14.267       -.12480E-05** at limit **
  18  Prefactor      .0000        7.9286        .11700E-05** at limit **
  19  Prefactor     2.8349        3.2684        .16457E-06    .16877E-02
  20  Normalizat    .82274        .20831       -.32742E-04    .93818E-04
  21  Prefactor     .97577        .16504        .13007E-04    .14399E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.73959
  norm       = 3.46705
  Prefactor  = 25.4351
  norm       = 2.22045e-10
  Prefactor  = 20.4506
  Prefactor  = 8.11575
  Prefactor  = 9.55322
  norm       = 2.48747
  Prefactor  = 75.6437
  Prefactor  = 8.32667e-09
  Prefactor  = 7.3308e-07
  norm       = 5.55112e-11
  Prefactor  = 7.48791
  Prefactor  = 6.60583e-09
  norm       = 7.22488
  Prefactor  = 1.11022e-10
  Prefactor  = 5.54168e-07
  Prefactor  = 0
  Prefactor  = 2.8349
  Normalizat = 0.822736
  Prefactor  = 0.97577
 **********
 **   18 **HESSE 
 **********

 FCN=   5828.900     FROM HESSE     STATUS=OK           361 CALLS     2039 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.7396        6.9701        .33813E-03   -1.5649    
   2  norm          3.4671        4.2588        .54290E-03   -1.5671    
   3  Prefactor     25.435        25.399        .19822E-03   -1.5607    
   4  norm          .22204E-09    5.7009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.451        14.406        .22076E-03   -1.5618    
   6  Prefactor     8.1158        11.843        .35328E-03   -1.5651    
   7  Prefactor     9.5532        8.6226        .32138E-03   -1.5646    
   8  norm          2.4875        2.2466        .64435E-03   -1.5676    
   9  Prefactor     75.644        70.684        .11710E-03   -1.5534    
  10  Prefactor     .83267E-08    33.829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73308E-06    28.326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.0690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.4879        7.0986        .36620E-03   -1.5653    
  14  Prefactor     .66058E-08    22.448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.2249        10.775        .37260E-03   -1.5654    
  16  Prefactor     .11102E-09    1.3690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55417E-06    26.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        7.9083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.8349        3.2789        .60366E-03   -1.5674    
  20  Normalizat    .82274        .17961        .43911E-01   -.99231    
  21  Prefactor     .97577        .14084        .45960E-01   -.93542    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.79739e-08
Minuit parameter uncertainties:
  1  6.97011
  2  4.25883
  3  25.399
  4  6.76287e-05
  5  14.4056
  6  11.8435
  7  8.62266
  8  2.24658
  9  70.6849
  10  0.00106256
  11  0.00911391
  12  1.80291e-05
  13  7.09862
  14  0.000770451
  15  10.775
  16  2.56377e-05
  17  0.00772924
  18  2.00635e-05
  19  3.27888
  20  0.179738
  21  0.140892
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  7.488e+00  7.099e+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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  9.758e-01  1.409e-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:  8.227e-01  1.797e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.76
Ra Dec: 231.849 31.299
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 3.65e-08 +/- 3.46e-08
Energy Flux (Fixed Index): 9.86e-06 +/- 9.35e-06

TS (Fixed Index): 1.76
Ra Dec: 231.849 31.299
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/17493/likelihoodResults_692928001_693187201_4FGL_J1527.3+3117_daily_bin1750.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) = 5828.84682286
delta logL = 0.0530518277637

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5828.84470662
delta logL = 0.0551680686076

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5828.845     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      298 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.401        13.151        .12420E-04   -.13374E-02
   2  Index         2.2918        .83643        .70266E-02   -.35024E-04
   3  Normalizat    .83315        .20011        .26221E-03    .99719E-03
   4  Prefactor     .96996        .16338        .20153E-03    .15385E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4008
  Index      = 2.29179
  Normalizat = 0.833155
  Prefactor  = 0.96996
 **********
 **   18 **HESSE 
 **********

 FCN=   5828.845     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.401        12.486        .49678E-06   -1.5643    
   2  Index         2.2918        .79378        .28106E-03   -.57239    
   3  Normalizat    .83315        .19998        .52442E-04   -.98850    
   4  Prefactor     .96996        .16338        .40307E-04   -.93738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92312e-09
Minuit parameter uncertainties:
  1  12.486
  2  0.798575
  3  0.200154
  4  0.16346
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17493': 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) = 5828.84470485
delta logL = 0.0551698369418

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.040e+01  1.249e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.292e+00  7.986e-01  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.700e-01  1.635e-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:  8.332e-01  2.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.86
Ra Dec: 231.849 31.299
Photon Index (Free Index): 2.29 +/- 0.80
Photon Flux (Free Index): 3.01e-08 +/- 3.64e-08
Energy Flux (Free Index): 1.15e-05 +/- 1.27e-05

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/17493/cmap_HighResolution_692928001_693187201_4FGL_J1527.3+3117_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.92e-03', comment='SUCCESS', photon_flux='3.65e-08', energy_flux2='1.15e-05', photon_flux_error='3.46e-08', dlogl='5.52e-02', energy_flux='9.86e-06', photon_flux2='3.01e-08', job_status='DONE', time_completed='2022-12-20 01:21:19.819172', photon_index_error2='0.80', photon_index2='2.29', ts='1.76', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.27e-05', EG='0.82', time_epoch_completed='1671528079.82', return_code='0', job_id='17493', GAL2='0.97', EG2='0.83', return_code2='0', energy_flux_error='9.35e-06', photon_flux_error2='3.64e-08', ts2='1.86', photon_index='2.57' WHERE bin_id='1750' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:21:19 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 17493: <4FGL_J1527.3+3117_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1750> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec 20 01:10:20 2022
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:10:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:10:21 2022
Terminated at Tue Dec 20 01:21:20 2022
Results reported at Tue Dec 20 01:21:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1750 231.849 31.2989 692928001 693187201 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 :                                   561.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            660 sec.

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

