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


Performing analysis on: 4FGL_J1432.2+5051_daily_bin1745
RA = 218.068, Dec = 50.8596
tmin = 691632001, tmax = 691891201
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='647872', job_status='RUN', time_executed='2022-12-05 00:45:57.310787', time_epoch_executed='1670229957.31' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647872

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647872/ft1_4FGL_J1432.2+5051_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647872/ft2_4FGL_J1432.2+5051_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647872/ft1_4FGL_J1432.2+5051_daily_bin1745.fits outfile=/scratch/kocevski/647872/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1745.fits ra=218.068 dec=50.8596 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.36
user 2.15
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647872/ft2_4FGL_J1432.2+5051_daily_bin1745.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/647872/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/647872/ft1_filtered_4FGL_J1432.2+5051_daily_bin1745.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: 938

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647872/ft1_filtered_4FGL_J1432.2+5051_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/647872/ft2_4FGL_J1432.2+5051_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/647872/ltcube_691632001_691891201_4FGL_J1432.2+5051_daily_bin1745.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/647872/ft2_4FGL_J1432.2+5051_daily_bin1745.fits
.....................!
real 12.49
user 12.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647872/ft1_filtered_4FGL_J1432.2+5051_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/647872/ft2_4FGL_J1432.2+5051_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/647872/ltcube_691632001_691891201_4FGL_J1432.2+5051_daily_bin1745.fits outfile=/scratch/kocevski/647872/expmap_691632001_691891201_4FGL_J1432.2+5051_daily_bin1745.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/647872/ltcube_691632001_691891201_4FGL_J1432.2+5051_daily_bin1745.fits
.....................!
real 192.31
user 187.16
sys 4.82

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/647872/ft1_filtered_4FGL_J1432.2+5051_daily_bin1745.fits scfile=/scratch/kocevski/647872/ft2_4FGL_J1432.2+5051_daily_bin1745.fits outfile=/scratch/kocevski/647872/cmap_691632001_691891201_4FGL_J1432.2+5051_daily_bin1745.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647872/ft1_filtered_4FGL_J1432.2+5051_daily_bin1745.fits scfile=/scratch/kocevski/647872/ft2_4FGL_J1432.2+5051_daily_bin1745.fits outfile=/scratch/kocevski/647872/cmap_HighResolution_691632001_691891201_4FGL_J1432.2+5051_daily_bin1745.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/647872/ft1_filtered_4FGL_J1432.2+5051_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/647872/ft2_4FGL_J1432.2+5051_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647872/Model_4FGL_J1432.2+5051_daily_bin1745.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/647872/ft1_filtered_4FGL_J1432.2+5051_daily_bin1745.fits.....................!
real 73.88
user 72.51
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.183       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.6477       1.0000          .0000       .10000E+07
     3 'norm      '    .53588       1.0000          .0000       .10000E+07
     4 'Prefactor '    67.252       1.0000          .0000       .10000E+07
     5 'norm      '    .49825       1.0000          .0000       .10000E+07
     6 'norm      '    .55932E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.5732       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.8120       1.0000          .0000       .10000E+07
     9 'Prefactor '    .28338E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .66860E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.1283       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.1592       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12127E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13531E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    22.489       1.0000          .0000       .10000E+07
    16 'norm      '    2.1908       1.0000          .0000       .10000E+07
    17 'Prefactor '    .75404E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.6243       1.0000          .0000       .10000E+07
    19 'Prefactor '    .51694E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .38902E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .25094E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .27372E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .61155       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0648       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2170       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=   10146.40     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     2175 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.852        25.965       -.21792E-05   -.23000E-01
   2  Prefactor     5.3199        11.772       -.25839E-05   -.75353E-01
   3  norm          .53199        3.1464       -.17511E-06    .35352E-03
   4  Prefactor     68.863        54.901        .12689E-05   -.33000E-01
   5  norm          .49984        .75825       -.15889E-06    .83567E-03
   6  norm          .14890E-04    35.887       -.59215E-05** at limit **
   7  Prefactor     5.1441        23.215       -.17073E-05    .22072E-01
   8  Prefactor     9.8292        7.5014        .16363E-05    .43970E-01
   9  Prefactor     .16653E-09    1.7334        .23454E-06** at limit **
  10  Prefactor     .33085E-07    7.5903        .17371E-05** at limit **
  11  Prefactor     1.1214        1.9079       -.18706E-06    .89432E-05
  12  Prefactor     8.1534        1.2383       -.10442E-06   -.69115E-03
  13  Prefactor     .44409E-09    8.7487        .21317E-05** at limit **
  14  Prefactor     .39968E-08    6.3042       -.83619E-07** at limit **
  15  Prefactor     22.497        12.156       -.62996E-06   -.22226E-01
  16  norm          2.1912        1.1678        .11448E-06    .12318E-03
  17  Prefactor     .11297E-06    12.683        .60410E-06** at limit **
  18  Prefactor     1.6254        1.9332       -.29153E-06   -.28801E-03
  19  Prefactor     .74940E-08    6.4810        .92303E-06** at limit **
  20  norm           .0000        .96368        .29148E-06** at limit **
  21  Prefactor     .18834E-05    5.4257        .31542E-05** at limit **
  22  Prefactor     .46629E-08    10.397       -.10016E-05** at limit **
  23  Prefactor     .61691        9.2762        .23689E-05   -.38658E-03
  24  Normalizat    1.0634        .16258       -.21771E-05    .33641E-04
  25  Prefactor     1.2177        .19133       -.13823E-04    .15068E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.8521
  Prefactor  = 5.31992
  norm       = 0.531992
  Prefactor  = 68.8627
  norm       = 0.499843
  norm       = 1.48896e-05
  Prefactor  = 5.14408
  Prefactor  = 9.82923
  Prefactor  = 1.66533e-10
  Prefactor  = 3.30846e-08
  Prefactor  = 1.12136
  Prefactor  = 8.15336
  Prefactor  = 4.44089e-10
  Prefactor  = 3.9968e-09
  Prefactor  = 22.4967
  norm       = 2.19124
  Prefactor  = 1.12965e-07
  Prefactor  = 1.6254
  Prefactor  = 7.49401e-09
  norm       = 0
  Prefactor  = 1.88344e-06
  Prefactor  = 4.66294e-09
  Prefactor  = 0.61691
  Normalizat = 1.06343
  Prefactor  = 1.21767
 **********
 **   18 **HESSE 
 **********

 FCN=   10146.40     FROM HESSE     STATUS=OK           495 CALLS     2670 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.852        36.145        .19547E-03   -1.5604    
   2  Prefactor     5.3199        37.353        .42246E-03   -1.5662    
   3  norm          .53199        3.1231        .75179E-03   -1.5693    
   4  Prefactor     68.863        56.780        .12195E-03   -1.5542    
   5  norm          .49984        .78246        .78885E-03   -1.5694    
   6  norm          .14890E-04    2.5693        .51891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.1441        84.912        .47047E-03   -1.5663    
   8  Prefactor     9.8292        20.288        .31966E-03   -1.5645    
   9  Prefactor     .16653E-09    1.7385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .33085E-07    16.393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1214        2.1652        .11007E-02   -1.5687    
  12  Prefactor     8.1534        14.408        .35075E-03   -1.5651    
  13  Prefactor     .44409E-09    16.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .39968E-08    6.3020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.497        12.214        .21093E-03   -1.5613    
  16  norm          2.1912        1.1730        .69504E-03   -1.5678    
  17  Prefactor     .11297E-06    12.679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.6254        1.9416        .82986E-03   -1.5682    
  19  Prefactor     .74940E-08    6.4506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .96708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .18834E-05    2.0499        .79982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .46629E-08    10.415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .61691        9.5058        .68200E-03   -1.5692    
  24  Normalizat    1.0634        .13734        .39660E-01   -.90935    
  25  Prefactor     1.2177        .16038        .60116E-01   -.85789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69068e-06
Minuit parameter uncertainties:
  1  36.1452
  2  28.1934
  3  2.57797
  4  56.7805
  5  0.782465
  6  0.0123702
  7  41.8
  8  20.2877
  9  3.16793e-05
  10  0.00147272
  11  2.16516
  12  14.4085
  13  0.000174271
  14  0.000317456
  15  12.2143
  16  1.17301
  17  0.00239354
  18  1.94157
  19  0.000439818
  20  9.16159e-08
  21  0.00392982
  22  0.000440079
  23  4.84324
  24  0.137384
  25  0.16044
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  4.441e-10  1.743e-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.218e+00  1.604e-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:  1.063e+00  1.374e-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.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647872/likelihoodResults_691632001_691891201_4FGL_J1432.2+5051_daily_bin1745.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) = 10146.4292309
delta logL = -0.0297233476103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10146.3911413
delta logL = 0.00836625006377

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8076       1.0000          .0000       .10000E+07
     2 'Index     '    1.1992       1.0000          .0000       10.000    
     3 'Normalizat'    1.0637       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2167       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=   10146.39     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      306 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8017        61.598        .20681E-04    .44196E-03
   2  Index         1.1992        1.5728        .32667E-01   -.25100E-04
   3  Normalizat    1.0637        .15769        .23614E-03    .50596E-03
   4  Prefactor     1.2167        .18921        .26596E-03    .37611E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.80173
  Index      = 1.19921
  Normalizat = 1.06374
  Prefactor  = 1.21667
 **********
 **   18 **HESSE 
 **********

 FCN=   10146.39     FROM HESSE     STATUS=OK            25 CALLS      331 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8017        64.539        .82726E-06   -1.5669    
   2  Index         1.1992        1.6103        .13067E-02   -.86356    
   3  Normalizat    1.0637        .15784        .47227E-04   -.90925    
   4  Prefactor     1.2167        .18939        .53192E-04   -.85820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54094e-10
Minuit parameter uncertainties:
  1  31.3283
  2  1.6848
  3  0.157908
  4  0.189498
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647872': 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) = 10146.3911413
delta logL = 0.00836627261015

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  3.802e+00  3.133e+01  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  1.199e+00  1.685e+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.217e+00  1.895e-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:  1.064e+00  1.579e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/647872/cmap_HighResolution_691632001_691891201_4FGL_J1432.2+5051_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.54e-03', job_status='DONE', photon_flux_upper_limit='3.33e-08', time_completed='2022-12-05 01:01:01.246602', job_id='647872', GAL2='1.22', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1670230861.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='8.37e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1745' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:01:01 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 647872: <4FGL_J1432.2+5051_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1432.2+5051_daily_bin1745> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Dec  5 00:45:20 2022
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:45:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:45:21 2022
Terminated at Mon Dec  5 01:01:02 2022
Results reported at Mon Dec  5 01:01:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin1745 218.068 50.8596 691632001 691891201 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 :                                   906.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            942 sec.

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

