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


Performing analysis on: 4FGL_J1432.2+5051_daily_bin1713
RA = 218.068, Dec = 50.8596
tmin = 683337601, tmax = 683596801
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='148653', job_status='RUN', time_executed='2022-09-16 18:27:39.637397', time_epoch_executed='1663378059.64' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/148653

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/148653/ft1_4FGL_J1432.2+5051_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/148653/ft2_4FGL_J1432.2+5051_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/148653/ft1_4FGL_J1432.2+5051_daily_bin1713.fits outfile=/scratch/kocevski/148653/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1713.fits ra=218.068 dec=50.8596 rad=12.0 tmin=683337601.0 tmax=683596801.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.56
user 3.31
sys 0.20

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

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

Number of photons that the gtmktime cut: 577

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/148653/ft1_filtered_4FGL_J1432.2+5051_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/148653/ft2_4FGL_J1432.2+5051_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/148653/ltcube_683337601_683596801_4FGL_J1432.2+5051_daily_bin1713.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/148653/ft2_4FGL_J1432.2+5051_daily_bin1713.fits
.....................!
real 15.87
user 15.34
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/148653/ft1_filtered_4FGL_J1432.2+5051_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/148653/ft2_4FGL_J1432.2+5051_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/148653/ltcube_683337601_683596801_4FGL_J1432.2+5051_daily_bin1713.fits outfile=/scratch/kocevski/148653/expmap_683337601_683596801_4FGL_J1432.2+5051_daily_bin1713.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/148653/ltcube_683337601_683596801_4FGL_J1432.2+5051_daily_bin1713.fits
.....................!
real 192.53
user 186.46
sys 5.22

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/148653/ft1_filtered_4FGL_J1432.2+5051_daily_bin1713.fits scfile=/scratch/kocevski/148653/ft2_4FGL_J1432.2+5051_daily_bin1713.fits outfile=/scratch/kocevski/148653/cmap_683337601_683596801_4FGL_J1432.2+5051_daily_bin1713.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/148653/ft1_filtered_4FGL_J1432.2+5051_daily_bin1713.fits scfile=/scratch/kocevski/148653/ft2_4FGL_J1432.2+5051_daily_bin1713.fits outfile=/scratch/kocevski/148653/cmap_HighResolution_683337601_683596801_4FGL_J1432.2+5051_daily_bin1713.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/148653/ft1_filtered_4FGL_J1432.2+5051_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/148653/ft2_4FGL_J1432.2+5051_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/148653/Model_4FGL_J1432.2+5051_daily_bin1713.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/148653/ft1_filtered_4FGL_J1432.2+5051_daily_bin1713.fits.....................!
real 49.50
user 48.13
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/148653/ft1_filtered_4FGL_J1432.2+5051_daily_bin1713.fits', '/scratch/kocevski/148653/ft2_4FGL_J1432.2+5051_daily_bin1713.fits', expMap='/scratch/kocevski/148653/expmap_683337601_683596801_4FGL_J1432.2+5051_daily_bin1713.fits', expCube='/scratch/kocevski/148653/ltcube_683337601_683596801_4FGL_J1432.2+5051_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/148653/Model_4FGL_J1432.2+5051_daily_bin1713.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/148653/ft1_filtered_4FGL_J1432.2+5051_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/148653/ft2_4FGL_J1432.2+5051_daily_bin1713.fits
Exposure map: /scratch/kocevski/148653/expmap_683337601_683596801_4FGL_J1432.2+5051_daily_bin1713.fits
Exposure cube: /scratch/kocevski/148653/ltcube_683337601_683596801_4FGL_J1432.2+5051_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/148653/Model_4FGL_J1432.2+5051_daily_bin1713.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) = 6313.39978479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20558E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18313E-06   1.0000          .0000       .10000E+07
     3 'norm      '    5.1980       1.0000          .0000       .10000E+07
     4 'Prefactor '    57.161       1.0000          .0000       .10000E+07
     5 'norm      '    .20434E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .18723E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .26684E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10814E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16774E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .17415E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6483       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.332       1.0000          .0000       .10000E+07
    13 'Prefactor '    40.543       1.0000          .0000       .10000E+07
    14 'Prefactor '    .73141E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .15634E-04   1.0000          .0000       .10000E+07
    16 'norm      '    2.4112       1.0000          .0000       .10000E+07
    17 'Prefactor '    29.041       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12468E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.2096       1.0000          .0000       .10000E+07
    20 'norm      '    2.2044       1.0000          .0000       .10000E+07
    21 'Prefactor '    .12490E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    18.128       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.4625       1.0000          .0000       .10000E+07
    24 'Normalizat'    .66966       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2587       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=   6313.389     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     2101 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    28.317        .37638E-06** at limit **
   2  Prefactor     .12057E-06    14.971        .11840E-05** at limit **
   3  norm          5.1959        3.8930        .46792E-06    .29919E-02
   4  Prefactor     57.532        19.465        .26317E-05   -.23187    
   5  norm           .0000        .43982       -.15753E-06** at limit **
   6  norm          .55511E-10    1.8197       -.28933E-06** at limit **
   7  Prefactor     .29817E-05    12.856       -.46507E-05** at limit **
   8  Prefactor     .38466E-05    18.100        .54913E-05** at limit **
   9  Prefactor     .55511E-10    2.9750        .68104E-06** at limit **
  10  Prefactor     .17603E-06    6.6364       -.15488E-05** at limit **
  11  Prefactor     1.6467        1.8115        .10464E-06   -.15904E-02
  12  Prefactor     13.261        2.3483       -.64471E-06   -.11167E-01
  13  Prefactor     40.498        1.0352        .34525E-07   -.58765E-02
  14  Prefactor     .94053E-06    62.875        .18088E-05** at limit **
  15  Prefactor     .55511E-10    3.9790       -.20762E-06** at limit **
  16  norm          2.4107        1.2493        .15747E-07   -.39111E-02
  17  Prefactor     28.891        14.530       -.17301E-05   -.60982E-01
  18  Prefactor      .0000        1.3247       -.17067E-06** at limit **
  19  Prefactor     1.2925        16.094        .57941E-05    .50597E-03
  20  norm          2.2051        2.4726        .13356E-06    .52264E-03
  21  Prefactor     .55511E-10    3.0041       -.43884E-06** at limit **
  22  Prefactor     18.093        2.7274        .44094E-06    .86396E-02
  23  Prefactor     3.4844        8.6114       -.83043E-06   -.15473E-02
  24  Normalizat    .66932        .17904        .82516E-05   -.15091E-03
  25  Prefactor     1.2590        .21646       -.14834E-04   -.20646E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 1.2057e-07
  norm       = 5.19587
  Prefactor  = 57.532
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 2.98167e-06
  Prefactor  = 3.84665e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 1.76026e-07
  Prefactor  = 1.64671
  Prefactor  = 13.2612
  Prefactor  = 40.498
  Prefactor  = 9.40525e-07
  Prefactor  = 5.55112e-11
  norm       = 2.41073
  Prefactor  = 28.8913
  Prefactor  = 0
  Prefactor  = 1.29252
  norm       = 2.20507
  Prefactor  = 5.55112e-11
  Prefactor  = 18.0931
  Prefactor  = 3.48435
  Normalizat = 0.669322
  Prefactor  = 1.25905
 **********
 **   18 **HESSE 
 **********

 FCN=   6313.389     FROM HESSE     STATUS=OK           473 CALLS     2574 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    27.768        .17000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12057E-06    15.016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.1959        3.9021        .44068E-03   -1.5662    
   4  Prefactor     57.532        53.616        .13228E-03   -1.5556    
   5  norm           .0000        .43837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    1.8218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .29817E-05    18.988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38466E-05    20.818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    2.9626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17603E-06    20.345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6467        1.9478        .82217E-03   -1.5682    
  12  Prefactor     13.261        22.973        .27406E-03   -1.5635    
  13  Prefactor     40.498        40.805        .15707E-03   -1.5581    
  14  Prefactor     .94053E-06    62.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    3.9789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4107        1.2508        .65900E-03   -1.5677    
  17  Prefactor     28.891        16.185        .18559E-03   -1.5600    
  18  Prefactor      .0000        1.3245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.2925        19.489        .10287E-02   -1.5685    
  20  norm          2.2051        2.4951        .69263E-03   -1.5678    
  21  Prefactor     .55511E-10    3.0068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.093        22.175        .23496E-03   -1.5623    
  23  Prefactor     3.4844        9.3748        .54323E-03   -1.5671    
  24  Normalizat    .66932        .15460        .41884E-01   -1.0512    
  25  Prefactor     1.2590        .18186        .52467E-01   -.84533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1611e-06
Minuit parameter uncertainties:
  1  0.000166652
  2  0.00269092
  3  3.90215
  4  53.6168
  5  1.08109e-06
  6  1.91822e-05
  7  0.0150488
  8  0.0178977
  9  2.09556e-05
  10  0.00378493
  11  1.94781
  12  22.9728
  13  40.805
  14  0.0153864
  15  2.88691e-05
  16  1.25078
  17  16.1847
  18  9.23966e-06
  19  10.038
  20  2.49507
  21  2.18521e-05
  22  22.1752
  23  9.37483
  24  0.154701
  25  0.181947
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  4.050e+01  4.081e+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.259e+00  1.819e-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:  6.693e-01  1.547e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 218.068 50.860
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 2.01e-08 +/- 2.02e-08
Energy Flux (Fixed Index): 8.39e-06 +/- 8.46e-06

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

Saving results to:
/scratch/kocevski/148653/likelihoodResults_683337601_683596801_4FGL_J1432.2+5051_daily_bin1713.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) = 6313.34740636
delta logL = 0.0412683915456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6313.3468931
delta logL = 0.0417816514355

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6313.347     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      285 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.629        56.315        .73486E-05    .11980E-02
   2  Index         2.4553        .90205        .68210E-02    .68902E-04
   3  Normalizat    .66547        .17542        .25257E-03   -.55922E-03
   4  Prefactor     1.2619        .21531        .23173E-03   -.69086E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.6288
  Index      = 2.45529
  Normalizat = 0.665474
  Prefactor  = 1.26194
 **********
 **   18 **HESSE 
 **********

 FCN=   6313.347     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.629        48.148        .14697E-05   -1.5599    
   2  Index         2.4553        .77266        .27284E-03   -.53396    
   3  Normalizat    .66547        .17541        .50514E-04   -1.0527    
   4  Prefactor     1.2619        .21534        .46345E-04   -.84446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.12008e-10
Minuit parameter uncertainties:
  1  48.1491
  2  0.776872
  3  0.175555
  4  0.215488
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/148653': 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) = 6313.34689179
delta logL = 0.0417829629851

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  2.963e+01  4.815e+01  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  2.455e+00  7.769e-01  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.262e+00  2.155e-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:  6.655e-01  1.756e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 218.068 50.860
Photon Index (Free Index): 2.46 +/- 0.78
Photon Flux (Free Index): 2.32e-08 +/- 2.44e-08
Energy Flux (Free Index): 7.09e-06 +/- 7.90e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/148653/cmap_HighResolution_683337601_683596801_4FGL_J1432.2+5051_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.31e-03', comment='SUCCESS', photon_flux='2.01e-08', energy_flux2='7.09e-06', photon_flux_error='2.02e-08', dlogl='4.18e-02', energy_flux='8.39e-06', photon_flux2='2.32e-08', job_status='DONE', time_completed='2022-09-16 18:39:15.135166', photon_index_error2='0.78', photon_index2='2.46', ts='1.55', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='6.95e-08', energy_flux_error2='7.90e-06', EG='0.67', time_epoch_completed='1663378755.14', return_code='0', job_id='148653', GAL2='1.26', EG2='0.67', return_code2='0', energy_flux_error='8.46e-06', photon_flux_error2='2.44e-08', ts2='1.64', photon_index='2.24' WHERE bin_id='1713' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:39:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 148653: <4FGL_J1432.2+5051_daily_bin1713> in cluster <slac> Done

Job <4FGL_J1432.2+5051_daily_bin1713> 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) <bullet0259>, 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:39:15 2022
Results reported at Fri Sep 16 18:39:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin1713 218.068 50.8596 683337601 683596801 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 :                                   697.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            835 sec.

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

