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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin1710
RA = 217.229, Dec = 54.1114
tmin = 682560001, tmax = 682819201
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='148587', job_status='RUN', time_executed='2022-09-16 18:28:59.261347', time_epoch_executed='1663378139.26' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/148587

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/148587/ft1_4FGL_J1428.9+5406_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/148587/ft2_4FGL_J1428.9+5406_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/148587/ft1_4FGL_J1428.9+5406_daily_bin1710.fits outfile=/scratch/kocevski/148587/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1710.fits ra=217.229 dec=54.1114 rad=12.0 tmin=682560001.0 tmax=682819201.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.68
user 3.42
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/148587/ft2_4FGL_J1428.9+5406_daily_bin1710.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/148587/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/148587/ft1_filtered_4FGL_J1428.9+5406_daily_bin1710.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.54
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 625

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/148587/ft1_filtered_4FGL_J1428.9+5406_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/148587/ft2_4FGL_J1428.9+5406_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/148587/ltcube_682560001_682819201_4FGL_J1428.9+5406_daily_bin1710.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/148587/ft2_4FGL_J1428.9+5406_daily_bin1710.fits
.....................!
real 15.85
user 15.33
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/148587/ft1_filtered_4FGL_J1428.9+5406_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/148587/ft2_4FGL_J1428.9+5406_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/148587/ltcube_682560001_682819201_4FGL_J1428.9+5406_daily_bin1710.fits outfile=/scratch/kocevski/148587/expmap_682560001_682819201_4FGL_J1428.9+5406_daily_bin1710.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/148587/ltcube_682560001_682819201_4FGL_J1428.9+5406_daily_bin1710.fits
.....................!
real 194.02
user 188.68
sys 4.33

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/148587/ft1_filtered_4FGL_J1428.9+5406_daily_bin1710.fits scfile=/scratch/kocevski/148587/ft2_4FGL_J1428.9+5406_daily_bin1710.fits outfile=/scratch/kocevski/148587/cmap_682560001_682819201_4FGL_J1428.9+5406_daily_bin1710.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.57
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/148587/ft1_filtered_4FGL_J1428.9+5406_daily_bin1710.fits scfile=/scratch/kocevski/148587/ft2_4FGL_J1428.9+5406_daily_bin1710.fits outfile=/scratch/kocevski/148587/cmap_HighResolution_682560001_682819201_4FGL_J1428.9+5406_daily_bin1710.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.57
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/148587/ft1_filtered_4FGL_J1428.9+5406_daily_bin1710.fits', '/scratch/kocevski/148587/ft2_4FGL_J1428.9+5406_daily_bin1710.fits', expMap='/scratch/kocevski/148587/expmap_682560001_682819201_4FGL_J1428.9+5406_daily_bin1710.fits', expCube='/scratch/kocevski/148587/ltcube_682560001_682819201_4FGL_J1428.9+5406_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/148587/Model_4FGL_J1428.9+5406_daily_bin1710.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/148587/ft1_filtered_4FGL_J1428.9+5406_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/148587/ft2_4FGL_J1428.9+5406_daily_bin1710.fits
Exposure map: /scratch/kocevski/148587/expmap_682560001_682819201_4FGL_J1428.9+5406_daily_bin1710.fits
Exposure cube: /scratch/kocevski/148587/ltcube_682560001_682819201_4FGL_J1428.9+5406_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/148587/Model_4FGL_J1428.9+5406_daily_bin1710.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) = 6781.78555379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18547E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    29.875       1.0000          .0000       .10000E+07
     3 'norm      '    .55810E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .19098E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .81470       1.0000          .0000       .10000E+07
     6 'norm      '    .43572E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .63978E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    9.3434       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.3686       1.0000          .0000       .10000E+07
    10 'Prefactor '    .65359E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .91349E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .63171E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .58944       1.0000          .0000       .10000E+07
    14 'Prefactor '    .40918E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91930       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.2469       1.0000          .0000       .10000E+07
    17 'norm      '    .77820       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.4958       1.0000          .0000       .10000E+07
    19 'Prefactor '    .24334E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    28.735       1.0000          .0000       .10000E+07
    21 'norm      '    1.3525       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0019       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1818       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=   6781.743     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     1505 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76550E-07    103.85        .15502E-05** at limit **
   2  Prefactor     31.249        9.5425        .52454E-06    .41610E-02
   3  norm           .0000        2.5940        .22119E-06** at limit **
   4  Prefactor     .41633E-08    22.503       -.75903E-06** at limit **
   5  norm          .81175        1.2028        .59559E-07    .24059E-04
   6  norm           .0000        1.9908        .54785E-07** at limit **
   7  Prefactor     .52247E-06    7.4250       -.17686E-08** at limit **
   8  Prefactor     8.8758        4.0886       -.43069E-06    .42218E-03
   9  Prefactor     7.3905        4.8788        .97515E-07   -.36759E-04
  10  Prefactor     .60141E-06    40.676       -.38056E-05** at limit **
  11  Prefactor      .0000        3.5183       -.86522E-06** at limit **
  12  Prefactor     .71276E-07    16.121        .19813E-06** at limit **
  13  Prefactor     .39436E-05    139.37        .23077E-05** at limit **
  14  Prefactor     .23076E-06    13.064        .38382E-06** at limit **
  15  Prefactor     1.2507        9.7852        .17422E-05    .18049E-01
  16  Prefactor     3.3132        10.525       -.62097E-06    .39011E-06
  17  norm          .77714        .91880       -.46952E-07   -.48474E-03
  18  Prefactor     2.5054        7.3577        .86157E-06    .51278E-04
  19  Prefactor      .0000        4.0160       -.21189E-06** at limit **
  20  Prefactor     28.761        9.5637        .48594E-07    .66708E-03
  21  norm          1.3579        3.6759        .18732E-06   -.72035E-04
  22  Normalizat    1.0012        .18874        .96879E-05   -.31073E-04
  23  Prefactor     1.1819        .22356       -.15753E-04   -.24694E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.65499e-08
  Prefactor  = 31.2485
  norm       = 0
  Prefactor  = 4.16334e-09
  norm       = 0.811747
  norm       = 0
  Prefactor  = 5.22471e-07
  Prefactor  = 8.87577
  Prefactor  = 7.3905
  Prefactor  = 6.01408e-07
  Prefactor  = 0
  Prefactor  = 7.12763e-08
  Prefactor  = 3.94357e-06
  Prefactor  = 2.3076e-07
  Prefactor  = 1.25068
  Prefactor  = 3.31317
  norm       = 0.77714
  Prefactor  = 2.50537
  Prefactor  = 0
  Prefactor  = 28.7615
  norm       = 1.35787
  Normalizat = 1.00121
  Prefactor  = 1.1819
 **********
 **   18 **HESSE 
 **********

 FCN=   6781.743     FROM HESSE     STATUS=OK           416 CALLS     1921 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .76550E-07    104.75        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.249        31.316        .18299E-03   -1.5596    
   3  norm           .0000        2.5973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .41633E-08    22.588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .81175        1.2146        .51845E-03   -1.5690    
   6  norm           .0000        1.9939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .52247E-06    17.866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.8758        31.352        .32762E-03   -1.5648    
   9  Prefactor     7.3905        4.9106        .36924E-03   -1.5654    
  10  Prefactor     .60141E-06    49.350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.3842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .71276E-07    17.505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .39436E-05    169.82        .70180E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23076E-06    18.603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.2507        40.224        .44435E-03   -1.5686    
  16  Prefactor     3.3132        10.556        .56183E-03   -1.5672    
  17  norm          .77714        .92773        .54575E-03   -1.5690    
  18  Prefactor     2.5054        7.4332        .64668E-03   -1.5676    
  19  Prefactor      .0000        4.0297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     28.761        9.5891        .18658E-03   -1.5601    
  21  norm          1.3579        3.7258        .94009E-03   -1.5685    
  22  Normalizat    1.0012        .15857        .46191E-01   -.92990    
  23  Prefactor     1.1819        .18672        .58926E-01   -.86890    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8069e-07
Minuit parameter uncertainties:
  1  0.00566435
  2  31.316
  3  2.86987e-06
  4  0.000613839
  5  1.21461
  6  7.67179e-06
  7  0.00611043
  8  31.3528
  9  4.91058
  10  0.010896
  11  1.58045e-06
  12  0.00223366
  13  0.0517579
  14  0.00414359
  15  14.1856
  16  10.5563
  17  0.927733
  18  7.4332
  19  8.31166e-06
  20  9.58907
  21  3.72581
  22  0.158644
  23  0.186824
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  7.128e-08  2.234e-03  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:  1.182e+00  1.868e-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:  1.001e+00  1.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 217.229 54.111
Photon Flux Upper Limit: 6.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/148587/likelihoodResults_682560001_682819201_4FGL_J1428.9+5406_daily_bin1710.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) = 6781.77092493
delta logL = -0.0279773204493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6781.74294763
delta logL = -1.62581272889e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22227E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.4563       1.0000          .0000       10.000    
     3 'Normalizat'    1.0012       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1819       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=   6781.743     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      220 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    209.92        .42118E-03** at limit **
   2  Index         3.8222        8.0847        .50000        .22737E-10
   3  Normalizat    1.0012        .18146E-01    .46182E-01    .74958E-04
   4  Prefactor     1.1819        .21649E-01    .58926E-01    .52809E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 3.82217
  Normalizat = 1.00122
  Prefactor  = 1.1819
 **********
 **   18 **HESSE 
 **********

 FCN=   6781.743     FROM HESSE     STATUS=OK            33 CALLS      253 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    10.734        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.8222        6.7756        .50000       -.23780    
   3  Normalizat    1.0012        .18494        .23592E-03   -.92990    
   4  Prefactor     1.1819        .22071        .26059E-03   -.86890    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86444e-11
Minuit parameter uncertainties:
  1  8.29171e-05
  2  4.87018
  3  0.185062
  4  0.220884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/148587': 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) = 6781.74294761
delta logL = 2.02453520615e-09

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.665e-10  8.292e-05  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  3.822e+00  4.870e+00  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:  1.182e+00  2.209e-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:  1.001e+00  1.851e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 217.229 54.111

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/148587/cmap_HighResolution_682560001_682819201_4FGL_J1428.9+5406_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-03', job_status='DONE', photon_flux_upper_limit='6.12e-08', time_completed='2022-09-16 18:40:00.137456', job_id='148587', GAL2='1.18', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1663378800.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.02e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1710' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:40:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 148587: <4FGL_J1428.9+5406_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin1710> 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) <bullet0111>, 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:40:00 2022
Results reported at Fri Sep 16 18:40:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin1710 217.229 54.1114 682560001 682819201 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 :                                   661.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            884 sec.

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

