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 196 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_J1427.7-3215_daily_bin1668
RA = 216.946, Dec = -32.2537
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='555488', job_status='RUN', time_executed='2022-04-18 03:03:06.645337', time_epoch_executed='1650276186.65' WHERE source_name='4FGL J1427.7-3215' and cadence='daily' and bin_id='1668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555488

Creating custom pfile directory:
/scratch/kocevski/555488/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/555488/ft1_4FGL_J1427.7-3215_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/555488/ft2_4FGL_J1427.7-3215_daily_bin1668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555488/ft1_4FGL_J1427.7-3215_daily_bin1668.fits outfile=/scratch/kocevski/555488/ft1_filteredMKT_4FGL_J1427.7-3215_daily_bin1668.fits ra=216.946 dec=-32.2537 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.59
user 3.34
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/555488/ft2_4FGL_J1427.7-3215_daily_bin1668.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555488/ft2_4FGL_J1427.7-3215_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/555488/ft1_filteredMKT_4FGL_J1427.7-3215_daily_bin1668.fits evtable="EVENTS" outfile="/scratch/kocevski/555488/ft1_filtered_4FGL_J1427.7-3215_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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 1046

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555488/ft1_filtered_4FGL_J1427.7-3215_daily_bin1668.fits" evtable="EVENTS" scfile=/scratch/kocevski/555488/ft2_4FGL_J1427.7-3215_daily_bin1668.fits sctable="SC_DATA" outfile=/scratch/kocevski/555488/ltcube_671673601_671932801_4FGL_J1427.7-3215_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/555488/ft2_4FGL_J1427.7-3215_daily_bin1668.fits
.....................!
real 14.90
user 14.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555488/ft1_filtered_4FGL_J1427.7-3215_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555488/ft2_4FGL_J1427.7-3215_daily_bin1668.fits sctable="SC_DATA" expcube=/scratch/kocevski/555488/ltcube_671673601_671932801_4FGL_J1427.7-3215_daily_bin1668.fits outfile=/scratch/kocevski/555488/expmap_671673601_671932801_4FGL_J1427.7-3215_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/555488/ltcube_671673601_671932801_4FGL_J1427.7-3215_daily_bin1668.fits
.....................!
real 194.76
user 185.85
sys 5.34

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Added 210 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1427.7-3215 @ 216.946 -32.2537

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/555488/ft1_filtered_4FGL_J1427.7-3215_daily_bin1668.fits scfile=/scratch/kocevski/555488/ft2_4FGL_J1427.7-3215_daily_bin1668.fits outfile=/scratch/kocevski/555488/cmap_671673601_671932801_4FGL_J1427.7-3215_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=216.946 yref=-32.2537 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555488/ft1_filtered_4FGL_J1427.7-3215_daily_bin1668.fits scfile=/scratch/kocevski/555488/ft2_4FGL_J1427.7-3215_daily_bin1668.fits outfile=/scratch/kocevski/555488/cmap_HighResolution_671673601_671932801_4FGL_J1427.7-3215_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=216.946 yref=-32.2537 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/555488/ft1_filtered_4FGL_J1427.7-3215_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555488/ft2_4FGL_J1427.7-3215_daily_bin1668.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/555488/Model_4FGL_J1427.7-3215_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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/555488/ft1_filtered_4FGL_J1427.7-3215_daily_bin1668.fits.....................!
real 192.59
user 187.51
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555488/ft1_filtered_4FGL_J1427.7-3215_daily_bin1668.fits', '/scratch/kocevski/555488/ft2_4FGL_J1427.7-3215_daily_bin1668.fits', expMap='/scratch/kocevski/555488/expmap_671673601_671932801_4FGL_J1427.7-3215_daily_bin1668.fits', expCube='/scratch/kocevski/555488/ltcube_671673601_671932801_4FGL_J1427.7-3215_daily_bin1668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555488/Model_4FGL_J1427.7-3215_daily_bin1668.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1427.7-3215'

4FGL J1427.7-3215
   Spectrum: PowerLaw
324    Prefactor:  5.189e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  2.107e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  2.722e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/555488/ft1_filtered_4FGL_J1427.7-3215_daily_bin1668.fits
Spacecraft file(s): /scratch/kocevski/555488/ft2_4FGL_J1427.7-3215_daily_bin1668.fits
Exposure map: /scratch/kocevski/555488/expmap_671673601_671932801_4FGL_J1427.7-3215_daily_bin1668.fits
Exposure cube: /scratch/kocevski/555488/ltcube_671673601_671932801_4FGL_J1427.7-3215_daily_bin1668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555488/Model_4FGL_J1427.7-3215_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) = 10631.8279229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.0515       1.0000         .10000E-03   10000.    
     4 'norm      '    3.0204       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6978       1.0000         .10000E-03   10000.    
     6 'Prefactor '    53.894       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    107.21       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.994       1.0000         .10000E-03   10000.    
    13 'norm      '    1.1639       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.9333       1.0000         .10000E-03   10000.    
    15 'norm      '    2.4589       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.1498       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.813       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.6860       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .52599E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .33649       1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.7810       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0071       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .95054       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10631.80     FROM MIGRAD    STATUS=CONVERGED    758 CALLS     3949 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    62.695       -.48911E-05** at limit **
   2  norm          .10000E-03    14.721        .42792E-06** at limit **
   3  norm          2.0201        114.31        .47648E-05    .25366E-05
   4  norm          3.0160        13.300        .96190E-07    .69112E-05
   5  Prefactor     1.6975        4.9380        .54753E-06    .47477E-05
   6  Prefactor     53.899        44.789       -.62008E-06   -.14848E-04
   7  Prefactor     .10000E-03    29.652       -.18733E-05** at limit **
   8  Prefactor     .10000E-03    16.865       -.98186E-07** at limit **
   9  Prefactor     .10000E-03    121.53        .32811E-05** at limit **
  10  Prefactor     107.22        67.609       -.45446E-06   -.51645E-05
  11  Prefactor     .10000E-03    11.043        .71640E-06** at limit **
  12  Prefactor     26.993        17.026        .11016E-06    .31515E-05
  13  norm          1.1650        2.8584        .20600E-06   -.68549E-05
  14  Prefactor     6.9329        33.228        .17158E-07   -.20048E-05
  15  norm          2.4590        .25014        .44095E-08   -.94944E-04
  16  Prefactor     6.1486        51.681        .21119E-06   -.35165E-05
  17  Prefactor     .10000E-03    14.708        .37880E-06** at limit **
  18  Prefactor     .10000E-03    48.343        .14262E-05** at limit **
  19  norm          .10000E-03    6.2681        .20823E-08** at limit **
  20  Prefactor     .10000E-03    36.493        .27225E-05** at limit **
  21  Prefactor     15.815        12.976        .19498E-07   -.39900E-05
  22  Prefactor     .10000E-03    13.869       -.50139E-06** at limit **
  23  norm          4.6861        1.1854        .13023E-07   -.54261E-05
  24  Prefactor     .10000E-03    5.6000       -.10482E-07** at limit **
  25  Prefactor     .10005E-03    4.4890       -.86754E-06** at limit **
  26  norm          .37135        3.1651        .41477E-06   -.15094E-03
  27  norm          .10000E-03    11.415       -.82171E-06** at limit **
  28  Prefactor     3.7796        7.3427        .22488E-05    .66550E-04
  29  Normalizat    1.0074        .26991       -.22635E-06   -.27125E-05
  30  Prefactor     .95040        .86662E-01   -.23024E-06    .32948E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.02006
  norm       = 3.01599
  Prefactor  = 1.69754
  Prefactor  = 53.8986
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 107.215
  Prefactor  = 0.0001
  Prefactor  = 26.9927
  norm       = 1.16496
  Prefactor  = 6.93287
  norm       = 2.45896
  Prefactor  = 6.1486
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8145
  Prefactor  = 0.0001
  norm       = 4.6861
  Prefactor  = 0.0001
  Prefactor  = 0.000100046
  norm       = 0.371347
  norm       = 0.0001
  Prefactor  = 3.77963
  Normalizat = 1.00735
  Prefactor  = 0.9504
 **********
 **   18 **HESSE 
 **********

 FCN=   10631.80     FROM HESSE     STATUS=OK           592 CALLS     4541 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    62.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    14.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0201        115.41        .28860E-03   -1.5424    
   4  norm          3.0160        12.605        .23351E-03   -1.5361    
   5  Prefactor     1.6975        4.8170        .32290E-03   -1.5447    
   6  Prefactor     53.899        44.742        .54637E-04   -1.4238    
   7  Prefactor     .10000E-03    29.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    121.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     107.22        67.618        .19420E-03   -1.3633    
  11  Prefactor     .10000E-03    11.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     26.993        17.035        .77106E-04   -1.4668    
  13  norm          1.1650        2.7721        .25731E-03   -1.5492    
  14  Prefactor     6.9329        32.597        .15236E-03   -1.5181    
  15  norm          2.4590        .25038        .15790E-04   -1.5394    
  16  Prefactor     6.1486        50.936        .16189E-03   -1.5212    
  17  Prefactor     .10000E-03    14.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    48.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.2926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    36.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     15.815        12.978        .10072E-03   -1.4912    
  22  Prefactor     .10000E-03    13.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.6861        1.1847        .54075E-04   -1.5275    
  24  Prefactor     .10000E-03    5.6259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10005E-03    50.399        .39612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .37135        11.216        .34483E-02   -1.5586    
  27  norm          .10000E-03    11.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.7796        7.3637        .10380E-02   -1.5319    
  29  Normalizat    1.0074        .31340        .48822E-03   -.92785    
  30  Prefactor     .95040        .10261        .16574E-03   -.94402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.49703e-08
Minuit parameter uncertainties:
  1  0.000117878
  2  4.70477e-06
  3  30.5983
  4  12.3358
  5  4.81811
  6  44.7701
  7  3.05755e-05
  8  1.03127e-06
  9  0.00011796
  10  67.6668
  11  5.26787e-06
  12  17.0384
  13  2.77244
  14  30.0924
  15  0.25038
  16  35.435
  17  1.06666e-06
  18  2.73996e-05
  19  1.07785e-06
  20  5.21842e-05
  21  12.9799
  22  2.09346e-06
  23  1.1847
  24  9.62138e-08
  25  0.00303355
  26  4.08195
  27  7.20682e-06
  28  7.36551
  29  0.31398
  30  0.102632
Done.

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

Extracting fit parameters...

4FGL J1427.7-3215
   Spectrum: PowerLaw
324    Prefactor:  6.933e+00  3.009e+01  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  2.107e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  2.722e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
705    Prefactor:  9.504e-01  1.026e-01  0.000e+00  1.000e+01 ( 1.000e+00)
706        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
707        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
704   Normalization:  1.007e+00  3.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 216.946 -32.254
Photon Flux Upper Limit: 8.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/555488/likelihoodResults_671673601_671932801_4FGL_J1427.7-3215_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): 0
logL (Free Index) = 10631.5213552
delta logL = 0.277571555533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10631.2608812
delta logL = 0.538045531177

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.525       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2618       1.0000          .0000       10.000    
     3 'Normalizat'    1.0130       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94768       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7080E+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=   10631.26     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      277 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.524        44.992        .70260E-04    .20854E-03
   2  Index         1.2618        .65627        .15052E-01    .11807E-03
   3  Normalizat    1.0126        .29380        .48694E-03   -.67800E-04
   4  Prefactor     .94785        .98158E-01    .16588E-03   -.22156E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.5243
  Index      = 1.26182
  Normalizat = 1.01257
  Prefactor  = 0.947846
 **********
 **   18 **HESSE 
 **********

 FCN=   10631.26     FROM HESSE     STATUS=OK            23 CALLS      300 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.524        45.757        .14052E-04   -1.4567    
   2  Index         1.2618        .66756        .60208E-03   -.84450    
   3  Normalizat    1.0126        .29398        .19478E-04   -.92611    
   4  Prefactor     .94785        .98222E-01    .33177E-04   -.94489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16671e-09
Minuit parameter uncertainties:
  1  45.8069
  2  0.672139
  3  0.294452
  4  0.0982402
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555488': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10631.2608797
delta logL = 0.538047003176

Extracting fit parameters...

4FGL J1427.7-3215
   Spectrum: PowerLaw
324    Prefactor:  3.252e+01  4.581e+01  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  1.262e+00  6.721e-01  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  2.722e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
705    Prefactor:  9.478e-01  9.824e-02  0.000e+00  1.000e+01 ( 1.000e+00)
706        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
707        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
704   Normalization:  1.013e+00  2.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.15
Ra Dec: 216.946 -32.254
Photon Index (Free Index): 1.26 +/- 0.67
Photon Flux (Free Index): 6.71e-09 +/- 1.13e-08
Energy Flux (Free Index): 4.64e-05 +/- 7.99e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/555488/cmap_HighResolution_671673601_671932801_4FGL_J1427.7-3215_daily_bin1668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.61e-03', comment='SUCCESS', energy_flux2='4.64e-05', dlogl='5.38e-01', photon_flux2='6.71e-09', job_status='DONE', time_completed='2022-04-18 03:30:00.939497', photon_index_error2='0.67', photon_index2='1.26', ts='0.07', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.73e-08', energy_flux_error2='7.99e-05', EG='1.01', time_epoch_completed='1650277800.94', return_code='0', job_id='555488', GAL2='0.95', EG2='1.01', return_code2='0', photon_flux_error2='1.13e-08', ts2='1.15', photon_index='2.11' WHERE bin_id='1668' AND source_name='4FGL J1427.7-3215' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Apr 18 03:30:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0248>
Subject: Job 555488: <4FGL_J1427.7-3215_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1427.7-3215_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) <bullet0248>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 02:59:41 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:41 2022
Terminated at Mon Apr 18 03:30:01 2022
Results reported at Mon Apr 18 03:30:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.7-3215_daily_bin1668 216.946 -32.2537 671673601 671932801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1427.7-3215 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1598.28 sec.
    Max Memory :                                 656 MB
    Average Memory :                             326.98 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2931 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1820 sec.
    Turnaround time :                            12148 sec.

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

