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


Performing analysis on: 4FGL_J1459.0+7140_daily_bin1761
RA = 224.753, Dec = 71.6733
tmin = 695779201, tmax = 696038401
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='924848', job_status='RUN', time_executed='2023-01-22 01:05:48.484713', time_epoch_executed='1674378348.48' WHERE source_name='4FGL J1459.0+7140' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/924848

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/924848/ft1_4FGL_J1459.0+7140_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/924848/ft2_4FGL_J1459.0+7140_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/924848/ft1_4FGL_J1459.0+7140_daily_bin1761.fits outfile=/scratch/kocevski/924848/ft1_filteredMKT_4FGL_J1459.0+7140_daily_bin1761.fits ra=224.753 dec=71.6733 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.16
user 4.87
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/924848/ft2_4FGL_J1459.0+7140_daily_bin1761.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/924848/ft1_filteredMKT_4FGL_J1459.0+7140_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/924848/ft1_filtered_4FGL_J1459.0+7140_daily_bin1761.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.53
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 660

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/924848/ft1_filtered_4FGL_J1459.0+7140_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/924848/ft2_4FGL_J1459.0+7140_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/924848/ltcube_695779201_696038401_4FGL_J1459.0+7140_daily_bin1761.fits outfile=/scratch/kocevski/924848/expmap_695779201_696038401_4FGL_J1459.0+7140_daily_bin1761.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/924848/ltcube_695779201_696038401_4FGL_J1459.0+7140_daily_bin1761.fits
.....................!
real 193.11
user 187.25
sys 5.05

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/924848/ft1_filtered_4FGL_J1459.0+7140_daily_bin1761.fits scfile=/scratch/kocevski/924848/ft2_4FGL_J1459.0+7140_daily_bin1761.fits outfile=/scratch/kocevski/924848/cmap_695779201_696038401_4FGL_J1459.0+7140_daily_bin1761.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.57
user 0.40
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11952E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11627E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12670E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.3542       1.0000          .0000       .10000E+07
     5 'Prefactor '    .50480E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .65497E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .14257E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13719E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .29098E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16623E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .26010E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.7485       1.0000          .0000       .10000E+07
    13 'Prefactor '    .78270E-05   1.0000          .0000       .10000E+07
    14 'norm      '    1.9269       1.0000          .0000       .10000E+07
    15 'Prefactor '    52.193       1.0000          .0000       .10000E+07
    16 'norm      '    8.4684       1.0000          .0000       .10000E+07
    17 'Prefactor '    .36006E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    39.443       1.0000          .0000       .10000E+07
    19 'norm      '    .11824E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .61324E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    18.270       1.0000          .0000       .10000E+07
    22 'Prefactor '    .42329E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    .73665       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0869       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=   7123.807     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     2038 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11546E-07    49.541        .25406E-06** at limit **
   2  Prefactor     .47351E-07    17.629       -.44955E-06** at limit **
   3  Prefactor     .55511E-10    10.681        .26080E-06** at limit **
   4  Prefactor     3.3446        3.9671       -.14156E-06    .49710E-03
   5  Prefactor     .35510E-06    23.701        .89512E-07** at limit **
   6  Prefactor      .0000        12.722       -.38029E-06** at limit **
   7  Prefactor      .0000        10.760       -.87037E-07** at limit **
   8  Prefactor     .33623E-06    16.164       -.16813E-06** at limit **
   9  Prefactor     .53568E-07    7.5935        .10549E-06** at limit **
  10  Prefactor      .0000        13.207        .20062E-06** at limit **
  11  Prefactor     .27145E-07    11.937        .12468E-06** at limit **
  12  Prefactor     8.7251        2.0303        .34358E-07   -.10544E-02
  13  Prefactor      .0000        8.1949        .13045E-06** at limit **
  14  norm          1.9537        2.1086        .16504E-07   -.15591E-03
  15  Prefactor     47.590        82.397        .66705E-06    .15649E-03
  16  norm          8.4684        16.398        .92338E-07    .16186E-02
  17  Prefactor     .21649E-08    83.661        .23282E-06** at limit **
  18  Prefactor     39.801        2.1617       -.51946E-08    .23087E-02
  19  norm           .0000        .55702        .50458E-08** at limit **
  20  Prefactor      .0000        1.3369        .69780E-07** at limit **
  21  Prefactor     18.224        2.4214        .16089E-08   -.12234E-01
  22  Prefactor     .11102E-09    19.703       -.11670E-06** at limit **
  23  Normalizat    .73857        .17279       -.22268E-05    .92348E-05
  24  Prefactor     1.0857        .16272        .11378E-05    .41611E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15463e-08
  Prefactor  = 4.7351e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 3.3446
  Prefactor  = 3.55105e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.36231e-07
  Prefactor  = 5.35683e-08
  Prefactor  = 0
  Prefactor  = 2.7145e-08
  Prefactor  = 8.72514
  Prefactor  = 0
  norm       = 1.95365
  Prefactor  = 47.5901
  norm       = 8.46839
  Prefactor  = 2.16493e-09
  Prefactor  = 39.8014
  norm       = 0
  Prefactor  = 0
  Prefactor  = 18.224
  Prefactor  = 1.11022e-10
  Normalizat = 0.738574
  Prefactor  = 1.08568
 **********
 **   18 **HESSE 
 **********

 FCN=   7123.807     FROM HESSE     STATUS=OK           441 CALLS     2479 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11546E-07    50.011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .47351E-07    31.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    10.715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3446        3.9713        .55234E-03   -1.5671    
   5  Prefactor     .35510E-06    39.696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        32.762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        10.757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33623E-06    33.844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .53568E-07    19.202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        13.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .27145E-07    18.797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.7251        53.972        .33865E-03   -1.5649    
  13  Prefactor      .0000        8.1914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.9537        2.1229        .74807E-03   -1.5680    
  15  Prefactor     47.590        82.455        .13843E-03   -1.5570    
  16  norm          8.4684        16.484        .34424E-03   -1.5650    
  17  Prefactor     .21649E-08    83.780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     39.801        32.154        .15924E-03   -1.5582    
  19  norm           .0000        .31312        .17038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        1.3269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     18.224        16.476        .23404E-03   -1.5623    
  22  Prefactor     .11102E-09    20.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .73857        .14741        .42778E-01   -1.0239    
  24  Prefactor     1.0857        .13970        .38107E-01   -.89926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76062e-08
Minuit parameter uncertainties:
  1  0.00152143
  2  0.00245776
  3  5.92362e-05
  4  3.97126
  5  0.00750885
  6  2.49044e-05
  7  2.79311e-05
  8  0.00674681
  9  0.00202874
  10  3.59386e-05
  11  0.00142865
  12  43.4016
  13  9.78824e-07
  14  2.12291
  15  82.4568
  16  16.484
  17  0.000854979
  18  32.1544
  19  1.40398e-08
  20  1.76712e-07
  21  16.4765
  22  8.77659e-05
  23  0.147493
  24  0.139751
Done.

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

Extracting fit parameters...

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  0.000e+00  3.594e-05  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.086e+00  1.398e-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.386e-01  1.475e-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.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/924848/likelihoodResults_695779201_696038401_4FGL_J1459.0+7140_daily_bin1761.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) = 7123.84385634
delta logL = -0.0367782587355

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7123.80707816
delta logL = -7.66640368965e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97311E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .50275       1.0000          .0000       10.000    
     3 'Normalizat'    .73857       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0857       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=   7123.807     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      235 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-08    .45368        .42118E-03** at limit **
   2  Index         2.8018        7.6293        .39711        .34354E-09
   3  Normalizat    .73858        .70949E-03    .42803E-01   -.61045E-03
   4  Prefactor     1.0857        .68131E-03    .38157E-01   -.11187E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-09
  Index      = 2.8018
  Normalizat = 0.738576
  Prefactor  = 1.08568
 **********
 **   18 **HESSE 
 **********

 FCN=   7123.807     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      264 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-08    1.4873        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8018        8.3134        .50000       -.45520    
   3  Normalizat    .73858        .12827E-02    .24920E-03   -1.0239    
   4  Prefactor     1.0857        .12323E-02    .19981E-03   -.89926    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.82849e-11
Minuit parameter uncertainties:
  1  0.000115502
  2  12775.4
  3  0.00128266
  4  0.00123227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/924848': 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) = 7123.80707808
delta logL = -5.22959453519e-10

Extracting fit parameters...

4FGL J1459.0+7140
   Spectrum: PowerLaw
374    Prefactor:  2.220e-09  1.155e-04  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.802e+00  1.278e+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:  1.086e+00  1.232e-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:  7.386e-01  1.283e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/924848/cmap_HighResolution_695779201_696038401_4FGL_J1459.0+7140_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.45e-03', job_status='DONE', photon_flux_upper_limit='4.43e-08', time_completed='2023-01-22 01:19:26.065582', job_id='924848', GAL2='1.09', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1674379166.07', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='-5.23e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1761' AND source_name='4FGL J1459.0+7140' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:19:26 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 924848: <4FGL_J1459.0+7140_daily_bin1761> in cluster <slac> Done

Job <4FGL_J1459.0+7140_daily_bin1761> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan 22 01:05:21 2023
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:05:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:05:28 2023
Terminated at Sun Jan 22 01:19:26 2023
Results reported at Sun Jan 22 01:19:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1459.0+7140_daily_bin1761 224.753 71.6733 695779201 696038401 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 :                                   817.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            845 sec.

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

