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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1778
RA = 231.849, Dec = 31.2989
tmin = 700185601, tmax = 700444801
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='968226', job_status='RUN', time_executed='2023-03-14 01:21:07.854975', time_epoch_executed='1678782067.86' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968226

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968226/ft1_4FGL_J1527.3+3117_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968226/ft2_4FGL_J1527.3+3117_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968226/ft1_4FGL_J1527.3+3117_daily_bin1778.fits outfile=/scratch/kocevski/968226/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1778.fits ra=231.849 dec=31.2989 rad=12.0 tmin=700185601.0 tmax=700444801.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.92
user 3.68
sys 0.22

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

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

Number of photons that the gtmktime cut: 695

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968226/ft1_filtered_4FGL_J1527.3+3117_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/968226/ft2_4FGL_J1527.3+3117_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/968226/ltcube_700185601_700444801_4FGL_J1527.3+3117_daily_bin1778.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/968226/ft2_4FGL_J1527.3+3117_daily_bin1778.fits
.....................!
real 12.12
user 11.78
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968226/ft1_filtered_4FGL_J1527.3+3117_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/968226/ft2_4FGL_J1527.3+3117_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/968226/ltcube_700185601_700444801_4FGL_J1527.3+3117_daily_bin1778.fits outfile=/scratch/kocevski/968226/expmap_700185601_700444801_4FGL_J1527.3+3117_daily_bin1778.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/968226/ltcube_700185601_700444801_4FGL_J1527.3+3117_daily_bin1778.fits
.....................!
real 191.37
user 185.49
sys 5.55

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/968226/ft1_filtered_4FGL_J1527.3+3117_daily_bin1778.fits scfile=/scratch/kocevski/968226/ft2_4FGL_J1527.3+3117_daily_bin1778.fits outfile=/scratch/kocevski/968226/cmap_700185601_700444801_4FGL_J1527.3+3117_daily_bin1778.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968226/ft1_filtered_4FGL_J1527.3+3117_daily_bin1778.fits scfile=/scratch/kocevski/968226/ft2_4FGL_J1527.3+3117_daily_bin1778.fits outfile=/scratch/kocevski/968226/cmap_HighResolution_700185601_700444801_4FGL_J1527.3+3117_daily_bin1778.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/968226/ft1_filtered_4FGL_J1527.3+3117_daily_bin1778.fits', '/scratch/kocevski/968226/ft2_4FGL_J1527.3+3117_daily_bin1778.fits', expMap='/scratch/kocevski/968226/expmap_700185601_700444801_4FGL_J1527.3+3117_daily_bin1778.fits', expCube='/scratch/kocevski/968226/ltcube_700185601_700444801_4FGL_J1527.3+3117_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/968226/Model_4FGL_J1527.3+3117_daily_bin1778.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/968226/ft1_filtered_4FGL_J1527.3+3117_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/968226/ft2_4FGL_J1527.3+3117_daily_bin1778.fits
Exposure map: /scratch/kocevski/968226/expmap_700185601_700444801_4FGL_J1527.3+3117_daily_bin1778.fits
Exposure cube: /scratch/kocevski/968226/ltcube_700185601_700444801_4FGL_J1527.3+3117_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/968226/Model_4FGL_J1527.3+3117_daily_bin1778.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7875.34550745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6287       1.0000          .0000       .10000E+07
     2 'norm      '    .75874       1.0000          .0000       .10000E+07
     3 'Prefactor '    328.95       1.0000          .0000       .10000E+07
     4 'norm      '    .42988E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    31.692       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.0191       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18695E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .29022E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22539E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15429E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .90372E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .56327E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.0179       1.0000          .0000       .10000E+07
    14 'Prefactor '    .75504E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .36082E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12090E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52667E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    4.5271       1.0000          .0000       .10000E+07
    19 'Prefactor '    .85498E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0126       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0853       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=   7874.004     FROM MIGRAD    STATUS=CONVERGED    190 CALLS     1100 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6228        5.6754        .14249E-06   -.33059E-04
   2  norm          .79860        2.9610        .50980E-07   -.22510E-04
   3  Prefactor     330.79        65.323        .21405E-07   -.11295E-02
   4  norm           .0000        5.7426       -.11267E-07** at limit **
   5  Prefactor     31.633        2.7870       -.58597E-08   -.95160E-02
   6  Prefactor     9.0235        8.5729       -.51701E-07    .73054E-03
   7  Prefactor      .0000        12.656        .32373E-07** at limit **
   8  norm           .0000        2.3953       -.27625E-07** at limit **
   9  Prefactor      .0000        76.674       -.33043E-06** at limit **
  10  Prefactor      .0000        54.091       -.24463E-06** at limit **
  11  Prefactor      .0000        21.699        .25503E-06** at limit **
  12  norm           .0000        .80527        .74697E-08** at limit **
  13  Prefactor     5.0236        5.8311        .85211E-07   -.66524E-04
  14  Prefactor      .0000        13.142        .67515E-07** at limit **
  15  norm           .0000        8.3365        .11502E-06** at limit **
  16  Prefactor      .0000        1.7002       -.38167E-07** at limit **
  17  Prefactor      .0000        16.070        .16665E-06** at limit **
  18  Prefactor     4.5086        8.1853       -.19255E-07   -.18834E-04
  19  Prefactor      .0000        .67869        .11463E-06** at limit **
  20  Normalizat    1.0116        .21303       -.23571E-05    .70950E-05
  21  Prefactor     1.0855        .16535        .12625E-05    .10640E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62277
  norm       = 0.798599
  Prefactor  = 330.79
  norm       = 0
  Prefactor  = 31.6325
  Prefactor  = 9.02347
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.02359
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.50864
  Prefactor  = 0
  Normalizat = 1.01165
  Prefactor  = 1.08552
 **********
 **   18 **HESSE 
 **********

 FCN=   7874.004     FROM HESSE     STATUS=OK           355 CALLS     1455 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6228        5.7178        .62871E-03   -1.5676    
   2  norm          .79860        2.9780        .56062E-03   -1.5690    
   3  Prefactor     330.79        65.112        .55145E-04   -1.5344    
   4  norm           .0000        5.7403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     31.633        20.303        .17766E-03   -1.5595    
   6  Prefactor     9.0235        8.9703        .33350E-03   -1.5648    
   7  Prefactor      .0000        12.599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.3403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        76.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        54.083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        21.711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .79173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.0236        5.8457        .44867E-03   -1.5663    
  14  Prefactor      .0000        13.145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        8.3356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        1.6816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        16.081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.5086        8.1858        .47292E-03   -1.5665    
  19  Prefactor      .0000        .67827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0116        .18149        .65534E-01   -.92641    
  21  Prefactor     1.0855        .13982        .38173E-01   -.89931    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21076e-07
Minuit parameter uncertainties:
  1  5.71778
  2  2.97799
  3  65.1116
  4  1.08409e-06
  5  20.3035
  6  8.97033
  7  9.00201e-08
  8  4.15362e-07
  9  5.17857e-06
  10  2.79469e-05
  11  1.1533e-05
  12  1.44511e-07
  13  5.84571
  14  3.9584e-06
  15  1.6014e-06
  16  4.78848e-07
  17  9.90049e-06
  18  8.18587
  19  2.22806e-07
  20  0.181598
  21  0.13987
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  5.024e+00  5.846e+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:  1.086e+00  1.399e-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.012e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.40
Ra Dec: 231.849 31.299
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 2.45e-08 +/- 2.85e-08
Energy Flux (Fixed Index): 6.62e-06 +/- 7.70e-06

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

Saving results to:
/scratch/kocevski/968226/likelihoodResults_700185601_700444801_4FGL_J1527.3+3117_daily_bin1778.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) = 7873.74787096
delta logL = 0.256069672791

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7873.74562709
delta logL = 0.258313535385

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6049       1.0000          .0000       .10000E+07
     2 'Index     '    2.0602       1.0000          .0000       10.000    
     3 'Normalizat'    1.0198       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0805       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=   7873.746     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      276 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6043        11.256        .12924E-04    .51260E-02
   2  Index         2.0602        .66669        .88997E-02    .14332E-03
   3  Normalizat    1.0198        .20623        .28879E-03   -.18719E-03
   4  Prefactor     1.0805        .16230        .22059E-03   -.18830E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.6043
  Index      = 2.06023
  Normalizat = 1.01982
  Prefactor  = 1.08046
 **********
 **   18 **HESSE 
 **********

 FCN=   7873.746     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6043        11.066        .25849E-05   -1.5646    
   2  Index         2.0602        .65560        .35599E-03   -.62853    
   3  Normalizat    1.0198        .20639        .11552E-04   -.92369    
   4  Prefactor     1.0805        .16244        .44119E-04   -.90094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.3287e-10
Minuit parameter uncertainties:
  1  11.0664
  2  0.658509
  3  0.206551
  4  0.162516
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968226': 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) = 7873.74562701
delta logL = 0.258313623794

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  9.604e+00  1.107e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.060e+00  6.585e-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:  1.080e+00  1.625e-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.020e+00  2.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.92
Ra Dec: 231.849 31.299
Photon Index (Free Index): 2.06 +/- 0.66
Photon Flux (Free Index): 1.86e-08 +/- 2.40e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.50e-05

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/968226/cmap_HighResolution_700185601_700444801_4FGL_J1527.3+3117_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', comment='SUCCESS', photon_flux='2.45e-08', energy_flux2='1.11e-05', photon_flux_error='2.85e-08', dlogl='2.58e-01', energy_flux='6.62e-06', photon_flux2='1.86e-08', job_status='DONE', time_completed='2023-03-14 01:30:32.688003', photon_index_error2='0.66', photon_index2='2.06', ts='1.40', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='9.90e-08', energy_flux_error2='1.50e-05', EG='1.01', time_epoch_completed='1678782632.69', return_code='0', job_id='968226', GAL2='1.08', EG2='1.02', return_code2='0', energy_flux_error='7.70e-06', photon_flux_error2='2.40e-08', ts2='1.92', photon_index='2.57' WHERE bin_id='1778' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:30:32 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 968226: <4FGL_J1527.3+3117_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1778> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Mar 14 01:20:17 2023
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 01:20:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 01:20:18 2023
Terminated at Tue Mar 14 01:30:33 2023
Results reported at Tue Mar 14 01:30:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1778 231.849 31.2989 700185601 700444801 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 :                                   567.03 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             286.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            616 sec.

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

