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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin1751
RA = 217.203, Dec = 74.485
tmin = 693187201, tmax = 693446401
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='80299', job_status='RUN', time_executed='2022-12-23 00:51:19.068985', time_epoch_executed='1671785479.07' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/80299

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/80299/ft1_4FGL_J1428.8+7429_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/80299/ft2_4FGL_J1428.8+7429_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/80299/ft1_4FGL_J1428.8+7429_daily_bin1751.fits outfile=/scratch/kocevski/80299/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1751.fits ra=217.203 dec=74.485 rad=12.0 tmin=693187201.0 tmax=693446401.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.63
user 3.40
sys 0.22

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

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

Number of photons that the gtmktime cut: 753

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/80299/ft1_filtered_4FGL_J1428.8+7429_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/80299/ft2_4FGL_J1428.8+7429_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/80299/ltcube_693187201_693446401_4FGL_J1428.8+7429_daily_bin1751.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/80299/ft2_4FGL_J1428.8+7429_daily_bin1751.fits
.....................!
real 12.04
user 11.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/80299/ft1_filtered_4FGL_J1428.8+7429_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/80299/ft2_4FGL_J1428.8+7429_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/80299/ltcube_693187201_693446401_4FGL_J1428.8+7429_daily_bin1751.fits outfile=/scratch/kocevski/80299/expmap_693187201_693446401_4FGL_J1428.8+7429_daily_bin1751.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/80299/ltcube_693187201_693446401_4FGL_J1428.8+7429_daily_bin1751.fits
.....................!
real 190.34
user 185.75
sys 4.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/80299/ft1_filtered_4FGL_J1428.8+7429_daily_bin1751.fits scfile=/scratch/kocevski/80299/ft2_4FGL_J1428.8+7429_daily_bin1751.fits outfile=/scratch/kocevski/80299/cmap_693187201_693446401_4FGL_J1428.8+7429_daily_bin1751.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/80299/ft1_filtered_4FGL_J1428.8+7429_daily_bin1751.fits scfile=/scratch/kocevski/80299/ft2_4FGL_J1428.8+7429_daily_bin1751.fits outfile=/scratch/kocevski/80299/cmap_HighResolution_693187201_693446401_4FGL_J1428.8+7429_daily_bin1751.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/80299/ft1_filtered_4FGL_J1428.8+7429_daily_bin1751.fits', '/scratch/kocevski/80299/ft2_4FGL_J1428.8+7429_daily_bin1751.fits', expMap='/scratch/kocevski/80299/expmap_693187201_693446401_4FGL_J1428.8+7429_daily_bin1751.fits', expCube='/scratch/kocevski/80299/ltcube_693187201_693446401_4FGL_J1428.8+7429_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/80299/Model_4FGL_J1428.8+7429_daily_bin1751.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/80299/ft1_filtered_4FGL_J1428.8+7429_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/80299/ft2_4FGL_J1428.8+7429_daily_bin1751.fits
Exposure map: /scratch/kocevski/80299/expmap_693187201_693446401_4FGL_J1428.8+7429_daily_bin1751.fits
Exposure cube: /scratch/kocevski/80299/ltcube_693187201_693446401_4FGL_J1428.8+7429_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/80299/Model_4FGL_J1428.8+7429_daily_bin1751.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) = 8058.88457081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.713       1.0000          .0000       .10000E+07
     2 'Prefactor '    .40949E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.9445       1.0000          .0000       .10000E+07
     4 'norm      '    6.5117       1.0000          .0000       .10000E+07
     5 'Prefactor '    .40910E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87595E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .96622       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16235E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .81907E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    8.2042       1.0000          .0000       .10000E+07
    11 'Prefactor '    16.451       1.0000          .0000       .10000E+07
    12 'Prefactor '    .30930E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13469       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.262       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34045E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12925E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .42677E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .16923E-02   1.0000          .0000       .10000E+07
    19 'norm      '    4.3397       1.0000          .0000       .10000E+07
    20 'Prefactor '    .48450       1.0000          .0000       .10000E+07
    21 'Prefactor '    .56402E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    .84877E-07   1.0000          .0000       .10000E+07
    23 'Prefactor '    28.755       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0724       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .88483       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=   8058.843     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1602 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.765        11.066        .13865E-07    .14694E-01
   2  Prefactor     .44548E-06    20.435        .24787E-06** at limit **
   3  norm          1.9503        2.9521       -.32339E-07    .18575E-03
   4  norm          6.5039        3.3156       -.14533E-07   -.80013E-03
   5  Prefactor     .62966E-06    22.047        .22002E-06** at limit **
   6  Prefactor     .13317E-06    10.780       -.20077E-06** at limit **
   7  Prefactor     .97419        .46529        .52633E-08   -.10242E-02
   8  Prefactor      .0000        21.706       -.11038E-06** at limit **
   9  Prefactor      .0000        2.2897       -.23691E-06** at limit **
  10  Prefactor     8.4755        10.986        .77198E-07    .38580E-01
  11  Prefactor     16.464        2.2247       -.94309E-08   -.11534E-01
  12  Prefactor     .12956E-06    5.2205       -.25988E-06** at limit **
  13  Prefactor      .0000        34.601       -.88850E-07** at limit **
  14  Prefactor     11.268        1.3648       -.86977E-09   -.92602E-02
  15  Prefactor      .0000        5.6731        .90609E-07** at limit **
  16  Prefactor     .14722E-06    4.8431       -.31586E-06** at limit **
  17  Prefactor     .53402E-07    13.361       -.14170E-06** at limit **
  18  Prefactor     .37337E-06    6.7158       -.35195E-06** at limit **
  19  norm          4.3508        5.2755        .48129E-07    .77928E-02
  20  Prefactor     .60986E-05    25.807        .16880E-06** at limit **
  21  Prefactor     .49960E-09    5.6610       -.37732E-06** at limit **
  22  Prefactor      .0000        1.0263       -.89024E-07** at limit **
  23  Prefactor     28.875        1.5998        .29543E-08   -.25093E-02
  24  Normalizat    1.0718        .15976       -.28373E-05   -.12960E-04
  25  Prefactor     .88494        .13546        .35206E-05   -.41304E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.7651
  Prefactor  = 4.45477e-07
  norm       = 1.95028
  norm       = 6.5039
  Prefactor  = 6.29663e-07
  Prefactor  = 1.33171e-07
  Prefactor  = 0.974195
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.47552
  Prefactor  = 16.464
  Prefactor  = 1.29563e-07
  Prefactor  = 0
  Prefactor  = 11.2685
  Prefactor  = 0
  Prefactor  = 1.47216e-07
  Prefactor  = 5.34017e-08
  Prefactor  = 3.73368e-07
  norm       = 4.35081
  Prefactor  = 6.09857e-06
  Prefactor  = 4.996e-10
  Prefactor  = 0
  Prefactor  = 28.8747
  Normalizat = 1.07181
  Prefactor  = 0.884945
 **********
 **   18 **HESSE 
 **********

 FCN=   8058.843     FROM HESSE     STATUS=OK           469 CALLS     2071 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.765        11.199        .21979E-03   -1.5617    
   2  Prefactor     .44548E-06    42.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.9503        2.9757        .74411E-03   -1.5680    
   4  norm          6.5039        3.3230        .39305E-03   -1.5657    
   5  Prefactor     .62966E-06    42.521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13317E-06    12.125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .97419        27.765        .42566E-03   -1.5688    
   8  Prefactor      .0000        21.648        .17298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.2779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.4755        14.482        .34978E-03   -1.5650    
  11  Prefactor     16.464        15.366        .24667E-03   -1.5627    
  12  Prefactor     .12956E-06    13.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        34.551        .13078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.268        11.253        .29828E-03   -1.5641    
  15  Prefactor      .0000        5.6749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .14722E-06    14.529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .53402E-07    20.229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .37337E-06    17.587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.3508        14.811        .48329E-03   -1.5666    
  20  Prefactor     .60986E-05    87.114        .80284E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .49960E-09    15.788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        1.0249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     28.875        21.249        .18652E-03   -1.5600    
  24  Normalizat    1.0718        .14449        .39256E-01   -.90662    
  25  Prefactor     .88494        .12271        .44811E-01   -.96669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23548e-07
Minuit parameter uncertainties:
  1  11.1989
  2  0.00865282
  3  2.97568
  4  3.32304
  5  0.0103487
  6  0.00254161
  7  10.4016
  8  3.39497e-05
  9  6.36789e-06
  10  14.4822
  11  15.3661
  12  0.00267338
  13  2.08011e-05
  14  11.2528
  15  5.37501e-06
  16  0.00292472
  17  0.00207871
  18  0.00512516
  19  14.811
  20  0.0460993
  21  0.00018173
  22  1.36589e-06
  23  21.2495
  24  0.144541
  25  0.122751
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  0.000e+00  2.080e-05  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:  8.849e-01  1.228e-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.072e+00  1.445e-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.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/80299/likelihoodResults_693187201_693446401_4FGL_J1428.8+7429_daily_bin1751.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) = 8058.85725162
delta logL = -0.0138506546809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8058.84340096
delta logL = -2.11821316043e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8058.792     FROM MIGRAD    STATUS=CONVERGED    218 CALLS      382 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .87040E-01    1.4265        .78328E-05** at limit **
   2  Index         3.6160        .19768        .30018       -.66517E-04
   3  Normalizat    1.0592        .98991E-02    .24085E-03   -.33859E-03
   4  Prefactor     .89005        .84522E-02    .22124E-03   -.39517E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0870398
  Index      = 3.61599
  Normalizat = 1.05922
  Prefactor  = 0.890048
 **********
 **   18 **HESSE 
 **********

 FCN=   8058.792     FROM HESSE     STATUS=OK            27 CALLS      409 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .87040E-01    64.471        .31331E-06   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6160        6.2116        .13794E-02   -.28046    
   3  Normalizat    1.0592        .16687        .48170E-04   -.91072    
   4  Prefactor     .89005        .13920        .44247E-04   -.96490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43964e-08
Minuit parameter uncertainties:
  1  4.7378
  2  14.7526
  3  0.166948
  4  0.139251
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/80299': 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) = 8058.79239015
delta logL = 0.0510108087437

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  8.704e-02  4.738e+00  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  3.616e+00  1.475e+01  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.900e-01  1.393e-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.059e+00  1.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 217.203 74.485

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/80299/cmap_HighResolution_693187201_693446401_4FGL_J1428.8+7429_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.28e-03', job_status='DONE', photon_flux_upper_limit='3.08e-08', time_completed='2022-12-23 01:05:07.815384', job_id='80299', GAL2='0.89', fit_tolerance='1e-08', EG2='1.06', EG='1.07', time_epoch_completed='1671786307.82', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='5.10e-02', ts2='0.11', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='1751' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:05:07 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 80299: <4FGL_J1428.8+7429_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:50:14 2022
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:50:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:50:15 2022
Terminated at Fri Dec 23 01:05:08 2022
Results reported at Fri Dec 23 01:05:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1751 217.203 74.485 693187201 693446401 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 :                                   830.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            894 sec.

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

