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


Performing analysis on: 4FGL_J1432.2+5051_daily_bin1779
RA = 218.068, Dec = 50.8596
tmin = 700444801, tmax = 700704001
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='29197', job_status='RUN', time_executed='2023-03-17 01:52:01.560677', time_epoch_executed='1679043121.56' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/29197

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/29197/ft1_4FGL_J1432.2+5051_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/29197/ft2_4FGL_J1432.2+5051_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/29197/ft1_4FGL_J1432.2+5051_daily_bin1779.fits outfile=/scratch/kocevski/29197/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1779.fits ra=218.068 dec=50.8596 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.30
user 5.01
sys 0.26

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

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

Number of photons that the gtmktime cut: 520

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/29197/ft1_filtered_4FGL_J1432.2+5051_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/29197/ft2_4FGL_J1432.2+5051_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/29197/ltcube_700444801_700704001_4FGL_J1432.2+5051_daily_bin1779.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/29197/ft2_4FGL_J1432.2+5051_daily_bin1779.fits
.....................!
real 11.67
user 11.32
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/29197/ft1_filtered_4FGL_J1432.2+5051_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/29197/ft2_4FGL_J1432.2+5051_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/29197/ltcube_700444801_700704001_4FGL_J1432.2+5051_daily_bin1779.fits outfile=/scratch/kocevski/29197/expmap_700444801_700704001_4FGL_J1432.2+5051_daily_bin1779.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/29197/ltcube_700444801_700704001_4FGL_J1432.2+5051_daily_bin1779.fits
.....................!
real 190.35
user 185.74
sys 4.28

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/29197/ft1_filtered_4FGL_J1432.2+5051_daily_bin1779.fits scfile=/scratch/kocevski/29197/ft2_4FGL_J1432.2+5051_daily_bin1779.fits outfile=/scratch/kocevski/29197/cmap_700444801_700704001_4FGL_J1432.2+5051_daily_bin1779.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/29197/ft1_filtered_4FGL_J1432.2+5051_daily_bin1779.fits scfile=/scratch/kocevski/29197/ft2_4FGL_J1432.2+5051_daily_bin1779.fits outfile=/scratch/kocevski/29197/cmap_HighResolution_700444801_700704001_4FGL_J1432.2+5051_daily_bin1779.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=218.068 yref=50.8596 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11163E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.3475       1.0000          .0000       .10000E+07
     3 'norm      '    5.7775       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10753E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .96973       1.0000          .0000       .10000E+07
     6 'norm      '    .86639       1.0000          .0000       .10000E+07
     7 'Prefactor '    58.908       1.0000          .0000       .10000E+07
     8 'Prefactor '    .91184E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.3291       1.0000          .0000       .10000E+07
    10 'Prefactor '    26.922       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12446E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    9.8870       1.0000          .0000       .10000E+07
    13 'Prefactor '    .29798E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .26094E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9843       1.0000          .0000       .10000E+07
    16 'norm      '    2.8259       1.0000          .0000       .10000E+07
    17 'Prefactor '    .14544E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .49003       1.0000          .0000       .10000E+07
    19 'Prefactor '    .80603E-04   1.0000          .0000       .10000E+07
    20 'norm      '    5.1963       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.5895       1.0000          .0000       .10000E+07
    22 'Prefactor '    .13835E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .56220E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2354       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .69396       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=   5860.356     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2135 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30167E-05    12.185        .19454E-06** at limit **
   2  Prefactor     5.4449        43.470        .48441E-06    .17981E-01
   3  norm          5.7414        5.0418        .15491E-06    .10898E-02
   4  Prefactor     .20706E-07    7.9156       -.16490E-06** at limit **
   5  norm          .95865        1.8724       -.23032E-08   -.29261E-03
   6  norm          .85766        2.7324        .10313E-06    .54824E-03
   7  Prefactor     61.348        54.206        .10690E-07   -.80132E-02
   8  Prefactor     .29593E-05    14.824        .48087E-06** at limit **
   9  Prefactor     3.2556        5.8358       -.86519E-07   -.49566E-03
  10  Prefactor     28.085        15.689        .15190E-06   -.25055E-02
  11  Prefactor      .0000        1.3313       -.46889E-07** at limit **
  12  Prefactor     9.8317        9.0595        .98598E-07    .22624E-01
  13  Prefactor     .27417E-06    9.3903       -.15945E-06** at limit **
  14  Prefactor     .31641E-08    9.2075       -.49778E-07** at limit **
  15  Prefactor     9.9414        9.3481        .11518E-06    .44224E-01
  16  norm          2.8289        1.7164       -.25664E-07   -.12662E-02
  17  Prefactor      .0000        2.7827       -.28891E-07** at limit **
  18  Prefactor     .52602        20.266        .77756E-06   -.80298E-03
  19  Prefactor      .0000        4.6310        .33967E-07** at limit **
  20  norm          5.1960        3.5269       -.68380E-07   -.93690E-03
  21  Prefactor     7.6137        9.2787       -.67721E-07    .79979E-03
  22  Prefactor     .44559E-06    33.322       -.66637E-06** at limit **
  23  Prefactor     .83267E-09    7.6938        .19246E-06** at limit **
  24  Normalizat    1.2324        .20830       -.32348E-05   -.44981E-04
  25  Prefactor     .69513        .22623        .16966E-05   -.23742E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.0167e-06
  Prefactor  = 5.44492
  norm       = 5.7414
  Prefactor  = 2.07057e-08
  norm       = 0.958645
  norm       = 0.857665
  Prefactor  = 61.3483
  Prefactor  = 2.9593e-06
  Prefactor  = 3.25559
  Prefactor  = 28.085
  Prefactor  = 0
  Prefactor  = 9.83171
  Prefactor  = 2.7417e-07
  Prefactor  = 3.16414e-09
  Prefactor  = 9.94141
  norm       = 2.82887
  Prefactor  = 0
  Prefactor  = 0.526021
  Prefactor  = 0
  norm       = 5.19597
  Prefactor  = 7.61374
  Prefactor  = 4.45588e-07
  Prefactor  = 8.32667e-10
  Normalizat = 1.23237
  Prefactor  = 0.695131
 **********
 **   18 **HESSE 
 **********

 FCN=   5860.356     FROM HESSE     STATUS=OK           481 CALLS     2616 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30167E-05    19.934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.4449        68.778        .48285E-03   -1.5661    
   3  norm          5.7414        5.0737        .41761E-03   -1.5660    
   4  Prefactor     .20706E-07    17.261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .95865        1.9049        .42691E-03   -1.5688    
   6  norm          .85766        2.7520        .48112E-03   -1.5689    
   7  Prefactor     61.348        54.369        .13030E-03   -1.5551    
   8  Prefactor     .29593E-05    22.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.2556        6.1152        .55451E-03   -1.5672    
  10  Prefactor     28.085        31.948        .19276E-03   -1.5602    
  11  Prefactor      .0000        1.3179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.8317        13.992        .31844E-03   -1.5645    
  13  Prefactor     .27417E-06    17.039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .31641E-08    9.2765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.9414        13.354        .31688E-03   -1.5645    
  16  norm          2.8289        1.7240        .60473E-03   -1.5674    
  17  Prefactor      .0000        2.7926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .52602        3.8661        .79719E-02   -1.5693    
  19  Prefactor      .0000        4.6290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.1960        3.5303        .44075E-03   -1.5662    
  21  Prefactor     7.6137        9.2877        .36378E-03   -1.5653    
  22  Prefactor     .44559E-06    34.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .83267E-09    7.6925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2324        .18159        .34076E-01   -.85608    
  25  Prefactor     .69513        .19564        .69168E-01   -1.0372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.75975e-07
Minuit parameter uncertainties:
  1  0.0155092
  2  38.704
  3  5.0737
  4  0.001196
  5  1.90493
  6  2.75203
  7  54.3699
  8  0.0161453
  9  6.11518
  10  31.948
  11  5.1443e-06
  12  13.9924
  13  0.00432261
  14  0.000344081
  15  13.3541
  16  1.72396
  17  7.05852e-06
  18  2.85213
  19  1.36357e-05
  20  3.53034
  21  9.28776
  22  0.00789751
  23  0.000159021
  24  0.181683
  25  0.195832
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  2.742e-07  4.323e-03  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:  6.951e-01  1.958e-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.232e+00  1.817e-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: 4.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/29197/likelihoodResults_700444801_700704001_4FGL_J1432.2+5051_daily_bin1779.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) = 5860.38354561
delta logL = -0.0280080889943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5860.35553753
delta logL = -3.78713593818e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37748E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.2541       1.0000          .0000       10.000    
     3 'Normalizat'    1.2323       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69514       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5860.356     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      199 TOTAL
                     EDM=   .59E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        21.114        .42118E-03** at limit **
   2  Index         2.0620        1.3286       -.25836E-04     .0000    
   3  Normalizat    1.2324        1.0961        .68420E-05   -.76793E-04
   4  Prefactor     .69513        1.0448       -.98954E-05   -.20300E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.06198
  Normalizat = 1.23237
  Prefactor  = 0.695131
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5860.356     FROM HESSE     STATUS=FAILED         9 CALLS      208 TOTAL
                     EDM=   .59E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        21.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .46082        1.7641       -.25836E-04   -.62809    
   3  Normalizat    1.2324        1.0961        .68420E-05   -.85608    
   4  Prefactor     .69513        1.0448       -.98954E-05   -1.0372    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.89182e-12
Minuit parameter uncertainties:
  1  4.44218e-06
  2  1.35375
  3  1.11771
  4  1.07672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/29197': 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): 101
logL (Free Index) = 5860.35553752
delta logL = 8.04084265837e-09

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  0.000e+00  4.442e-06  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  2.062e+00  1.354e+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:  6.951e-01  1.077e+00  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.232e+00  1.118e+00  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/29197/cmap_HighResolution_700444801_700704001_4FGL_J1432.2+5051_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.33e-03', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2023-03-17 02:02:40.413569', job_id='29197', GAL2='0.70', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1679043760.41', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='8.04e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1779' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:02:40 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 29197: <4FGL_J1432.2+5051_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1432.2+5051_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 01:50:18 2023
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:50:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:50:20 2023
Terminated at Fri Mar 17 02:02:41 2023
Results reported at Fri Mar 17 02:02:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin1779 218.068 50.8596 700444801 700704001 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 :                                   641.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            743 sec.

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

