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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin1709
RA = 217.229, Dec = 54.1114
tmin = 682300801, tmax = 682560001
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='148586', job_status='RUN', time_executed='2022-09-16 18:28:36.493884', time_epoch_executed='1663378116.49' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/148586

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/148586/ft1_4FGL_J1428.9+5406_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/148586/ft2_4FGL_J1428.9+5406_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/148586/ft1_4FGL_J1428.9+5406_daily_bin1709.fits outfile=/scratch/kocevski/148586/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1709.fits ra=217.229 dec=54.1114 rad=12.0 tmin=682300801.0 tmax=682560001.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 3.81
user 3.55
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/148586/ft2_4FGL_J1428.9+5406_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/148586/ft2_4FGL_J1428.9+5406_daily_bin1709.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/148586/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/148586/ft1_filtered_4FGL_J1428.9+5406_daily_bin1709.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.16

Number of photons that the gtmktime cut: 587

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/148586/ft1_filtered_4FGL_J1428.9+5406_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/148586/ft2_4FGL_J1428.9+5406_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/148586/ltcube_682300801_682560001_4FGL_J1428.9+5406_daily_bin1709.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/148586/ft2_4FGL_J1428.9+5406_daily_bin1709.fits
.....................!
real 15.69
user 15.23
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/148586/ft1_filtered_4FGL_J1428.9+5406_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/148586/ft2_4FGL_J1428.9+5406_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/148586/ltcube_682300801_682560001_4FGL_J1428.9+5406_daily_bin1709.fits outfile=/scratch/kocevski/148586/expmap_682300801_682560001_4FGL_J1428.9+5406_daily_bin1709.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/148586/ltcube_682300801_682560001_4FGL_J1428.9+5406_daily_bin1709.fits
.....................!
real 194.87
user 188.75
sys 5.19

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

Setting source of interest to:
4FGL J1428.9+5406 @ 217.229 54.1114

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/148586/ft1_filtered_4FGL_J1428.9+5406_daily_bin1709.fits scfile=/scratch/kocevski/148586/ft2_4FGL_J1428.9+5406_daily_bin1709.fits outfile=/scratch/kocevski/148586/cmap_682300801_682560001_4FGL_J1428.9+5406_daily_bin1709.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.229 yref=54.1114 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/148586/ft1_filtered_4FGL_J1428.9+5406_daily_bin1709.fits scfile=/scratch/kocevski/148586/ft2_4FGL_J1428.9+5406_daily_bin1709.fits outfile=/scratch/kocevski/148586/cmap_HighResolution_682300801_682560001_4FGL_J1428.9+5406_daily_bin1709.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.229 yref=54.1114 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.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/148586/ft1_filtered_4FGL_J1428.9+5406_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/148586/ft2_4FGL_J1428.9+5406_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/148586/Model_4FGL_J1428.9+5406_daily_bin1709.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/148586/ft1_filtered_4FGL_J1428.9+5406_daily_bin1709.fits.....................!
real 55.81
user 53.25
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/148586/ft1_filtered_4FGL_J1428.9+5406_daily_bin1709.fits', '/scratch/kocevski/148586/ft2_4FGL_J1428.9+5406_daily_bin1709.fits', expMap='/scratch/kocevski/148586/expmap_682300801_682560001_4FGL_J1428.9+5406_daily_bin1709.fits', expCube='/scratch/kocevski/148586/ltcube_682300801_682560001_4FGL_J1428.9+5406_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/148586/Model_4FGL_J1428.9+5406_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1428.9+5406'

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  4.001e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/148586/ft1_filtered_4FGL_J1428.9+5406_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/148586/ft2_4FGL_J1428.9+5406_daily_bin1709.fits
Exposure map: /scratch/kocevski/148586/expmap_682300801_682560001_4FGL_J1428.9+5406_daily_bin1709.fits
Exposure cube: /scratch/kocevski/148586/ltcube_682300801_682560001_4FGL_J1428.9+5406_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/148586/Model_4FGL_J1428.9+5406_daily_bin1709.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) = 6435.07959176

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    66.608       1.0000          .0000       .10000E+07
     2 'Prefactor '    .33897E-02   1.0000          .0000       .10000E+07
     3 'norm      '    2.5571       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.145       1.0000          .0000       .10000E+07
     5 'norm      '    .54678E-07   1.0000          .0000       .10000E+07
     6 'norm      '    10.338       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21925E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .78277E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.5002       1.0000          .0000       .10000E+07
    10 'Prefactor '    23.802       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.1611       1.0000          .0000       .10000E+07
    12 'Prefactor '    29.064       1.0000          .0000       .10000E+07
    13 'Prefactor '    .76475E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    25.111       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.7771       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12232E-02   1.0000          .0000       .10000E+07
    17 'norm      '    1.2458       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.4679       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.7693       1.0000          .0000       .10000E+07
    20 'Prefactor '    25.988       1.0000          .0000       .10000E+07
    21 'norm      '    2.5669       1.0000          .0000       .10000E+07
    22 'Normalizat'    .98293       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6435.051     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1860 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     65.895        14.154        .83000E-06   -.19646    
   2  Prefactor     .13656E-07    12.456       -.23130E-06** at limit **
   3  norm          2.5318        4.1673       -.51451E-07    .24249E-03
   4  Prefactor     19.503        63.948       -.21977E-05   -.61477E-02
   5  norm           .0000        .81549        .66047E-08** at limit **
   6  norm          10.240        4.6510       -.17304E-06   -.44728E-02
   7  Prefactor     .28255E-07    17.060       -.91792E-06** at limit **
   8  Prefactor     .55511E-10    8.9781       -.21081E-06** at limit **
   9  Prefactor     2.5098        3.8998       -.29044E-07    .16971E-04
  10  Prefactor     24.145        8.9488        .75080E-06    .16698E-01
  11  Prefactor     5.1786        2.9137       -.37013E-07    .34182E-03
  12  Prefactor     28.730        11.442        .89452E-06   -.53264E-01
  13  Prefactor     .92870E-07    35.899        .16546E-06** at limit **
  14  Prefactor     25.379        8.5943        .74327E-06    .59640E-02
  15  Prefactor     9.8736        12.379       -.17481E-05   -.10230    
  16  Prefactor     .16653E-09    7.7602       -.15321E-06** at limit **
  17  norm          1.2501        1.4646       -.10151E-06   -.30476E-02
  18  Prefactor     1.6218        15.853       -.44991E-05    .90154E-03
  19  Prefactor     2.7160        5.1040        .29355E-06    .29169E-02
  20  Prefactor     26.283        10.119        .28068E-06   -.49023E-02
  21  norm          2.5623        3.8549       -.58211E-07   -.12968E-03
  22  Normalizat    .97543        .20055       -.23519E-05   -.19611E-03
  23  Prefactor     .93815        .22257        .20971E-05   -.94350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 65.8948
  Prefactor  = 1.36557e-08
  norm       = 2.53177
  Prefactor  = 19.5026
  norm       = 0
  norm       = 10.2397
  Prefactor  = 2.82552e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 2.50975
  Prefactor  = 24.1453
  Prefactor  = 5.17858
  Prefactor  = 28.7302
  Prefactor  = 9.28702e-08
  Prefactor  = 25.3788
  Prefactor  = 9.87357
  Prefactor  = 1.66533e-10
  norm       = 1.25014
  Prefactor  = 1.6218
  Prefactor  = 2.71595
  Prefactor  = 26.283
  norm       = 2.56233
  Normalizat = 0.97543
  Prefactor  = 0.938152
 **********
 **   18 **HESSE 
 **********

 FCN=   6435.051     FROM HESSE     STATUS=OK           420 CALLS     2280 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     65.895        50.103        .12254E-03   -1.5546    
   2  Prefactor     .13656E-07    12.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.5318        4.2309        .63818E-03   -1.5676    
   4  Prefactor     19.503        63.727        .28720E-03   -1.5620    
   5  norm           .0000        .81033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.240        4.6545        .31139E-03   -1.5644    
   7  Prefactor     .28255E-07    17.150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    8.9702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5098        3.9453        .64606E-03   -1.5676    
  10  Prefactor     24.145        21.679        .20502E-03   -1.5610    
  11  Prefactor     5.1786        3.1296        .44228E-03   -1.5662    
  12  Prefactor     28.730        29.794        .18552E-03   -1.5601    
  13  Prefactor     .92870E-07    36.215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.379        24.636        .19960E-03   -1.5607    
  15  Prefactor     9.8736        16.633        .32023E-03   -1.5645    
  16  Prefactor     .16653E-09    7.7732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2501        1.4986        .10028E-02   -1.5686    
  18  Prefactor     1.6218        16.537        .88694E-03   -1.5682    
  19  Prefactor     2.7160        5.1326        .61132E-03   -1.5675    
  20  Prefactor     26.283        10.285        .19620E-03   -1.5605    
  21  norm          2.5623        3.8685        .63687E-03   -1.5676    
  22  Normalizat    .97543        .17245        .45953E-01   -.93858    
  23  Prefactor     .93815        .18923        .45431E-01   -.94820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89106e-06
Minuit parameter uncertainties:
  1  50.103
  2  0.000824349
  3  4.23092
  4  63.7289
  5  4.85057e-06
  6  4.6545
  7  0.00139228
  8  3.31982e-05
  9  3.94528
  10  21.6789
  11  3.12962
  12  29.7938
  13  0.00366789
  14  24.6362
  15  16.633
  16  7.51154e-05
  17  1.49861
  18  10.3577
  19  5.13261
  20  10.2847
  21  3.86853
  22  0.172547
  23  0.189361
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  2.873e+01  2.979e+01  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  9.382e-01  1.894e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  9.754e-01  1.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.43
Ra Dec: 217.229 54.111
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 4.05e-08 +/- 4.20e-08
Energy Flux (Fixed Index): 1.09e-05 +/- 1.13e-05

TS (Fixed Index): 1.43
Ra Dec: 217.229 54.111
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/148586/likelihoodResults_682300801_682560001_4FGL_J1428.9+5406_daily_bin1709.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) = 6434.96351006
delta logL = 0.0876891227017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6434.96056341
delta logL = 0.0906357761614

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6434.961     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      256 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.645        1014.9        .15896E-03    .87895E-04
   2  Index         2.2126        6.0358        .24703        .24004E-04
   3  Normalizat    .98695        .63407E-01    .46004E-01   -.51336E-04
   4  Prefactor     .92673        .63910E-01    .45347E-01   -.28899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.6446
  Index      = 2.21259
  Normalizat = 0.986953
  Prefactor  = 0.926725
 **********
 **   18 **HESSE 
 **********

 FCN=   6434.961     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.645        40.296        .63586E-05   -1.5582    
   2  Index         2.2126        .76518        .84787E-02   -.59135    
   3  Normalizat    .98695        .18797        .23397E-03   -.93469    
   4  Prefactor     .92673        .21643        .27802E-03   -.95213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06895e-10
Minuit parameter uncertainties:
  1  40.2962
  2  0.769584
  3  0.1881
  4  0.216632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/148586': 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): 0
logL (Free Index) = 6434.96055457
delta logL = 0.0906446121162

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  3.964e+01  4.030e+01  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  2.213e+00  7.696e-01  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  9.267e-01  2.166e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  9.870e-01  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 217.229 54.111
Photon Index (Free Index): 2.21 +/- 0.77
Photon Flux (Free Index): 3.40e-08 +/- 3.62e-08
Energy Flux (Free Index): 1.49e-05 +/- 1.87e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/148586/cmap_HighResolution_682300801_682560001_4FGL_J1428.9+5406_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.42e-03', comment='SUCCESS', photon_flux='4.05e-08', energy_flux2='1.49e-05', photon_flux_error='4.20e-08', dlogl='9.06e-02', energy_flux='1.09e-05', photon_flux2='3.40e-08', job_status='DONE', time_completed='2022-09-16 18:39:58.586624', photon_index_error2='0.77', photon_index2='2.21', ts='1.43', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='1.87e-05', EG='0.98', time_epoch_completed='1663378798.59', return_code='0', job_id='148586', GAL2='0.93', EG2='0.99', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='3.62e-08', ts2='1.64', photon_index='2.57' WHERE bin_id='1709' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:39:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 148586: <4FGL_J1428.9+5406_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin1709> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 18:25:16 2022
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:25:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:25:44 2022
Terminated at Fri Sep 16 18:39:59 2022
Results reported at Fri Sep 16 18:39:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin1709 217.229 54.1114 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1428.9+5406 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   682.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             305.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            883 sec.

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

