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


Performing analysis on: 4FGL_J1459.0+7140_daily_bin1711
RA = 224.753, Dec = 71.6733
tmin = 682819201, tmax = 683078401
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='155246', job_status='RUN', time_executed='2022-09-16 18:46:02.446671', time_epoch_executed='1663379162.45' WHERE source_name='4FGL J1459.0+7140' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/155246

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/155246/ft1_4FGL_J1459.0+7140_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/155246/ft2_4FGL_J1459.0+7140_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/155246/ft1_4FGL_J1459.0+7140_daily_bin1711.fits outfile=/scratch/kocevski/155246/ft1_filteredMKT_4FGL_J1459.0+7140_daily_bin1711.fits ra=224.753 dec=71.6733 rad=12.0 tmin=682819201.0 tmax=683078401.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.74
user 4.40
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/155246/ft2_4FGL_J1459.0+7140_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/155246/ft2_4FGL_J1459.0+7140_daily_bin1711.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/155246/ft1_filteredMKT_4FGL_J1459.0+7140_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/155246/ft1_filtered_4FGL_J1459.0+7140_daily_bin1711.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.33
sys 0.17

Number of photons that the gtmktime cut: 683

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/155246/ft1_filtered_4FGL_J1459.0+7140_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/155246/ft2_4FGL_J1459.0+7140_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/155246/ltcube_682819201_683078401_4FGL_J1459.0+7140_daily_bin1711.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/155246/ft2_4FGL_J1459.0+7140_daily_bin1711.fits
.....................!
real 15.52
user 15.06
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/155246/ft1_filtered_4FGL_J1459.0+7140_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/155246/ft2_4FGL_J1459.0+7140_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/155246/ltcube_682819201_683078401_4FGL_J1459.0+7140_daily_bin1711.fits outfile=/scratch/kocevski/155246/expmap_682819201_683078401_4FGL_J1459.0+7140_daily_bin1711.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/155246/ltcube_682819201_683078401_4FGL_J1459.0+7140_daily_bin1711.fits
.....................!
real 192.81
user 187.48
sys 4.54

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

Setting source of interest to:
4FGL J1459.0+7140 @ 224.753 71.6733

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/155246/ft1_filtered_4FGL_J1459.0+7140_daily_bin1711.fits scfile=/scratch/kocevski/155246/ft2_4FGL_J1459.0+7140_daily_bin1711.fits outfile=/scratch/kocevski/155246/cmap_682819201_683078401_4FGL_J1459.0+7140_daily_bin1711.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=224.753 yref=71.6733 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/155246/ft1_filtered_4FGL_J1459.0+7140_daily_bin1711.fits scfile=/scratch/kocevski/155246/ft2_4FGL_J1459.0+7140_daily_bin1711.fits outfile=/scratch/kocevski/155246/cmap_HighResolution_682819201_683078401_4FGL_J1459.0+7140_daily_bin1711.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=224.753 yref=71.6733 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/155246/ft1_filtered_4FGL_J1459.0+7140_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/155246/ft2_4FGL_J1459.0+7140_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/155246/Model_4FGL_J1459.0+7140_daily_bin1711.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/155246/ft1_filtered_4FGL_J1459.0+7140_daily_bin1711.fits.....................!
real 71.80
user 70.25
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/155246/ft1_filtered_4FGL_J1459.0+7140_daily_bin1711.fits', '/scratch/kocevski/155246/ft2_4FGL_J1459.0+7140_daily_bin1711.fits', expMap='/scratch/kocevski/155246/expmap_682819201_683078401_4FGL_J1459.0+7140_daily_bin1711.fits', expCube='/scratch/kocevski/155246/ltcube_682819201_683078401_4FGL_J1459.0+7140_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/155246/Model_4FGL_J1459.0+7140_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1459.0+7140'

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  8.846e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.499e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/155246/ft1_filtered_4FGL_J1459.0+7140_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/155246/ft2_4FGL_J1459.0+7140_daily_bin1711.fits
Exposure map: /scratch/kocevski/155246/expmap_682819201_683078401_4FGL_J1459.0+7140_daily_bin1711.fits
Exposure cube: /scratch/kocevski/155246/ltcube_682819201_683078401_4FGL_J1459.0+7140_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/155246/Model_4FGL_J1459.0+7140_daily_bin1711.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) = 7440.91423139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.943       1.0000          .0000       .10000E+07
     2 'Prefactor '    .43211E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13962E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2596       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16502E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .92205E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.4415       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10936E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.877       1.0000          .0000       .10000E+07
    10 'Prefactor '    .57659E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .80163E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .72524E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .55379E-01   1.0000          .0000       .10000E+07
    14 'norm      '    2.4054       1.0000          .0000       .10000E+07
    15 'Prefactor '    81.151       1.0000          .0000       .10000E+07
    16 'norm      '    7.6641       1.0000          .0000       .10000E+07
    17 'Prefactor '    .63953E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .77555E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .42188E-08   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.0219       1.0000          .0000       .10000E+07
    21 'Prefactor '    .46761E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    21.941       1.0000          .0000       .10000E+07
    23 'Normalizat'    .73126       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0449       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7440.910     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1988 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.123        12.199        .16438E-05   -.18371E-01
   2  Prefactor     .18319E-08    41.452        .11696E-05** at limit **
   3  Prefactor     .87941E-06    17.078       -.18885E-05** at limit **
   4  Prefactor     3.2688        3.4660        .15864E-06    .24826E-02
   5  Prefactor     .77716E-09    6.3395       -.56132E-06** at limit **
   6  Prefactor     .93997E-06    16.572        .29940E-05** at limit **
   7  Prefactor     8.4383        1.2333        .17941E-06    .22241E-02
   8  Prefactor     .24747E-06    16.026       -.34495E-05** at limit **
   9  Prefactor     15.891        2.1400        .32037E-06    .11332E-01
  10  Prefactor     .12523E-06    13.943       -.22026E-05** at limit **
  11  Prefactor     .11657E-08    10.389       -.11906E-06** at limit **
  12  Prefactor     .10769E-06    28.263        .48136E-05** at limit **
  13  Prefactor     .61062E-09    56.651        .97407E-06** at limit **
  14  norm          2.4013        2.0578       -.87676E-07    .48119E-02
  15  Prefactor     81.552        12.350        .45061E-06   -.21960    
  16  norm          7.6517        1.3284        .24204E-06    .27047E-03
  17  Prefactor      .0000        44.240        .97162E-08** at limit **
  18  Prefactor     .19429E-08    10.948        .16620E-06** at limit **
  19  norm          .55511E-10    .75732        .10022E-06** at limit **
  20  Prefactor     1.0163        2.4033        .24454E-06   -.85243E-03
  21  Prefactor     .23617E-05    148.03        .12127E-04** at limit **
  22  Prefactor     22.047        1.1312       -.19399E-07   -.45306E-03
  23  Normalizat    .73146        .15741       -.30923E-05   -.32813E-03
  24  Prefactor     1.0449        .14991       -.97952E-05   -.64954E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.1234
  Prefactor  = 1.83187e-09
  Prefactor  = 8.79408e-07
  Prefactor  = 3.2688
  Prefactor  = 7.77156e-10
  Prefactor  = 9.3997e-07
  Prefactor  = 8.43831
  Prefactor  = 2.47469e-07
  Prefactor  = 15.8906
  Prefactor  = 1.25233e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 1.07692e-07
  Prefactor  = 6.10623e-10
  norm       = 2.40128
  Prefactor  = 81.5515
  norm       = 7.65166
  Prefactor  = 0
  Prefactor  = 1.94289e-09
  norm       = 5.55112e-11
  Prefactor  = 1.01628
  Prefactor  = 2.36172e-06
  Prefactor  = 22.0475
  Normalizat = 0.731457
  Prefactor  = 1.04488
 **********
 **   18 **HESSE 
 **********

 FCN=   7440.910     FROM HESSE     STATUS=OK           447 CALLS     2435 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.123        51.682        .22985E-03   -1.5623    
   2  Prefactor     .18319E-08    40.898        .15822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .87941E-06    23.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2688        3.5124        .56068E-03   -1.5672    
   5  Prefactor     .77716E-09    6.3393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .93997E-06    18.485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.4383        18.682        .34479E-03   -1.5650    
   8  Prefactor     .24747E-06    16.511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.891        17.954        .25110E-03   -1.5628    
  10  Prefactor     .12523E-06    27.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11657E-08    10.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10769E-06    31.530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .61062E-09    54.120        .15332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.4013        2.1267        .65988E-03   -1.5677    
  15  Prefactor     81.552        83.128        .11101E-03   -1.5527    
  16  norm          7.6517        20.461        .36199E-03   -1.5653    
  17  Prefactor      .0000        44.256        .15023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .19429E-08    10.974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .55511E-10    .35372        .16567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.0163        4.1870        .12741E-02   -1.5688    
  21  Prefactor     .23617E-05    154.59        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     22.047        41.915        .21355E-03   -1.5614    
  23  Normalizat    .73146        .13995        .42706E-01   -1.0266    
  24  Prefactor     1.0449        .13102        .40216E-01   -.91248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28592e-06
Minuit parameter uncertainties:
  1  51.6834
  2  0.000549915
  3  0.00918545
  4  3.51243
  5  0.000139802
  6  0.00833685
  7  18.6818
  8  0.00404281
  9  17.9539
  10  0.00374371
  11  0.000217838
  12  0.00368497
  13  0.000365238
  14  2.12671
  15  83.1293
  16  20.4611
  17  2.34106e-05
  18  0.000292447
  19  7.94673e-06
  20  4.12562
  21  0.038216
  22  41.9151
  23  0.140015
  24  0.131059
Done.

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

Extracting fit parameters...

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  1.252e-07  3.744e-03  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.499e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
700    Prefactor:  1.045e+00  1.311e-01  0.000e+00  1.000e+01 ( 1.000e+00)
701        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
702        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
699   Normalization:  7.315e-01  1.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 224.753 71.673
Photon Flux Upper Limit: 5.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/155246/likelihoodResults_682819201_683078401_4FGL_J1459.0+7140_daily_bin1711.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) = 7440.92776311
delta logL = -0.0176589082266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7440.69174458
delta logL = 0.218359619328

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7440.692     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      238 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22292        4.7128        .11314E-02** at limit **
   2  Index         5.2216        2.8819        .20155       -.68424E-04
   3  Normalizat    .69953        .20307E-01    .42285E-01   -.24781E-03
   4  Prefactor     1.0636        .19548E-01    .39175E-01   -.23578E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.222922
  Index      = 5.22162
  Normalizat = 0.69953
  Prefactor  = 1.06364
 **********
 **   18 **HESSE 
 **********

 FCN=   7440.692     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      269 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22292        27.752        .63201E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.2216        6.8300        .89525E-02    .44339E-01
   3  Normalizat    .69953        .12141        .25152E-03   -1.0391    
   4  Prefactor     1.0636        .11467        .19892E-03   -.90637    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.138e-09
Minuit parameter uncertainties:
  1  4.97459
  2  12.1265
  3  0.12146
  4  0.114693
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/155246': 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) = 7440.69174107
delta logL = 0.218363128361

Extracting fit parameters...

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  2.229e-01  4.975e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  5.222e+00  1.213e+01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  7.570e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
700    Prefactor:  1.064e+00  1.147e-01  0.000e+00  1.000e+01 ( 1.000e+00)
701        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
702        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
699   Normalization:  6.995e-01  1.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 224.753 71.673

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/155246/cmap_HighResolution_682819201_683078401_4FGL_J1459.0+7140_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.24e-03', job_status='DONE', photon_flux_upper_limit='5.45e-08', time_completed='2022-09-16 18:59:09.408553', job_id='155246', GAL2='1.06', fit_tolerance='1e-08', EG2='0.70', EG='0.73', time_epoch_completed='1663379949.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.18e-01', ts2='0.47', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1711' AND source_name='4FGL J1459.0+7140' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:59:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 155246: <4FGL_J1459.0+7140_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1459.0+7140_daily_bin1711> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 18:45:16 2022
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:45:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:45:26 2022
Terminated at Fri Sep 16 18:59:10 2022
Results reported at Fri Sep 16 18:59:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1459.0+7140_daily_bin1711 224.753 71.6733 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1459.0+7140 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   787.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            834 sec.

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

