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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1766
RA = 231.849, Dec = 31.2989
tmin = 697075201, tmax = 697334401
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='852384', job_status='RUN', time_executed='2023-02-06 01:03:37.967078', time_epoch_executed='1675674217.97' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/852384

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/852384/ft1_4FGL_J1527.3+3117_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/852384/ft2_4FGL_J1527.3+3117_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/852384/ft1_4FGL_J1527.3+3117_daily_bin1766.fits outfile=/scratch/kocevski/852384/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1766.fits ra=231.849 dec=31.2989 rad=12.0 tmin=697075201.0 tmax=697334401.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.79
user 3.53
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/852384/ft2_4FGL_J1527.3+3117_daily_bin1766.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/852384/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1766.fits evtable="EVENTS" outfile="/scratch/kocevski/852384/ft1_filtered_4FGL_J1527.3+3117_daily_bin1766.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.53
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 700

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/852384/ft1_filtered_4FGL_J1527.3+3117_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/852384/ft2_4FGL_J1527.3+3117_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/852384/ltcube_697075201_697334401_4FGL_J1527.3+3117_daily_bin1766.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/852384/ft2_4FGL_J1527.3+3117_daily_bin1766.fits
.....................!
real 16.96
user 16.44
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/852384/ft1_filtered_4FGL_J1527.3+3117_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/852384/ft2_4FGL_J1527.3+3117_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/852384/ltcube_697075201_697334401_4FGL_J1527.3+3117_daily_bin1766.fits outfile=/scratch/kocevski/852384/expmap_697075201_697334401_4FGL_J1527.3+3117_daily_bin1766.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/852384/ltcube_697075201_697334401_4FGL_J1527.3+3117_daily_bin1766.fits
.....................!
real 193.11
user 187.20
sys 5.13

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/852384/ft1_filtered_4FGL_J1527.3+3117_daily_bin1766.fits scfile=/scratch/kocevski/852384/ft2_4FGL_J1527.3+3117_daily_bin1766.fits outfile=/scratch/kocevski/852384/cmap_697075201_697334401_4FGL_J1527.3+3117_daily_bin1766.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/852384/ft1_filtered_4FGL_J1527.3+3117_daily_bin1766.fits scfile=/scratch/kocevski/852384/ft2_4FGL_J1527.3+3117_daily_bin1766.fits outfile=/scratch/kocevski/852384/cmap_HighResolution_697075201_697334401_4FGL_J1527.3+3117_daily_bin1766.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88137E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .66267E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    329.17       1.0000          .0000       .10000E+07
     4 'norm      '    .16017E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    17.559       1.0000          .0000       .10000E+07
     6 'Prefactor '    .85959E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.7764       1.0000          .0000       .10000E+07
     8 'norm      '    .80430E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    81.401       1.0000          .0000       .10000E+07
    10 'Prefactor '    18.894       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.5560       1.0000          .0000       .10000E+07
    12 'norm      '    .24192E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6690       1.0000          .0000       .10000E+07
    14 'Prefactor '    9.6099       1.0000          .0000       .10000E+07
    15 'norm      '    .33329E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    17 'Prefactor '    16.789       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0116       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50610E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1191       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92045       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=   7475.726     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1683 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    6.2078        .15218E-06** at limit **
   2  norm           .0000        1.3522       -.13361E-05** at limit **
   3  Prefactor     330.59        34.717        .96562E-06    .31097    
   4  norm          .55511E-10    2.5817       -.28215E-05** at limit **
   5  Prefactor     17.503        11.941       -.67181E-06    .10952E-02
   6  Prefactor     .55511E-10    1.8690       -.17752E-05** at limit **
   7  Prefactor     7.7761        5.6712       -.70798E-06    .71345E-03
   8  norm          .11102E-09    .91193       -.16155E-05** at limit **
   9  Prefactor     82.768        57.165        .11221E-04   -.96987E-01
  10  Prefactor     20.505        47.750       -.24185E-04   -.23697E-01
  11  Prefactor     6.3679        14.852        .81734E-05   -.37812E-02
  12  norm           .0000        .23798       -.57271E-06** at limit **
  13  Prefactor     3.6879        6.1041        .26146E-05    .53493E-02
  14  Prefactor     9.5514        5.6602        .56391E-06   -.80782E-01
  15  norm           .0000        34.891        .93998E-05** at limit **
  16  Prefactor      .0000        .60959       -.10329E-07** at limit **
  17  Prefactor     16.758        19.648        .79119E-05    .31218E-01
  18  Prefactor     .88366        1.5053       -.85605E-08    .62214E-02
  19  Prefactor     .11102E-09    1.4472       -.13650E-05** at limit **
  20  Normalizat    1.1184        .20675       -.38524E-04    .17729E-03
  21  Prefactor     .92066        .16108        .32225E-04    .20727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 330.587
  norm       = 5.55112e-11
  Prefactor  = 17.5026
  Prefactor  = 5.55112e-11
  Prefactor  = 7.77612
  norm       = 1.11022e-10
  Prefactor  = 82.7683
  Prefactor  = 20.5047
  Prefactor  = 6.36791
  norm       = 0
  Prefactor  = 3.68789
  Prefactor  = 9.55138
  norm       = 0
  Prefactor  = 0
  Prefactor  = 16.7578
  Prefactor  = 0.883659
  Prefactor  = 1.11022e-10
  Normalizat = 1.11836
  Prefactor  = 0.920662
 **********
 **   18 **HESSE 
 **********

 FCN=   7475.726     FROM HESSE     STATUS=OK           355 CALLS     2038 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    6.1900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.3511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     330.59        56.108        .55127E-04   -1.5344    
   4  norm          .55511E-10    2.5817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.503        11.938        .23874E-03   -1.5624    
   6  Prefactor     .55511E-10    1.8712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.7761        5.6687        .35935E-03   -1.5652    
   8  norm          .11102E-09    .89288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     82.768        68.073        .11084E-03   -1.5526    
  10  Prefactor     20.505        49.589        .23014E-03   -1.5617    
  11  Prefactor     6.3679        14.865        .39170E-03   -1.5657    
  12  norm           .0000        .23761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.6879        6.3405        .52708E-03   -1.5670    
  14  Prefactor     9.5514        21.737        .32302E-03   -1.5646    
  15  norm           .0000        35.127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .60872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.758        20.196        .24417E-03   -1.5626    
  18  Prefactor     .88366        33.601        .44175E-03   -1.5689    
  19  Prefactor     .11102E-09    1.4400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1184        .17228        .58100E-01   -.89164    
  21  Prefactor     .92066        .13578        .45265E-01   -.95423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85058e-06
Minuit parameter uncertainties:
  1  4.26177e-05
  2  5.55648e-06
  3  56.1076
  4  2.5438e-05
  5  11.9385
  6  2.34804e-05
  7  5.66872
  8  2.18209e-05
  9  68.0731
  10  49.5895
  11  14.8654
  12  3.03559e-06
  13  6.34047
  14  21.7368
  15  1.94353e-05
  16  3.02664e-06
  17  20.1961
  18  10.8981
  19  2.81564e-05
  20  0.172365
  21  0.13583
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  3.688e+00  6.340e+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.207e-01  1.358e-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:  1.118e+00  1.724e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/852384/likelihoodResults_697075201_697334401_4FGL_J1527.3+3117_daily_bin1766.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) = 7475.68470368
delta logL = 0.0410343936346

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7475.68175996
delta logL = 0.0439781098357

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6477       1.0000          .0000       .10000E+07
     2 'Index     '    3.1316       1.0000          .0000       10.000    
     3 'Normalizat'    1.1056       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92809       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=   7475.682     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      248 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6206        60.143        .82237E-03   -.51232E-02
   2  Index         3.1395        3.6855        .14663       -.59521E-04
   3  Normalizat    1.1060        .40658E-01    .58388E-01   -.10355E-03
   4  Prefactor     .92780        .31829E-01    .45362E-01   -.25989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.62055
  Index      = 3.1395
  Normalizat = 1.10601
  Prefactor  = 0.927799
 **********
 **   18 **HESSE 
 **********

 FCN=   7475.682     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      279 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6206        170.94        .15548E-04   -1.5683    
   2  Index         3.1395        5.0762        .91912E-02   -.38127    
   3  Normalizat    1.1060        .19710        .25822E-03   -.89559    
   4  Prefactor     .92780        .14490        .22456E-03   -.95176    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.46253e-10
Minuit parameter uncertainties:
  1  33.2882
  2  10.8876
  3  0.197228
  4  0.144956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/852384': 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) = 7475.68175026
delta logL = 0.0439878092202

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.621e+00  3.329e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.140e+00  1.089e+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.278e-01  1.450e-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:  1.106e+00  1.972e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.44
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/852384/cmap_HighResolution_697075201_697334401_4FGL_J1527.3+3117_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.80e-03', job_status='DONE', photon_flux_upper_limit='8.71e-08', time_completed='2023-02-06 01:14:12.173103', job_id='852384', GAL2='0.93', fit_tolerance='1e-08', EG2='1.11', EG='1.12', time_epoch_completed='1675674852.17', return_code2='102', ts='0.44', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='4.40e-02', ts2='0.53', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1766' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 01:14:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 852384: <4FGL_J1527.3+3117_daily_bin1766> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1766> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Feb  6 01:00:24 2023
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 01:01:01 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 01:01:01 2023
Terminated at Mon Feb  6 01:14:13 2023
Results reported at Mon Feb  6 01:14:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1766 231.849 31.2989 697075201 697334401 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 :                                   635.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            829 sec.

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

