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


Performing analysis on: 4FGL_J1459.0+7140_daily_bin1753
RA = 224.753, Dec = 71.6733
tmin = 693705601, tmax = 693964801
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='457604', job_status='RUN', time_executed='2022-12-29 01:09:16.309963', time_epoch_executed='1672304956.31' WHERE source_name='4FGL J1459.0+7140' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/457604

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/457604/ft1_4FGL_J1459.0+7140_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/457604/ft2_4FGL_J1459.0+7140_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/457604/ft1_4FGL_J1459.0+7140_daily_bin1753.fits outfile=/scratch/kocevski/457604/ft1_filteredMKT_4FGL_J1459.0+7140_daily_bin1753.fits ra=224.753 dec=71.6733 rad=12.0 tmin=693705601.0 tmax=693964801.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.66
user 4.34
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/457604/ft2_4FGL_J1459.0+7140_daily_bin1753.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/457604/ft1_filteredMKT_4FGL_J1459.0+7140_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/457604/ft1_filtered_4FGL_J1459.0+7140_daily_bin1753.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.52
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 630

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/457604/ft1_filtered_4FGL_J1459.0+7140_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/457604/ft2_4FGL_J1459.0+7140_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/457604/ltcube_693705601_693964801_4FGL_J1459.0+7140_daily_bin1753.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/457604/ft2_4FGL_J1459.0+7140_daily_bin1753.fits
.....................!
real 15.13
user 14.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/457604/ft1_filtered_4FGL_J1459.0+7140_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/457604/ft2_4FGL_J1459.0+7140_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/457604/ltcube_693705601_693964801_4FGL_J1459.0+7140_daily_bin1753.fits outfile=/scratch/kocevski/457604/expmap_693705601_693964801_4FGL_J1459.0+7140_daily_bin1753.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/457604/ltcube_693705601_693964801_4FGL_J1459.0+7140_daily_bin1753.fits
.....................!
real 194.27
user 186.50
sys 5.50

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/457604/ft1_filtered_4FGL_J1459.0+7140_daily_bin1753.fits scfile=/scratch/kocevski/457604/ft2_4FGL_J1459.0+7140_daily_bin1753.fits outfile=/scratch/kocevski/457604/cmap_693705601_693964801_4FGL_J1459.0+7140_daily_bin1753.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/457604/ft1_filtered_4FGL_J1459.0+7140_daily_bin1753.fits scfile=/scratch/kocevski/457604/ft2_4FGL_J1459.0+7140_daily_bin1753.fits outfile=/scratch/kocevski/457604/cmap_HighResolution_693705601_693964801_4FGL_J1459.0+7140_daily_bin1753.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.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/457604/ft1_filtered_4FGL_J1459.0+7140_daily_bin1753.fits', '/scratch/kocevski/457604/ft2_4FGL_J1459.0+7140_daily_bin1753.fits', expMap='/scratch/kocevski/457604/expmap_693705601_693964801_4FGL_J1459.0+7140_daily_bin1753.fits', expCube='/scratch/kocevski/457604/ltcube_693705601_693964801_4FGL_J1459.0+7140_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/457604/Model_4FGL_J1459.0+7140_daily_bin1753.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/457604/ft1_filtered_4FGL_J1459.0+7140_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/457604/ft2_4FGL_J1459.0+7140_daily_bin1753.fits
Exposure map: /scratch/kocevski/457604/expmap_693705601_693964801_4FGL_J1459.0+7140_daily_bin1753.fits
Exposure cube: /scratch/kocevski/457604/ltcube_693705601_693964801_4FGL_J1459.0+7140_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/457604/Model_4FGL_J1459.0+7140_daily_bin1753.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) = 6795.69305968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13595E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .60468E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .72763       1.0000          .0000       .10000E+07
     4 'Prefactor '    .71463E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.2456       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.0611       1.0000          .0000       .10000E+07
     7 'Prefactor '    36.799       1.0000          .0000       .10000E+07
     8 'Prefactor '    .57876E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11025       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38076E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    14.327       1.0000          .0000       .10000E+07
    12 'Prefactor '    .50687E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    11.953       1.0000          .0000       .10000E+07
    14 'norm      '    3.7344       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.595       1.0000          .0000       .10000E+07
    16 'norm      '    .20934E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .51753       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17573E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .11691E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18513E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .17349E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .14809E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.3004       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .55246       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=   6795.665     FROM MIGRAD    STATUS=CONVERGED    213 CALLS     2014 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37637E-07    26.471       -.22578E-06** at limit **
   2  Prefactor     .17208E-08    13.163       -.30364E-06** at limit **
   3  Prefactor     .22110E-06    289.74       -.24204E-05** at limit **
   4  Prefactor      .0000        6.8294        .16462E-06** at limit **
   5  Prefactor     4.4799        16.657        .76238E-08    .24723E-02
   6  Prefactor     5.2565        7.1635        .32889E-07    .61737E-04
   7  Prefactor     37.408        44.120        .23376E-06   -.13370E-01
   8  Prefactor     .20013E-05    11.596       -.18579E-06** at limit **
   9  Prefactor      .0000        49.400        .85936E-07** at limit **
  10  Prefactor     .16309E-06    15.299       -.11347E-06** at limit **
  11  Prefactor     14.346        1.8373       -.53111E-08   -.53387E-02
  12  Prefactor     .10147E-06    14.454       -.82988E-07** at limit **
  13  Prefactor     11.991        1.9402        .19139E-07    .70532E-02
  14  norm          3.6723        3.2303        .35079E-07   -.56606E-04
  15  Prefactor     22.771        115.97       -.13869E-05   -.47627E-03
  16  norm           .0000        6.1508        .58606E-07** at limit **
  17  Prefactor     .10153E-06    127.77        .17538E-06** at limit **
  18  Prefactor     .21396E-05    11.667       -.18399E-06** at limit **
  19  norm           .0000        .31230       -.21480E-07** at limit **
  20  Prefactor      .0000        .70542       -.63775E-07** at limit **
  21  Prefactor      .0000        7.6312       -.12850E-06** at limit **
  22  Prefactor      .0000        8.5903       -.18871E-06** at limit **
  23  Normalizat    1.2984        .17238        .25910E-05   -.18846E-04
  24  Prefactor     .55333        .14574       -.25452E-05   -.11232E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.76366e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 2.21101e-07
  Prefactor  = 0
  Prefactor  = 4.47991
  Prefactor  = 5.25649
  Prefactor  = 37.4077
  Prefactor  = 2.00129e-06
  Prefactor  = 0
  Prefactor  = 1.63092e-07
  Prefactor  = 14.3462
  Prefactor  = 1.01474e-07
  Prefactor  = 11.9909
  norm       = 3.67229
  Prefactor  = 22.7714
  norm       = 0
  Prefactor  = 1.0153e-07
  Prefactor  = 2.13957e-06
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.29838
  Prefactor  = 0.553326
 **********
 **   18 **HESSE 
 **********

 FCN=   6795.665     FROM HESSE     STATUS=OK           441 CALLS     2455 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37637E-07    26.610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    13.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22110E-06    287.99        .58493E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        6.7646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4799        16.740        .48877E-03   -1.5666    
   6  Prefactor     5.2565        7.1581        .44672E-03   -1.5662    
   7  Prefactor     37.408        44.962        .16487E-03   -1.5586    
   8  Prefactor     .20013E-05    20.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        10.101        .13662E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16309E-06    16.001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.346        17.256        .26435E-03   -1.5632    
  12  Prefactor     .10147E-06    14.895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.991        25.460        .28950E-03   -1.5639    
  14  norm          3.6723        3.2545        .52227E-03   -1.5670    
  15  Prefactor     22.771        115.71        .23850E-03   -1.5613    
  16  norm           .0000        6.1399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10153E-06    128.24        .76965E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .21396E-05    20.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .30369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        .70334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        7.6263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        8.5926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2984        .15259        .32797E-01   -.83615    
  24  Prefactor     .55333        .12899        .40402E-01   -1.0959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35535e-07
Minuit parameter uncertainties:
  1  0.00200178
  2  0.000300469
  3  0.0159609
  4  4.95594e-06
  5  16.7406
  6  7.15813
  7  44.9622
  8  0.0127009
  9  1.09606e-06
  10  0.00323094
  11  17.2562
  12  0.00245868
  13  25.4601
  14  3.25447
  15  102.667
  16  6.48257e-06
  17  0.00721649
  18  0.0133872
  19  2.7706e-07
  20  1.25222e-07
  21  9.94842e-06
  22  6.58314e-06
  23  0.152647
  24  0.129055
Done.

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

Extracting fit parameters...

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  1.631e-07  3.231e-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:  5.533e-01  1.291e-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:  1.298e+00  1.526e-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: 4.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/457604/likelihoodResults_693705601_693964801_4FGL_J1459.0+7140_daily_bin1753.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) = 6795.69493495
delta logL = -0.0303335437284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6795.66460142
delta logL = -1.31140041049e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50127E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .69410       1.0000          .0000       10.000    
     3 'Normalizat'    1.2984       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55333       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=   6795.665     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      238 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79936E-08    1.2898        .42118E-03** at limit **
   2  Index         2.4894        5.3134        .42323        .26862E-09
   3  Normalizat    1.2984        .10326E-02    .32834E-01    .14065E-02
   4  Prefactor     .55333        .91626E-03    .40414E-01    .10181E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.99361e-09
  Index      = 2.48942
  Normalizat = 1.29838
  Prefactor  = 0.553327
 **********
 **   18 **HESSE 
 **********

 FCN=   6795.665     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79936E-08    4.3622        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4894        5.6810        .50000       -.52604    
   3  Normalizat    1.2984        .18982E-02    .19592E-03   -.83615    
   4  Prefactor     .55333        .16832E-02    .25459E-03   -1.0959    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.51761e-10
Minuit parameter uncertainties:
  1  0.000373112
  2  10334.3
  3  0.00189817
  4  0.00168318
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/457604': 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) = 6795.66460141
delta logL = 4.25188773079e-09

Extracting fit parameters...

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  7.994e-09  3.731e-04  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.489e+00  1.033e+04  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:  5.533e-01  1.683e-03  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:  1.298e+00  1.898e-03  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/457604/cmap_HighResolution_693705601_693964801_4FGL_J1459.0+7140_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.82e-03', job_status='DONE', photon_flux_upper_limit='4.91e-08', time_completed='2022-12-29 01:21:52.159755', job_id='457604', GAL2='0.55', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1672305712.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='4.25e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1753' AND source_name='4FGL J1459.0+7140' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:21:52 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 457604: <4FGL_J1459.0+7140_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1459.0+7140_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 01:05:17 2022
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:06:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:06:57 2022
Terminated at Thu Dec 29 01:21:52 2022
Results reported at Thu Dec 29 01:21:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1459.0+7140_daily_bin1753 224.753 71.6733 693705601 693964801 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 :                                   750.30 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             284.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            995 sec.

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

