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


Performing analysis on: 4FGL_J1432.2+5051_daily_bin1765
RA = 218.068, Dec = 50.8596
tmin = 696816001, tmax = 697075201
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='636908', job_status='RUN', time_executed='2023-02-03 01:07:07.404462', time_epoch_executed='1675415227.4' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636908

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636908/ft1_4FGL_J1432.2+5051_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636908/ft2_4FGL_J1432.2+5051_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636908/ft1_4FGL_J1432.2+5051_daily_bin1765.fits outfile=/scratch/kocevski/636908/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1765.fits ra=218.068 dec=50.8596 rad=12.0 tmin=696816001.0 tmax=697075201.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.72
user 3.47
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/636908/ft2_4FGL_J1432.2+5051_daily_bin1765.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/636908/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/636908/ft1_filtered_4FGL_J1432.2+5051_daily_bin1765.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 608

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636908/ft1_filtered_4FGL_J1432.2+5051_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/636908/ft2_4FGL_J1432.2+5051_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/636908/ltcube_696816001_697075201_4FGL_J1432.2+5051_daily_bin1765.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/636908/ft2_4FGL_J1432.2+5051_daily_bin1765.fits
.....................!
real 16.69
user 16.19
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636908/ft1_filtered_4FGL_J1432.2+5051_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/636908/ft2_4FGL_J1432.2+5051_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/636908/ltcube_696816001_697075201_4FGL_J1432.2+5051_daily_bin1765.fits outfile=/scratch/kocevski/636908/expmap_696816001_697075201_4FGL_J1432.2+5051_daily_bin1765.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/636908/ltcube_696816001_697075201_4FGL_J1432.2+5051_daily_bin1765.fits
.....................!
real 195.86
user 190.48
sys 4.59

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/636908/ft1_filtered_4FGL_J1432.2+5051_daily_bin1765.fits scfile=/scratch/kocevski/636908/ft2_4FGL_J1432.2+5051_daily_bin1765.fits outfile=/scratch/kocevski/636908/cmap_696816001_697075201_4FGL_J1432.2+5051_daily_bin1765.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/636908/ft1_filtered_4FGL_J1432.2+5051_daily_bin1765.fits scfile=/scratch/kocevski/636908/ft2_4FGL_J1432.2+5051_daily_bin1765.fits outfile=/scratch/kocevski/636908/cmap_HighResolution_696816001_697075201_4FGL_J1432.2+5051_daily_bin1765.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.58
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.554       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46293E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .39426E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.836       1.0000          .0000       .10000E+07
     5 'norm      '    .28255E-07   1.0000          .0000       .10000E+07
     6 'norm      '    .53723       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.9414       1.0000          .0000       .10000E+07
     8 'Prefactor '    31.038       1.0000          .0000       .10000E+07
     9 'Prefactor '    .48450E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .23972E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.8945       1.0000          .0000       .10000E+07
    12 'Prefactor '    .30592E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .55892E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .18119E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .17514E-06   1.0000          .0000       .10000E+07
    16 'norm      '    2.4051       1.0000          .0000       .10000E+07
    17 'Prefactor '    .49501       1.0000          .0000       .10000E+07
    18 'Prefactor '    .24390E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.8715       1.0000          .0000       .10000E+07
    20 'norm      '    3.0283       1.0000          .0000       .10000E+07
    21 'Prefactor '    .55506E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    53.487       1.0000          .0000       .10000E+07
    23 'Prefactor '    .61410E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    .96106       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0533       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=   6599.856     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2136 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.858        20.409        .43956E-07   -.10866    
   2  Prefactor     .61062E-09    25.179       -.12257E-06** at limit **
   3  norm           .0000        2.7137        .97915E-08** at limit **
   4  Prefactor     12.796        40.783       -.14240E-06   -.74798E-01
   5  norm           .0000        .43007        .19714E-07** at limit **
   6  norm          .53708        7.3399       -.18121E-06   -.24435E-02
   7  Prefactor     4.1277        3.9812        .33719E-07   -.18951E-01
   8  Prefactor     30.782        13.636       -.36029E-07    .10898    
   9  Prefactor      .0000        1.9588        .22527E-07** at limit **
  10  Prefactor     .66613E-08    44.725       -.39133E-06** at limit **
  11  Prefactor     1.8942        2.1502       -.78723E-08   -.41166E-02
  12  Prefactor      .0000        7.1539       -.19022E-07** at limit **
  13  Prefactor     .10880E-07    16.929        .25672E-07** at limit **
  14  Prefactor     .36007E-04    85.023        .58460E-07** at limit **
  15  Prefactor     .77716E-09    5.8602        .13844E-06** at limit **
  16  norm          2.4072        1.3949       -.73531E-08   -.65371E-02
  17  Prefactor     .34132        1.9038       -.25064E-07    .25740E-01
  18  Prefactor     .11102E-09    1.3579       -.54979E-07** at limit **
  19  Prefactor     3.9336        5.6864        .72934E-07   -.16489E-02
  20  norm          3.0294        2.6082       -.30515E-07   -.63813E-02
  21  Prefactor      .0000        3.8725       -.82429E-08** at limit **
  22  Prefactor     53.572        8.9049        .16385E-07   -.91026E-01
  23  Prefactor     .94369E-09    8.4889        .16916E-06** at limit **
  24  Normalizat    .96000        .18395        .12482E-05   -.51455E-03
  25  Prefactor     1.0538        .21622       -.25954E-05   -.62437E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.8578
  Prefactor  = 6.10623e-10
  norm       = 0
  Prefactor  = 12.7961
  norm       = 0
  norm       = 0.53708
  Prefactor  = 4.12771
  Prefactor  = 30.7822
  Prefactor  = 0
  Prefactor  = 6.66134e-09
  Prefactor  = 1.89424
  Prefactor  = 0
  Prefactor  = 1.08802e-08
  Prefactor  = 3.60074e-05
  Prefactor  = 7.77156e-10
  norm       = 2.40717
  Prefactor  = 0.341319
  Prefactor  = 1.11022e-10
  Prefactor  = 3.93359
  norm       = 3.02941
  Prefactor  = 0
  Prefactor  = 53.5716
  Prefactor  = 9.4369e-10
  Normalizat = 0.959999
  Prefactor  = 1.05381
 **********
 **   18 **HESSE 
 **********

 FCN=   6599.856     FROM HESSE     STATUS=OK           485 CALLS     2621 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.858        35.800        .17014E-03   -1.5590    
   2  Prefactor     .61062E-09    25.285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.6928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.796        60.745        .30411E-03   -1.5636    
   5  norm           .0000        .42824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .53708        7.6241        .75049E-03   -1.5693    
   7  Prefactor     4.1277        42.013        .50787E-03   -1.5667    
   8  Prefactor     30.782        32.877        .17952E-03   -1.5597    
   9  Prefactor      .0000        1.9570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .66613E-08    8.4195        .12453E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.8942        2.1895        .75555E-03   -1.5680    
  12  Prefactor      .0000        7.1530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10880E-07    17.132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .36007E-04    97.915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .77716E-09    5.8624        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4072        1.3969        .65993E-03   -1.5677    
  17  Prefactor     .34132        7.2574        .79213E-02   -1.5696    
  18  Prefactor     .11102E-09    1.3612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.9336        6.1838        .51260E-03   -1.5668    
  20  norm          3.0294        2.6405        .58288E-03   -1.5673    
  21  Prefactor      .0000        3.8673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     53.572        34.831        .13674E-03   -1.5562    
  23  Prefactor     .94369E-09    8.5015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .96000        .15784        .45677E-01   -.94383    
  25  Prefactor     1.0538        .17870        .57662E-01   -.90957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71189e-06
Minuit parameter uncertainties:
  1  35.8
  2  0.000250745
  3  1.08102e-05
  4  55.7609
  5  5.45717e-06
  6  4.04711
  7  26.3379
  8  32.8773
  9  1.31872e-05
  10  0.000474444
  11  2.18945
  12  1.80424e-05
  13  0.000864219
  14  0.118757
  15  0.000134988
  16  1.39694
  17  3.14777
  18  2.48903e-05
  19  6.18378
  20  2.64054
  21  1.52374e-06
  22  34.8314
  23  0.000179446
  24  0.157912
  25  0.178803
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.088e-08  8.642e-04  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.054e+00  1.788e-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:  9.600e-01  1.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/636908/likelihoodResults_696816001_697075201_4FGL_J1432.2+5051_daily_bin1765.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) = 6599.88371814
delta logL = -0.0278951791643

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6599.8558233
delta logL = -3.38615791406e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94680E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.2682       1.0000          .0000       10.000    
     3 'Normalizat'    .95993       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0539       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=   6599.856     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      228 TOTAL
                     EDM=   .51E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .95532E-01    .42118E-03** at limit **
   2  Index         2.0786        5.4672        .50000        .22737E-10
   3  Normalizat    .96000        .25375E-03    .45663E-01    .20951E-03
   4  Prefactor     1.0538        .30417E-03    .57662E-01    .17375E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.0786
  Normalizat = 0.959998
  Prefactor  = 1.05381
 **********
 **   18 **HESSE 
 **********

 FCN=   6599.856     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      261 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .49669        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0786        5.0735        .50000       -.62399    
   3  Normalizat    .96000        .57813E-03    .22287E-03   -.94383    
   4  Prefactor     1.0538        .69279E-03    .25498E-03   -.90957    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.64121e-13
Minuit parameter uncertainties:
  1  1.66565e-05
  2  17209.4
  3  0.000578125
  4  0.000692786
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636908': 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) = 6599.85582296
delta logL = 5.25687937625e-10

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.665e-10  1.666e-05  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  2.079e+00  1.721e+04  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.054e+00  6.928e-04  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:  9.600e-01  5.781e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 218.068 50.860

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/636908/cmap_HighResolution_696816001_697075201_4FGL_J1432.2+5051_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='3.97e-08', time_completed='2023-02-03 01:19:10.656160', job_id='636908', GAL2='1.05', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1675415950.66', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='5.26e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1765' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:19:10 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 636908: <4FGL_J1432.2+5051_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1432.2+5051_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:05:31 2023
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:06:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:06:45 2023
Terminated at Fri Feb  3 01:19:11 2023
Results reported at Fri Feb  3 01:19:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin1765 218.068 50.8596 696816001 697075201 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 :                                   724.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            820 sec.

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

