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


Performing analysis on: 4FGL_J1432.2+5051_daily_bin1761
RA = 218.068, Dec = 50.8596
tmin = 695779201, tmax = 696038401
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='923444', job_status='RUN', time_executed='2023-01-22 01:03:19.397560', time_epoch_executed='1674378199.4' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/923444

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/923444/ft1_4FGL_J1432.2+5051_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/923444/ft2_4FGL_J1432.2+5051_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/923444/ft1_4FGL_J1432.2+5051_daily_bin1761.fits outfile=/scratch/kocevski/923444/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1761.fits ra=218.068 dec=50.8596 rad=12.0 tmin=695779201.0 tmax=696038401.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.20
user 4.81
sys 0.26

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

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

Number of photons that the gtmktime cut: 546

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/923444/ft1_filtered_4FGL_J1432.2+5051_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/923444/ft2_4FGL_J1432.2+5051_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/923444/ltcube_695779201_696038401_4FGL_J1432.2+5051_daily_bin1761.fits outfile=/scratch/kocevski/923444/expmap_695779201_696038401_4FGL_J1432.2+5051_daily_bin1761.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/923444/ltcube_695779201_696038401_4FGL_J1432.2+5051_daily_bin1761.fits
.....................!
real 195.53
user 189.11
sys 5.19

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/923444/ft1_filtered_4FGL_J1432.2+5051_daily_bin1761.fits scfile=/scratch/kocevski/923444/ft2_4FGL_J1432.2+5051_daily_bin1761.fits outfile=/scratch/kocevski/923444/cmap_695779201_696038401_4FGL_J1432.2+5051_daily_bin1761.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/923444/ft1_filtered_4FGL_J1432.2+5051_daily_bin1761.fits scfile=/scratch/kocevski/923444/ft2_4FGL_J1432.2+5051_daily_bin1761.fits outfile=/scratch/kocevski/923444/cmap_HighResolution_695779201_696038401_4FGL_J1432.2+5051_daily_bin1761.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5557       1.0000          .0000       .10000E+07
     2 'Prefactor '    11.639       1.0000          .0000       .10000E+07
     3 'norm      '    .97033E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    46.857       1.0000          .0000       .10000E+07
     5 'norm      '    .13323E-08   1.0000          .0000       .10000E+07
     6 'norm      '    2.9239       1.0000          .0000       .10000E+07
     7 'Prefactor '    .22585E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .29067E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .88851E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.1497       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6789       1.0000          .0000       .10000E+07
    12 'Prefactor '    23.820       1.0000          .0000       .10000E+07
    13 'Prefactor '    .59432E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .34391E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .18383E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .12285E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .11946E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .76778E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.5428       1.0000          .0000       .10000E+07
    20 'norm      '    .20824E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .38243E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .55738E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .19726E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1327       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0502       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=   5985.494     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     2108 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71075        413.30        .77791E-05   -.14102E-02
   2  Prefactor     11.869        16.216       -.10758E-05    .17284E-01
   3  norm           .0000        1.2249       -.10609E-06** at limit **
   4  Prefactor     47.102        13.807       -.26610E-06   -.69266E-01
   5  norm           .0000        .69156        .32032E-07** at limit **
   6  norm          2.9190        4.0333       -.95936E-07   -.85257E-03
   7  Prefactor     .51625E-08    16.048       -.13698E-05** at limit **
   8  Prefactor     .12823E-06    9.1614        .14950E-05** at limit **
   9  Prefactor      .0000        1.4910       -.50809E-06** at limit **
  10  Prefactor     7.1398        1.1309        .45293E-07   -.10186E-02
  11  Prefactor     1.6787        1.6768       -.11254E-06   -.23746E-02
  12  Prefactor     23.829        1.2120        .48482E-07   -.25037E-02
  13  Prefactor      .0000        34.476       -.79573E-07** at limit **
  14  Prefactor     .76605E-08    11.796       -.18311E-05** at limit **
  15  Prefactor     .15371E-06    6.8783        .11020E-05** at limit **
  16  norm           .0000        .44897       -.26923E-06** at limit **
  17  Prefactor      .0000        5.3838       -.24488E-06** at limit **
  18  Prefactor      .0000        4.2796        .33032E-06** at limit **
  19  Prefactor     1.4898        7.8338       -.59360E-06   -.47867E-03
  20  norm           .0000        2.1312       -.45905E-06** at limit **
  21  Prefactor      .0000        4.7295       -.22048E-06** at limit **
  22  Prefactor     .49960E-09    22.857       -.68000E-06** at limit **
  23  Prefactor      .0000        7.2587       -.76710E-06** at limit **
  24  Normalizat    1.1332        .20166       -.32936E-05   -.85014E-04
  25  Prefactor     1.0499        .23071       -.91719E-06   -.63539E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.710745
  Prefactor  = 11.8685
  norm       = 0
  Prefactor  = 47.1024
  norm       = 0
  norm       = 2.91896
  Prefactor  = 5.16254e-09
  Prefactor  = 1.28231e-07
  Prefactor  = 0
  Prefactor  = 7.13978
  Prefactor  = 1.67873
  Prefactor  = 23.8289
  Prefactor  = 0
  Prefactor  = 7.66054e-09
  Prefactor  = 1.5371e-07
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.48984
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.996e-10
  Prefactor  = 0
  Normalizat = 1.13321
  Prefactor  = 1.04993
 **********
 **   18 **HESSE 
 **********

 FCN=   5985.494     FROM HESSE     STATUS=OK           475 CALLS     2583 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71075        43.281        .13084E-01   -1.5691    
   2  Prefactor     11.869        30.702        .29339E-03   -1.5639    
   3  norm           .0000        1.2259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     47.102        57.637        .14610E-03   -1.5571    
   5  norm           .0000        .68227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.9190        4.0822        .59384E-03   -1.5674    
   7  Prefactor     .51625E-08    17.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12823E-06    13.653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.4922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.1398        20.636        .37491E-03   -1.5655    
  11  Prefactor     1.6787        1.6902        .81278E-03   -1.5682    
  12  Prefactor     23.829        20.810        .20494E-03   -1.5610    
  13  Prefactor      .0000        34.379        .15183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .76605E-08    12.016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .15371E-06    15.388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .44891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        5.4093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        4.2676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.4898        7.9167        .85788E-03   -1.5684    
  20  norm           .0000        2.1309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        4.7398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .49960E-09    23.149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        7.2746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1332        .17904        .36803E-01   -.88693    
  25  Prefactor     1.0499        .19560        .60742E-01   -.91083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61309e-06
Minuit parameter uncertainties:
  1  11.0928
  2  30.7021
  3  1.80801e-06
  4  57.6376
  5  2.07377e-06
  6  4.08216
  7  0.000609062
  8  0.00264638
  9  7.05414e-06
  10  20.636
  11  1.69019
  12  20.81
  13  2.57035e-05
  14  0.00060622
  15  0.0030757
  16  2.02215e-06
  17  2.79142e-06
  18  8.28271e-06
  19  6.86865
  20  7.2475e-06
  21  9.38347e-07
  22  0.00020992
  23  1.28236e-05
  24  0.179134
  25  0.195736
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  0.000e+00  2.570e-05  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.050e+00  1.957e-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.133e+00  1.791e-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: 5.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/923444/likelihoodResults_695779201_696038401_4FGL_J1432.2+5051_daily_bin1761.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) = 5985.50747493
delta logL = -0.0139018763475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5985.49357919
delta logL = -6.13229804003e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74157E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .94979       1.0000          .0000       10.000    
     3 'Normalizat'    1.1330       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0498       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=   5985.494     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      193 TOTAL
                     EDM=   .28E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    39.479        .11012E-05** at limit **
   2  Index         1.9658        5.5594       -.11702E-04    .13037E-11
   3  Normalizat    1.1332        .19605        .85831E-05   -.27700E-04
   4  Prefactor     1.0499        .22919       -.90030E-05   -.26605E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 1.96578
  Normalizat = 1.13321
  Prefactor  = 1.04993
 **********
 **   18 **HESSE 
 **********

 FCN=   5985.494     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      228 TOTAL
                     EDM=   .29E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .22845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9658        5.9771        .45637       -.65208    
   3  Normalizat    1.1332        .31512E-03    .36792E-01   -.88693    
   4  Prefactor     1.0499        .36915E-03    .60742E-01   -.91083    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.88233e-14
Minuit parameter uncertainties:
  1  1.23457e-05
  2  11615
  3  0.000315121
  4  0.000369152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/923444': 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) = 5985.49357305
delta logL = 9.09494701773e-13

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.665e-10  1.235e-05  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  1.966e+00  1.161e+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.050e+00  3.692e-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:  1.133e+00  3.151e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/923444/cmap_HighResolution_695779201_696038401_4FGL_J1432.2+5051_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.37e-03', job_status='DONE', photon_flux_upper_limit='5.72e-08', time_completed='2023-01-22 01:14:34.949898', job_id='923444', GAL2='1.05', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1674378874.95', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='9.09e-13', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1761' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:14:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 923444: <4FGL_J1432.2+5051_daily_bin1761> in cluster <slac> Done

Job <4FGL_J1432.2+5051_daily_bin1761> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Jan 22 01:00:20 2023
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:00:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:00:25 2023
Terminated at Sun Jan 22 01:14:35 2023
Results reported at Sun Jan 22 01:14:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin1761 218.068 50.8596 695779201 696038401 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 :                                   675.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            855 sec.

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

