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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin1777
RA = 217.203, Dec = 74.485
tmin = 699926401, tmax = 700185601
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='916957', job_status='RUN', time_executed='2023-03-11 00:50:46.925829', time_epoch_executed='1678524646.93' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/916957

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/916957/ft1_4FGL_J1428.8+7429_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/916957/ft2_4FGL_J1428.8+7429_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/916957/ft1_4FGL_J1428.8+7429_daily_bin1777.fits outfile=/scratch/kocevski/916957/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1777.fits ra=217.203 dec=74.485 rad=12.0 tmin=699926401.0 tmax=700185601.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.43
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/916957/ft1_filtered_4FGL_J1428.8+7429_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/916957/ft2_4FGL_J1428.8+7429_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/916957/ltcube_699926401_700185601_4FGL_J1428.8+7429_daily_bin1777.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/916957/ft2_4FGL_J1428.8+7429_daily_bin1777.fits
.....................!
real 13.25
user 12.84
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/916957/ft1_filtered_4FGL_J1428.8+7429_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/916957/ft2_4FGL_J1428.8+7429_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/916957/ltcube_699926401_700185601_4FGL_J1428.8+7429_daily_bin1777.fits outfile=/scratch/kocevski/916957/expmap_699926401_700185601_4FGL_J1428.8+7429_daily_bin1777.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/916957/ltcube_699926401_700185601_4FGL_J1428.8+7429_daily_bin1777.fits
.....................!
real 193.44
user 186.90
sys 5.84

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/916957/ft1_filtered_4FGL_J1428.8+7429_daily_bin1777.fits scfile=/scratch/kocevski/916957/ft2_4FGL_J1428.8+7429_daily_bin1777.fits outfile=/scratch/kocevski/916957/cmap_699926401_700185601_4FGL_J1428.8+7429_daily_bin1777.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/916957/ft1_filtered_4FGL_J1428.8+7429_daily_bin1777.fits scfile=/scratch/kocevski/916957/ft2_4FGL_J1428.8+7429_daily_bin1777.fits outfile=/scratch/kocevski/916957/cmap_HighResolution_699926401_700185601_4FGL_J1428.8+7429_daily_bin1777.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60285E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41963       1.0000          .0000       .10000E+07
     3 'norm      '    .27542E-04   1.0000          .0000       .10000E+07
     4 'norm      '    1.9450       1.0000          .0000       .10000E+07
     5 'Prefactor '    71.616       1.0000          .0000       .10000E+07
     6 'Prefactor '    29.608       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14601E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .96501E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .48517E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .89684E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    32.399       1.0000          .0000       .10000E+07
    12 'Prefactor '    .90373E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .96328       1.0000          .0000       .10000E+07
    14 'Prefactor '    .20593E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    36.387       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26816E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .30371E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .70474E-01   1.0000          .0000       .10000E+07
    19 'norm      '    12.540       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17788E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11689       1.0000          .0000       .10000E+07
    22 'Prefactor '    .20917E-06   1.0000          .0000       .10000E+07
    23 'Prefactor '    27.572       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0497       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .91896       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.

 FCN=   8486.511     FROM MIGRAD    STATUS=CONVERGED    701 CALLS     2688 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.0410        .52153E-08** at limit **
   2  Prefactor      .0000        153.33       -.34123E-05** at limit **
   3  norm           .0000        3.7543        .32084E-08** at limit **
   4  norm          1.9450        2.0420       -.13134E-07   -.21366E-02
   5  Prefactor     72.765        61.195       -.10920E-06   -.17308E-04
   6  Prefactor     29.657        28.531       -.53682E-08    .19710E-03
   7  Prefactor      .0000        3.1212        .42018E-08** at limit **
   8  Prefactor      .0000        10.703        .45161E-08** at limit **
   9  Prefactor      .0000        3.5268        .23229E-08** at limit **
  10  Prefactor     .55511E-10    39.847        .44573E-06** at limit **
  11  Prefactor     32.469        20.010       -.50438E-06    .60674E-03
  12  Prefactor      .0000        17.328       -.89756E-08** at limit **
  13  Prefactor     .23032        5348.6       -.63326E-05** at limit **
  14  Prefactor      .0000        5.0061        .45346E-08** at limit **
  15  Prefactor     36.383        27.040        .40109E-06    .30047E-03
  16  Prefactor      .0000        11.413        .58602E-08** at limit **
  17  Prefactor      .0000        24.859       -.15285E-05** at limit **
  18  Prefactor     .44409E-09    55.074       -.33890E-07** at limit **
  19  norm          12.544        12.879        .10373E-06    .13461E-03
  20  Prefactor      .0000        26.005        .14120E-05** at limit **
  21  Prefactor     .94946E-06    22.962       -.12023E-06** at limit **
  22  Prefactor     .38858E-09    1.2518        .42018E-07** at limit **
  23  Prefactor     27.521        22.556       -.17707E-05   -.17007E-03
  24  Normalizat    1.0493        .14285        .16794E-05    .16790E-03
  25  Prefactor     .91935        .11953        .77802E-06    .26868E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 1.94495
  Prefactor  = 72.7653
  Prefactor  = 29.6566
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 32.4686
  Prefactor  = 0
  Prefactor  = 0.230317
  Prefactor  = 0
  Prefactor  = 36.3835
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  norm       = 12.5443
  Prefactor  = 0
  Prefactor  = 9.49463e-07
  Prefactor  = 3.88578e-10
  Prefactor  = 27.5211
  Normalizat = 1.04929
  Prefactor  = 0.919346
 **********
 **   18 **HESSE 
 **********

 FCN=   8486.511     FROM HESSE     STATUS=OK           427 CALLS     3115 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.0462        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        155.12        .17449E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        3.7783        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.9450        2.0358        .13077E-04   -1.5680    
   5  Prefactor     72.765        61.404        .47269E-05   -1.5537    
   6  Prefactor     29.657        28.528        .73523E-05   -1.5599    
   7  Prefactor      .0000        3.1222        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        10.704        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        3.5487        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    40.062        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.469        19.994        .70283E-05   -1.5594    
  12  Prefactor      .0000        17.333        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .23032        5609.0        .16984E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        5.0074        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     36.383        27.101        .66319E-05   -1.5587    
  16  Prefactor      .0000        11.414        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        24.852        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .44409E-09    57.709        .59211E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          12.544        12.880        .11305E-04   -1.5637    
  20  Prefactor      .0000        25.999        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .94946E-06    28.196        .13960E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .38858E-09    1.2601        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     27.521        22.594        .76191E-05   -1.5603    
  24  Normalizat    1.0493        .16197        .24267E-03   -.91397    
  25  Prefactor     .91935        .13539        .22050E-03   -.95468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03463e-10
Minuit parameter uncertainties:
  1  2.58268e-06
  2  0.000126451
  3  8.05061e-06
  4  2.03583
  5  61.4049
  6  28.5286
  7  1.15927e-06
  8  3.31533e-06
  9  1.05388e-05
  10  0.000114787
  11  19.9944
  12  1.03324e-05
  13  71.9517
  14  2.16213e-06
  15  27.1008
  16  3.66716e-06
  17  5.30053e-06
  18  0.000314051
  19  12.8796
  20  3.81396e-06
  21  0.0103482
  22  4.32755e-05
  23  22.594
  24  0.162051
  25  0.135435
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  2.303e-01  7.195e+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:  9.193e-01  1.354e-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.049e+00  1.621e-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: 4.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/916957/likelihoodResults_699926401_700185601_4FGL_J1428.8+7429_daily_bin1777.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) = 8486.5112527
delta logL = 1.86361776287e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8486.43641771
delta logL = 0.0748536234951

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8085       1.0000          .0000       .10000E+07
     2 'Index     '    2.5451       1.0000          .0000       10.000    
     3 'Normalizat'    1.0402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92031       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8486.436     FROM MIGRAD    STATUS=FAILED        93 CALLS      306 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8085        1632.3        .91709E-04   -.75122E-04
   2  Index         2.5453        5.6794        .13430E-01    .99589E-04
   3  Normalizat    1.0402        .11595        .24355E-03   -.97371E-04
   4  Prefactor     .92030        .97331E-01    .22035E-03   -.52535E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8486.436     FROM SIMPLEX   STATUS=UNCHANGED     96 CALLS      402 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8085        1632.3        .79157E-04   -.75122E-04
   2  Index         2.5453        5.6794        .17313E-02    .99589E-04
   3  Normalizat    1.0402        .11595        .66683E-04   -.97371E-04
   4  Prefactor     .92030        .97331E-01    .58600E-04   -.52535E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8486.436     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      434 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8088        35.023        .36684E-05    .48346E-03
   2  Index         2.5453        1.5141        .53721E-03    .17057E-04
   3  Normalizat    1.0402        .15772        .97421E-05   -.79820E-04
   4  Prefactor     .92030        .13400        .44070E-04   -.49798E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.80878
  Index      = 2.54528
  Normalizat = 1.04024
  Prefactor  = 0.920296
 **********
 **   18 **HESSE 
 **********

 FCN=   8486.436     FROM HESSE     STATUS=OK            23 CALLS      457 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8088        32.112        .14674E-06   -1.5664    
   2  Index         2.5453        1.4543        .21488E-04   -.51317    
   3  Normalizat    1.0402        .15765        .19484E-05   -.91694    
   4  Prefactor     .92030        .13396        .88140E-05   -.95435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9682e-10
Minuit parameter uncertainties:
  1  24.8534
  2  1.48281
  3  0.157725
  4  0.134007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/916957': 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) = 8486.43641768
delta logL = 0.074853647604

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  9.203e-01  1.340e-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.040e+00  1.577e-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/916957/cmap_HighResolution_699926401_700185601_4FGL_J1428.8+7429_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-03', job_status='DONE', photon_flux_upper_limit='4.99e-08', time_completed='2023-03-11 01:06:28.079482', job_id='916957', GAL2='0.92', fit_tolerance='1e-08', EG2='1.04', EG='1.05', time_epoch_completed='1678525588.08', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='7.49e-02', ts2='0.15', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='1777' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:06:28 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 916957: <4FGL_J1428.8+7429_daily_bin1777> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin1777> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Mar 11 00:50:14 2023
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:50:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:50:15 2023
Terminated at Sat Mar 11 01:06:28 2023
Results reported at Sat Mar 11 01:06:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1777 217.203 74.485 699926401 700185601 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 :                                   942.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             351.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   973 sec.
    Turnaround time :                            974 sec.

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

