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


Performing analysis on: 4FGL_J1432.2+5051_daily_bin1709
RA = 218.068, Dec = 50.8596
tmin = 682300801, tmax = 682560001
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='148648', job_status='RUN', time_executed='2022-09-16 18:27:45.968105', time_epoch_executed='1663378065.97' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/148648

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/148648/ft1_4FGL_J1432.2+5051_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/148648/ft2_4FGL_J1432.2+5051_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/148648/ft1_4FGL_J1432.2+5051_daily_bin1709.fits outfile=/scratch/kocevski/148648/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1709.fits ra=218.068 dec=50.8596 rad=12.0 tmin=682300801.0 tmax=682560001.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.85
user 3.57
sys 0.25

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

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

Number of photons that the gtmktime cut: 565

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/148648/ft1_filtered_4FGL_J1432.2+5051_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/148648/ft2_4FGL_J1432.2+5051_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/148648/ltcube_682300801_682560001_4FGL_J1432.2+5051_daily_bin1709.fits outfile=/scratch/kocevski/148648/expmap_682300801_682560001_4FGL_J1432.2+5051_daily_bin1709.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/148648/ltcube_682300801_682560001_4FGL_J1432.2+5051_daily_bin1709.fits
.....................!
real 191.52
user 185.78
sys 5.10

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/148648/ft1_filtered_4FGL_J1432.2+5051_daily_bin1709.fits scfile=/scratch/kocevski/148648/ft2_4FGL_J1432.2+5051_daily_bin1709.fits outfile=/scratch/kocevski/148648/cmap_682300801_682560001_4FGL_J1432.2+5051_daily_bin1709.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/148648/ft1_filtered_4FGL_J1432.2+5051_daily_bin1709.fits scfile=/scratch/kocevski/148648/ft2_4FGL_J1432.2+5051_daily_bin1709.fits outfile=/scratch/kocevski/148648/cmap_HighResolution_682300801_682560001_4FGL_J1432.2+5051_daily_bin1709.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.57
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    68.120       1.0000          .0000       .10000E+07
     2 'Prefactor '    .40263E-03   1.0000          .0000       .10000E+07
     3 'norm      '    2.3625       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.6994       1.0000          .0000       .10000E+07
     5 'norm      '    .46907E-07   1.0000          .0000       .10000E+07
     6 'norm      '    10.303       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13865E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13443E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.5680       1.0000          .0000       .10000E+07
    10 'Prefactor '    22.416       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.1793       1.0000          .0000       .10000E+07
    12 'Prefactor '    27.467       1.0000          .0000       .10000E+07
    13 'Prefactor '    .53439E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    25.837       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.024       1.0000          .0000       .10000E+07
    16 'norm      '    1.2448       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.8065       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.8552       1.0000          .0000       .10000E+07
    19 'Prefactor '    25.468       1.0000          .0000       .10000E+07
    20 'norm      '    .60399       1.0000          .0000       .10000E+07
    21 'Prefactor '    .30066E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .35091E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .15916E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0425       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .86726       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=   6236.163     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2124 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     69.897        41.849        .95750E-07    .22129E-01
   2  Prefactor     .46629E-08    6.7592        .86857E-07** at limit **
   3  norm          2.3187        4.0981       -.11980E-06    .11724E-02
   4  Prefactor     13.159        76.180        .22924E-05   -.87847E-03
   5  norm           .0000        .56164       -.48174E-07** at limit **
   6  norm          10.259        4.6540       -.46113E-08    .90518E-03
   7  Prefactor     .53291E-08    17.014       -.11055E-05** at limit **
   8  Prefactor     .11102E-09    8.9214        .72903E-06** at limit **
   9  Prefactor     2.5797        3.8984       -.24452E-07    .11104E-03
  10  Prefactor     22.686        2.1572        .64447E-07    .11046E-01
  11  Prefactor     5.1596        2.8745        .11319E-06    .56169E-04
  12  Prefactor     28.123        6.7082        .10131E-06   -.63676E-01
  13  Prefactor     .38858E-09    34.977       -.12978E-05** at limit **
  14  Prefactor     25.571        4.7609       -.30265E-07   -.74710E-01
  15  Prefactor     9.9814        16.055        .31244E-06    .15211E-01
  16  norm          1.2507        1.4608        .17658E-06   -.26049E-02
  17  Prefactor     1.6654        15.242        .34836E-07    .72382E-04
  18  Prefactor     2.8726        5.1132        .93806E-07    .39426E-03
  19  Prefactor     25.506        9.9702       -.18554E-06    .16350E-02
  20  norm          .61754        2.4273        .96321E-07   -.21310E-03
  21  Prefactor     .55511E-10    3.3639       -.59840E-06** at limit **
  22  Prefactor     .99920E-09    6.5876        .49318E-07** at limit **
  23  Prefactor      .0000        7.8478        .15696E-06** at limit **
  24  Normalizat    1.0370        .20581       -.34456E-05    .36822E-04
  25  Prefactor     .87026        .22789        .10199E-05    .13258E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 69.8967
  Prefactor  = 4.66294e-09
  norm       = 2.31873
  Prefactor  = 13.1588
  norm       = 0
  norm       = 10.259
  Prefactor  = 5.32907e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 2.57972
  Prefactor  = 22.686
  Prefactor  = 5.15962
  Prefactor  = 28.1228
  Prefactor  = 3.88578e-10
  Prefactor  = 25.5709
  Prefactor  = 9.98142
  norm       = 1.25073
  Prefactor  = 1.66543
  Prefactor  = 2.87259
  Prefactor  = 25.5058
  norm       = 0.61754
  Prefactor  = 5.55112e-11
  Prefactor  = 9.99201e-10
  Prefactor  = 0
  Normalizat = 1.03697
  Prefactor  = 0.870261
 **********
 **   18 **HESSE 
 **********

 FCN=   6236.163     FROM HESSE     STATUS=OK           481 CALLS     2605 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     69.897        42.775        .12117E-03   -1.5541    
   2  Prefactor     .46629E-08    12.947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.3187        4.1273        .66645E-03   -1.5678    
   4  Prefactor     13.159        75.057        .36116E-03   -1.5635    
   5  norm           .0000        .55876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.259        4.6561        .31192E-03   -1.5644    
   7  Prefactor     .53291E-08    17.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    8.8962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5797        3.9440        .63672E-03   -1.5676    
  10  Prefactor     22.686        21.384        .21127E-03   -1.5613    
  11  Prefactor     5.1596        3.1113        .44149E-03   -1.5663    
  12  Prefactor     28.123        29.542        .19084E-03   -1.5602    
  13  Prefactor     .38858E-09    35.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.571        24.707        .19677E-03   -1.5607    
  15  Prefactor     9.9814        16.501        .31625E-03   -1.5645    
  16  norm          1.2507        1.4929        .10035E-02   -1.5686    
  17  Prefactor     1.6654        15.821        .77720E-03   -1.5682    
  18  Prefactor     2.8726        5.1157        .60141E-03   -1.5674    
  19  Prefactor     25.506        10.106        .19820E-03   -1.5607    
  20  norm          .61754        2.4276        .68871E-03   -1.5692    
  21  Prefactor     .55511E-10    3.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .99920E-09    13.181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        7.8449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0370        .17506        .41086E-01   -.91802    
  25  Prefactor     .87026        .19172        .64622E-01   -.97188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71091e-07
Minuit parameter uncertainties:
  1  42.7755
  2  0.000491421
  3  4.12728
  4  62.8551
  5  9.13719e-07
  6  4.65607
  7  0.000601313
  8  6.12929e-05
  9  3.944
  10  21.3842
  11  3.11127
  12  29.5421
  13  0.000241485
  14  24.7069
  15  16.5008
  16  1.49286
  17  10.2663
  18  5.1157
  19  10.106
  20  2.42761
  21  2.56328e-05
  22  0.000228828
  23  1.56026e-05
  24  0.175158
  25  0.191868
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  3.886e-10  2.415e-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:  8.703e-01  1.919e-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.037e+00  1.752e-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: 6.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/148648/likelihoodResults_682300801_682560001_4FGL_J1432.2+5051_daily_bin1709.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) = 6236.17686649
delta logL = -0.0135567675543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6236.12777924
delta logL = 0.0355304807836

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18897       1.0000          .0000       .10000E+07
     2 'Index     '    4.2892       1.0000          .0000       10.000    
     3 'Normalizat'    1.0234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87908       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=   6236.128     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      245 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18739        3.4783        .25172E-02** at limit **
   2  Index         4.2928        1.6106        .20354        .43864E-05
   3  Normalizat    1.0235        .13351E-01    .42889E-01   -.81315E-04
   4  Prefactor     .87903        .15390E-01    .64324E-01   -.21193E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.187386
  Index      = 4.29279
  Normalizat = 1.02345
  Prefactor  = 0.879034
 **********
 **   18 **HESSE 
 **********

 FCN=   6236.128     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      280 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18739        121.17        .88219E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2928        7.2212        .78386E-02   -.14192    
   3  Normalizat    1.0235        .10409        .23170E-03   -.92249    
   4  Prefactor     .87903        .11817        .28450E-03   -.96878    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.98457e-10
Minuit parameter uncertainties:
  1  9.53046
  2  19.0231
  3  0.104115
  4  0.118202
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/148648': 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) = 6236.12777879
delta logL = 0.0355309340603

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.874e-01  9.530e+00  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  4.293e+00  1.902e+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:  8.790e-01  1.182e-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.023e+00  1.041e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/148648/cmap_HighResolution_682300801_682560001_4FGL_J1432.2+5051_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.05e-08', time_completed='2022-09-16 18:39:08.488839', job_id='148648', GAL2='0.88', fit_tolerance='1e-08', EG2='1.02', EG='1.04', time_epoch_completed='1663378748.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.55e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1709' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:39:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 148648: <4FGL_J1432.2+5051_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1432.2+5051_daily_bin1709> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 18:25:19 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:25:57 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:25:57 2022
Terminated at Fri Sep 16 18:39:09 2022
Results reported at Fri Sep 16 18:39:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin1709 218.068 50.8596 682300801 682560001 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 :                                   683.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             316.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            830 sec.

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

