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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1764
RA = 231.849, Dec = 31.2989
tmin = 696556801, tmax = 696816001
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='454049', job_status='RUN', time_executed='2023-01-31 01:16:15.941621', time_epoch_executed='1675156575.94' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/454049

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/454049/ft1_4FGL_J1527.3+3117_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/454049/ft2_4FGL_J1527.3+3117_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/454049/ft1_4FGL_J1527.3+3117_daily_bin1764.fits outfile=/scratch/kocevski/454049/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1764.fits ra=231.849 dec=31.2989 rad=12.0 tmin=696556801.0 tmax=696816001.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.78
user 3.47
sys 0.25

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

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

Number of photons that the gtmktime cut: 585

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/454049/ft1_filtered_4FGL_J1527.3+3117_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/454049/ft2_4FGL_J1527.3+3117_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/454049/ltcube_696556801_696816001_4FGL_J1527.3+3117_daily_bin1764.fits outfile=/scratch/kocevski/454049/expmap_696556801_696816001_4FGL_J1527.3+3117_daily_bin1764.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/454049/ltcube_696556801_696816001_4FGL_J1527.3+3117_daily_bin1764.fits
.....................!
real 193.70
user 186.81
sys 5.56

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/454049/ft1_filtered_4FGL_J1527.3+3117_daily_bin1764.fits scfile=/scratch/kocevski/454049/ft2_4FGL_J1527.3+3117_daily_bin1764.fits outfile=/scratch/kocevski/454049/cmap_696556801_696816001_4FGL_J1527.3+3117_daily_bin1764.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/454049/ft1_filtered_4FGL_J1527.3+3117_daily_bin1764.fits scfile=/scratch/kocevski/454049/ft2_4FGL_J1527.3+3117_daily_bin1764.fits outfile=/scratch/kocevski/454049/cmap_HighResolution_696556801_696816001_4FGL_J1527.3+3117_daily_bin1764.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.58
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10036E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .48750E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    172.97       1.0000          .0000       .10000E+07
     4 'norm      '    .48226E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .57606E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10885E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    13.806       1.0000          .0000       .10000E+07
     8 'norm      '    .19799E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    52.752       1.0000          .0000       .10000E+07
    10 'Prefactor '    19.900       1.0000          .0000       .10000E+07
    11 'Prefactor '    .15588E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .21483E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .14710E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.1490       1.0000          .0000       .10000E+07
    15 'norm      '    .17764E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    .15576E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .76333E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    17.496       1.0000          .0000       .10000E+07
    19 'Prefactor '    .19196E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    .78604       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2152       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=   6464.808     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1033 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    5.7358        .80405E-07** at limit **
   2  norm           .0000        2.2602        .24863E-07** at limit **
   3  Prefactor     172.03        49.855        .15727E-06   -.31816E-01
   4  norm          .22204E-09    16.189       -.22192E-06** at limit **
   5  Prefactor     .22204E-09    8.0417        .15262E-06** at limit **
   6  Prefactor     .22204E-09    5.2450        .85944E-07** at limit **
   7  Prefactor     13.745        1.3940        .47543E-08    .18318E-01
   8  norm           .0000        1.4608       -.13356E-06** at limit **
   9  Prefactor     53.273        14.301       -.87458E-07   -.53586E-01
  10  Prefactor     30.615        86.892       -.45459E-06    .50274E-03
  11  Prefactor      .0000        4.7034        .51311E-07** at limit **
  12  norm           .0000        .54168        .98141E-07** at limit **
  13  Prefactor      .0000        2.0087       -.69644E-07** at limit **
  14  Prefactor     5.0571        1.0994       -.20315E-08   -.46418E-01
  15  norm          .16098E-08    12.045       -.26345E-06** at limit **
  16  Prefactor      .0000        .67393       -.97179E-08** at limit **
  17  Prefactor     .44409E-09    6.1472        .17825E-06** at limit **
  18  Prefactor     17.748        1.5142       -.13205E-07    .98069E-01
  19  Prefactor      .0000        1.0461        .26322E-07** at limit **
  20  Normalizat    .78747        .20330       -.73888E-06    .10369E-03
  21  Prefactor     1.2114        .17143        .26750E-05    .17437E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 172.03
  norm       = 2.22045e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 13.7455
  norm       = 0
  Prefactor  = 53.2734
  Prefactor  = 30.6148
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 5.05709
  norm       = 1.60982e-09
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 17.7478
  Prefactor  = 0
  Normalizat = 0.787473
  Prefactor  = 1.21138
 **********
 **   18 **HESSE 
 **********

 FCN=   6464.808     FROM HESSE     STATUS=OK           349 CALLS     1382 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    5.7275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.2615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     172.03        51.990        .76043E-04   -1.5446    
   4  norm          .22204E-09    15.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    8.0221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22204E-09    5.2542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.745        11.185        .26931E-03   -1.5634    
   8  norm           .0000        1.4328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     53.273        52.502        .13769E-03   -1.5562    
  10  Prefactor     30.615        86.165        .22424E-03   -1.5597    
  11  Prefactor      .0000        4.7054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .53435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.0131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.0571        17.221        .44281E-03   -1.5663    
  15  norm          .16098E-08    12.066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .67319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .44409E-09    6.1542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.748        14.489        .23917E-03   -1.5624    
  19  Prefactor      .0000        1.0480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .78747        .17890        .66254E-01   -1.0054    
  21  Prefactor     1.2114        .15174        .34282E-01   -.85982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9841e-07
Minuit parameter uncertainties:
  1  3.96396e-05
  2  5.4761e-06
  3  51.9905
  4  0.000114005
  5  8.89404e-05
  6  7.22181e-05
  7  11.1852
  8  6.4386e-06
  9  52.5027
  10  86.1684
  11  2.06185e-05
  12  4.019e-06
  13  1.9813e-06
  14  17.2213
  15  0.000278165
  16  1.40825e-07
  17  0.000103434
  18  14.4895
  19  2.61464e-06
  20  0.17903
  21  0.151791
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.981e-06  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.211e+00  1.518e-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:  7.875e-01  1.790e-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.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/454049/likelihoodResults_696556801_696816001_4FGL_J1527.3+3117_daily_bin1764.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): 102
logL (Free Index) = 6464.81063248
delta logL = -0.00243090864842

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6464.80820162
delta logL = -5.40885594091e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11402E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .99107       1.0000          .0000       10.000    
     3 'Normalizat'    .78751       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2114       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6464.808     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      260 TOTAL
                     EDM=   .47E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .85079        .42118E-03** at limit **
   2  Index         3.1253        2.0643       -.15002E-04     .0000    
   3  Normalizat    .78747        1.1265        .27927E-04   -.16171E-04
   4  Prefactor     1.2114        1.0994       -.16344E-04    .25946E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.12535
  Normalizat = 0.787472
  Prefactor  = 1.21138
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6464.808     FROM HESSE     STATUS=FAILED         9 CALLS      269 TOTAL
                     EDM=   .47E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .85079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1011        2.2204       -.15002E-04   -.38432    
   3  Normalizat    .78747        1.1265        .27927E-04   -1.0054    
   4  Prefactor     1.2114        1.0994       -.16344E-04   -.85982    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.7238e-12
Minuit parameter uncertainties:
  1  6.16881e-07
  2  2.13942
  3  1.16277
  4  1.12137
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/454049': 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): 101
logL (Free Index) = 6464.80820157
delta logL = 7.27595761418e-12

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  6.169e-07  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.125e+00  2.139e+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:  1.211e+00  1.121e+00  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:  7.875e-01  1.163e+00  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/454049/cmap_HighResolution_696556801_696816001_4FGL_J1527.3+3117_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-03', job_status='DONE', photon_flux_upper_limit='5.07e-08', time_completed='2023-01-31 01:25:31.873090', job_id='454049', GAL2='1.21', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1675157131.87', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1764' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 01:25:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 454049: <4FGL_J1527.3+3117_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1764> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 01:15:13 2023
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:15:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:15:22 2023
Terminated at Tue Jan 31 01:25:32 2023
Results reported at Tue Jan 31 01:25:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1764 231.849 31.2989 696556801 696816001 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 :                                   556.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             357.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   610 sec.
    Turnaround time :                            619 sec.

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

