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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin1769
RA = 217.203, Dec = 74.485
tmin = 697852801, tmax = 698112001
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='437146', job_status='RUN', time_executed='2023-02-15 00:57:58.104716', time_epoch_executed='1676451478.1' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/437146

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/437146/ft1_4FGL_J1428.8+7429_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/437146/ft2_4FGL_J1428.8+7429_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/437146/ft1_4FGL_J1428.8+7429_daily_bin1769.fits outfile=/scratch/kocevski/437146/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1769.fits ra=217.203 dec=74.485 rad=12.0 tmin=697852801.0 tmax=698112001.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.38
user 4.11
sys 0.23

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

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

Number of photons that the gtmktime cut: 755

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/437146/ft1_filtered_4FGL_J1428.8+7429_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/437146/ft2_4FGL_J1428.8+7429_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/437146/ltcube_697852801_698112001_4FGL_J1428.8+7429_daily_bin1769.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/437146/ft2_4FGL_J1428.8+7429_daily_bin1769.fits
.....................!
real 12.03
user 11.66
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/437146/ft1_filtered_4FGL_J1428.8+7429_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/437146/ft2_4FGL_J1428.8+7429_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/437146/ltcube_697852801_698112001_4FGL_J1428.8+7429_daily_bin1769.fits outfile=/scratch/kocevski/437146/expmap_697852801_698112001_4FGL_J1428.8+7429_daily_bin1769.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/437146/ltcube_697852801_698112001_4FGL_J1428.8+7429_daily_bin1769.fits
.....................!
real 191.82
user 186.36
sys 4.84

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/437146/ft1_filtered_4FGL_J1428.8+7429_daily_bin1769.fits scfile=/scratch/kocevski/437146/ft2_4FGL_J1428.8+7429_daily_bin1769.fits outfile=/scratch/kocevski/437146/cmap_697852801_698112001_4FGL_J1428.8+7429_daily_bin1769.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.58
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/437146/ft1_filtered_4FGL_J1428.8+7429_daily_bin1769.fits scfile=/scratch/kocevski/437146/ft2_4FGL_J1428.8+7429_daily_bin1769.fits outfile=/scratch/kocevski/437146/cmap_HighResolution_697852801_698112001_4FGL_J1428.8+7429_daily_bin1769.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/437146/ft1_filtered_4FGL_J1428.8+7429_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/437146/ft2_4FGL_J1428.8+7429_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/437146/Model_4FGL_J1428.8+7429_daily_bin1769.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/437146/ft1_filtered_4FGL_J1428.8+7429_daily_bin1769.fits.....................!
real 82.82
user 81.42
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/437146/ft1_filtered_4FGL_J1428.8+7429_daily_bin1769.fits', '/scratch/kocevski/437146/ft2_4FGL_J1428.8+7429_daily_bin1769.fits', expMap='/scratch/kocevski/437146/expmap_697852801_698112001_4FGL_J1428.8+7429_daily_bin1769.fits', expCube='/scratch/kocevski/437146/ltcube_697852801_698112001_4FGL_J1428.8+7429_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/437146/Model_4FGL_J1428.8+7429_daily_bin1769.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/437146/ft1_filtered_4FGL_J1428.8+7429_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/437146/ft2_4FGL_J1428.8+7429_daily_bin1769.fits
Exposure map: /scratch/kocevski/437146/expmap_697852801_698112001_4FGL_J1428.8+7429_daily_bin1769.fits
Exposure cube: /scratch/kocevski/437146/ltcube_697852801_698112001_4FGL_J1428.8+7429_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/437146/Model_4FGL_J1428.8+7429_daily_bin1769.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) = 8129.2940905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.199       1.0000          .0000       .10000E+07
     2 'Prefactor '    .68171E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .11253E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .23781E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .15912E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    37.765       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20992E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    41.757       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12516E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10095E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .40992E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13276E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .11324E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .69115E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .42149E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .17669E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .37952E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    39.630       1.0000          .0000       .10000E+07
    19 'norm      '    .30633E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    15.063       1.0000          .0000       .10000E+07
    21 'Prefactor '    .85469E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.1644       1.0000          .0000       .10000E+07
    23 'Prefactor '    .22650       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0714       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .90911       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=   8129.292     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     2090 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.012        8.6113        .67117E-09    .40313E-03
   2  Prefactor     .39579E-07    13.238       -.32616E-06** at limit **
   3  norm           .0000        1.7572       -.24112E-06** at limit **
   4  norm           .0000        1.0030        .47305E-07** at limit **
   5  Prefactor      .0000        33.486       -.40413E-06** at limit **
   6  Prefactor     37.712        1.7012        .10638E-06   -.37717E-02
   7  Prefactor     .56349E-06    4.8442       -.62476E-06** at limit **
   8  Prefactor     41.860        19.077       -.11379E-05    .86627E-01
   9  Prefactor      .0000        3.1458        .21022E-06** at limit **
  10  Prefactor     .51698E-06    15.615        .17213E-05** at limit **
  11  Prefactor     .24336E-06    4.1959        .23824E-06** at limit **
  12  Prefactor     .91605E-06    15.280        .89250E-06** at limit **
  13  Prefactor     .88757E-06    12.318       -.24325E-05** at limit **
  14  Prefactor     .41511E-06    12.985       -.57956E-06** at limit **
  15  Prefactor     .56677E-07    3.8708        .45651E-07** at limit **
  16  Prefactor     .60257E-06    11.683       -.25109E-05** at limit **
  17  Prefactor     .64931E-06    17.450        .19276E-05** at limit **
  18  Prefactor     39.626        1.2017        .38802E-07    .30667E-02
  19  norm           .0000        8.4989        .37957E-06** at limit **
  20  Prefactor     15.614        42.032        .52833E-05   -.50904E-01
  21  Prefactor     .17764E-08    9.1447        .60851E-06** at limit **
  22  Prefactor     2.1759        2.4759       -.42218E-06    .20641E-02
  23  Prefactor     .40724E-03    917.62       -.24235E-04** at limit **
  24  Normalizat    1.0715        .15593       -.30912E-05    .17350E-03
  25  Prefactor     .90935        .13391        .18689E-05    .52137E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0119
  Prefactor  = 3.95795e-08
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 37.7121
  Prefactor  = 5.63494e-07
  Prefactor  = 41.8601
  Prefactor  = 0
  Prefactor  = 5.16975e-07
  Prefactor  = 2.43361e-07
  Prefactor  = 9.16045e-07
  Prefactor  = 8.87568e-07
  Prefactor  = 4.15112e-07
  Prefactor  = 5.66769e-08
  Prefactor  = 6.02574e-07
  Prefactor  = 6.49314e-07
  Prefactor  = 39.6257
  norm       = 0
  Prefactor  = 15.6138
  Prefactor  = 1.77636e-09
  Prefactor  = 2.17593
  Prefactor  = 0.000407243
  Normalizat = 1.07147
  Prefactor  = 0.909353
 **********
 **   18 **HESSE 
 **********

 FCN=   8129.292     FROM HESSE     STATUS=OK           471 CALLS     2561 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.012        8.6333        .28655E-03   -1.5639    
   2  Prefactor     .39579E-07    14.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.7539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        33.295        .17322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.712        31.534        .16274E-03   -1.5585    
   7  Prefactor     .56349E-06    10.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     41.860        31.440        .15477E-03   -1.5579    
   9  Prefactor      .0000        3.1323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .51698E-06    33.811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .24336E-06    10.807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .91605E-06    32.622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .88757E-06    26.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .41511E-06    15.968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .56677E-07    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .60257E-06    27.217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .64931E-06    19.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     39.626        27.149        .15887E-03   -1.5582    
  19  norm           .0000        8.5052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.614        90.476        .25780E-03   -1.5629    
  21  Prefactor     .17764E-08    9.1818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.1759        2.8779        .69981E-03   -1.5678    
  23  Prefactor     .40724E-03    21.916        .12711E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0715        .13914        .39307E-01   -.90673    
  25  Prefactor     .90935        .11881        .45121E-01   -.95815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35239e-06
Minuit parameter uncertainties:
  1  8.63336
  2  0.00151371
  3  1.36586e-06
  4  1.95966e-06
  5  5.14501e-05
  6  31.5342
  7  0.00492194
  8  31.4406
  9  2.84587e-06
  10  0.00836179
  11  0.00324339
  12  0.0109331
  13  0.00972328
  14  0.005149
  15  0.00156141
  16  0.00809948
  17  0.00710368
  18  27.1492
  19  1.94172e-05
  20  75.1729
  21  0.000254708
  22  2.87785
  23  0.188946
  24  0.13919
  25  0.118847
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  8.876e-07  9.723e-03  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:  9.094e-01  1.188e-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:  1.071e+00  1.392e-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: 2.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/437146/likelihoodResults_697852801_698112001_4FGL_J1428.8+7429_daily_bin1769.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) = 8129.3102021
delta logL = -0.0179726062324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8129.29222961
delta logL = -1.17688614409e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8129.292     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      235 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39413E-08    14.869        .42118E-03** at limit **
   2  Index         .71807        5.1495        .38782       -.13485E-09
   3  Normalizat    1.0715        .23602E-02    .39299E-01    .10872E-04
   4  Prefactor     .90935        .20276E-02    .45123E-01    .12711E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.94129e-09
  Index      = 0.718066
  Normalizat = 1.07147
  Prefactor  = 0.909354
 **********
 **   18 **HESSE 
 **********

 FCN=   8129.292     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      262 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39413E-08    83.038        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .71807        5.3516        .77563E-01   -1.0282    
   3  Normalizat    1.0715        .55852E-02    .23675E-03   -.90673    
   4  Prefactor     .90935        .47972E-02    .21777E-03   -.95815    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.29381e-10
Minuit parameter uncertainties:
  1  0.00114611
  2  129203
  3  0.00558523
  4  0.00479725
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/437146': 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) = 8129.29222948
delta logL = 1.66310201166e-08

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  3.941e-09  1.146e-03  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  7.181e-01  1.292e+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:  9.094e-01  4.797e-03  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:  1.071e+00  5.585e-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/437146/cmap_HighResolution_697852801_698112001_4FGL_J1428.8+7429_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-03', job_status='DONE', photon_flux_upper_limit='2.82e-08', time_completed='2023-02-15 01:11:43.787304', job_id='437146', GAL2='0.91', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1676452303.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.66e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='1769' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:11:43 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 437146: <4FGL_J1428.8+7429_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 00:55:20 2023
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:55:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:55:21 2023
Terminated at Wed Feb 15 01:11:44 2023
Results reported at Wed Feb 15 01:11:44 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1769 217.203 74.485 697852801 698112001 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 :                                   827.08 sec.
    Max Memory :                                 1008 MB
    Average Memory :                             300.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            984 sec.

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

