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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin1772
RA = 217.229, Dec = 54.1114
tmin = 698630401, tmax = 698889601
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='636947', job_status='RUN', time_executed='2023-02-24 01:56:02.697451', time_epoch_executed='1677232562.7' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636947

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636947/ft1_4FGL_J1428.9+5406_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636947/ft2_4FGL_J1428.9+5406_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636947/ft1_4FGL_J1428.9+5406_daily_bin1772.fits outfile=/scratch/kocevski/636947/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1772.fits ra=217.229 dec=54.1114 rad=12.0 tmin=698630401.0 tmax=698889601.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.00
user 2.80
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636947/ft1_filtered_4FGL_J1428.9+5406_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/636947/ft2_4FGL_J1428.9+5406_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/636947/ltcube_698630401_698889601_4FGL_J1428.9+5406_daily_bin1772.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/636947/ft2_4FGL_J1428.9+5406_daily_bin1772.fits
.....................!
real 12.62
user 12.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636947/ft1_filtered_4FGL_J1428.9+5406_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/636947/ft2_4FGL_J1428.9+5406_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/636947/ltcube_698630401_698889601_4FGL_J1428.9+5406_daily_bin1772.fits outfile=/scratch/kocevski/636947/expmap_698630401_698889601_4FGL_J1428.9+5406_daily_bin1772.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/636947/ltcube_698630401_698889601_4FGL_J1428.9+5406_daily_bin1772.fits
.....................!
real 190.51
user 185.12
sys 5.01

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/636947/ft1_filtered_4FGL_J1428.9+5406_daily_bin1772.fits scfile=/scratch/kocevski/636947/ft2_4FGL_J1428.9+5406_daily_bin1772.fits outfile=/scratch/kocevski/636947/cmap_698630401_698889601_4FGL_J1428.9+5406_daily_bin1772.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/636947/ft1_filtered_4FGL_J1428.9+5406_daily_bin1772.fits scfile=/scratch/kocevski/636947/ft2_4FGL_J1428.9+5406_daily_bin1772.fits outfile=/scratch/kocevski/636947/cmap_HighResolution_698630401_698889601_4FGL_J1428.9+5406_daily_bin1772.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.54
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67974E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    45.221       1.0000          .0000       .10000E+07
     3 'norm      '    1.5338       1.0000          .0000       .10000E+07
     4 'Prefactor '    .78022E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .70671       1.0000          .0000       .10000E+07
     6 'norm      '    .88074E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13294E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .80154E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .30320       1.0000          .0000       .10000E+07
    10 'Prefactor '    .53467E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.7042       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.941       1.0000          .0000       .10000E+07
    13 'Prefactor '    .63106E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.6128       1.0000          .0000       .10000E+07
    15 'Prefactor '    7.0535       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.864       1.0000          .0000       .10000E+07
    17 'norm      '    3.8358       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.5862       1.0000          .0000       .10000E+07
    19 'Prefactor '    5.2467       1.0000          .0000       .10000E+07
    20 'Prefactor '    .18442E-01   1.0000          .0000       .10000E+07
    21 'norm      '    3.4116       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.2200       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .71763       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=   7729.511     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1868 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30698E-07    68.495        .22331E-05** at limit **
   2  Prefactor     44.730        3.4038        .14990E-06   -.47075E-01
   3  norm          1.5333        2.8862       -.49458E-06   -.19605E-03
   4  Prefactor     .61617E-08    30.382       -.20234E-05** at limit **
   5  norm          .70555        1.2043        .25531E-07    .43140E-03
   6  norm           .0000        1.0261        .53448E-07** at limit **
   7  Prefactor     .48850E-08    12.590       -.24543E-05** at limit **
   8  Prefactor     .22760E-08    9.6416       -.23198E-06** at limit **
   9  Prefactor     .32424        12.765       -.21356E-05   -.89970E-04
  10  Prefactor      .0000        6.2349       -.11343E-05** at limit **
  11  Prefactor     1.7041        1.9546       -.36428E-06   -.58760E-04
  12  Prefactor     21.989        2.3891       -.85532E-07   -.18329E-01
  13  Prefactor     .88818E-09    36.921        .23833E-05** at limit **
  14  Prefactor     3.0317        2.5573       -.43396E-07   -.92147E-04
  15  Prefactor     7.0737        2.8383        .94220E-07    .34413E-01
  16  Prefactor     10.846        12.895       -.97949E-06   -.62679E-02
  17  norm          3.8365        1.4081       -.15834E-07    .38016E-03
  18  Prefactor     6.4147        8.7665       -.33291E-06    .18880E-03
  19  Prefactor     5.2603        4.1450       -.17601E-06   -.11675E-02
  20  Prefactor      .0000        54.239       -.11315E-05** at limit **
  21  norm          3.4030        3.1485       -.10085E-07    .10333E-02
  22  Normalizat    1.2205        .16622       -.51953E-05   -.87563E-04
  23  Prefactor     .71791        .18675       -.19050E-05   -.41315E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.06977e-08
  Prefactor  = 44.7299
  norm       = 1.53325
  Prefactor  = 6.16174e-09
  norm       = 0.705547
  norm       = 0
  Prefactor  = 4.88498e-09
  Prefactor  = 2.27596e-09
  Prefactor  = 0.324235
  Prefactor  = 0
  Prefactor  = 1.7041
  Prefactor  = 21.9891
  Prefactor  = 8.88178e-10
  Prefactor  = 3.03171
  Prefactor  = 7.07366
  Prefactor  = 10.8459
  norm       = 3.83648
  Prefactor  = 6.41468
  Prefactor  = 5.2603
  Prefactor  = 0
  norm       = 3.40303
  Normalizat = 1.2205
  Prefactor  = 0.717915
 **********
 **   18 **HESSE 
 **********

 FCN=   7729.511     FROM HESSE     STATUS=OK           434 CALLS     2302 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30698E-07    68.969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     44.730        41.765        .14872E-03   -1.5574    
   3  norm          1.5333        2.9313        .86117E-03   -1.5683    
   4  Prefactor     .61617E-08    30.686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .70555        1.2216        .60166E-03   -1.5691    
   6  norm           .0000        1.0294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .48850E-08    12.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22760E-08    9.6867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32424        2.3704        .72216E-02   -1.5697    
  10  Prefactor      .0000        6.3226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.7041        2.2572        .80528E-03   -1.5682    
  12  Prefactor     21.989        24.393        .21354E-03   -1.5614    
  13  Prefactor     .88818E-09    37.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0317        53.680        .53132E-03   -1.5673    
  15  Prefactor     7.0737        15.940        .37748E-03   -1.5655    
  16  Prefactor     10.846        12.940        .30372E-03   -1.5642    
  17  norm          3.8365        1.4233        .51506E-03   -1.5669    
  18  Prefactor     6.4147        9.4882        .39079E-03   -1.5657    
  19  Prefactor     5.2603        4.1495        .43859E-03   -1.5662    
  20  Prefactor      .0000        2.4265        .10304E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.4030        3.1485        .54745E-03   -1.5671    
  22  Normalizat    1.2205        .14712        .34418E-01   -.85972    
  23  Prefactor     .71791        .16268        .66654E-01   -1.0283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.576e-07
Minuit parameter uncertainties:
  1  0.00291089
  2  41.7652
  3  2.93133
  4  0.000870755
  5  1.22161
  6  4.55333e-06
  7  0.000496859
  8  0.000297924
  9  1.75335
  10  2.15601e-07
  11  2.25722
  12  24.3927
  13  0.000370045
  14  25.5143
  15  15.9405
  16  12.94
  17  1.42326
  18  9.48818
  19  4.14953
  20  1.16431e-07
  21  3.14852
  22  0.147172
  23  0.162791
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  2.199e+01  2.439e+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:  7.179e-01  1.628e-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.221e+00  1.472e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.37
Ra Dec: 217.229 54.111
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 3.43e-08
Energy Flux (Fixed Index): 8.33e-06 +/- 9.24e-06

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

Saving results to:
/scratch/kocevski/636947/likelihoodResults_698630401_698889601_4FGL_J1428.9+5406_daily_bin1772.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) = 7729.27723966
delta logL = 0.233684790448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7729.2646155
delta logL = 0.246308944535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.477       1.0000          .0000       .10000E+07
     2 'Index     '    3.3111       1.0000          .0000       10.000    
     3 'Normalizat'    1.1966       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73804       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=   7729.265     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      272 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.477        201.25        .30929E-03    .41868E-02
   2  Index         3.3117        3.8049        .13288        .16601E-03
   3  Normalizat    1.1967        .50520E-01    .34976E-01    .11106E-05
   4  Prefactor     .73768        .54111E-01    .65849E-01    .26829E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4775
  Index      = 3.31167
  Normalizat = 1.19675
  Prefactor  = 0.737676
 **********
 **   18 **HESSE 
 **********

 FCN=   7729.265     FROM HESSE     STATUS=OK            33 CALLS      305 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.477        171.59        .12372E-04   -1.5643    
   2  Index         3.3117        6.6278        .72439E-02   -.34444    
   3  Normalizat    1.1967        .18472        .20637E-03   -.86703    
   4  Prefactor     .73768        .20931        .29133E-03   -1.0207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06837e-07
Minuit parameter uncertainties:
  1  84.8046
  2  5.06667
  3  0.18482
  4  0.209531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636947': 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) = 7729.26461212
delta logL = 0.24631233032

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.048e+01  8.480e+01  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  3.312e+00  5.067e+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.377e-01  2.095e-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.197e+00  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.91
Ra Dec: 217.229 54.111
Photon Index (Free Index): 3.31 +/- 5.07
Photon Flux (Free Index): 4.74e-08 +/- 4.28e-08
Energy Flux (Free Index): 8.33e-06 +/- 1.26e-05

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/636947/cmap_HighResolution_698630401_698889601_4FGL_J1428.9+5406_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.29e-03', comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='8.33e-06', photon_flux_error='3.43e-08', dlogl='2.46e-01', energy_flux='8.33e-06', photon_flux2='4.74e-08', job_status='DONE', time_completed='2023-02-24 02:08:53.198605', photon_index_error2='5.07', photon_index2='3.31', ts='1.37', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='9.33e-08', energy_flux_error2='1.26e-05', EG='1.22', time_epoch_completed='1677233333.2', return_code='0', job_id='636947', GAL2='0.74', EG2='1.20', return_code2='0', energy_flux_error='9.24e-06', photon_flux_error2='4.28e-08', ts2='1.91', photon_index='2.57' WHERE bin_id='1772' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 02:08:53 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 636947: <4FGL_J1428.9+5406_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin1772> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 24 01:55:18 2023
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:55:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:55:18 2023
Terminated at Fri Feb 24 02:08:53 2023
Results reported at Fri Feb 24 02:08:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin1772 217.229 54.1114 698630401 698889601 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 :                                   772.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             345.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            815 sec.

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

