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 132 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_J1428.8+7429_daily_bin1761
RA = 217.203, Dec = 74.485
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='923438', job_status='RUN', time_executed='2023-01-22 01:02:46.010392', time_epoch_executed='1674378166.01' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/923438

Creating custom pfile directory:
/scratch/kocevski/923438/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/923438/ft1_4FGL_J1428.8+7429_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/923438/ft2_4FGL_J1428.8+7429_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/923438/ft1_4FGL_J1428.8+7429_daily_bin1761.fits outfile=/scratch/kocevski/923438/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1761.fits ra=217.203 dec=74.485 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.15
user 4.81
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/923438/ft2_4FGL_J1428.8+7429_daily_bin1761.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/923438/ft2_4FGL_J1428.8+7429_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/923438/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/923438/ft1_filtered_4FGL_J1428.8+7429_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.52
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 721

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/923438/ft1_filtered_4FGL_J1428.8+7429_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/923438/ft2_4FGL_J1428.8+7429_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/923438/ltcube_695779201_696038401_4FGL_J1428.8+7429_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/923438/ft2_4FGL_J1428.8+7429_daily_bin1761.fits
.....................!
real 14.02
user 13.58
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/923438/ft1_filtered_4FGL_J1428.8+7429_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/923438/ft2_4FGL_J1428.8+7429_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/923438/ltcube_695779201_696038401_4FGL_J1428.8+7429_daily_bin1761.fits outfile=/scratch/kocevski/923438/expmap_695779201_696038401_4FGL_J1428.8+7429_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/923438/ltcube_695779201_696038401_4FGL_J1428.8+7429_daily_bin1761.fits
.....................!
real 193.53
user 186.20
sys 6.55

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

Setting source of interest to:
4FGL J1428.8+7429 @ 217.203 74.485

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/923438/ft1_filtered_4FGL_J1428.8+7429_daily_bin1761.fits scfile=/scratch/kocevski/923438/ft2_4FGL_J1428.8+7429_daily_bin1761.fits outfile=/scratch/kocevski/923438/cmap_695779201_696038401_4FGL_J1428.8+7429_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=217.203 yref=74.485 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.59
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/923438/ft1_filtered_4FGL_J1428.8+7429_daily_bin1761.fits scfile=/scratch/kocevski/923438/ft2_4FGL_J1428.8+7429_daily_bin1761.fits outfile=/scratch/kocevski/923438/cmap_HighResolution_695779201_696038401_4FGL_J1428.8+7429_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=217.203 yref=74.485 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/923438/ft1_filtered_4FGL_J1428.8+7429_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/923438/ft2_4FGL_J1428.8+7429_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/923438/Model_4FGL_J1428.8+7429_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/923438/ft1_filtered_4FGL_J1428.8+7429_daily_bin1761.fits.....................!
real 80.72
user 78.64
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/923438/ft1_filtered_4FGL_J1428.8+7429_daily_bin1761.fits', '/scratch/kocevski/923438/ft2_4FGL_J1428.8+7429_daily_bin1761.fits', expMap='/scratch/kocevski/923438/expmap_695779201_696038401_4FGL_J1428.8+7429_daily_bin1761.fits', expCube='/scratch/kocevski/923438/ltcube_695779201_696038401_4FGL_J1428.8+7429_daily_bin1761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/923438/Model_4FGL_J1428.8+7429_daily_bin1761.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1428.8+7429'

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  2.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  1.859e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/923438/ft1_filtered_4FGL_J1428.8+7429_daily_bin1761.fits
Spacecraft file(s): /scratch/kocevski/923438/ft2_4FGL_J1428.8+7429_daily_bin1761.fits
Exposure map: /scratch/kocevski/923438/expmap_695779201_696038401_4FGL_J1428.8+7429_daily_bin1761.fits
Exposure cube: /scratch/kocevski/923438/ltcube_695779201_696038401_4FGL_J1428.8+7429_daily_bin1761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/923438/Model_4FGL_J1428.8+7429_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) = 7739.37088856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.608       1.0000          .0000       .10000E+07
     2 'Prefactor '    51.228       1.0000          .0000       .10000E+07
     3 'norm      '    6.6969       1.0000          .0000       .10000E+07
     4 'norm      '    .66230E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12247       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23108E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16056E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .29345E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.5216       1.0000          .0000       .10000E+07
    10 'Prefactor '    .73775E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .81496E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .45312E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16065E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36026E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .57262E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .44734E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.3462       1.0000          .0000       .10000E+07
    18 'Prefactor '    .67951E-02   1.0000          .0000       .10000E+07
    19 'norm      '    7.7743       1.0000          .0000       .10000E+07
    20 'Prefactor '    .26402       1.0000          .0000       .10000E+07
    21 'Prefactor '    36.652       1.0000          .0000       .10000E+07
    22 'Prefactor '    .17542E-07   1.0000          .0000       .10000E+07
    23 'Prefactor '    .21997E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    .61476       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1949       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7739.368     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     2082 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.590        9.7827        .46957E-07   -.29593E-03
   2  Prefactor     51.275        1.3972       -.10323E-08    .35010E-01
   3  norm          6.6898        4.8912       -.75734E-08   -.15553E-03
   4  norm           .0000        1.0726        .10505E-06** at limit **
   5  Prefactor     .17208E-08    56.351        .46846E-06** at limit **
   6  Prefactor     .15126E-05    8.4174        .88358E-07** at limit **
   7  Prefactor      .0000        5.0246       -.32551E-06** at limit **
   8  Prefactor     .13306E-06    6.0224       -.34535E-07** at limit **
   9  Prefactor     4.5205        4.2554        .14664E-06   -.26845E-03
  10  Prefactor     .32752E-07    75.335        .33182E-06** at limit **
  11  Prefactor     .47035E-05    14.556        .15671E-06** at limit **
  12  Prefactor     .91427E-07    5.2792       -.12883E-07** at limit **
  13  Prefactor      .0000        34.045        .42679E-06** at limit **
  14  Prefactor     .75495E-08    8.6675        .53739E-07** at limit **
  15  Prefactor     .25979E-07    13.503        .19167E-06** at limit **
  16  Prefactor     .58131E-06    9.4985        .74180E-07** at limit **
  17  Prefactor     6.2292        3.0658        .96801E-08    .12768E-01
  18  Prefactor     .44409E-09    8.2595        .11689E-06** at limit **
  19  norm          7.7584        1.5062       -.95960E-08   -.84633E-02
  20  Prefactor     .16750E-05    4.1001        .75816E-07** at limit **
  21  Prefactor     36.698        1.3007        .15560E-08   -.23520E-02
  22  Prefactor      .0000        1.4750       -.56863E-07** at limit **
  23  Prefactor     .16847E-05    6.7401        .77469E-07** at limit **
  24  Normalizat    .61474        .16302       -.13435E-05   -.15610E-04
  25  Prefactor     1.1951        .14355        .39160E-05   -.33253E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.5902
  Prefactor  = 51.2751
  norm       = 6.68983
  norm       = 0
  Prefactor  = 1.72085e-09
  Prefactor  = 1.51257e-06
  Prefactor  = 0
  Prefactor  = 1.3306e-07
  Prefactor  = 4.52052
  Prefactor  = 3.27516e-08
  Prefactor  = 4.70352e-06
  Prefactor  = 9.14269e-08
  Prefactor  = 0
  Prefactor  = 7.54952e-09
  Prefactor  = 2.59792e-08
  Prefactor  = 5.81313e-07
  Prefactor  = 6.22915
  Prefactor  = 4.44089e-10
  norm       = 7.75843
  Prefactor  = 1.67499e-06
  Prefactor  = 36.6979
  Prefactor  = 0
  Prefactor  = 1.68471e-06
  Normalizat = 0.614735
  Prefactor  = 1.19507
 **********
 **   18 **HESSE 
 **********

 FCN=   7739.368     FROM HESSE     STATUS=OK           467 CALLS     2549 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.590        9.8178        .20586E-03   -1.5611    
   2  Prefactor     51.275        59.910        .13973E-03   -1.5565    
   3  norm          6.6898        4.9020        .38751E-03   -1.5656    
   4  norm           .0000        1.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17208E-08    55.872        .13361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .15126E-05    25.241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        5.0187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13306E-06    11.048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.5205        4.2513        .47322E-03   -1.5665    
  10  Prefactor     .32752E-07    74.125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .47035E-05    29.107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .91427E-07    11.173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        33.984        .17311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .75495E-08    20.149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .25979E-07    14.610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .58131E-06    19.138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.2292        71.936        .39820E-03   -1.5658    
  18  Prefactor     .44409E-09    8.2750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.7584        16.459        .35940E-03   -1.5652    
  20  Prefactor     .16750E-05    82.724        .10732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     36.698        34.006        .16520E-03   -1.5587    
  22  Prefactor      .0000        1.4667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .16847E-05    25.137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .61474        .14448        .64944E-01   -1.0736    
  25  Prefactor     1.1951        .12754        .34752E-01   -.86483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14277e-07
Minuit parameter uncertainties:
  1  9.81781
  2  59.9111
  3  4.90201
  4  9.18252e-07
  5  0.000620012
  6  0.0123579
  7  1.43444e-05
  8  0.00242498
  9  4.2513
  10  0.00311737
  11  0.0234014
  12  0.00202165
  13  1.30779e-05
  14  0.000780192
  15  0.00123157
  16  0.00667086
  17  42.3374
  18  0.000124143
  19  16.4596
  20  0.0235429
  21  34.0062
  22  5.34329e-07
  23  0.0130153
  24  0.144569
  25  0.127577
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  0.000e+00  1.308e-05  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  1.859e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  1.195e+00  1.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
695        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
696        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
693   Normalization:  6.147e-01  1.446e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 217.203 74.485
Photon Flux Upper Limit: 3.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/923438/likelihoodResults_695779201_696038401_4FGL_J1428.8+7429_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) = 7739.3819687
delta logL = -0.014045312294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7739.36792345
delta logL = -5.64414222026e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64460E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .25735       1.0000          .0000       10.000    
     3 'Normalizat'    .61469       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1951       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7739.368     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      208 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    43.948        .71734E-06** at limit **
   2  Index         1.4484        6.9179       -.25582E-04    .24828E-11
   3  Normalizat    .61474        .15815        .20646E-04    .38559E-04
   4  Prefactor     1.1951        .14323       -.64755E-05   -.43976E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 1.44841
  Normalizat = 0.614736
  Prefactor  = 1.19506
 **********
 **   18 **HESSE 
 **********

 FCN=   7739.368     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    3.9848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4484        5.6161        .36150       -.78995    
   3  Normalizat    .61474        .10840E-02    .64944E-01   -1.0736    
   4  Prefactor     1.1951        .97675E-03    .34748E-01   -.86483    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.64883e-13
Minuit parameter uncertainties:
  1  6.02244e-05
  2  165783
  3  0.00108405
  4  0.000976752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/923438': 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) = 7739.36792339
delta logL = -1.1823431123e-11

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  2.220e-10  6.022e-05  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  1.448e+00  1.658e+05  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  1.195e+00  9.768e-04  0.000e+00  1.000e+01 ( 1.000e+00)
695        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
696        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
693   Normalization:  6.147e-01  1.084e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 217.203 74.485

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/923438/cmap_HighResolution_695779201_696038401_4FGL_J1428.8+7429_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.40e-03', job_status='DONE', photon_flux_upper_limit='3.23e-08', time_completed='2023-01-22 01:16:31.440595', job_id='923438', GAL2='1.20', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1674378991.44', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='-1.18e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='1761' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:16:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 923438: <4FGL_J1428.8+7429_daily_bin1761> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin1761> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Jan 22 01:00:20 2023
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:00:22 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:00:22 2023
Terminated at Sun Jan 22 01:16:32 2023
Results reported at Sun Jan 22 01:16:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1761 217.203 74.485 695779201 696038401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1428.8+7429 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   825.12 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             293.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            972 sec.

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

