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 28 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin1668
RA = 217.229, Dec = 54.1114
tmin = 671673601, tmax = 671932801
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='555496', job_status='RUN', time_executed='2022-04-18 03:00:36.073792', time_epoch_executed='1650276036.07' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='1668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555496

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555496/ft1_4FGL_J1428.9+5406_daily_bin1668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555496/ft2_4FGL_J1428.9+5406_daily_bin1668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555496/ft1_4FGL_J1428.9+5406_daily_bin1668.fits outfile=/scratch/kocevski/555496/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1668.fits ra=217.229 dec=54.1114 rad=12.0 tmin=671673601.0 tmax=671932801.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 6.56
user 6.10
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555496/ft2_4FGL_J1428.9+5406_daily_bin1668.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/555496/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1668.fits evtable="EVENTS" outfile="/scratch/kocevski/555496/ft1_filtered_4FGL_J1428.9+5406_daily_bin1668.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.80
user 0.57
sys 0.20

Number of photons that the gtmktime cut: 548

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555496/ft1_filtered_4FGL_J1428.9+5406_daily_bin1668.fits" evtable="EVENTS" scfile=/scratch/kocevski/555496/ft2_4FGL_J1428.9+5406_daily_bin1668.fits sctable="SC_DATA" outfile=/scratch/kocevski/555496/ltcube_671673601_671932801_4FGL_J1428.9+5406_daily_bin1668.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/555496/ft2_4FGL_J1428.9+5406_daily_bin1668.fits
.....................!
real 24.31
user 23.62
sys 0.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555496/ft1_filtered_4FGL_J1428.9+5406_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555496/ft2_4FGL_J1428.9+5406_daily_bin1668.fits sctable="SC_DATA" expcube=/scratch/kocevski/555496/ltcube_671673601_671932801_4FGL_J1428.9+5406_daily_bin1668.fits outfile=/scratch/kocevski/555496/expmap_671673601_671932801_4FGL_J1428.9+5406_daily_bin1668.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/555496/ltcube_671673601_671932801_4FGL_J1428.9+5406_daily_bin1668.fits
.....................!
real 352.75
user 341.97
sys 9.04

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/555496/ft1_filtered_4FGL_J1428.9+5406_daily_bin1668.fits scfile=/scratch/kocevski/555496/ft2_4FGL_J1428.9+5406_daily_bin1668.fits outfile=/scratch/kocevski/555496/cmap_671673601_671932801_4FGL_J1428.9+5406_daily_bin1668.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.91
user 0.65
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555496/ft1_filtered_4FGL_J1428.9+5406_daily_bin1668.fits scfile=/scratch/kocevski/555496/ft2_4FGL_J1428.9+5406_daily_bin1668.fits outfile=/scratch/kocevski/555496/cmap_HighResolution_671673601_671932801_4FGL_J1428.9+5406_daily_bin1668.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.89
user 0.66
sys 0.19

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555496/ft1_filtered_4FGL_J1428.9+5406_daily_bin1668.fits', '/scratch/kocevski/555496/ft2_4FGL_J1428.9+5406_daily_bin1668.fits', expMap='/scratch/kocevski/555496/expmap_671673601_671932801_4FGL_J1428.9+5406_daily_bin1668.fits', expCube='/scratch/kocevski/555496/ltcube_671673601_671932801_4FGL_J1428.9+5406_daily_bin1668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555496/Model_4FGL_J1428.9+5406_daily_bin1668.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  1.000e-04  1.000e+04 ( 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/555496/ft1_filtered_4FGL_J1428.9+5406_daily_bin1668.fits
Spacecraft file(s): /scratch/kocevski/555496/ft2_4FGL_J1428.9+5406_daily_bin1668.fits
Exposure map: /scratch/kocevski/555496/expmap_671673601_671932801_4FGL_J1428.9+5406_daily_bin1668.fits
Exposure cube: /scratch/kocevski/555496/ltcube_671673601_671932801_4FGL_J1428.9+5406_daily_bin1668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555496/Model_4FGL_J1428.9+5406_daily_bin1668.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) = 5945.46079064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.634       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10597E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.5728       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    74.020       1.0000         .10000E-03   10000.    
     7 'norm      '    .26848       1.0000         .10000E-03   10000.    
     8 'norm      '    2.4267       1.0000         .10000E-03   10000.    
     9 'norm      '    1.1823       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .25733E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.609       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11217E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.2374       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.182       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2302       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .20707E-01   1.0000         .10000E-03   10000.    
    23 'norm      '    2.0219       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    11.497       1.0000         .10000E-03   10000.    
    26 'Prefactor '    20.819       1.0000         .10000E-03   10000.    
    27 'norm      '    2.3423       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .92673       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .76223       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5945.447     FROM MIGRAD    STATUS=CONVERGED    720 CALLS     3669 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.635        46.935       -.10964E-05   -.23067E-04
   2  Prefactor     .10000E-03    11.221       -.45265E-07** at limit **
   3  Prefactor     .10000E-03    34.912       -.19482E-06** at limit **
   4  norm          7.5709        4.8589        .36592E-07   -.49767E-04
   5  Prefactor     .10000E-03    28.442       -.64811E-07** at limit **
   6  Prefactor     74.009        46.057       -.11063E-05   -.99221E-04
   7  norm          .26846        .54735        .80361E-06    .69383E-03
   8  norm          2.4407        510.11       -.42164E-05   -.37066E-05
   9  norm          1.1853        4.7175        .26963E-05    .15115E-03
  10  Prefactor     .10004E-03    395.76       -.41282E-05** at limit **
  11  Prefactor     42.599        38.490       -.30430E-06   -.42889E-04
  12  Prefactor     .10000E-03    16.295       -.17407E-06** at limit **
  13  Prefactor     .10000E-03    1.9445       -.10812E-07** at limit **
  14  Prefactor     .10000E-03    52.117        .11093E-06** at limit **
  15  Prefactor     3.2363        2.7577       -.10070E-06   -.21995E-03
  16  Prefactor     .10000E-03    30.154       -.52972E-07** at limit **
  17  Prefactor     16.180        25.112        .16159E-07   -.43441E-04
  18  Prefactor     .10000E-03    17.534       -.68342E-07** at limit **
  19  Prefactor     .10000E-03    13.539        .51327E-07** at limit **
  20  Prefactor     3.2438        21.300        .24589E-05   -.10009E-03
  21  Prefactor     .10000E-03    7.6722        .28523E-07** at limit **
  22  Prefactor     .10154E-03    12.523        .19876E-05** at limit **
  23  norm          2.0218        1.1762        .13916E-07   -.52686E-03
  24  Prefactor     .10000E-03    4.3482       -.47432E-07** at limit **
  25  Prefactor     11.498        6.2816        .20527E-06   -.32200E-03
  26  Prefactor     20.819        8.1532        .38594E-06    .58168E-04
  27  norm          2.3421        2.6634       -.29196E-08   -.41840E-04
  28  Normalizat    .92679        .15993        .10781E-06   -.30866E-03
  29  Prefactor     .76230        .17617       -.98402E-06   -.19887E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.635
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.57087
  Prefactor  = 0.0001
  Prefactor  = 74.0091
  norm       = 0.268462
  norm       = 2.44073
  norm       = 1.18528
  Prefactor  = 0.000100039
  Prefactor  = 42.599
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.2363
  Prefactor  = 0.0001
  Prefactor  = 16.1801
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.24378
  Prefactor  = 0.0001
  Prefactor  = 0.000101545
  norm       = 2.02184
  Prefactor  = 0.0001
  Prefactor  = 11.4984
  Prefactor  = 20.8191
  norm       = 2.34211
  Normalizat = 0.926788
  Prefactor  = 0.762305
 **********
 **   18 **HESSE 
 **********

 FCN=   5945.447     FROM HESSE     STATUS=OK           553 CALLS     4222 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.635        46.998        .64484E-04   -1.4464    
   2  Prefactor     .10000E-03    11.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    35.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.5709        4.8590        .12726E-03   -1.5158    
   5  Prefactor     .10000E-03    28.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     74.009        45.950        .46667E-04   -1.3985    
   7  norm          .26846        .54429        .20572E-03   -1.5604    
   8  norm          2.4407        505.31        .26271E-03   -1.5396    
   9  norm          1.1853        4.6872        .29290E-03   -1.5490    
  10  Prefactor     .10004E-03    399.25        .19989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     42.599        38.479        .61414E-04   -1.4402    
  12  Prefactor     .10000E-03    16.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.9595        .10498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    54.021        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.2363        2.7342        .10080E-03   -1.5348    
  16  Prefactor     .10000E-03    30.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.180        25.043        .99565E-04   -1.4903    
  18  Prefactor     .10000E-03    17.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.2438        19.302        .22538E-03   -1.5348    
  21  Prefactor     .10000E-03    7.6858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10154E-03    106.52        .46547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.0218        1.1739        .61234E-04   -1.5424    
  24  Prefactor     .10000E-03    4.4100        .15692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     11.498        6.1925        .11815E-03   -1.5030    
  26  Prefactor     20.819        8.1771        .43891E-03   -1.4795    
  27  norm          2.3421        2.6623        .13076E-03   -1.5402    
  28  Normalizat    .92679        .19168        .21131E-03   -.95525    
  29  Prefactor     .76230        .20943        .26753E-03   -1.0113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37828e-08
Minuit parameter uncertainties:
  1  47.0429
  2  5.82917e-06
  3  0.000110522
  4  4.85923
  5  4.79988e-05
  6  45.9721
  7  0.544303
  8  70.8505
  9  4.68868
  10  0.00791751
  11  38.5014
  12  4.21437e-05
  13  7.04724e-07
  14  1.45194e-05
  15  2.7343
  16  1.67708e-05
  17  25.059
  18  3.70674e-06
  19  1.65745e-05
  20  15.8327
  21  4.18874e-06
  22  0.0257025
  23  1.17393
  24  6.26242e-06
  25  6.19283
  26  8.17754
  27  2.66247
  28  0.19182
  29  0.209652
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.618e+01  2.506e+01  1.000e-04  1.000e+04 ( 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:  7.623e-01  2.097e-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.268e-01  1.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/555496/likelihoodResults_671673601_671932801_4FGL_J1428.9+5406_daily_bin1668.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) = 5945.27329438
delta logL = 0.173853571149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5945.26352838
delta logL = 0.183619571342

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2710       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2994       1.0000          .0000       10.000    
     3 'Normalizat'    .91263       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77462       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5945.264     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      279 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2720        67.289        .14875E-03    .17433E-03
   2  Index         3.2995        3.1476        .79664E-02    .74151E-04
   3  Normalizat    .91263        .18031        .21270E-03    .11176E-03
   4  Prefactor     .77463        .20825        .26560E-03    .66732E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.27196
  Index      = 3.29946
  Normalizat = 0.91263
  Prefactor  = 0.774626
 **********
 **   18 **HESSE 
 **********

 FCN=   5945.264     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2720        18.896        .59500E-05   -1.5169    
   2  Index         3.2995        1.4469        .31866E-03   -.34703    
   3  Normalizat    .91263        .18016        .85081E-05   -.96018    
   4  Prefactor     .77463        .20685        .10624E-04   -1.0067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.04265e-11
Minuit parameter uncertainties:
  1  18.9113
  2  1.47078
  3  0.180278
  4  0.207058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555496': 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) = 5945.26352835
delta logL = 0.183619598004

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  7.272e+00  1.891e+01  1.000e-04  1.000e+04 ( 1.000e-13)
347        Index:  3.299e+00  1.471e+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:  7.746e-01  2.071e-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.126e-01  1.803e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.60
Ra Dec: 217.229 54.111

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/555496/cmap_HighResolution_671673601_671932801_4FGL_J1428.9+5406_daily_bin1668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.25e-03', job_status='DONE', photon_flux_upper_limit='9.28e-08', time_completed='2022-04-18 03:28:11.238076', job_id='555496', GAL2='0.77', fit_tolerance='1e-08', EG2='0.91', EG='0.93', time_epoch_completed='1650277691.24', return_code2='0', ts='0.60', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.84e-01', ts2='0.99', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1668' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Apr 18 03:28:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 555496: <4FGL_J1428.9+5406_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin1668> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Apr 18 00:07:33 2022
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 02:59:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 02:59:46 2022
Terminated at Mon Apr 18 03:28:13 2022
Results reported at Mon Apr 18 03:28:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin1668 217.229 54.1114 671673601 671932801 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 :                                   1649.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             331.02 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1706 sec.
    Turnaround time :                            12040 sec.

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

