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 87 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1432.2+5051_daily_bin1668
RA = 218.068, Dec = 50.8596
tmin = 671673601, tmax = 671932801
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='555504', job_status='RUN', time_executed='2022-04-18 03:01:29.991217', time_epoch_executed='1650276089.99' WHERE source_name='4FGL J1432.2+5051' and cadence='daily' and bin_id='1668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555504

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555504/ft1_4FGL_J1432.2+5051_daily_bin1668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555504/ft2_4FGL_J1432.2+5051_daily_bin1668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555504/ft1_4FGL_J1432.2+5051_daily_bin1668.fits outfile=/scratch/kocevski/555504/ft1_filteredMKT_4FGL_J1432.2+5051_daily_bin1668.fits ra=218.068 dec=50.8596 rad=12.0 tmin=671673601.0 tmax=671932801.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.67
user 3.33
sys 0.23

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

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

Number of photons that the gtmktime cut: 544

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555504/ft1_filtered_4FGL_J1432.2+5051_daily_bin1668.fits" evtable="EVENTS" scfile=/scratch/kocevski/555504/ft2_4FGL_J1432.2+5051_daily_bin1668.fits sctable="SC_DATA" outfile=/scratch/kocevski/555504/ltcube_671673601_671932801_4FGL_J1432.2+5051_daily_bin1668.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/555504/ft2_4FGL_J1432.2+5051_daily_bin1668.fits
.....................!
real 15.92
user 15.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555504/ft1_filtered_4FGL_J1432.2+5051_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555504/ft2_4FGL_J1432.2+5051_daily_bin1668.fits sctable="SC_DATA" expcube=/scratch/kocevski/555504/ltcube_671673601_671932801_4FGL_J1432.2+5051_daily_bin1668.fits outfile=/scratch/kocevski/555504/expmap_671673601_671932801_4FGL_J1432.2+5051_daily_bin1668.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/555504/ltcube_671673601_671932801_4FGL_J1432.2+5051_daily_bin1668.fits
.....................!
real 193.22
user 185.95
sys 5.52

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/555504/ft1_filtered_4FGL_J1432.2+5051_daily_bin1668.fits scfile=/scratch/kocevski/555504/ft2_4FGL_J1432.2+5051_daily_bin1668.fits outfile=/scratch/kocevski/555504/cmap_671673601_671932801_4FGL_J1432.2+5051_daily_bin1668.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.58
user 0.39
sys 0.14

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555504/ft1_filtered_4FGL_J1432.2+5051_daily_bin1668.fits', '/scratch/kocevski/555504/ft2_4FGL_J1432.2+5051_daily_bin1668.fits', expMap='/scratch/kocevski/555504/expmap_671673601_671932801_4FGL_J1432.2+5051_daily_bin1668.fits', expCube='/scratch/kocevski/555504/ltcube_671673601_671932801_4FGL_J1432.2+5051_daily_bin1668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555504/Model_4FGL_J1432.2+5051_daily_bin1668.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  1.000e-04  1.000e+04 ( 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/555504/ft1_filtered_4FGL_J1432.2+5051_daily_bin1668.fits
Spacecraft file(s): /scratch/kocevski/555504/ft2_4FGL_J1432.2+5051_daily_bin1668.fits
Exposure map: /scratch/kocevski/555504/expmap_671673601_671932801_4FGL_J1432.2+5051_daily_bin1668.fits
Exposure cube: /scratch/kocevski/555504/ltcube_671673601_671932801_4FGL_J1432.2+5051_daily_bin1668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555504/Model_4FGL_J1432.2+5051_daily_bin1668.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) = 5900.83117917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.784       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.9045       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    78.192       1.0000         .10000E-03   10000.    
     7 'norm      '    .26522       1.0000         .10000E-03   10000.    
     8 'norm      '    5.1149       1.0000         .10000E-03   10000.    
     9 'norm      '    1.0815       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.717       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.2567       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.065       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.939       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    58.546       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.6834       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .26082E-01   1.0000         .10000E-03   10000.    
    24 'norm      '    2.0459       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    12.488       1.0000         .10000E-03   10000.    
    27 'Prefactor '    20.414       1.0000         .10000E-03   10000.    
    28 'norm      '    1.5514       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.5320       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .97495E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .96752       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .69599       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.

 FCN=   5900.807     FROM MIGRAD    STATUS=CONVERGED    911 CALLS     4646 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.787        37.212       -.17897E-06    .59157E-05
   2  Prefactor     .10000E-03    10.991        .16136E-06** at limit **
   3  Prefactor     .10000E-03    34.821        .45600E-07** at limit **
   4  norm          7.9046        4.9083       -.80437E-07    .19090E-03
   5  Prefactor     .10000E-03    27.779       -.22552E-06** at limit **
   6  Prefactor     78.200        47.309        .17708E-05    .14801E-03
   7  norm          .26522        .52824       -.23240E-07    .17704E-04
   8  norm          5.1946        242.95        .15893E-04    .14422E-04
   9  norm          1.0802        4.9775       -.26858E-05   -.17138E-03
  10  Prefactor     .10000E-03    412.06       -.82220E-05** at limit **
  11  Prefactor     42.714        38.439        .30499E-06    .32173E-04
  12  Prefactor     .10000E-03    16.239       -.61781E-06** at limit **
  13  Prefactor     .10000E-03    1.9488       -.37854E-07** at limit **
  14  Prefactor     .10000E-03    32.793       -.26779E-06** at limit **
  15  Prefactor     3.2571        2.7535        .20479E-06    .28781E-03
  16  Prefactor     .10000E-03    29.571       -.67270E-07** at limit **
  17  Prefactor     16.065        25.108       -.73319E-07    .12807E-04
  18  Prefactor     .10000E-03    17.566        .59278E-06** at limit **
  19  Prefactor     17.940        27.028       -.29741E-06    .13203E-05
  20  Prefactor     .10000E-03    13.671        .13452E-06** at limit **
  21  Prefactor     58.543        48.722       -.12214E-06    .22388E-05
  22  Prefactor     3.6819        19.122       -.95949E-06   -.19065E-03
  23  Prefactor     .10725E-03    21.296        .52278E-05** at limit **
  24  norm          2.0459        1.1866       -.16945E-07   -.70510E-03
  25  Prefactor     .10000E-03    4.4766       -.27199E-07** at limit **
  26  Prefactor     12.488        6.5387       -.76271E-07   -.44967E-03
  27  Prefactor     20.414        8.0775       -.91382E-07   -.14835E-04
  28  norm          1.5516        1.9474        .10368E-06    .70673E-04
  29  Prefactor     1.5315        9.5750        .44857E-05    .50540E-03
  30  Prefactor     .10000E-03    134.15        .14984E-07** at limit **
  31  Prefactor     .10000E-03    11.252        .54954E-06** at limit **
  32  Normalizat    .96753        .16343       -.93959E-07    .72179E-04
  33  Prefactor     .69600        .17731        .16304E-05    .35211E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.7872
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.90457
  Prefactor  = 0.0001
  Prefactor  = 78.2
  norm       = 0.26522
  norm       = 5.19456
  norm       = 1.08015
  Prefactor  = 0.000100001
  Prefactor  = 42.7142
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.2571
  Prefactor  = 0.0001
  Prefactor  = 16.0653
  Prefactor  = 0.0001
  Prefactor  = 17.9401
  Prefactor  = 0.0001
  Prefactor  = 58.5431
  Prefactor  = 3.68186
  Prefactor  = 0.00010725
  norm       = 2.04588
  Prefactor  = 0.0001
  Prefactor  = 12.4877
  Prefactor  = 20.4137
  norm       = 1.55159
  Prefactor  = 1.53145
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.967527
  Prefactor  = 0.696002
 **********
 **   18 **HESSE 
 **********

 FCN=   5900.807     FROM HESSE     STATUS=OK           703 CALLS     5349 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.787        37.311        .77408E-04   -1.4672    
   2  Prefactor     .10000E-03    11.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    34.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.9046        4.9112        .62806E-03   -1.5146    
   5  Prefactor     .10000E-03    27.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     78.200        47.256        .45414E-04   -1.3937    
   7  norm          .26522        .52761        .41086E-04   -1.5605    
   8  norm          5.1946        241.78        .17777E-03   -1.5252    
   9  norm          1.0802        5.0870        .30293E-03   -1.5500    
  10  Prefactor     .10000E-03    407.59        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     42.714        38.431        .61337E-04   -1.4400    
  12  Prefactor     .10000E-03    16.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.9645        .10471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    33.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.2571        2.7326        .10000E-03   -1.5347    
  16  Prefactor     .10000E-03    29.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.065        25.060        .99927E-04   -1.4906    
  18  Prefactor     .10000E-03    17.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.940        27.182        .47281E-03   -1.4861    
  20  Prefactor     .10000E-03    13.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     58.543        48.711        .52433E-04   -1.4176    
  22  Prefactor     3.6819        18.806        .21044E-03   -1.5324    
  23  Prefactor     .10725E-03    17.150        .71967E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.0459        1.1891        .61136E-04   -1.5422    
  25  Prefactor     .10000E-03    4.5443        .15861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     12.488        6.5363        .11335E-03   -1.5001    
  27  Prefactor     20.414        8.0970        .88648E-04   -1.4804    
  28  norm          1.5516        1.9336        .11392E-03   -1.5459    
  29  Prefactor     1.5315        9.8585        .17239E-02   -1.5460    
  30  Prefactor     .10000E-03    135.65        .41558E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    11.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .96753        .20075        .20904E-03   -.94126    
  33  Prefactor     .69600        .21350        .28073E-03   -1.0368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9711e-09
Minuit parameter uncertainties:
  1  37.3437
  2  8.01975e-06
  3  2.77742e-05
  4  4.91148
  5  4.85768e-05
  6  47.2783
  7  0.527622
  8  71.1847
  9  4.68861
  10  0.00112335
  11  38.4532
  12  4.20564e-06
  13  5.31493e-06
  14  0.000185896
  15  2.73269
  16  5.24755e-05
  17  25.0769
  18  2.19478e-05
  19  27.2011
  20  1.59631e-05
  21  48.7438
  22  16.6503
  23  0.0223073
  24  1.18913
  25  8.01741e-06
  26  6.53665
  27  8.09745
  28  1.93364
  29  7.7728
  30  0.000173463
  31  4.92898e-05
  32  0.200901
  33  0.213748
Done.

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

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.000e-04  2.195e-05  1.000e-04  1.000e+04 ( 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.960e-01  2.137e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  9.675e-01  2.009e-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.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/555504/likelihoodResults_671673601_671932801_4FGL_J1432.2+5051_daily_bin1668.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) = 5900.8071602
delta logL = -0.00027147081255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5900.80689011
delta logL = -1.38194718602e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5318       1.0000          .0000       10.000    
     3 'Normalizat'    .96753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69600       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=   5900.807     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      280 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10345E-03    3.3743        .18142E-01** at limit **
   2  Index         2.4465        8.4708        .50000        .23905E-04
   3  Normalizat    .96753        .18377E-02    .20904E-03   -.48403E-05
   4  Prefactor     .69600        .21333E-02    .28074E-03   -.13809E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103448
  Index      = 2.44647
  Normalizat = 0.967526
  Prefactor  = 0.696002
 **********
 **   18 **HESSE 
 **********

 FCN=   5900.807     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      309 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10345E-03    53.181        .27448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4465        6.1846        .50000       -.53600    
   3  Normalizat    .96753        .73188E-02    .83616E-05   -.94126    
   4  Prefactor     .69600        .84958E-02    .11229E-04   -1.0368    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.00741e-09
Minuit parameter uncertainties:
  1  0.027108
  2  186.924
  3  0.00731877
  4  0.00849583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555504': 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) = 5900.80688973
delta logL = -1.00437500805e-06

Extracting fit parameters...

4FGL J1432.2+5051
   Spectrum: PowerLaw
319    Prefactor:  1.034e-04  2.711e-02  1.000e-04  1.000e+04 ( 1.000e-14)
320        Index:  2.446e+00  1.869e+02  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.960e-01  8.496e-03  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  9.675e-01  7.319e-03  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/555504/cmap_HighResolution_671673601_671932801_4FGL_J1432.2+5051_daily_bin1668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-03', job_status='DONE', photon_flux_upper_limit='4.23e-08', time_completed='2022-04-18 03:18:29.546970', job_id='555504', GAL2='0.70', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1650277109.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='-1.00e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1668' AND source_name='4FGL J1432.2+5051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Apr 18 03:18:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 555504: <4FGL_J1432.2+5051_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1432.2+5051_daily_bin1668> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Apr 18 00:07:33 2022
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 02:59:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 02:59:49 2022
Terminated at Mon Apr 18 03:18:30 2022
Results reported at Mon Apr 18 03:18:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1432.2+5051_daily_bin1668 218.068 50.8596 671673601 671932801 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 :                                   1018.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             301.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1120 sec.
    Turnaround time :                            11457 sec.

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

