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


Performing analysis on: 4FGL_J1508.4+7717_daily_bin1752
RA = 227.102, Dec = 77.2929
tmin = 693446401, tmax = 693705601
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='266424', job_status='RUN', time_executed='2022-12-26 01:06:25.480985', time_epoch_executed='1672045585.48' WHERE source_name='4FGL J1508.4+7717' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266424

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266424/ft1_4FGL_J1508.4+7717_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266424/ft2_4FGL_J1508.4+7717_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266424/ft1_4FGL_J1508.4+7717_daily_bin1752.fits outfile=/scratch/kocevski/266424/ft1_filteredMKT_4FGL_J1508.4+7717_daily_bin1752.fits ra=227.102 dec=77.2929 rad=12.0 tmin=693446401.0 tmax=693705601.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.49
user 3.25
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/266424/ft2_4FGL_J1508.4+7717_daily_bin1752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/266424/ft2_4FGL_J1508.4+7717_daily_bin1752.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/266424/ft1_filteredMKT_4FGL_J1508.4+7717_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/266424/ft1_filtered_4FGL_J1508.4+7717_daily_bin1752.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.35
sys 0.15

Number of photons that the gtmktime cut: 790

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/266424/ft1_filtered_4FGL_J1508.4+7717_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/266424/ft2_4FGL_J1508.4+7717_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/266424/ltcube_693446401_693705601_4FGL_J1508.4+7717_daily_bin1752.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/266424/ft2_4FGL_J1508.4+7717_daily_bin1752.fits
.....................!
real 16.33
user 15.89
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266424/ft1_filtered_4FGL_J1508.4+7717_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/266424/ft2_4FGL_J1508.4+7717_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/266424/ltcube_693446401_693705601_4FGL_J1508.4+7717_daily_bin1752.fits outfile=/scratch/kocevski/266424/expmap_693446401_693705601_4FGL_J1508.4+7717_daily_bin1752.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/266424/ltcube_693446401_693705601_4FGL_J1508.4+7717_daily_bin1752.fits
.....................!
real 192.70
user 187.26
sys 4.79

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

Setting source of interest to:
4FGL J1508.4+7717 @ 227.102 77.2929

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/266424/ft1_filtered_4FGL_J1508.4+7717_daily_bin1752.fits scfile=/scratch/kocevski/266424/ft2_4FGL_J1508.4+7717_daily_bin1752.fits outfile=/scratch/kocevski/266424/cmap_693446401_693705601_4FGL_J1508.4+7717_daily_bin1752.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=227.102 yref=77.2929 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266424/ft1_filtered_4FGL_J1508.4+7717_daily_bin1752.fits scfile=/scratch/kocevski/266424/ft2_4FGL_J1508.4+7717_daily_bin1752.fits outfile=/scratch/kocevski/266424/cmap_HighResolution_693446401_693705601_4FGL_J1508.4+7717_daily_bin1752.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=227.102 yref=77.2929 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/266424/ft1_filtered_4FGL_J1508.4+7717_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/266424/ft2_4FGL_J1508.4+7717_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/266424/Model_4FGL_J1508.4+7717_daily_bin1752.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/266424/ft1_filtered_4FGL_J1508.4+7717_daily_bin1752.fits.....................!
real 95.11
user 93.61
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/266424/ft1_filtered_4FGL_J1508.4+7717_daily_bin1752.fits', '/scratch/kocevski/266424/ft2_4FGL_J1508.4+7717_daily_bin1752.fits', expMap='/scratch/kocevski/266424/expmap_693446401_693705601_4FGL_J1508.4+7717_daily_bin1752.fits', expCube='/scratch/kocevski/266424/ltcube_693446401_693705601_4FGL_J1508.4+7717_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/266424/Model_4FGL_J1508.4+7717_daily_bin1752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1508.4+7717'

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  4.602e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/266424/ft1_filtered_4FGL_J1508.4+7717_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/266424/ft2_4FGL_J1508.4+7717_daily_bin1752.fits
Exposure map: /scratch/kocevski/266424/expmap_693446401_693705601_4FGL_J1508.4+7717_daily_bin1752.fits
Exposure cube: /scratch/kocevski/266424/ltcube_693446401_693705601_4FGL_J1508.4+7717_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/266424/Model_4FGL_J1508.4+7717_daily_bin1752.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8793       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.0941       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12346E-05   1.0000          .0000       .10000E+07
     4 'norm      '    2.6749       1.0000          .0000       .10000E+07
     5 'Prefactor '    .52773E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.5938       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.6197       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17046E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .75590E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15537E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    13.760       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13332E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.8270       1.0000          .0000       .10000E+07
    14 'Prefactor '    26.275       1.0000          .0000       .10000E+07
    15 'norm      '    21.378       1.0000          .0000       .10000E+07
    16 'Prefactor '    .56030E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .81013E-06   1.0000          .0000       .10000E+07
    18 'norm      '    .44409E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.5827       1.0000          .0000       .10000E+07
    20 'Prefactor '    .10349E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    15.103       1.0000          .0000       .10000E+07
    22 'norm      '    .62436       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0054       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86354       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8428.298     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1527 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9581        7.1965        .10305E-06    .30117E-03
   2  Prefactor     4.9994        6.3400       -.42434E-07    .23654E-02
   3  Prefactor     .46463E-07    13.573        .44109E-05** at limit **
   4  norm          2.6809        2.0938       -.15798E-06    .82748E-02
   5  Prefactor     .77216E-07    9.9619        .67423E-05** at limit **
   6  Prefactor     5.4986        10.883        .11724E-05    .14465E-02
   7  Prefactor     3.6206        1.2486       -.63012E-06    .22059E-02
   8  Prefactor     .27756E-09    6.6577       -.72997E-06** at limit **
   9  Prefactor     .55511E-10    5.4900       -.62887E-07** at limit **
  10  Prefactor     .48861E-06    80.585       -.66637E-05** at limit **
  11  Prefactor     13.755        1.0753        .72515E-07   -.12750E-02
  12  Prefactor     .44620E-06    9.9977        .58483E-06** at limit **
  13  Prefactor     6.7881        1.1753       -.95425E-07    .22473E-03
  14  Prefactor     24.423        11.890        .20200E-05   -.12547    
  15  norm          21.620        1.4787        .38225E-06    .62857E-03
  16  Prefactor     .30572E-05    29.055        .10647E-05** at limit **
  17  Prefactor     .11174E-06    10.261       -.96927E-05** at limit **
  18  norm           .0000        .22111       -.51334E-07** at limit **
  19  Prefactor     2.5773        2.1934        .65161E-07    .23342E-04
  20  Prefactor     .44020E-07    10.096       -.15064E-05** at limit **
  21  Prefactor     15.031        1.4265        .16056E-07   -.56864E-02
  22  norm          .62357        .51770        .12742E-07    .11607E-01
  23  Normalizat    1.0059        .14987       -.38569E-05    .93413E-03
  24  Prefactor     .86350        .11198       -.38701E-05    .10317E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.9581
  Prefactor  = 4.99936
  Prefactor  = 4.64628e-08
  norm       = 2.68089
  Prefactor  = 7.7216e-08
  Prefactor  = 5.49861
  Prefactor  = 3.62059
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 4.88609e-07
  Prefactor  = 13.7552
  Prefactor  = 4.46199e-07
  Prefactor  = 6.78813
  Prefactor  = 24.4227
  norm       = 21.6202
  Prefactor  = 3.05722e-06
  Prefactor  = 1.11744e-07
  norm       = 0
  Prefactor  = 2.5773
  Prefactor  = 4.40203e-08
  Prefactor  = 15.0308
  norm       = 0.623568
  Normalizat = 1.00588
  Prefactor  = 0.863498
 **********
 **   18 **HESSE 
 **********

 FCN=   8428.298     FROM HESSE     STATUS=OK           443 CALLS     1970 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9581        7.2087        .41393E-03   -1.5659    
   2  Prefactor     4.9994        6.3530        .44524E-03   -1.5663    
   3  Prefactor     .46463E-07    13.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.6809        2.0951        .62282E-03   -1.5675    
   5  Prefactor     .77216E-07    10.057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.4986        10.925        .42453E-03   -1.5661    
   7  Prefactor     3.6206        24.380        .53080E-03   -1.5670    
   8  Prefactor     .27756E-09    6.6641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    5.4877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .48861E-06    80.920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.755        19.468        .26976E-03   -1.5634    
  12  Prefactor     .44620E-06    19.683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.7881        59.152        .38376E-03   -1.5656    
  14  Prefactor     24.423        28.674        .19512E-03   -1.5609    
  15  norm          21.620        15.825        .21634E-03   -1.5615    
  16  Prefactor     .30572E-05    33.665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11174E-06    10.496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .22085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.5773        2.2161        .63474E-03   -1.5676    
  20  Prefactor     .44020E-07    20.216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     15.031        38.136        .25746E-03   -1.5630    
  22  norm          .62357        .52492        .67074E-03   -1.5692    
  23  Normalizat    1.0059        .13591        .46235E-01   -.92834    
  24  Prefactor     .86350        .10093        .44539E-01   -.97428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.80173e-07
Minuit parameter uncertainties:
  1  7.20874
  2  6.35296
  3  0.00159406
  4  2.09513
  5  0.00176278
  6  10.9246
  7  18.7904
  8  8.5239e-05
  9  3.19892e-05
  10  0.0125758
  11  19.4678
  12  0.00592699
  13  40.0772
  14  28.6745
  15  15.8249
  16  0.0202903
  17  0.00216611
  18  1.37831e-06
  19  2.21609
  20  0.00188639
  21  38.137
  22  0.524925
  23  0.135954
  24  0.100952
Done.

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

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  4.462e-07  5.927e-03  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  8.635e-01  1.010e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.006e+00  1.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 227.102 77.293
Photon Flux Upper Limit: 4.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/266424/likelihoodResults_693446401_693705601_4FGL_J1508.4+7717_daily_bin1752.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) = 8428.32291236
delta logL = -0.0244167888359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8428.29849556
delta logL = 7.73070496507e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48628E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.6104       1.0000          .0000       10.000    
     3 'Normalizat'    1.0059       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86349       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8428.298     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      267 TOTAL
                     EDM=   .89E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62172E-08    .71667        .42118E-03** at limit **
   2  Index         1.7756        5.7647        .50000       -.45475E-10
   3  Normalizat    1.0059        .65711E-03    .46241E-01    .33385E-03
   4  Prefactor     .86350        .48984E-03    .44538E-01    .31737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.21725e-09
  Index      = 1.77564
  Normalizat = 1.00587
  Prefactor  = 0.863498
 **********
 **   18 **HESSE 
 **********

 FCN=   8428.298     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      296 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    3.6222        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7756        9.0890        .50000       -.70086    
   3  Normalizat    1.0059        .14762E-02    .24742E-03   -.92834    
   4  Prefactor     .86350        .11006E-02    .19652E-03   -.97428    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.50511e-11
Minuit parameter uncertainties:
  1  0.000299538
  2  7243.13
  3  0.00147625
  4  0.00110058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266424': 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) = 8428.29849556
delta logL = 1.14869180834e-08

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  6.217e-09  2.995e-04  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  1.776e+00  7.243e+03  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  8.635e-01  1.101e-03  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.006e+00  1.476e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 227.102 77.293

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/266424/cmap_HighResolution_693446401_693705601_4FGL_J1508.4+7717_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.06e-03', job_status='DONE', photon_flux_upper_limit='4.03e-08', time_completed='2022-12-26 01:20:28.425146', job_id='266424', GAL2='0.86', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1672046428.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.15e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1752' AND source_name='4FGL J1508.4+7717' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:20:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 266424: <4FGL_J1508.4+7717_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1508.4+7717_daily_bin1752> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Dec 26 01:05:19 2022
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 01:06:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 01:06:07 2022
Terminated at Mon Dec 26 01:20:29 2022
Results reported at Mon Dec 26 01:20:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1508.4+7717_daily_bin1752 227.102 77.2929 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1508.4+7717 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   844.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             358.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            910 sec.

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

