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


Performing analysis on: 4FGL_J1527.3+3117_daily_bin1780
RA = 231.849, Dec = 31.2989
tmin = 700704001, tmax = 700963201
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='68041', job_status='RUN', time_executed='2023-03-20 01:13:01.254995', time_epoch_executed='1679299981.26' WHERE source_name='4FGL J1527.3+3117' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68041

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68041/ft1_4FGL_J1527.3+3117_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68041/ft2_4FGL_J1527.3+3117_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68041/ft1_4FGL_J1527.3+3117_daily_bin1780.fits outfile=/scratch/kocevski/68041/ft1_filteredMKT_4FGL_J1527.3+3117_daily_bin1780.fits ra=231.849 dec=31.2989 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.07
user 3.86
sys 0.19

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

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

Number of photons that the gtmktime cut: 703

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/68041/ft1_filtered_4FGL_J1527.3+3117_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/68041/ft2_4FGL_J1527.3+3117_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/68041/ltcube_700704001_700963201_4FGL_J1527.3+3117_daily_bin1780.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/68041/ft2_4FGL_J1527.3+3117_daily_bin1780.fits
.....................!
real 12.30
user 11.95
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68041/ft1_filtered_4FGL_J1527.3+3117_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/68041/ft2_4FGL_J1527.3+3117_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/68041/ltcube_700704001_700963201_4FGL_J1527.3+3117_daily_bin1780.fits outfile=/scratch/kocevski/68041/expmap_700704001_700963201_4FGL_J1527.3+3117_daily_bin1780.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/68041/ltcube_700704001_700963201_4FGL_J1527.3+3117_daily_bin1780.fits
.....................!
real 191.16
user 186.00
sys 4.83

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/68041/ft1_filtered_4FGL_J1527.3+3117_daily_bin1780.fits scfile=/scratch/kocevski/68041/ft2_4FGL_J1527.3+3117_daily_bin1780.fits outfile=/scratch/kocevski/68041/cmap_700704001_700963201_4FGL_J1527.3+3117_daily_bin1780.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29578E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12629E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    157.95       1.0000          .0000       .10000E+07
     4 'norm      '    9.1387       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.036       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.4909       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.184       1.0000          .0000       .10000E+07
     8 'norm      '    .80763       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27986E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .21143E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.582       1.0000          .0000       .10000E+07
    12 'norm      '    1.2761       1.0000          .0000       .10000E+07
    13 'Prefactor '    .54964E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .16964E-02   1.0000          .0000       .10000E+07
    15 'norm      '    5.6083       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14842E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .46074E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .35329E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .26899       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0182       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79708       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=   7828.314     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     1741 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1126        .10907E-05** at limit **
   2  norm          .55511E-10    1.4612        .40525E-06** at limit **
   3  Prefactor     160.06        46.099       -.72159E-06   -.17942E-02
   4  norm          9.1444        6.9491       -.17311E-06   -.12557E-03
   5  Prefactor     14.978        12.302        .75053E-06    .23807E-02
   6  Prefactor     4.5024        4.6268        .23967E-07    .41719E-04
   7  Prefactor     10.184        7.6463       -.44654E-06   -.95610E-04
   8  norm          .80804        1.0978        .30770E-06   -.43374E-03
   9  Prefactor     .61062E-09    24.182        .13212E-05** at limit **
  10  Prefactor      .0000        163.73        .18420E-05** at limit **
  11  Prefactor     11.573        2.3791       -.22148E-06    .24053E-01
  12  norm          1.2777        .90550       -.14292E-06    .62586E-02
  13  Prefactor     .11102E-08    16.826       -.69740E-06** at limit **
  14  Prefactor      .0000        6.8792        .59325E-06** at limit **
  15  norm          5.6036        7.0737       -.36014E-06   -.24068E-03
  16  Prefactor      .0000        3.7208        .44260E-06** at limit **
  17  Prefactor      .0000        5.2660       -.91956E-06** at limit **
  18  Prefactor     .16653E-09    13.327        .22920E-05** at limit **
  19  Prefactor     .25153        6.1564        .14251E-05   -.70817E-03
  20  Normalizat    1.0168        .17917       -.12805E-04   -.31371E-03
  21  Prefactor     .79767        .13656        .30694E-05   -.43849E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 160.056
  norm       = 9.14438
  Prefactor  = 14.9776
  Prefactor  = 4.50241
  Prefactor  = 10.1835
  norm       = 0.808038
  Prefactor  = 6.10623e-10
  Prefactor  = 0
  Prefactor  = 11.5733
  norm       = 1.27768
  Prefactor  = 1.11022e-09
  Prefactor  = 0
  norm       = 5.60364
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0.251527
  Normalizat = 1.01682
  Prefactor  = 0.797674
 **********
 **   18 **HESSE 
 **********

 FCN=   7828.314     FROM HESSE     STATUS=OK           367 CALLS     2108 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.1153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55511E-10    1.4608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     160.06        46.005        .79576E-04   -1.5455    
   4  norm          9.1444        6.9532        .33129E-03   -1.5647    
   5  Prefactor     14.978        12.352        .25804E-03   -1.5631    
   6  Prefactor     4.5024        4.6415        .47487E-03   -1.5666    
   7  Prefactor     10.184        7.6472        .31373E-03   -1.5644    
   8  norm          .80804        1.1083        .52368E-03   -1.5690    
   9  Prefactor     .61062E-09    24.254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        164.14        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.573        18.522        .29412E-03   -1.5640    
  12  norm          1.2777        .91920        .98325E-03   -1.5685    
  13  Prefactor     .11102E-08    16.696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        6.8906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.6036        7.0792        .42397E-03   -1.5661    
  16  Prefactor      .0000        .86423        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        5.2832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16653E-09    13.249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .25153        1.3701        .57685E-02   -1.5698    
  20  Normalizat    1.0168        .15806        .43629E-01   -.92469    
  21  Prefactor     .79767        .11726        .43679E-01   -.99814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26193e-08
Minuit parameter uncertainties:
  1  1.11699e-05
  2  1.57582e-05
  3  46.0053
  4  6.9532
  5  12.3523
  6  4.64148
  7  7.64718
  8  1.10832
  9  0.000241913
  10  0.000120673
  11  18.522
  12  0.919199
  13  0.000275058
  14  2.31078e-06
  15  7.07919
  16  1.97835e-06
  17  4.0193e-06
  18  0.000100682
  19  1.17407
  20  0.158131
  21  0.117299
Done.

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

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  1.110e-09  2.751e-04  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:  7.977e-01  1.173e-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.017e+00  1.581e-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: 7.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/68041/likelihoodResults_700704001_700963201_4FGL_J1527.3+3117_daily_bin1780.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) = 7828.35159491
delta logL = -0.0380621837312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7828.28783257
delta logL = 0.0257001650189

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55223E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.2708       1.0000          .0000       10.000    
     3 'Normalizat'    1.0044       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80324       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=   7828.288     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      239 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54629E-01    .52538        .15338E-02** at limit **
   2  Index         4.2767        .63470        .36254       -.23479E-05
   3  Normalizat    1.0044        .84790E-02    .46223E-01   -.57287E-04
   4  Prefactor     .80326        .67450E-02    .43759E-01   -.31179E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0546287
  Index      = 4.27667
  Normalizat = 1.00444
  Prefactor  = 0.803259
 **********
 **   18 **HESSE 
 **********

 FCN=   7828.288     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      274 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54629E-01    46.074        .56049E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2767        7.6271        .49738E-02   -.14518    
   3  Normalizat    1.0044        .98371E-01    .24402E-03   -.92882    
   4  Prefactor     .80326        .76153E-01    .21361E-03   -.99608    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.88928e-06
Minuit parameter uncertainties:
  1  3.17303
  2  24.7563
  3  0.0983886
  4  0.0761633
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68041': 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) = 7828.28783189
delta logL = 0.0257008443468

Extracting fit parameters...

4FGL J1527.3+3117
   Spectrum: PowerLaw
262    Prefactor:  5.463e-02  3.173e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  4.277e+00  2.476e+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:  8.033e-01  7.616e-02  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.004e+00  9.839e-02  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/68041/cmap_HighResolution_700704001_700963201_4FGL_J1527.3+3117_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.67e-03', job_status='DONE', photon_flux_upper_limit='7.25e-08', time_completed='2023-03-20 01:23:28.932949', job_id='68041', GAL2='0.80', fit_tolerance='1e-08', EG2='1.00', EG='1.02', time_epoch_completed='1679300608.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.57e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1780' AND source_name='4FGL J1527.3+3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:23:28 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 68041: <4FGL_J1527.3+3117_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1527.3+3117_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:10:16 2023
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:10:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:10:18 2023
Terminated at Mon Mar 20 01:23:29 2023
Results reported at Mon Mar 20 01:23:29 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1527.3+3117_daily_bin1780 231.849 31.2989 700704001 700963201 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 :                                   629.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            793 sec.

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

