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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1748
RA = 231.849, Dec = 31.2989
tmin = 692409601, tmax = 692668801
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='889507', job_status='RUN', time_executed='2022-12-14 00:51:06.760983', time_epoch_executed='1671007866.76' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889507

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889507/ft1_4FGL_J1527.3+3117_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889507/ft2_4FGL_J1527.3+3117_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889507/ft1_4FGL_J1527.3+3117_daily_bin1748.fits outfile=/scratch/kocevski/889507/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1748.fits ra=231.849 dec=31.2989 rad=12.0 tmin=692409601.0 tmax=692668801.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.56
user 3.34
sys 0.21

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

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

Number of photons that the gtmktime cut: 691

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889507/ft1_filtered_4FGL_J1527.3+3117_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/889507/ft2_4FGL_J1527.3+3117_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/889507/ltcube_692409601_692668801_4FGL_J1527.3+3117_daily_bin1748.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/889507/ft2_4FGL_J1527.3+3117_daily_bin1748.fits
.....................!
real 13.04
user 12.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889507/ft1_filtered_4FGL_J1527.3+3117_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/889507/ft2_4FGL_J1527.3+3117_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/889507/ltcube_692409601_692668801_4FGL_J1527.3+3117_daily_bin1748.fits outfile=/scratch/kocevski/889507/expmap_692409601_692668801_4FGL_J1527.3+3117_daily_bin1748.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/889507/ltcube_692409601_692668801_4FGL_J1527.3+3117_daily_bin1748.fits
.....................!
real 191.55
user 186.66
sys 4.29

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/889507/ft1_filtered_4FGL_J1527.3+3117_daily_bin1748.fits scfile=/scratch/kocevski/889507/ft2_4FGL_J1527.3+3117_daily_bin1748.fits outfile=/scratch/kocevski/889507/cmap_692409601_692668801_4FGL_J1527.3+3117_daily_bin1748.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889507/ft1_filtered_4FGL_J1527.3+3117_daily_bin1748.fits scfile=/scratch/kocevski/889507/ft2_4FGL_J1527.3+3117_daily_bin1748.fits outfile=/scratch/kocevski/889507/cmap_HighResolution_692409601_692668801_4FGL_J1527.3+3117_daily_bin1748.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.60
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32239E-02   1.0000          .0000       .10000E+07
     2 'norm      '    2.9887       1.0000          .0000       .10000E+07
     3 'Prefactor '    60.147       1.0000          .0000       .10000E+07
     4 'norm      '    .44317E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19439E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4983       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.4225       1.0000          .0000       .10000E+07
     8 'norm      '    4.5815       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24966E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    110.02       1.0000          .0000       .10000E+07
    11 'Prefactor '    .48370E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .37185       1.0000          .0000       .10000E+07
    13 'Prefactor '    .17614E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    11.632       1.0000          .0000       .10000E+07
    15 'norm      '    .16488E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .18837E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .46920E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.9875       1.0000          .0000       .10000E+07
    19 'Prefactor '    .17208E-07   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2401       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83790       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=   7381.544     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1700 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    8.8445        .53030E-06** at limit **
   2  norm          2.9854        3.1009        .40843E-07   -.42539E-03
   3  Prefactor     59.700        33.006        .11057E-06   -.12288E-03
   4  norm           .0000        2.3677        .19287E-06** at limit **
   5  Prefactor     .18319E-08    118.09        .30589E-05** at limit **
   6  Prefactor     2.4521        4.6970       -.95752E-07    .25357E-03
   7  Prefactor     2.4286        4.9073       -.19402E-07   -.70078E-05
   8  norm          4.5865        1.7452       -.19743E-08    .66102E-03
   9  Prefactor      .0000        20.712        .11147E-06** at limit **
  10  Prefactor     111.09        76.153       -.13490E-06    .64006E-04
  11  Prefactor      .0000        4.1227       -.15646E-06** at limit **
  12  norm          .37214        .95146        .11481E-06   -.11873E-02
  13  Prefactor      .0000        2.9730       -.52812E-07** at limit **
  14  Prefactor     11.713        17.832       -.32805E-08    .12983E-04
  15  norm           .0000        2.3657        .49793E-07** at limit **
  16  Prefactor      .0000        8.0425       -.17881E-06** at limit **
  17  Prefactor      .0000        18.554       -.15921E-06** at limit **
  18  Prefactor     5.8990        12.899       -.75571E-07    .40185E-04
  19  Prefactor      .0000        .70554        .43400E-07** at limit **
  20  Normalizat    1.2403        .19867       -.14920E-05    .11515E-04
  21  Prefactor     .83795        .15808        .71424E-06    .49581E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 2.9854
  Prefactor  = 59.6998
  norm       = 0
  Prefactor  = 1.83187e-09
  Prefactor  = 2.45213
  Prefactor  = 2.42863
  norm       = 4.5865
  Prefactor  = 0
  Prefactor  = 111.094
  Prefactor  = 0
  norm       = 0.372144
  Prefactor  = 0
  Prefactor  = 11.7126
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.89895
  Prefactor  = 0
  Normalizat = 1.24027
  Prefactor  = 0.837953
 **********
 **   18 **HESSE 
 **********

 FCN=   7381.544     FROM HESSE     STATUS=OK           373 CALLS     2073 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    8.7844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9854        3.1123        .58696E-03   -1.5673    
   3  Prefactor     59.700        32.895        .12895E-03   -1.5553    
   4  norm           .0000        2.3728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .18319E-08    7.0817        .73650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4521        4.7307        .64632E-03   -1.5677    
   7  Prefactor     2.4286        4.9339        .65731E-03   -1.5677    
   8  norm          4.5865        1.7459        .47003E-03   -1.5665    
   9  Prefactor      .0000        20.760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     111.09        76.131        .95344E-04   -1.5497    
  11  Prefactor      .0000        4.1251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .37214        .95999        .92824E-03   -1.5696    
  13  Prefactor      .0000        2.9750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.713        17.857        .29348E-03   -1.5640    
  15  norm           .0000        2.3731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        7.7282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        8.3877        .94284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.8990        12.866        .41012E-03   -1.5659    
  19  Prefactor      .0000        .70713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2403        .16858        .53958E-01   -.85367    
  21  Prefactor     .83795        .13341        .44209E-01   -.98344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69669e-09
Minuit parameter uncertainties:
  1  4.54211e-05
  2  3.11229
  3  32.8947
  4  5.40743e-06
  5  0.000228932
  6  4.73067
  7  4.93389
  8  1.74588
  9  7.9993e-06
  10  76.1313
  11  8.59043e-06
  12  0.959989
  13  7.27436e-07
  14  17.8567
  15  1.46673e-06
  16  8.29003e-06
  17  6.34944e-06
  18  12.8657
  19  1.3392e-06
  20  0.168657
  21  0.133462
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  7.274e-07  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:  8.380e-01  1.335e-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.240e+00  1.687e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/889507/likelihoodResults_692409601_692668801_4FGL_J1527.3+3117_daily_bin1748.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) = 7381.54488388
delta logL = -0.000574742117351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7381.54430915
delta logL = -1.19271135191e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
     2 'Index     '    1.2230       1.0000          .0000       10.000    
     3 'Normalizat'    1.2402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83797       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=   7381.544     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      267 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-09    97.135        .42118E-03** at limit **
   2  Index         2.7965        5.2227        .50000        .52296E-09
   3  Normalizat    1.2403        .27863E-01    .53958E-01   -.64013E-03
   4  Prefactor     .83795        .22531E-01    .44209E-01   -.81293E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-10
  Index      = 2.7965
  Normalizat = 1.24027
  Prefactor  = 0.837951
 **********
 **   18 **HESSE 
 **********

 FCN=   7381.544     FROM HESSE     STATUS=OK            29 CALLS      296 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-09    2.5730        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7965        6.3909        .50000       -.45638    
   3  Normalizat    1.2403        .18795        .23859E-03   -.85367    
   4  Prefactor     .83795        .15204        .22863E-03   -.98344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.66287e-10
Minuit parameter uncertainties:
  1  7.58902e-05
  2  4.65875
  3  0.188051
  4  0.152113
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889507': 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) = 7381.54430914
delta logL = -3.72892827727e-10

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  5.551e-10  7.589e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.796e+00  4.659e+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:  8.380e-01  1.521e-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.240e+00  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/889507/cmap_HighResolution_692409601_692668801_4FGL_J1527.3+3117_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-03', job_status='DONE', photon_flux_upper_limit='5.94e-08', time_completed='2022-12-14 01:01:30.468015', job_id='889507', GAL2='0.84', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1671008490.47', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='-3.73e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1748' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:01:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 889507: <4FGL_J1527.3+3117_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1748> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Dec 14 00:50:26 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:50:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:50:37 2022
Terminated at Wed Dec 14 01:01:31 2022
Results reported at Wed Dec 14 01:01:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1748 231.849 31.2989 692409601 692668801 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 :                                   625.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            665 sec.

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

