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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin1750
RA = 217.203, Dec = 74.485
tmin = 692928001, tmax = 693187201
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='14849', job_status='RUN', time_executed='2022-12-20 01:03:46.385348', time_epoch_executed='1671527026.39' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/14849

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/14849/ft1_4FGL_J1428.8+7429_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/14849/ft2_4FGL_J1428.8+7429_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/14849/ft1_4FGL_J1428.8+7429_daily_bin1750.fits outfile=/scratch/kocevski/14849/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1750.fits ra=217.203 dec=74.485 rad=12.0 tmin=692928001.0 tmax=693187201.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.49
user 3.27
sys 0.21

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

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

Number of photons that the gtmktime cut: 662

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/14849/ft1_filtered_4FGL_J1428.8+7429_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/14849/ft2_4FGL_J1428.8+7429_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/14849/ltcube_692928001_693187201_4FGL_J1428.8+7429_daily_bin1750.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/14849/ft2_4FGL_J1428.8+7429_daily_bin1750.fits
.....................!
real 11.45
user 11.07
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/14849/ft1_filtered_4FGL_J1428.8+7429_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/14849/ft2_4FGL_J1428.8+7429_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/14849/ltcube_692928001_693187201_4FGL_J1428.8+7429_daily_bin1750.fits outfile=/scratch/kocevski/14849/expmap_692928001_693187201_4FGL_J1428.8+7429_daily_bin1750.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/14849/ltcube_692928001_693187201_4FGL_J1428.8+7429_daily_bin1750.fits
.....................!
real 190.37
user 185.50
sys 4.52

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/14849/ft1_filtered_4FGL_J1428.8+7429_daily_bin1750.fits scfile=/scratch/kocevski/14849/ft2_4FGL_J1428.8+7429_daily_bin1750.fits outfile=/scratch/kocevski/14849/cmap_692928001_693187201_4FGL_J1428.8+7429_daily_bin1750.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/14849/ft1_filtered_4FGL_J1428.8+7429_daily_bin1750.fits scfile=/scratch/kocevski/14849/ft2_4FGL_J1428.8+7429_daily_bin1750.fits outfile=/scratch/kocevski/14849/cmap_HighResolution_692928001_693187201_4FGL_J1428.8+7429_daily_bin1750.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88958       1.0000          .0000       .10000E+07
     2 'Prefactor '    61.452       1.0000          .0000       .10000E+07
     3 'norm      '    .22837E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .70228E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12192E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .37295E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.2704       1.0000          .0000       .10000E+07
     8 'Prefactor '    28.694       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.0084       1.0000          .0000       .10000E+07
    10 'Prefactor '    20.845       1.0000          .0000       .10000E+07
    11 'Prefactor '    .41091E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18293E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    37.426       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11880E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    29.203       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13968E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13797E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .15961E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .82101E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .23776       1.0000          .0000       .10000E+07
    21 'Prefactor '    21.504       1.0000          .0000       .10000E+07
    22 'Prefactor '    .23532E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    6.0035       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1078       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .76636       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=   7124.040     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2134 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96417        2.8123        .18433E-06    .25557E-01
   2  Prefactor     61.184        7.3304       -.10356E-06    .16664E-01
   3  norm          .13878E-08    1.8228        .11821E-07** at limit **
   4  norm          .42902E-05    3.6680        .30972E-07** at limit **
   5  Prefactor     .12573E-05    7.7004        .50636E-06** at limit **
   6  Prefactor     .27922E-07    38.467        .32161E-06** at limit **
   7  Prefactor     3.3795        8.7172       -.10109E-06   -.11113E-02
   8  Prefactor     27.833        20.227       -.42139E-06    .29121E-01
   9  Prefactor     3.0050        3.9967       -.83626E-08   -.17449E-03
  10  Prefactor     21.147        5.7068        .15345E-06    .79557E-02
  11  Prefactor     .10991E-07    5.3285        .21558E-06** at limit **
  12  Prefactor     .11571E-05    4.1213       -.35390E-06** at limit **
  13  Prefactor     39.205        39.183        .67675E-06   -.11731E-02
  14  Prefactor     .14450E-06    5.5601       -.43328E-06** at limit **
  15  Prefactor     28.463        5.2256       -.87317E-08   -.26028E-01
  16  Prefactor     .61717E-06    7.4371        .50985E-06** at limit **
  17  Prefactor     .21367E-05    16.972       -.56989E-06** at limit **
  18  Prefactor     .11413E-06    9.1672        .38842E-06** at limit **
  19  norm          .84932E-08    5.5926        .10636E-06** at limit **
  20  Prefactor     .49960E-07    46.253       -.39841E-06** at limit **
  21  Prefactor     21.938        7.1656        .14840E-06    .17167E-01
  22  Prefactor     .72164E-09    2.7440       -.55523E-07** at limit **
  23  Prefactor     5.8651        3.6753        .40547E-07   -.26951E-01
  24  Normalizat    1.1082        .16061        .30947E-05    .77183E-04
  25  Prefactor     .76591        .13394       -.30177E-05    .83894E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.964175
  Prefactor  = 61.184
  norm       = 1.38778e-09
  norm       = 4.29018e-06
  Prefactor  = 1.25733e-06
  Prefactor  = 2.79221e-08
  Prefactor  = 3.37946
  Prefactor  = 27.8329
  Prefactor  = 3.00503
  Prefactor  = 21.1465
  Prefactor  = 1.09912e-08
  Prefactor  = 1.15707e-06
  Prefactor  = 39.2051
  Prefactor  = 1.44496e-07
  Prefactor  = 28.4625
  Prefactor  = 6.17173e-07
  Prefactor  = 2.13674e-06
  Prefactor  = 1.14131e-07
  norm       = 8.49321e-09
  Prefactor  = 4.996e-08
  Prefactor  = 21.9379
  Prefactor  = 7.21645e-10
  Prefactor  = 5.86511
  Normalizat = 1.10822
  Prefactor  = 0.76591
 **********
 **   18 **HESSE 
 **********

 FCN=   7124.040     FROM HESSE     STATUS=OK           481 CALLS     2615 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96417        26.138        .46483E-03   -1.5688    
   2  Prefactor     61.184        47.095        .12757E-03   -1.5552    
   3  norm          .13878E-08    1.8230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .42902E-05    2.4829        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12573E-05    15.395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27922E-07    39.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.3795        8.7664        .55971E-03   -1.5671    
   8  Prefactor     27.833        44.489        .18672E-03   -1.5602    
   9  Prefactor     3.0050        4.0208        .58492E-03   -1.5673    
  10  Prefactor     21.147        20.233        .21910E-03   -1.5616    
  11  Prefactor     .10991E-07    5.3573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11571E-05    10.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     39.205        46.064        .16348E-03   -1.5583    
  14  Prefactor     .14450E-06    11.069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     28.463        30.130        .18508E-03   -1.5601    
  16  Prefactor     .61717E-06    14.386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .21367E-05    20.683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11413E-06    9.7938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .84932E-08    5.6211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .49960E-07    46.312        .11139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     21.938        42.743        .21571E-03   -1.5614    
  22  Prefactor     .72164E-09    .97652        .32368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.8651        16.564        .40956E-03   -1.5660    
  24  Normalizat    1.1082        .14907        .37693E-01   -.89488    
  25  Prefactor     .76591        .12104        .43278E-01   -1.0100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34469e-07
Minuit parameter uncertainties:
  1  10.0403
  2  47.0951
  3  0.000100032
  4  0.00652758
  5  0.00879918
  6  0.00210199
  7  8.76645
  8  44.4896
  9  4.02085
  10  20.2333
  11  0.000485787
  12  0.00700845
  13  46.0643
  14  0.00252953
  15  30.1306
  16  0.00595946
  17  0.0132957
  18  0.00211448
  19  0.000437601
  20  0.00304188
  21  42.7439
  22  5.2414e-05
  23  16.5645
  24  0.149122
  25  0.121078
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  3.921e+01  4.606e+01  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.659e-01  1.211e-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.108e+00  1.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.51
Ra Dec: 217.203 74.485
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 1.00e-08 +/- 1.18e-08
Energy Flux (Fixed Index): 1.01e-05 +/- 1.18e-05

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

Saving results to:
/scratch/kocevski/14849/likelihoodResults_692928001_693187201_4FGL_J1428.8+7429_daily_bin1750.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) = 7124.03101872
delta logL = 0.00939275011933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7124.01434903
delta logL = 0.0260624496959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    54.481       1.0000          .0000       .10000E+07
     2 'Index     '    1.7188       1.0000          .0000       10.000    
     3 'Normalizat'    1.1096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76492       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7124.014     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      269 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     54.466        102.01        .54196E-05    .31314E-02
   2  Index         1.7185        .65324        .73158E-02    .26525E-03
   3  Normalizat    1.1094        .15673        .22489E-03   -.35332E-03
   4  Prefactor     .76505        .13186        .22239E-03   -.69252E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 54.4663
  Index      = 1.71848
  Normalizat = 1.10943
  Prefactor  = 0.765046
 **********
 **   18 **HESSE 
 **********

 FCN=   7124.014     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     54.466        92.187        .10839E-05   -1.5560    
   2  Index         1.7185        .59118        .29263E-03   -.71591    
   3  Normalizat    1.1094        .15679        .44978E-04   -.89450    
   4  Prefactor     .76505        .13192        .44478E-04   -1.0103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3722e-09
Minuit parameter uncertainties:
  1  92.189
  2  0.593622
  3  0.156854
  4  0.131971
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/14849': 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) = 7124.01434792
delta logL = 0.026063559596

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  5.447e+01  9.219e+01  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  1.718e+00  5.936e-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:  7.650e-01  1.320e-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.109e+00  1.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.56
Ra Dec: 217.203 74.485
Photon Index (Free Index): 1.72 +/- 0.59
Photon Flux (Free Index): 9.25e-09 +/- 1.14e-08
Energy Flux (Free Index): 1.42e-05 +/- 2.65e-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/14849/cmap_HighResolution_692928001_693187201_4FGL_J1428.8+7429_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.30e-03', comment='SUCCESS', photon_flux='1.00e-08', energy_flux2='1.42e-05', photon_flux_error='1.18e-08', dlogl='2.61e-02', energy_flux='1.01e-05', photon_flux2='9.25e-09', job_status='DONE', time_completed='2022-12-20 01:16:42.417143', photon_index_error2='0.59', photon_index2='1.72', ts='1.51', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='4.45e-08', energy_flux_error2='2.65e-05', EG='1.11', time_epoch_completed='1671527802.42', return_code='0', job_id='14849', GAL2='0.77', EG2='1.11', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='1.14e-08', ts2='1.56', photon_index='1.86' WHERE bin_id='1750' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:16:42 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 14849: <4FGL_J1428.8+7429_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin1750> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 20 01:00:19 2022
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:00:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:00:20 2022
Terminated at Tue Dec 20 01:16:42 2022
Results reported at Tue Dec 20 01:16:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1750 217.203 74.485 692928001 693187201 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 :                                   778.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            983 sec.

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

