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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin1770
RA = 217.229, Dec = 54.1114
tmin = 698112001, tmax = 698371201
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='488967', job_status='RUN', time_executed='2023-02-18 01:01:55.889345', time_epoch_executed='1676710915.89' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/488967

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/488967/ft1_4FGL_J1428.9+5406_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/488967/ft2_4FGL_J1428.9+5406_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/488967/ft1_4FGL_J1428.9+5406_daily_bin1770.fits outfile=/scratch/kocevski/488967/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1770.fits ra=217.229 dec=54.1114 rad=12.0 tmin=698112001.0 tmax=698371201.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.44
user 3.22
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/488967/ft2_4FGL_J1428.9+5406_daily_bin1770.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/488967/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/488967/ft1_filtered_4FGL_J1428.9+5406_daily_bin1770.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.42
user 0.27
sys 0.14

Number of photons that the gtmktime cut: 434

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/488967/ft1_filtered_4FGL_J1428.9+5406_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/488967/ft2_4FGL_J1428.9+5406_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/488967/ltcube_698112001_698371201_4FGL_J1428.9+5406_daily_bin1770.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/488967/ft2_4FGL_J1428.9+5406_daily_bin1770.fits
.....................!
real 9.59
user 9.30
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/488967/ft1_filtered_4FGL_J1428.9+5406_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/488967/ft2_4FGL_J1428.9+5406_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/488967/ltcube_698112001_698371201_4FGL_J1428.9+5406_daily_bin1770.fits outfile=/scratch/kocevski/488967/expmap_698112001_698371201_4FGL_J1428.9+5406_daily_bin1770.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/488967/ltcube_698112001_698371201_4FGL_J1428.9+5406_daily_bin1770.fits
.....................!
real 146.64
user 142.80
sys 3.58

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/488967/ft1_filtered_4FGL_J1428.9+5406_daily_bin1770.fits scfile=/scratch/kocevski/488967/ft2_4FGL_J1428.9+5406_daily_bin1770.fits outfile=/scratch/kocevski/488967/cmap_698112001_698371201_4FGL_J1428.9+5406_daily_bin1770.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.45
user 0.31
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/488967/ft1_filtered_4FGL_J1428.9+5406_daily_bin1770.fits scfile=/scratch/kocevski/488967/ft2_4FGL_J1428.9+5406_daily_bin1770.fits outfile=/scratch/kocevski/488967/cmap_HighResolution_698112001_698371201_4FGL_J1428.9+5406_daily_bin1770.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.45
user 0.31
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    104.61       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17192       1.0000          .0000       .10000E+07
     3 'norm      '    .70220       1.0000          .0000       .10000E+07
     4 'Prefactor '    48.359       1.0000          .0000       .10000E+07
     5 'norm      '    .77567       1.0000          .0000       .10000E+07
     6 'norm      '    .19192E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30318       1.0000          .0000       .10000E+07
     8 'Prefactor '    24.802       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.0285       1.0000          .0000       .10000E+07
    10 'Prefactor '    .46139E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10070E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.084       1.0000          .0000       .10000E+07
    13 'Prefactor '    .33523E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .39005E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .76583E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .35552E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .72116       1.0000          .0000       .10000E+07
    18 'Prefactor '    .25328E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.8443       1.0000          .0000       .10000E+07
    20 'Prefactor '    .45631E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .11476E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0848       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84575       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=   4781.380     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1958 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     104.31        63.108       -.47016E-05    .18259E-01
   2  Prefactor     .94001E-05    33.777        .77673E-05** at limit **
   3  norm          .72007        8.5766       -.28402E-05   -.52019E-01
   4  Prefactor     48.290        15.472       -.17852E-05    .30150E-01
   5  norm          .77500        1.0945        .14218E-06   -.11638E-02
   6  norm          .38858E-09    3.5635        .72288E-06** at limit **
   7  Prefactor     .49921E-06    18.783        .52758E-05** at limit **
   8  Prefactor     24.834        6.7929       -.10331E-05   -.24876E-01
   9  Prefactor     8.0527        5.4909        .50574E-07   -.63632E-04
  10  Prefactor     .11852E-06    9.6206        .17932E-05** at limit **
  11  Prefactor     .55511E-10    2.0952       -.32450E-07** at limit **
  12  Prefactor     13.344        30.868       -.39502E-05    .10914E-01
  13  Prefactor     .11102E-09    30.924        .25324E-06** at limit **
  14  Prefactor     .93986E-06    13.072        .32354E-05** at limit **
  15  Prefactor     .13323E-08    4.2865       -.22056E-06** at limit **
  16  Prefactor     .22538E-07    5.7445        .36875E-06** at limit **
  17  norm          .72041        .72465        .65940E-08    .25610E-02
  18  Prefactor     .15766E-05    14.159       -.24037E-05** at limit **
  19  Prefactor     2.8897        6.8483        .28311E-06   -.23824E-02
  20  Prefactor     .15410E-06    10.339       -.94911E-06** at limit **
  21  norm          .55511E-10    2.4708        .10138E-05** at limit **
  22  Normalizat    1.0850        .21816        .22876E-04   -.64570E-05
  23  Prefactor     .84533        .24339       -.20873E-04    .64527E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 104.313
  Prefactor  = 9.40009e-06
  norm       = 0.720067
  Prefactor  = 48.2898
  norm       = 0.775004
  norm       = 3.88578e-10
  Prefactor  = 4.99212e-07
  Prefactor  = 24.8339
  Prefactor  = 8.05273
  Prefactor  = 1.18516e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 13.3439
  Prefactor  = 1.11022e-10
  Prefactor  = 9.39859e-07
  Prefactor  = 1.33227e-09
  Prefactor  = 2.25375e-08
  norm       = 0.720411
  Prefactor  = 1.57663e-06
  Prefactor  = 2.88965
  Prefactor  = 1.54099e-07
  norm       = 5.55112e-11
  Normalizat = 1.08503
  Prefactor  = 0.845334
 **********
 **   18 **HESSE 
 **********

 FCN=   4781.380     FROM HESSE     STATUS=OK           408 CALLS     2366 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     104.31        68.043        .97778E-04   -1.5504    
   2  Prefactor     .94001E-05    52.486        .12298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .72007        12.263        .60530E-03   -1.5691    
   4  Prefactor     48.290        97.438        .14381E-03   -1.5569    
   5  norm          .77500        1.1040        .54766E-03   -1.5690    
   6  norm          .38858E-09    3.5523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .49921E-06    75.526        .10169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.834        41.435        .20084E-03   -1.5608    
   9  Prefactor     8.0527        5.5679        .35362E-03   -1.5651    
  10  Prefactor     .11852E-06    10.005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    2.0886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.344        31.252        .27667E-03   -1.5635    
  13  Prefactor     .11102E-09    30.815        .16270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .93986E-06    15.831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13323E-08    4.2904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .22538E-07    5.7948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .72041        .71669        .59007E-03   -1.5691    
  18  Prefactor     .15766E-05    17.575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.8897        6.8800        .60264E-03   -1.5674    
  20  Prefactor     .15410E-06    11.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .55511E-10    2.4677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0850        .18749        .38655E-01   -.90234    
  23  Prefactor     .84533        .20686        .44310E-01   -.98078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.81545e-07
Minuit parameter uncertainties:
  1  68.0439
  2  0.0444243
  3  5.94326
  4  97.4411
  5  1.10399
  6  7.64386e-05
  7  0.0122808
  8  41.4351
  9  5.56788
  10  0.00217785
  11  1.61458e-05
  12  31.2519
  13  0.000126891
  14  0.00771465
  15  0.000149858
  16  0.000722887
  17  0.716689
  18  0.010528
  19  6.88006
  20  0.00266093
  21  2.51914e-05
  22  0.187603
  23  0.207048
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.334e+01  3.125e+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:  8.453e-01  2.070e-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.085e+00  1.876e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 217.229 54.111
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/488967/likelihoodResults_698112001_698371201_4FGL_J1428.9+5406_daily_bin1770.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) = 4778.20368978
delta logL = 3.17632903124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4778.12319748
delta logL = 3.25682133435

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13367       1.0000          .0000       .10000E+07
     2 'Index     '    6.2896       1.0000          .0000       10.000    
     3 'Normalizat'    .92419       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97481       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=   4778.123     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      288 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13327        .97926        .25666E-03** at limit **
   2  Index         6.2911        2.5147        .74564E-01    .56502E-04
   3  Normalizat    .92435        .63034E-01    .45210E-01   -.53743E-05
   4  Prefactor     .97458        .72953E-01    .45951E-01    .31506E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.133273
  Index      = 6.2911
  Normalizat = 0.924354
  Prefactor  = 0.97458
 **********
 **   18 **HESSE 
 **********

 FCN=   4778.123     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      321 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13327        1.5011        .11442E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.2911        3.1661        .31640E-02    .26118    
   3  Normalizat    .92435        .19590        .22321E-03   -.95610    
   4  Prefactor     .97458        .22284        .25259E-03   -.93582    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.73901e-10
Minuit parameter uncertainties:
  1  0.894548
  2  3.45263
  3  0.196052
  4  0.223052
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/488967': 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) = 4778.12319676
delta logL = 3.25682205022

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.333e-01  8.945e-01  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  6.291e+00  3.453e+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:  9.746e-01  2.231e-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.244e-01  1.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.31
Ra Dec: 217.229 54.111
Photon Index (Free Index): 6.29 +/- 3.45
Photon Flux (Free Index): 1.38e-07 +/- 6.59e-08
Energy Flux (Free Index): 1.69e-05 +/- 9.03e-06

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/488967/cmap_HighResolution_698112001_698371201_4FGL_J1428.9+5406_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.04e-03', comment='SUCCESS', energy_flux2='1.69e-05', dlogl='3.26e+00', photon_flux2='1.38e-07', job_status='DONE', time_completed='2023-02-18 01:09:27.858391', photon_index_error2='3.45', photon_index2='6.29', ts='0.21', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='9.03e-06', EG='1.09', time_epoch_completed='1676711367.86', return_code='0', job_id='488967', GAL2='0.97', EG2='0.92', return_code2='102', photon_flux_error2='6.59e-08', ts2='7.31', photon_index='2.57' WHERE bin_id='1770' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 01:09:27 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0175>
Subject: Job 488967: <4FGL_J1428.9+5406_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin1770> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Feb 18 01:00:16 2023
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 01:00:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 01:00:18 2023
Terminated at Sat Feb 18 01:09:28 2023
Results reported at Sat Feb 18 01:09:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin1770 217.229 54.1114 698112001 698371201 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 :                                   452.52 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             322.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   550 sec.
    Turnaround time :                            552 sec.

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

