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


Performing analysis on: 4FGL_J1432.2+5051_daily_bin1715
RA = 218.068, Dec = 50.8596
tmin = 683856001, tmax = 684115201
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='148656', job_status='RUN', time_executed='2022-09-16 18:27:02.344491', time_epoch_executed='1663378022.34' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/148656

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/148656/ft1_4FGL_J1432.2+5051_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/148656/ft2_4FGL_J1432.2+5051_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/148656/ft1_4FGL_J1432.2+5051_daily_bin1715.fits outfile=/scratch/kocevski/148656/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1715.fits ra=218.068 dec=50.8596 rad=12.0 tmin=683856001.0 tmax=684115201.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.52
user 3.27
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/148656/ft2_4FGL_J1432.2+5051_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/148656/ft2_4FGL_J1432.2+5051_daily_bin1715.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/148656/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/148656/ft1_filtered_4FGL_J1432.2+5051_daily_bin1715.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 557

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/148656/ft1_filtered_4FGL_J1432.2+5051_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/148656/ft2_4FGL_J1432.2+5051_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/148656/ltcube_683856001_684115201_4FGL_J1432.2+5051_daily_bin1715.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/148656/ft2_4FGL_J1432.2+5051_daily_bin1715.fits
.....................!
real 14.14
user 13.62
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/148656/ft1_filtered_4FGL_J1432.2+5051_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/148656/ft2_4FGL_J1432.2+5051_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/148656/ltcube_683856001_684115201_4FGL_J1432.2+5051_daily_bin1715.fits outfile=/scratch/kocevski/148656/expmap_683856001_684115201_4FGL_J1432.2+5051_daily_bin1715.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/148656/ltcube_683856001_684115201_4FGL_J1432.2+5051_daily_bin1715.fits
.....................!
real 192.69
user 185.45
sys 4.80

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 205 point sources and 0 extended sources

Setting source of interest to:
4FGL J1432.2+5051 @ 218.068 50.8596

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/148656/ft1_filtered_4FGL_J1432.2+5051_daily_bin1715.fits scfile=/scratch/kocevski/148656/ft2_4FGL_J1432.2+5051_daily_bin1715.fits outfile=/scratch/kocevski/148656/cmap_683856001_684115201_4FGL_J1432.2+5051_daily_bin1715.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=218.068 yref=50.8596 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.61
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/148656/ft1_filtered_4FGL_J1432.2+5051_daily_bin1715.fits scfile=/scratch/kocevski/148656/ft2_4FGL_J1432.2+5051_daily_bin1715.fits outfile=/scratch/kocevski/148656/cmap_HighResolution_683856001_684115201_4FGL_J1432.2+5051_daily_bin1715.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=218.068 yref=50.8596 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/148656/ft1_filtered_4FGL_J1432.2+5051_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/148656/ft2_4FGL_J1432.2+5051_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/148656/Model_4FGL_J1432.2+5051_daily_bin1715.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/148656/ft1_filtered_4FGL_J1432.2+5051_daily_bin1715.fits.....................!
real 50.47
user 47.95
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/148656/ft1_filtered_4FGL_J1432.2+5051_daily_bin1715.fits', '/scratch/kocevski/148656/ft2_4FGL_J1432.2+5051_daily_bin1715.fits', expMap='/scratch/kocevski/148656/expmap_683856001_684115201_4FGL_J1432.2+5051_daily_bin1715.fits', expCube='/scratch/kocevski/148656/ltcube_683856001_684115201_4FGL_J1432.2+5051_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/148656/Model_4FGL_J1432.2+5051_daily_bin1715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1432.2+5051'

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  5.285e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  2.240e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  1.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/148656/ft1_filtered_4FGL_J1432.2+5051_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/148656/ft2_4FGL_J1432.2+5051_daily_bin1715.fits
Exposure map: /scratch/kocevski/148656/expmap_683856001_684115201_4FGL_J1432.2+5051_daily_bin1715.fits
Exposure cube: /scratch/kocevski/148656/ltcube_683856001_684115201_4FGL_J1432.2+5051_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/148656/Model_4FGL_J1432.2+5051_daily_bin1715.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) = 6053.27589037

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1304       1.0000          .0000       .10000E+07
     2 'Prefactor '    37.954       1.0000          .0000       .10000E+07
     3 'norm      '    .46619E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .48848       1.0000          .0000       .10000E+07
     5 'norm      '    .62006E-07   1.0000          .0000       .10000E+07
     6 'norm      '    .37875E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    27.528       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.562       1.0000          .0000       .10000E+07
     9 'Prefactor '    .40931       1.0000          .0000       .10000E+07
    10 'Prefactor '    9.3914       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.2025       1.0000          .0000       .10000E+07
    12 'Prefactor '    .86855E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    22.634       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.286       1.0000          .0000       .10000E+07
    15 'Prefactor '    .41202E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .82432       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.1764       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.9538       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.7223       1.0000          .0000       .10000E+07
    20 'norm      '    .10390E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    19.078       1.0000          .0000       .10000E+07
    22 'Prefactor '    10.664       1.0000          .0000       .10000E+07
    23 'Prefactor '    .91460E-06   1.0000          .0000       .10000E+07
    24 'Normalizat'    .76777       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2054       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6053.201     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2154 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81241E-05    234.31       -.45588E-06** at limit **
   2  Prefactor     39.819        22.983        .84946E-07   -.47508E-01
   3  norm          .23798E-06    5.2811        .38094E-06** at limit **
   4  Prefactor     .44967E-05    93.338        .27772E-06** at limit **
   5  norm           .0000        .77170       -.13382E-07** at limit **
   6  norm           .0000        1.7888       -.38814E-07** at limit **
   7  Prefactor     23.377        54.508        .17504E-07    .46000E-02
   8  Prefactor     16.563        13.645       -.49740E-07    .12666E-01
   9  Prefactor     .41405        5.2518       -.29705E-06    .76343E-04
  10  Prefactor     9.3473        16.601       -.29737E-07    .11309E-02
  11  Prefactor     4.2686        2.8365        .60944E-07   -.30270E-03
  12  Prefactor     .10547E-08    10.401       -.30052E-09** at limit **
  13  Prefactor     22.022        7.0962        .55373E-08   -.39867E-01
  14  Prefactor     13.860        15.289        .17028E-06    .24577E-01
  15  Prefactor     .38913E-07    13.543        .60528E-06** at limit **
  16  norm          .82425        .92336       -.51436E-08    .98603E-04
  17  Prefactor     3.2096        6.0953       -.88591E-07   -.66440E-04
  18  Prefactor     5.9565        4.2047       -.12736E-06    .34239E-03
  19  Prefactor     4.6868        6.8945        .79999E-07   -.28390E-03
  20  norm           .0000        2.9287       -.29865E-07** at limit **
  21  Prefactor     19.157        9.2694       -.43317E-07    .37361E-03
  22  Prefactor     9.8179        18.886        .27052E-06   -.11888E-02
  23  Prefactor     .55511E-10    3.8264       -.31480E-07** at limit **
  24  Normalizat    .76891        .19267        .29053E-06    .64840E-05
  25  Prefactor     1.2057        .22525       -.69926E-06    .90110E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.12406e-06
  Prefactor  = 39.8187
  norm       = 2.37976e-07
  Prefactor  = 4.49668e-06
  norm       = 0
  norm       = 0
  Prefactor  = 23.3775
  Prefactor  = 16.563
  Prefactor  = 0.414055
  Prefactor  = 9.34726
  Prefactor  = 4.26863
  Prefactor  = 1.05471e-09
  Prefactor  = 22.0219
  Prefactor  = 13.8597
  Prefactor  = 3.89133e-08
  norm       = 0.824255
  Prefactor  = 3.20957
  Prefactor  = 5.95647
  Prefactor  = 4.68681
  norm       = 0
  Prefactor  = 19.1567
  Prefactor  = 9.81785
  Prefactor  = 5.55112e-11
  Normalizat = 0.768907
  Prefactor  = 1.20574
 **********
 **   18 **HESSE 
 **********

 FCN=   6053.201     FROM HESSE     STATUS=OK           491 CALLS     2645 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81241E-05    48.473        .13862E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     39.819        38.184        .16234E-03   -1.5582    
   3  norm          .23798E-06    20.247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44967E-05    129.60        .79877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .75052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.7885        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.377        55.456        .19063E-03   -1.5611    
   8  Prefactor     16.563        35.374        .24584E-03   -1.5627    
   9  Prefactor     .41405        5.4339        .88416E-03   -1.5695    
  10  Prefactor     9.3473        16.685        .32678E-03   -1.5647    
  11  Prefactor     4.2686        2.8530        .49134E-03   -1.5667    
  12  Prefactor     .10547E-08    10.558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.022        43.654        .21025E-03   -1.5614    
  14  Prefactor     13.860        24.455        .26473E-03   -1.5634    
  15  Prefactor     .38913E-07    17.206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .82425        .92657        .51139E-03   -1.5690    
  17  Prefactor     3.2096        6.1516        .56837E-03   -1.5672    
  18  Prefactor     5.9565        4.2117        .41129E-03   -1.5659    
  19  Prefactor     4.6868        6.9446        .46281E-03   -1.5665    
  20  norm           .0000        2.9094        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.157        9.5373        .22903E-03   -1.5620    
  22  Prefactor     9.8179        24.706        .30657E-03   -1.5645    
  23  Prefactor     .55511E-10    3.8412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .76891        .16353        .43188E-01   -1.0123    
  25  Prefactor     1.2057        .18810        .54381E-01   -.86155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78206e-07
Minuit parameter uncertainties:
  1  0.0396891
  2  38.1846
  3  0.00439012
  4  0.0482831
  5  2.52575e-07
  6  6.30486e-07
  7  55.4574
  8  35.3745
  9  2.99996
  10  16.6853
  11  2.85303
  12  0.000212354
  13  43.6548
  14  24.4556
  15  0.00163649
  16  0.926566
  17  6.15159
  18  4.21174
  19  6.94459
  20  7.36237e-06
  21  9.5373
  22  24.7063
  23  3.31731e-05
  24  0.163636
  25  0.188202
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  2.202e+01  4.365e+01  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  2.240e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  1.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.206e+00  1.882e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  7.689e-01  1.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.32
Ra Dec: 218.068 50.860
Photon Flux Upper Limit: 6.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/148656/likelihoodResults_683856001_684115201_4FGL_J1432.2+5051_daily_bin1715.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) = 6053.1982542
delta logL = 0.00323796846897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6053.19590112
delta logL = 0.00559105313096

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6053.196     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      231 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.469        1544.1        .23278E-03    .28486E-02
   2  Index         2.3756        6.0570        .17761        .78689E-04
   3  Normalizat    .76723        .45745E-01    .43184E-01    .15759E-04
   4  Prefactor     1.2070        .50651E-01    .54356E-01   -.42711E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.4688
  Index      = 2.37558
  Normalizat = 0.76723
  Prefactor  = 1.20701
 **********
 **   18 **HESSE 
 **********

 FCN=   6053.196     FROM HESSE     STATUS=OK            31 CALLS      262 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.469        61.570        .93112E-05   -1.5622    
   2  Index         2.3756        1.5558        .10590E-01   -.55258    
   3  Normalizat    .76723        .18379        .24265E-03   -1.0130    
   4  Prefactor     1.2070        .22355        .24034E-03   -.86116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.80901e-09
Minuit parameter uncertainties:
  1  61.5719
  2  1.59276
  3  0.183938
  4  0.223726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/148656': 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) = 6053.1959
delta logL = 0.0055921732237

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.847e+01  6.157e+01  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  2.376e+00  1.593e+00  0.000e+00  1.000e+01 (-1.000e+00)
321        Scale:  1.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.207e+00  2.237e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  7.672e-01  1.839e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
Ra Dec: 218.068 50.860

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/148656/cmap_HighResolution_683856001_684115201_4FGL_J1432.2+5051_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', job_status='DONE', photon_flux_upper_limit='6.56e-08', time_completed='2022-09-16 18:38:27.703687', job_id='148656', GAL2='1.21', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1663378707.7', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='5.59e-03', ts2='0.33', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1715' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:38:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 148656: <4FGL_J1432.2+5051_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1432.2+5051_daily_bin1715> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 18:25:20 2022
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:26:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:26:44 2022
Terminated at Fri Sep 16 18:38:28 2022
Results reported at Fri Sep 16 18:38:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin1715 218.068 50.8596 683856001 684115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1432.2+5051 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            788 sec.

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

