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


Performing analysis on: 4FGL_J1527.3+3117_weekly_bin744
RA = 231.849, Dec = 31.2989
tmin = 688953601, tmax = 689558401
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='974339', job_status='RUN', time_executed='2022-11-08 01:21:28.941898', time_epoch_executed='1667899288.94' WHERE source_name='4FGL J1527.3+3117' and cadence='weekly' and bin_id='744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/974339

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/974339/ft1_4FGL_J1527.3+3117_weekly_bin744.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/974339/ft2_4FGL_J1527.3+3117_weekly_bin744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/974339/ft1_4FGL_J1527.3+3117_weekly_bin744.fits outfile=/scratch/kocevski/974339/ft1_filteredMKT_4FGL_J1527.3+3117_weekly_bin744.fits ra=231.849 dec=31.2989 rad=12.0 tmin=688953601.0 tmax=689558401.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 7.64
user 7.31
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/974339/ft2_4FGL_J1527.3+3117_weekly_bin744.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/974339/ft1_filteredMKT_4FGL_J1527.3+3117_weekly_bin744.fits evtable="EVENTS" outfile="/scratch/kocevski/974339/ft1_filtered_4FGL_J1527.3+3117_weekly_bin744.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.55
user 0.36
sys 0.18

Number of photons that the gtmktime cut: 1427

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/974339/ft1_filtered_4FGL_J1527.3+3117_weekly_bin744.fits" evtable="EVENTS" scfile=/scratch/kocevski/974339/ft2_4FGL_J1527.3+3117_weekly_bin744.fits sctable="SC_DATA" outfile=/scratch/kocevski/974339/ltcube_688953601_689558401_4FGL_J1527.3+3117_weekly_bin744.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/974339/ft2_4FGL_J1527.3+3117_weekly_bin744.fits
.....................!
real 26.87
user 26.44
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/974339/ft1_filtered_4FGL_J1527.3+3117_weekly_bin744.fits evtable="EVENTS" scfile=/scratch/kocevski/974339/ft2_4FGL_J1527.3+3117_weekly_bin744.fits sctable="SC_DATA" expcube=/scratch/kocevski/974339/ltcube_688953601_689558401_4FGL_J1527.3+3117_weekly_bin744.fits outfile=/scratch/kocevski/974339/expmap_688953601_689558401_4FGL_J1527.3+3117_weekly_bin744.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/974339/ltcube_688953601_689558401_4FGL_J1527.3+3117_weekly_bin744.fits
.....................!
real 191.28
user 185.65
sys 5.26

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/974339/ft1_filtered_4FGL_J1527.3+3117_weekly_bin744.fits scfile=/scratch/kocevski/974339/ft2_4FGL_J1527.3+3117_weekly_bin744.fits outfile=/scratch/kocevski/974339/cmap_688953601_689558401_4FGL_J1527.3+3117_weekly_bin744.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/974339/ft1_filtered_4FGL_J1527.3+3117_weekly_bin744.fits scfile=/scratch/kocevski/974339/ft2_4FGL_J1527.3+3117_weekly_bin744.fits outfile=/scratch/kocevski/974339/cmap_HighResolution_688953601_689558401_4FGL_J1527.3+3117_weekly_bin744.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.59
user 0.42
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6864       1.0000          .0000       .10000E+07
     2 'norm      '    2.8064       1.0000          .0000       .10000E+07
     3 'Prefactor '    150.34       1.0000          .0000       .10000E+07
     4 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8071       1.0000          .0000       .10000E+07
     6 'Prefactor '    .97596       1.0000          .0000       .10000E+07
     7 'Prefactor '    11.599       1.0000          .0000       .10000E+07
     8 'norm      '    1.2993       1.0000          .0000       .10000E+07
     9 'Prefactor '    .26169E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.9134       1.0000          .0000       .10000E+07
    11 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
    12 'norm      '    .72164E-09   1.0000          .0000       .10000E+07
    13 'Prefactor '    .33610       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9412       1.0000          .0000       .10000E+07
    15 'norm      '    4.3373       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37471E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .26312E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .25285E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .49960E-08   1.0000          .0000       .10000E+07
    20 'Normalizat'    .99349       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97574       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=   15257.41     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1058 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6850        4.2384        .23509E-06   -.32509E-02
   2  norm          2.8069        2.1332       -.49506E-07   -.80102E-02
   3  Prefactor     150.38        1.3327       -.32146E-07   -.13642E-01
   4  norm          .55511E-10    1.0177       -.32216E-06** at limit **
   5  Prefactor     5.8243        6.5834       -.74085E-06   -.17828E-01
   6  Prefactor     .97800        .92648       -.41448E-06    .68212E-01
   7  Prefactor     11.599        5.2833        .13675E-05    .18352E-01
   8  norm          1.2992        .81364        .50252E-07   -.79789E-02
   9  Prefactor     .11102E-09    10.049       -.30406E-06** at limit **
  10  Prefactor     7.1943        31.047        .49574E-05   -.27657E-02
  11  Prefactor     .55511E-10    2.3431       -.28228E-06** at limit **
  12  norm           .0000        .22742        .44427E-07** at limit **
  13  Prefactor     .33668        6.7466       -.43722E-06   -.15682E-03
  14  Prefactor     3.9750        1.3241       -.44637E-08    .10052E-01
  15  norm          4.3402        4.8483        .12776E-05    .53140E-02
  16  Prefactor     .36310E-01    6.8764        .68248E-06** at limit **
  17  Prefactor     .11102E-09    4.9088        .37999E-06** at limit **
  18  Prefactor     .13323E-08    7.2472       -.40982E-06** at limit **
  19  Prefactor     .44409E-09    1.2159        .16101E-06** at limit **
  20  Normalizat    .99341        .12636       -.22001E-06    .97387E-04
  21  Prefactor     .97570        .10223       -.28435E-05    .32689E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.68497
  norm       = 2.80692
  Prefactor  = 150.378
  norm       = 5.55112e-11
  Prefactor  = 5.82429
  Prefactor  = 0.977998
  Prefactor  = 11.5991
  norm       = 1.29922
  Prefactor  = 1.11022e-10
  Prefactor  = 7.19425
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0.336684
  Prefactor  = 3.97505
  norm       = 4.34022
  Prefactor  = 0.0363102
  Prefactor  = 1.11022e-10
  Prefactor  = 1.33227e-09
  Prefactor  = 4.44089e-10
  Normalizat = 0.993413
  Prefactor  = 0.975702
 **********
 **   18 **HESSE 
 **********

 FCN=   15257.41     FROM HESSE     STATUS=OK           371 CALLS     1429 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6850        4.2481        .46462E-03   -1.5665    
   2  norm          2.8069        2.1317        .60698E-03   -1.5674    
   3  Prefactor     150.38        34.726        .81563E-04   -1.5463    
   4  norm          .55511E-10    1.0206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8243        6.7989        .41653E-03   -1.5660    
   6  Prefactor     .97800        3.8476        .42913E-03   -1.5688    
   7  Prefactor     11.599        5.3099        .29389E-03   -1.5640    
   8  norm          1.2992        .86938        .96927E-03   -1.5685    
   9  Prefactor     .11102E-09    10.069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.1943        31.147        .38133E-03   -1.5654    
  11  Prefactor     .55511E-10    2.3421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .22443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .33668        2.1020        .55267E-02   -1.5696    
  14  Prefactor     3.9750        12.884        .50789E-03   -1.5668    
  15  norm          4.3402        4.8609        .48343E-03   -1.5666    
  16  Prefactor     .36310E-01    .42883        .45648E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    4.9261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .13323E-08    7.1890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    1.1965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .99341        .11336        .46085E-01   -.93251    
  21  Prefactor     .97570        .88321E-01    .45963E-01   -.93544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46657e-07
Minuit parameter uncertainties:
  1  4.24812
  2  2.13166
  3  34.7259
  4  1.71574e-05
  5  6.79894
  6  3.84761
  7  5.30985
  8  0.86938
  9  5.95355e-05
  10  29.9388
  11  2.59763e-05
  12  6.38626e-07
  13  1.68251
  14  12.8845
  15  4.86088
  16  0.249566
  17  4.80208e-05
  18  0.000194285
  19  4.73895e-05
  20  0.113386
  21  0.0883343
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  3.367e-01  1.683e+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.757e-01  8.833e-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:  9.934e-01  1.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/974339/likelihoodResults_688953601_689558401_4FGL_J1527.3+3117_weekly_bin744.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) = 15257.4060335
delta logL = 4.35891706729e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15257.406033
delta logL = 8.58603016241e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33668       1.0000          .0000       .10000E+07
     2 'Index     '    2.5691       1.0000          .0000       10.000    
     3 'Normalizat'    .99342       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97569       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.

 FCN=   15257.41     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      225 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34566        4.0421        .56633E-02    .18356E-01
   2  Index         2.5476        .57139        .50000        .28264E-04
   3  Normalizat    .99346        .40667E-02    .46084E-01    .36886E-03
   4  Prefactor     .97568        .33497E-02    .45963E-01    .21712E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.345661
  Index      = 2.54763
  Normalizat = 0.993456
  Prefactor  = 0.975678
 **********
 **   18 **HESSE 
 **********

 FCN=   15257.41     FROM HESSE     STATUS=OK            35 CALLS      260 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34566        20.217        .33192E-03   -1.5696    
   2  Index         2.5476        6.2614        .10856E-01   -.51263    
   3  Normalizat    .99346        .12293        .25186E-03   -.93250    
   4  Prefactor     .97568        .10076        .20807E-03   -.93545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.94601e-10
Minuit parameter uncertainties:
  1  5.28704
  2  5.04447
  3  0.122966
  4  0.100777
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/974339': 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) = 15257.4060105
delta logL = 2.33810642385e-05

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  3.457e-01  5.287e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.548e+00  5.044e+00  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.757e-01  1.008e-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.935e-01  1.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/974339/cmap_HighResolution_688953601_689558401_4FGL_J1527.3+3117_weekly_bin744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-03', job_status='DONE', photon_flux_upper_limit='4.15e-08', time_completed='2022-11-08 01:36:02.338795', job_id='974339', GAL2='0.98', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1667900162.34', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.34e-05', ts2='0.01', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='744' AND source_name='4FGL J1527.3+3117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov  8 01:36:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 974339: <4FGL_J1527.3+3117_weekly_bin744> in cluster <slac> Done

Job <4FGL_J1527.3+3117_weekly_bin744> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 01:20:29 2022
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 01:20:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 01:20:30 2022
Terminated at Tue Nov  8 01:36:03 2022
Results reported at Tue Nov  8 01:36:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_weekly_bin744 231.849 31.2989 688953601 689558401 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 :                                   872.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             317.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            934 sec.

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

