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


Performing analysis on: 4FGL_J1215.0+1656_daily_bin1759
RA = 183.774, Dec = 16.9372
tmin = 695260801, tmax = 695520001
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='556989', job_status='RUN', time_executed='2023-01-16 01:08:48.125263', time_epoch_executed='1673860128.13' WHERE source_name='4FGL J1215.0+1656' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/556989

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/556989/ft1_4FGL_J1215.0+1656_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/556989/ft2_4FGL_J1215.0+1656_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/556989/ft1_4FGL_J1215.0+1656_daily_bin1759.fits outfile=/scratch/kocevski/556989/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin1759.fits ra=183.774 dec=16.9372 rad=12.0 tmin=695260801.0 tmax=695520001.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 2.76
user 2.52
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/556989/ft2_4FGL_J1215.0+1656_daily_bin1759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/556989/ft2_4FGL_J1215.0+1656_daily_bin1759.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/556989/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/556989/ft1_filtered_4FGL_J1215.0+1656_daily_bin1759.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: 672

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/556989/ft1_filtered_4FGL_J1215.0+1656_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/556989/ft2_4FGL_J1215.0+1656_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/556989/ltcube_695260801_695520001_4FGL_J1215.0+1656_daily_bin1759.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/556989/ft2_4FGL_J1215.0+1656_daily_bin1759.fits
.....................!
real 15.10
user 14.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/556989/ft1_filtered_4FGL_J1215.0+1656_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/556989/ft2_4FGL_J1215.0+1656_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/556989/ltcube_695260801_695520001_4FGL_J1215.0+1656_daily_bin1759.fits outfile=/scratch/kocevski/556989/expmap_695260801_695520001_4FGL_J1215.0+1656_daily_bin1759.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/556989/ltcube_695260801_695520001_4FGL_J1215.0+1656_daily_bin1759.fits
.....................!
real 193.31
user 186.96
sys 5.73

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

Setting source of interest to:
4FGL J1215.0+1656 @ 183.774 16.9372

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/556989/ft1_filtered_4FGL_J1215.0+1656_daily_bin1759.fits scfile=/scratch/kocevski/556989/ft2_4FGL_J1215.0+1656_daily_bin1759.fits outfile=/scratch/kocevski/556989/cmap_695260801_695520001_4FGL_J1215.0+1656_daily_bin1759.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=183.774 yref=16.9372 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/556989/ft1_filtered_4FGL_J1215.0+1656_daily_bin1759.fits scfile=/scratch/kocevski/556989/ft2_4FGL_J1215.0+1656_daily_bin1759.fits outfile=/scratch/kocevski/556989/cmap_HighResolution_695260801_695520001_4FGL_J1215.0+1656_daily_bin1759.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=183.774 yref=16.9372 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/556989/ft1_filtered_4FGL_J1215.0+1656_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/556989/ft2_4FGL_J1215.0+1656_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/556989/Model_4FGL_J1215.0+1656_daily_bin1759.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/556989/ft1_filtered_4FGL_J1215.0+1656_daily_bin1759.fits.....................!
real 65.94
user 64.57
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/556989/ft1_filtered_4FGL_J1215.0+1656_daily_bin1759.fits', '/scratch/kocevski/556989/ft2_4FGL_J1215.0+1656_daily_bin1759.fits', expMap='/scratch/kocevski/556989/expmap_695260801_695520001_4FGL_J1215.0+1656_daily_bin1759.fits', expCube='/scratch/kocevski/556989/ltcube_695260801_695520001_4FGL_J1215.0+1656_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/556989/Model_4FGL_J1215.0+1656_daily_bin1759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1215.0+1656'

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  1.342e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        Index:  2.410e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/556989/ft1_filtered_4FGL_J1215.0+1656_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/556989/ft2_4FGL_J1215.0+1656_daily_bin1759.fits
Exposure map: /scratch/kocevski/556989/expmap_695260801_695520001_4FGL_J1215.0+1656_daily_bin1759.fits
Exposure cube: /scratch/kocevski/556989/ltcube_695260801_695520001_4FGL_J1215.0+1656_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/556989/Model_4FGL_J1215.0+1656_daily_bin1759.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) = 7416.51551426

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    159.88       1.0000          .0000       .10000E+07
     2 'Prefactor '    .38025E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7836       1.0000          .0000       .10000E+07
     4 'Prefactor '    36.213       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.6193       1.0000          .0000       .10000E+07
     6 'Prefactor '    .26438E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12962E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .37734E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10741E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51384E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22400E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.244       1.0000          .0000       .10000E+07
    13 'Prefactor '    .53109E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15025E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .19306       1.0000          .0000       .10000E+07
    16 'norm      '    8.9820       1.0000          .0000       .10000E+07
    17 'Prefactor '    12.411       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.3957       1.0000          .0000       .10000E+07
    19 'Prefactor '    .42387E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .23592E-07   1.0000          .0000       .10000E+07
    21 'Normalizat'    .95985       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2942       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7416.150     FROM MIGRAD    STATUS=CONVERGED    201 CALLS     1878 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     157.35        54.706        .20167E-04    .12934E-02
   2  Prefactor     .11102E-08    5.2442        .41573E-05** at limit **
   3  Prefactor     1.8048        2.1331       -.12558E-05    .12823E-03
   4  Prefactor     39.966        85.340        .20083E-04   -.12451E-02
   5  Prefactor     8.6020        7.1278       -.28987E-06   -.11571E-01
   6  Prefactor     .21094E-08    21.350       -.51765E-05** at limit **
   7  Prefactor     .88818E-09    14.750       -.92135E-06** at limit **
   8  Prefactor     .43854E-08    83.597       -.38165E-04** at limit **
   9  Prefactor     .11102E-09    1.9231        .15027E-05** at limit **
  10  Prefactor     .72164E-09    4.6347       -.32295E-05** at limit **
  11  Prefactor     .22204E-09    6.2786        .42253E-05** at limit **
  12  Prefactor     10.260        4.6794       -.10199E-05    .37535E-02
  13  Prefactor     .57732E-08    29.526       -.51184E-05** at limit **
  14  Prefactor     .33307E-09    2.0453       -.29158E-06** at limit **
  15  norm          .19299        .18930       -.28010E-07** at limit **
  16  norm          8.9785        4.7018        .16292E-06    .90148E-02
  17  Prefactor     12.491        13.721        .34303E-05   -.24977E-03
  18  Prefactor     4.4070        6.3021       -.23838E-05    .64679E-02
  19  Prefactor     .13323E-08    13.540        .14859E-05** at limit **
  20  Prefactor     .12768E-08    6.5876       -.13987E-06** at limit **
  21  Normalizat    .96125        .23569        .21367E-04   -.50644E-03
  22  Prefactor     1.2927        .21942       -.32075E-04   -.46108E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 157.351
  Prefactor  = 1.11022e-09
  Prefactor  = 1.80475
  Prefactor  = 39.9665
  Prefactor  = 8.60197
  Prefactor  = 2.10942e-09
  Prefactor  = 8.88178e-10
  Prefactor  = 4.38538e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 7.21645e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 10.2601
  Prefactor  = 5.77316e-09
  Prefactor  = 3.33067e-10
  norm       = 0.192989
  norm       = 8.97847
  Prefactor  = 12.4912
  Prefactor  = 4.40698
  Prefactor  = 1.33227e-09
  Prefactor  = 1.27676e-09
  Normalizat = 0.961249
  Prefactor  = 1.29265
 **********
 **   18 **HESSE 
 **********

 FCN=   7416.150     FROM HESSE     STATUS=OK           396 CALLS     2274 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     157.35        54.759        .79094E-04   -1.5457    
   2  Prefactor     .11102E-08    5.2466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8048        2.1589        .78320E-03   -1.5681    
   4  Prefactor     39.966        85.044        .16619E-03   -1.5582    
   5  Prefactor     8.6020        7.1265        .34119E-03   -1.5649    
   6  Prefactor     .21094E-08    21.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .88818E-09    1.8252        .62273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .43854E-08    83.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    1.9109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .72164E-09    1.1417        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .22204E-09    6.2770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.260        4.6819        .31281E-03   -1.5644    
  13  Prefactor     .57732E-08    29.533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .33307E-09    2.0458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .19299        .19931        .80173E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.9785        4.7076        .33419E-03   -1.5648    
  17  Prefactor     12.491        13.692        .28408E-03   -1.5637    
  18  Prefactor     4.4070        6.3092        .48012E-03   -1.5666    
  19  Prefactor     .13323E-08    13.436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .12768E-08    6.5861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96125        .19692        .68169E-01   -.94340    
  22  Prefactor     1.2927        .18099        .57822E-01   -.83526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47451e-09
Minuit parameter uncertainties:
  1  54.7588
  2  0.000153913
  3  2.15892
  4  85.0463
  5  7.12651
  6  0.00042586
  7  8.11636e-05
  8  0.00120781
  9  2.8851e-05
  10  5.76189e-05
  11  7.55669e-05
  12  4.68186
  13  0.000825394
  14  5.31833e-05
  15  0.199313
  16  4.70756
  17  13.6922
  18  6.30919
  19  0.00026631
  20  0.000185308
  21  0.197068
  22  0.181082
Done.

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

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  7.216e-10  5.762e-05  0.000e+00  1.000e+06 ( 1.000e-12)
263        Index:  2.410e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.293e+00  1.811e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  9.612e-01  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 183.774 16.937
Photon Flux Upper Limit: 6.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/556989/likelihoodResults_695260801_695520001_4FGL_J1215.0+1656_daily_bin1759.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) = 7416.15144067
delta logL = -0.00160115835479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7416.14984268
delta logL = -3.16797832056e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7416.150     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      257 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .96077        .42118E-02** at limit **
   2  Index         2.5292        1.1882        .14498E-03     .0000    
   3  Normalizat    .96126        1.2933        .30040E-04    .56047E-03
   4  Prefactor     1.2927        1.0787       -.35445E-04    .47981E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.52916
  Normalizat = 0.961256
  Prefactor  = 1.29265
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7416.150     FROM HESSE     STATUS=FAILED         9 CALLS      266 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .96077        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .72156        1.9017        .14498E-03   -.51688    
   3  Normalizat    .96126        1.2933        .30040E-04   -.94340    
   4  Prefactor     1.2927        1.0787       -.35445E-04   -.83526    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.71467e-10
Minuit parameter uncertainties:
  1  1.2732e-07
  2  1.20356
  3  1.33941
  4  1.09822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/556989': 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) = 7416.14983952
delta logL = 2.72848410532e-11

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.273e-07  0.000e+00  1.000e+06 ( 1.000e-12)
263        Index:  2.529e+00  1.204e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.293e+00  1.098e+00  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  9.613e-01  1.339e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 183.774 16.937

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/556989/cmap_HighResolution_695260801_695520001_4FGL_J1215.0+1656_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.92e-03', job_status='DONE', photon_flux_upper_limit='6.37e-08', time_completed='2023-01-16 01:19:44.093600', job_id='556989', GAL2='1.29', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1673860784.09', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='2.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1759' AND source_name='4FGL J1215.0+1656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:19:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 556989: <4FGL_J1215.0+1656_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1215.0+1656_daily_bin1759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jan 16 01:05:21 2023
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:06:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:06:29 2023
Terminated at Mon Jan 16 01:19:45 2023
Results reported at Mon Jan 16 01:19:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1215.0+1656_daily_bin1759 183.774 16.9372 695260801 695520001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1215.0+1656 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   657.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            864 sec.

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

