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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin1767
RA = 217.203, Dec = 74.485
tmin = 697334401, tmax = 697593601
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='80407', job_status='RUN', time_executed='2023-02-09 01:23:02.308311', time_epoch_executed='1675934582.31' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/80407

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/80407/ft1_4FGL_J1428.8+7429_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/80407/ft2_4FGL_J1428.8+7429_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/80407/ft1_4FGL_J1428.8+7429_daily_bin1767.fits outfile=/scratch/kocevski/80407/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1767.fits ra=217.203 dec=74.485 rad=12.0 tmin=697334401.0 tmax=697593601.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.65
user 3.37
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/80407/ft2_4FGL_J1428.8+7429_daily_bin1767.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/80407/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1767.fits evtable="EVENTS" outfile="/scratch/kocevski/80407/ft1_filtered_4FGL_J1428.8+7429_daily_bin1767.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 715

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/80407/ft1_filtered_4FGL_J1428.8+7429_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/80407/ft2_4FGL_J1428.8+7429_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/80407/ltcube_697334401_697593601_4FGL_J1428.8+7429_daily_bin1767.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/80407/ft2_4FGL_J1428.8+7429_daily_bin1767.fits
.....................!
real 16.23
user 15.74
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/80407/ft1_filtered_4FGL_J1428.8+7429_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/80407/ft2_4FGL_J1428.8+7429_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/80407/ltcube_697334401_697593601_4FGL_J1428.8+7429_daily_bin1767.fits outfile=/scratch/kocevski/80407/expmap_697334401_697593601_4FGL_J1428.8+7429_daily_bin1767.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/80407/ltcube_697334401_697593601_4FGL_J1428.8+7429_daily_bin1767.fits
.....................!
real 193.94
user 187.82
sys 5.28

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 218 point sources and 0 extended sources

Setting source of interest to:
4FGL J1428.8+7429 @ 217.203 74.485

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/80407/ft1_filtered_4FGL_J1428.8+7429_daily_bin1767.fits scfile=/scratch/kocevski/80407/ft2_4FGL_J1428.8+7429_daily_bin1767.fits outfile=/scratch/kocevski/80407/cmap_697334401_697593601_4FGL_J1428.8+7429_daily_bin1767.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=217.203 yref=74.485 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/80407/ft1_filtered_4FGL_J1428.8+7429_daily_bin1767.fits scfile=/scratch/kocevski/80407/ft2_4FGL_J1428.8+7429_daily_bin1767.fits outfile=/scratch/kocevski/80407/cmap_HighResolution_697334401_697593601_4FGL_J1428.8+7429_daily_bin1767.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=217.203 yref=74.485 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/80407/ft1_filtered_4FGL_J1428.8+7429_daily_bin1767.fits', '/scratch/kocevski/80407/ft2_4FGL_J1428.8+7429_daily_bin1767.fits', expMap='/scratch/kocevski/80407/expmap_697334401_697593601_4FGL_J1428.8+7429_daily_bin1767.fits', expCube='/scratch/kocevski/80407/ltcube_697334401_697593601_4FGL_J1428.8+7429_daily_bin1767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/80407/Model_4FGL_J1428.8+7429_daily_bin1767.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1428.8+7429'

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  2.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  1.859e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/80407/ft1_filtered_4FGL_J1428.8+7429_daily_bin1767.fits
Spacecraft file(s): /scratch/kocevski/80407/ft2_4FGL_J1428.8+7429_daily_bin1767.fits
Exposure map: /scratch/kocevski/80407/expmap_697334401_697593601_4FGL_J1428.8+7429_daily_bin1767.fits
Exposure cube: /scratch/kocevski/80407/ltcube_697334401_697593601_4FGL_J1428.8+7429_daily_bin1767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/80407/Model_4FGL_J1428.8+7429_daily_bin1767.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) = 7629.63836285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.198       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11349E-01   1.0000          .0000       .10000E+07
     3 'norm      '    9.1958       1.0000          .0000       .10000E+07
     4 'norm      '    1.3922       1.0000          .0000       .10000E+07
     5 'Prefactor '    .48479E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .20228E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .10988E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11364E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .76994E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15339E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .29004E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10741E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .25647E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .39403E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.6960       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10593E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25665E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    42.706       1.0000          .0000       .10000E+07
    19 'norm      '    1.5315       1.0000          .0000       .10000E+07
    20 'Prefactor '    .79404E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    32.469       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32211       1.0000          .0000       .10000E+07
    23 'Prefactor '    17.671       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0730       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .77672       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7629.633     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2152 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.219        9.0864       -.21905E-06   -.20182E-01
   2  Prefactor     .16653E-09    15.913       -.15500E-06** at limit **
   3  norm          9.1948        5.1761        .17230E-06    .67499E-03
   4  norm          1.3915        2.5297        .27861E-06    .48333E-03
   5  Prefactor     .32307E-07    51.336       -.44760E-06** at limit **
   6  Prefactor     .33018E-06    6.4046       -.69591E-06** at limit **
   7  Prefactor     .11102E-08    5.1427       -.20374E-06** at limit **
   8  Prefactor     .40190E-06    5.6986       -.56216E-06** at limit **
   9  Prefactor      .0000        2.3637       -.15483E-07** at limit **
  10  Prefactor     .11102E-09    4.3505        .10624E-06** at limit **
  11  Prefactor     .87708E-08    8.4552       -.39840E-06** at limit **
  12  Prefactor     .55900E-07    18.514       -.13805E-05** at limit **
  13  Prefactor     .32687E-05    16.153       -.11262E-05** at limit **
  14  Prefactor     .77716E-09    5.9265       -.39068E-06** at limit **
  15  Prefactor     5.6491        1.2994        .74449E-08   -.95392E-03
  16  Prefactor     .58731E-07    79.916        .17466E-05** at limit **
  17  Prefactor     .32036E-05    20.460       -.33311E-06** at limit **
  18  Prefactor     42.675        1.3930        .26545E-07   -.13695E-01
  19  norm          1.5439        15.405        .95423E-06    .10196E-01
  20  Prefactor     .11824E-07    9.6899       -.82441E-06** at limit **
  21  Prefactor     32.470        1.1941        .20654E-07   -.45686E-02
  22  Prefactor     .32166        3.6321       -.21541E-06    .34497E-03
  23  Prefactor     17.665        2.2230       -.26130E-07   -.10734E-01
  24  Normalizat    1.0731        .15998       -.35695E-05    .10278E-04
  25  Prefactor     .77671        .13646        .64102E-05    .15798E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.2192
  Prefactor  = 1.66533e-10
  norm       = 9.19479
  norm       = 1.39147
  Prefactor  = 3.23075e-08
  Prefactor  = 3.3018e-07
  Prefactor  = 1.11022e-09
  Prefactor  = 4.01901e-07
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 8.77076e-09
  Prefactor  = 5.58997e-08
  Prefactor  = 3.26866e-06
  Prefactor  = 7.77156e-10
  Prefactor  = 5.64906
  Prefactor  = 5.87308e-08
  Prefactor  = 3.2036e-06
  Prefactor  = 42.6755
  norm       = 1.54388
  Prefactor  = 1.18239e-08
  Prefactor  = 32.4697
  Prefactor  = 0.321664
  Prefactor  = 17.6648
  Normalizat = 1.07309
  Prefactor  = 0.77671
 **********
 **   18 **HESSE 
 **********

 FCN=   7629.633     FROM HESSE     STATUS=OK           475 CALLS     2627 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.219        9.2245        .23451E-03   -1.5623    
   2  Prefactor     .16653E-09    17.035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.1948        5.1736        .33026E-03   -1.5647    
   4  norm          1.3915        2.5777        .92042E-03   -1.5684    
   5  Prefactor     .32307E-07    51.058        .15602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33018E-06    10.869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-08    5.1604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .40190E-06    10.353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.3429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    4.3693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .87708E-08    8.5348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55900E-07    20.378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .32687E-05    32.287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .77716E-09    5.9393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.6491        32.658        .42064E-03   -1.5660    
  16  Prefactor     .58731E-07    79.960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .32036E-05    35.225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     42.675        31.820        .15304E-03   -1.5577    
  19  norm          1.5439        18.836        .86204E-03   -1.5683    
  20  Prefactor     .11824E-07    57.713        .14519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.470        36.594        .17552E-03   -1.5594    
  22  Prefactor     .32166        1.2202        .48917E-02   -1.5719    
  23  Prefactor     17.665        17.376        .23799E-03   -1.5624    
  24  Normalizat    1.0731        .14322        .39225E-01   -.90621    
  25  Prefactor     .77671        .12029        .43414E-01   -1.0059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90583e-07
Minuit parameter uncertainties:
  1  9.2245
  2  9.77533e-05
  3  5.17359
  4  2.5777
  5  0.00256773
  6  0.00378879
  7  0.000151071
  8  0.00407959
  9  8.38139e-06
  10  4.64597e-05
  11  0.000547078
  12  0.002135
  13  0.0205462
  14  0.000136036
  15  27.1655
  16  0.00433351
  17  0.021246
  18  31.8199
  19  10.7853
  20  0.00165075
  21  36.5938
  22  1.22019
  23  17.3757
  24  0.143271
  25  0.120328
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  3.269e-06  2.055e-02  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  1.859e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  7.767e-01  1.203e-01  0.000e+00  1.000e+01 ( 1.000e+00)
695        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
696        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
693   Normalization:  1.073e+00  1.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 217.203 74.485
Photon Flux Upper Limit: 3.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/80407/likelihoodResults_697334401_697593601_4FGL_J1428.8+7429_daily_bin1767.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) = 7629.64803104
delta logL = -0.0148077474969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7629.63322347
delta logL = -1.82839357876e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7628.691     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      247 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53055E-02    .76595E-01   -.77977E-07** at limit **
   2  Index         4.7613        1.9210        .54170E-04   -.86961E-04
   3  Normalizat    1.0007        .16201        .15389E-05    .53182E-04
   4  Prefactor     .81329        .13553       -.24576E-05    .10176E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00530551
  Index      = 4.76133
  Normalizat = 1.00068
  Prefactor  = 0.813288
 **********
 **   18 **HESSE 
 **********

 FCN=   7628.691     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      282 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53055E-02    .52047E-01    .11022E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.7613        1.1886        .71907E-01   -.47753E-01
   3  Normalizat    1.0007        .30426E-01    .39219E-01   -.93008    
   4  Prefactor     .81329        .25989E-01    .43413E-01   -.99240    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.30006e-10
Minuit parameter uncertainties:
  1  0.0332347
  2  1.20007
  3  0.0304262
  4  0.0259894
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/80407': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7628.69088612
delta logL = 0.942337169883

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  5.306e-03  3.323e-02  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  4.761e+00  1.200e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  8.133e-01  2.599e-02  0.000e+00  1.000e+01 ( 1.000e+00)
695        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
696        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
693   Normalization:  1.001e+00  3.043e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.03
Ra Dec: 217.203 74.485
Photon Index (Free Index): 4.76 +/- 1.20
Photon Flux (Free Index): 5.15e-08 +/- 8.37e-08
Energy Flux (Free Index): 6.99e-06 +/- 1.22e-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/80407/cmap_HighResolution_697334401_697593601_4FGL_J1428.8+7429_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.53e-03', comment='SUCCESS', energy_flux2='6.99e-06', dlogl='9.42e-01', photon_flux2='5.15e-08', job_status='DONE', time_completed='2023-02-09 01:36:57.958800', photon_index_error2='1.20', photon_index2='4.76', ts='-0.00', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='3.42e-08', energy_flux_error2='1.22e-05', EG='1.07', time_epoch_completed='1675935417.96', return_code='0', job_id='80407', GAL2='0.81', EG2='1.00', return_code2='102', photon_flux_error2='8.37e-08', ts2='2.03', photon_index='1.86' WHERE bin_id='1767' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 01:36:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 80407: <4FGL_J1428.8+7429_daily_bin1767> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin1767> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Feb  9 01:20:31 2023
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:21:10 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 01:21:10 2023
Terminated at Thu Feb  9 01:36:58 2023
Results reported at Thu Feb  9 01:36:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1767 217.203 74.485 697334401 697593601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1428.8+7429 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   835.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             316.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            987 sec.

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

