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


Performing analysis on: 4FGL_J1506.1+3731_daily_bin1751
RA = 226.535, Dec = 37.5183
tmin = 693187201, tmax = 693446401
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='80370', job_status='RUN', time_executed='2022-12-23 00:51:30.368618', time_epoch_executed='1671785490.37' WHERE source_name='4FGL J1506.1+3731' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/80370

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/80370/ft1_4FGL_J1506.1+3731_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/80370/ft2_4FGL_J1506.1+3731_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/80370/ft1_4FGL_J1506.1+3731_daily_bin1751.fits outfile=/scratch/kocevski/80370/ft1_filteredMKT_4FGL_J1506.1+3731_daily_bin1751.fits ra=226.535 dec=37.5183 rad=12.0 tmin=693187201.0 tmax=693446401.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.65
user 3.41
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/80370/ft2_4FGL_J1506.1+3731_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/80370/ft2_4FGL_J1506.1+3731_daily_bin1751.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/80370/ft1_filteredMKT_4FGL_J1506.1+3731_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/80370/ft1_filtered_4FGL_J1506.1+3731_daily_bin1751.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 594

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/80370/ft1_filtered_4FGL_J1506.1+3731_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/80370/ft2_4FGL_J1506.1+3731_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/80370/ltcube_693187201_693446401_4FGL_J1506.1+3731_daily_bin1751.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/80370/ft2_4FGL_J1506.1+3731_daily_bin1751.fits
.....................!
real 12.04
user 11.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/80370/ft1_filtered_4FGL_J1506.1+3731_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/80370/ft2_4FGL_J1506.1+3731_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/80370/ltcube_693187201_693446401_4FGL_J1506.1+3731_daily_bin1751.fits outfile=/scratch/kocevski/80370/expmap_693187201_693446401_4FGL_J1506.1+3731_daily_bin1751.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/80370/ltcube_693187201_693446401_4FGL_J1506.1+3731_daily_bin1751.fits
.....................!
real 190.50
user 184.97
sys 5.21

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 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J1506.1+3731 @ 226.535 37.5183

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/80370/ft1_filtered_4FGL_J1506.1+3731_daily_bin1751.fits scfile=/scratch/kocevski/80370/ft2_4FGL_J1506.1+3731_daily_bin1751.fits outfile=/scratch/kocevski/80370/cmap_693187201_693446401_4FGL_J1506.1+3731_daily_bin1751.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=226.535 yref=37.5183 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/80370/ft1_filtered_4FGL_J1506.1+3731_daily_bin1751.fits scfile=/scratch/kocevski/80370/ft2_4FGL_J1506.1+3731_daily_bin1751.fits outfile=/scratch/kocevski/80370/cmap_HighResolution_693187201_693446401_4FGL_J1506.1+3731_daily_bin1751.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=226.535 yref=37.5183 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.53
user 0.39
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/80370/ft1_filtered_4FGL_J1506.1+3731_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/80370/ft2_4FGL_J1506.1+3731_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/80370/Model_4FGL_J1506.1+3731_daily_bin1751.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/80370/ft1_filtered_4FGL_J1506.1+3731_daily_bin1751.fits.....................!
real 49.24
user 47.97
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/80370/ft1_filtered_4FGL_J1506.1+3731_daily_bin1751.fits', '/scratch/kocevski/80370/ft2_4FGL_J1506.1+3731_daily_bin1751.fits', expMap='/scratch/kocevski/80370/expmap_693187201_693446401_4FGL_J1506.1+3731_daily_bin1751.fits', expCube='/scratch/kocevski/80370/ltcube_693187201_693446401_4FGL_J1506.1+3731_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/80370/Model_4FGL_J1506.1+3731_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1506.1+3731'

4FGL J1506.1+3731
   Spectrum: LogParabola
279         norm:  2.445e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.398e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.019e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.312e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/80370/ft1_filtered_4FGL_J1506.1+3731_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/80370/ft2_4FGL_J1506.1+3731_daily_bin1751.fits
Exposure map: /scratch/kocevski/80370/expmap_693187201_693446401_4FGL_J1506.1+3731_daily_bin1751.fits
Exposure cube: /scratch/kocevski/80370/ltcube_693187201_693446401_4FGL_J1506.1+3731_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/80370/Model_4FGL_J1506.1+3731_daily_bin1751.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) = 6338.13851137

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1299       1.0000          .0000       .10000E+07
     2 'Prefactor '    .65539E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .45163E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    37.349       1.0000          .0000       .10000E+07
     5 'norm      '    .59130E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .73656E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    101.20       1.0000          .0000       .10000E+07
     8 'norm      '    .15262E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .80139E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8510       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.1487       1.0000          .0000       .10000E+07
    12 'norm      '    .87536E-01   1.0000          .0000       .10000E+07
    13 'norm      '    1.2514       1.0000          .0000       .10000E+07
    14 'Prefactor '    .14923E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.6105       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32294E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .35575E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .91623       1.0000          .0000       .10000E+07
    19 'Prefactor '    .51533E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.1255       1.0000          .0000       .10000E+07
    21 'norm      '    10.197       1.0000          .0000       .10000E+07
    22 'Prefactor '    .77516E-04   1.0000          .0000       .10000E+07
    23 'Normalizat'    .95464       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1105       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6338.112     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2067 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1483        3.9395        .24617E-07    .29044E-02
   2  Prefactor     .55511E-07    4.6939        .89448E-07** at limit **
   3  Prefactor     .36693E-07    2.9935       -.75735E-07** at limit **
   4  Prefactor     37.331        7.2161        .24019E-07    .28211E-02
   5  norm           .0000        3.5756       -.11596E-07** at limit **
   6  norm          .63283E-08    1.9729       -.59656E-07** at limit **
   7  Prefactor     101.88        14.569        .50061E-07    .36476    
   8  norm          .51181E-07    17.905        .58508E-07** at limit **
   9  Prefactor     .10658E-07    7.4131        .34763E-07** at limit **
  10  Prefactor     6.8418        7.3853       -.11151E-07    .18218E-03
  11  Prefactor     2.1484        3.8126       -.23961E-07   -.18160E-02
  12  norm          .83216E-01    3.3166       -.10254E-06** at limit **
  13  norm          1.2536        3.1581       -.82426E-07   -.35554E-02
  14  Prefactor     .10836E-06    2.4716       -.57497E-07** at limit **
  15  Prefactor     11.369        92.764        .34159E-06   -.18616E-01
  16  Prefactor     .11158E-07    3.4027       -.84614E-07** at limit **
  17  Prefactor     .20450E-06    12.337        .89351E-07** at limit **
  18  norm          .91444        .85576       -.10580E-07   -.39249E-02
  19  Prefactor     .72164E-09    6.2635       -.41185E-07** at limit **
  20  Prefactor     4.6510        51.064        .74888E-06   -.23227E-01
  21  norm          10.178        11.628       -.80170E-08    .24652E-01
  22  Prefactor     .14433E-07    4.1025        .68767E-07** at limit **
  23  Normalizat    .95405        .20874       -.21674E-05   -.25927E-03
  24  Prefactor     1.1096        .21620        .71292E-06   -.12943E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.1483
  Prefactor  = 5.55112e-08
  Prefactor  = 3.66929e-08
  Prefactor  = 37.3306
  norm       = 0
  norm       = 6.32827e-09
  Prefactor  = 101.884
  norm       = 5.11813e-08
  Prefactor  = 1.06581e-08
  Prefactor  = 6.84176
  Prefactor  = 2.14841
  norm       = 0.0832159
  norm       = 1.25361
  Prefactor  = 1.08358e-07
  Prefactor  = 11.3687
  Prefactor  = 1.11577e-08
  Prefactor  = 2.04503e-07
  norm       = 0.914439
  Prefactor  = 7.21645e-10
  Prefactor  = 4.65097
  norm       = 10.1782
  Prefactor  = 1.44329e-08
  Normalizat = 0.95405
  Prefactor  = 1.10962
 **********
 **   18 **HESSE 
 **********

 FCN=   6338.112     FROM HESSE     STATUS=OK           447 CALLS     2514 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1483        3.9451        .44365E-03   -1.5663    
   2  Prefactor     .55511E-07    8.7916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .36693E-07    10.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     37.331        7.2318        .16365E-03   -1.5586    
   5  norm           .0000        3.5843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .63283E-08    11.203        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     101.88        44.688        .99412E-04   -1.5506    
   8  norm          .51181E-07    17.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10658E-07    7.4315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8418        7.1364        .38308E-03   -1.5656    
  11  Prefactor     2.1484        3.8428        .70269E-03   -1.5679    
  12  norm          .83216E-01    .95304        .25671E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2536        3.1788        .99909E-03   -1.5730    
  14  Prefactor     .10836E-06    10.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.369        92.877        .34137E-03   -1.5641    
  16  Prefactor     .11158E-07    10.359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .20450E-06    12.545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .91444        .86054        .44644E-03   -1.5689    
  19  Prefactor     .72164E-09    6.2598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.6510        53.024        .49605E-03   -1.5665    
  21  norm          10.178        11.677        .31353E-03   -1.5644    
  22  Prefactor     .14433E-07    8.7000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .95405        .17670        .45596E-01   -.94586    
  24  Prefactor     1.1096        .18114        .56232E-01   -.89160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9244e-06
Minuit parameter uncertainties:
  1  3.9451
  2  0.00139697
  3  0.0012308
  4  7.23181
  5  1.45278e-05
  6  0.000532035
  7  44.6877
  8  0.00190879
  9  0.000563425
  10  7.1364
  11  3.84278
  12  0.563234
  13  3.17879
  14  0.00211101
  15  64.9906
  16  0.000680591
  17  0.0032034
  18  0.860539
  19  0.000136297
  20  31.408
  21  11.6767
  22  0.00070846
  23  0.176804
  24  0.181242
Done.

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

Extracting fit parameters...

4FGL J1506.1+3731
   Spectrum: LogParabola
279         norm:  8.322e-02  5.632e-01  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.398e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  1.019e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.312e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.110e+00  1.812e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  9.541e-01  1.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 226.535 37.518
Photon Flux Upper Limit: 6.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/80370/likelihoodResults_693187201_693446401_4FGL_J1506.1+3731_daily_bin1751.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) = 6338.100575
delta logL = 0.0113815950999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6338.09666867
delta logL = 0.0152879216976

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15518       1.0000          .0000       .10000E+07
     2 'alpha     '    2.8913       1.0000          .0000       5.0000    
     3 'Normalizat'    .95055       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1111       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6338.097     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      231 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15753        32.470        .24166E-02** at limit **
   2  alpha         2.8899        2.9867        .41807        .14153E-04
   3  Normalizat    .95032        .34633E-01    .45544E-01    .75199E-05
   4  Prefactor     1.1113        .35063E-01    .56193E-01    .37794E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.15753
  alpha      = 2.88994
  Normalizat = 0.95032
  Prefactor  = 1.11133
 **********
 **   18 **HESSE 
 **********

 FCN=   6338.097     FROM HESSE     STATUS=OK            35 CALLS      266 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15753        1.7301        .12454E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.8899        3.7937        .72988E-01    .15662    
   3  Normalizat    .95032        .20620        .25767E-03   -.94714    
   4  Prefactor     1.1113        .21217        .24847E-03   -.89105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64199e-08
Minuit parameter uncertainties:
  1  1.04412
  2  3.03816
  3  0.206373
  4  0.212335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/80370': 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) = 6338.0966644
delta logL = 0.0152921946983

Extracting fit parameters...

4FGL J1506.1+3731
   Spectrum: LogParabola
279         norm:  1.575e-01  1.044e+00  0.000e+00  1.000e+06 ( 1.000e-11)
280        alpha:  2.890e+00  3.038e+00  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  1.019e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  4.312e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.111e+00  2.123e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  9.503e-01  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 226.535 37.518

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/80370/cmap_HighResolution_693187201_693446401_4FGL_J1506.1+3731_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.98e-05', job_status='DONE', photon_flux_upper_limit='6.78e-08', time_completed='2022-12-23 01:02:06.914291', job_id='80370', GAL2='1.11', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1671786126.91', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.53e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1751' AND source_name='4FGL J1506.1+3731' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:02:06 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 80370: <4FGL_J1506.1+3731_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1506.1+3731_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:50:20 2022
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:50:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:50:21 2022
Terminated at Fri Dec 23 01:02:07 2022
Results reported at Fri Dec 23 01:02:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1506.1+3731_daily_bin1751 226.535 37.5183 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1506.1+3731 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   639.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            707 sec.

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

