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 192 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.9+5406_daily_bin1750
RA = 217.229, Dec = 54.1114
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='14850', job_status='RUN', time_executed='2022-12-20 01:03:43.653902', time_epoch_executed='1671527023.65' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/14850

Creating custom pfile directory:
/scratch/kocevski/14850/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/14850/ft1_4FGL_J1428.9+5406_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/14850/ft2_4FGL_J1428.9+5406_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/14850/ft1_4FGL_J1428.9+5406_daily_bin1750.fits outfile=/scratch/kocevski/14850/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1750.fits ra=217.229 dec=54.1114 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.42
user 3.23
sys 0.17

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

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

Number of photons that the gtmktime cut: 562

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/14850/ft1_filtered_4FGL_J1428.9+5406_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/14850/ft2_4FGL_J1428.9+5406_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/14850/ltcube_692928001_693187201_4FGL_J1428.9+5406_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/14850/ft2_4FGL_J1428.9+5406_daily_bin1750.fits
.....................!
real 11.43
user 11.06
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/14850/ft1_filtered_4FGL_J1428.9+5406_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/14850/ft2_4FGL_J1428.9+5406_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/14850/ltcube_692928001_693187201_4FGL_J1428.9+5406_daily_bin1750.fits outfile=/scratch/kocevski/14850/expmap_692928001_693187201_4FGL_J1428.9+5406_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/14850/ltcube_692928001_693187201_4FGL_J1428.9+5406_daily_bin1750.fits
.....................!
real 192.53
user 186.96
sys 5.18

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/14850/ft1_filtered_4FGL_J1428.9+5406_daily_bin1750.fits scfile=/scratch/kocevski/14850/ft2_4FGL_J1428.9+5406_daily_bin1750.fits outfile=/scratch/kocevski/14850/cmap_692928001_693187201_4FGL_J1428.9+5406_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.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.57
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/14850/ft1_filtered_4FGL_J1428.9+5406_daily_bin1750.fits scfile=/scratch/kocevski/14850/ft2_4FGL_J1428.9+5406_daily_bin1750.fits outfile=/scratch/kocevski/14850/cmap_HighResolution_692928001_693187201_4FGL_J1428.9+5406_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.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/14850/ft1_filtered_4FGL_J1428.9+5406_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/14850/ft2_4FGL_J1428.9+5406_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/14850/Model_4FGL_J1428.9+5406_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/14850/ft1_filtered_4FGL_J1428.9+5406_daily_bin1750.fits.....................!
real 49.70
user 47.62
sys 1.38

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.163       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18993E-03   1.0000          .0000       .10000E+07
     3 'norm      '    3.9791       1.0000          .0000       .10000E+07
     4 'Prefactor '    91.226       1.0000          .0000       .10000E+07
     5 'norm      '    .46296E-07   1.0000          .0000       .10000E+07
     6 'norm      '    .56560E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.3823       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.033       1.0000          .0000       .10000E+07
     9 'Prefactor '    .73190       1.0000          .0000       .10000E+07
    10 'Prefactor '    21.461       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.2270       1.0000          .0000       .10000E+07
    12 'Prefactor '    .66469E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .44009E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    21.935       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.5230       1.0000          .0000       .10000E+07
    16 'Prefactor '    .51132E-03   1.0000          .0000       .10000E+07
    17 'norm      '    1.7685       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17598E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47990       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.7639       1.0000          .0000       .10000E+07
    21 'norm      '    7.3036       1.0000          .0000       .10000E+07
    22 'Normalizat'    .97898       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0253       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=   6114.471     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1881 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.329        16.694        .20569E-06   -.31317E-01
   2  Prefactor     .77716E-09    16.735       -.23519E-06** at limit **
   3  norm          3.9574        4.5020        .55314E-07    .20944E-03
   4  Prefactor     93.744        55.270        .73183E-07   -.58368E-02
   5  norm           .0000        1.0434        .67585E-07** at limit **
   6  norm           .0000        1.2673       -.11933E-07** at limit **
   7  Prefactor     8.1787        32.224        .62169E-06    .15999E-01
   8  Prefactor     16.339        16.698        .20944E-06   -.11495E-01
   9  Prefactor     .71231        4.8659        .13206E-06    .29798E-03
  10  Prefactor     22.090        3.0636        .27519E-07   -.85312E-02
  11  Prefactor     4.2177        2.6520       -.13690E-07   -.19080E-03
  12  Prefactor      .0000        10.695        .88510E-07** at limit **
  13  Prefactor     .55511E-10    23.650        .10393E-06** at limit **
  14  Prefactor     22.569        3.2948        .59780E-08    .10803E-01
  15  Prefactor     3.4386        13.186       -.42259E-06    .23049E-03
  16  Prefactor      .0000        9.3956       -.36169E-06** at limit **
  17  norm          1.7698        1.5465       -.44565E-08    .11656E-03
  18  Prefactor     .48850E-08    20.317       -.46558E-06** at limit **
  19  Prefactor     .50992        10.563        .24835E-06   -.43650E-04
  20  Prefactor     8.7451        8.2324        .18265E-06   -.63131E-03
  21  norm          7.3223        4.4518        .77569E-07   -.17351E-03
  22  Normalizat    .97576        .20137       -.54100E-05    .12110E-04
  23  Prefactor     1.0268        .22889        .28112E-05    .66601E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3294
  Prefactor  = 7.77156e-10
  norm       = 3.9574
  Prefactor  = 93.7436
  norm       = 0
  norm       = 0
  Prefactor  = 8.17873
  Prefactor  = 16.3388
  Prefactor  = 0.712312
  Prefactor  = 22.0904
  Prefactor  = 4.21774
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 22.5688
  Prefactor  = 3.43863
  Prefactor  = 0
  norm       = 1.76981
  Prefactor  = 4.88498e-09
  Prefactor  = 0.509923
  Prefactor  = 8.74506
  norm       = 7.32229
  Normalizat = 0.97576
  Prefactor  = 1.0268
 **********
 **   18 **HESSE 
 **********

 FCN=   6114.471     FROM HESSE     STATUS=OK           422 CALLS     2303 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.329        34.628        .25695E-03   -1.5630    
   2  Prefactor     .77716E-09    16.763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.9574        4.5579        .50538E-03   -1.5668    
   4  Prefactor     93.744        55.246        .10471E-03   -1.5514    
   5  norm           .0000        1.0299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.2629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.1787        62.042        .36890E-03   -1.5651    
   8  Prefactor     16.339        44.284        .24987E-03   -1.5627    
   9  Prefactor     .71231        5.3127        .58155E-03   -1.5691    
  10  Prefactor     22.090        20.958        .21592E-03   -1.5614    
  11  Prefactor     4.2177        2.6999        .48988E-03   -1.5667    
  12  Prefactor      .0000        10.705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    23.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.569        22.928        .21357E-03   -1.5613    
  15  Prefactor     3.4386        13.246        .53834E-03   -1.5671    
  16  Prefactor      .0000        9.4081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.7698        1.5630        .78725E-03   -1.5681    
  18  Prefactor     .48850E-08    20.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .50992        10.189        .80758E-03   -1.5694    
  20  Prefactor     8.7451        8.2367        .33835E-03   -1.5649    
  21  norm          7.3223        4.4548        .37090E-03   -1.5654    
  22  Normalizat    .97576        .17071        .45903E-01   -.93847    
  23  Prefactor     1.0268        .19097        .59824E-01   -.91841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91928e-06
Minuit parameter uncertainties:
  1  34.6282
  2  0.000227056
  3  4.55793
  4  55.2461
  5  3.25512e-07
  6  2.32133e-07
  7  45.053
  8  44.2848
  9  3.89067
  10  20.9576
  11  2.69994
  12  7.13133e-06
  13  6.21315e-05
  14  22.9281
  15  13.2459
  16  5.42345e-06
  17  1.56303
  18  0.000633115
  19  4.55868
  20  8.23669
  21  4.45481
  22  0.170808
  23  0.191097
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  7.131e-06  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:  1.027e+00  1.911e-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.758e-01  1.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/14850/likelihoodResults_692928001_693187201_4FGL_J1428.9+5406_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): 102
logL (Free Index) = 6114.47138237
delta logL = -7.50779918235e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6114.4713076
delta logL = -3.11950316245e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21694E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.4028       1.0000          .0000       10.000    
     3 'Normalizat'    .97566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0269       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=   6114.471     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      231 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-08    10.580       -.15337E-04** at limit **
   2  Index         2.5894        6.2931        .89451E-03    .20195E-09
   3  Normalizat    .97576        .18845       -.10711E-03   -.51708E-03
   4  Prefactor     1.0268        .22353        .81339E-04   -.28199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-09
  Index      = 2.58944
  Normalizat = 0.975758
  Prefactor  = 1.0268
 **********
 **   18 **HESSE 
 **********

 FCN=   6114.471     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      268 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    .21417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5894        8.2085        .50000       -.50306    
   3  Normalizat    .97576        .56307E-03    .45861E-01   -.93847    
   4  Prefactor     1.0268        .66821E-03    .59824E-01   -.91841    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.97415e-12
Minuit parameter uncertainties:
  1  3.51977e-05
  2  5581.05
  3  0.000563066
  4  0.000668214
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/14850': 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) = 6114.47130729
delta logL = -2.24645191338e-10

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.443e-09  3.520e-05  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  2.589e+00  5.581e+03  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:  1.027e+00  6.682e-04  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.758e-01  5.631e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 217.229 54.111

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/14850/cmap_HighResolution_692928001_693187201_4FGL_J1428.9+5406_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2022-12-20 01:14:29.839837', job_id='14850', GAL2='1.03', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1671527669.84', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-2.25e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1750' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:14:29 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 14850: <4FGL_J1428.9+5406_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin1750> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 20 01:00:20 2022
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:00:21 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:21 2022
Terminated at Tue Dec 20 01:14:30 2022
Results reported at Tue Dec 20 01:14:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin1750 217.229 54.1114 692928001 693187201 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 :                                   647.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

