/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 168 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 = 7527
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1427.7-3215_daily_bin1246
RA = 216.946, Dec = -32.2537
tmin = 562291201, tmax = 562550401
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='506916', job_status='RUN', time_executed='2021-09-09 18:29:07.768146', time_epoch_executed='1631237347.77' WHERE source_name='4FGL J1427.7-3215' and cadence='daily' and bin_id='1246'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/506916

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/506916/ft1_4FGL_J1427.7-3215_daily_bin1246.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/506916/ft2_4FGL_J1427.7-3215_daily_bin1246.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/506916/ft1_4FGL_J1427.7-3215_daily_bin1246.fits outfile=/scratch/kocevski/506916/ft1_filteredMKT_4FGL_J1427.7-3215_daily_bin1246.fits ra=216.946 dec=-32.2537 rad=12.0 tmin=562291201.0 tmax=562550401.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.53
user 3.37
sys 0.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/506916/ft2_4FGL_J1427.7-3215_daily_bin1246.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/506916/ft1_filteredMKT_4FGL_J1427.7-3215_daily_bin1246.fits evtable="EVENTS" outfile="/scratch/kocevski/506916/ft1_filtered_4FGL_J1427.7-3215_daily_bin1246.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/506916/ft1_filtered_4FGL_J1427.7-3215_daily_bin1246.fits" evtable="EVENTS" scfile=/scratch/kocevski/506916/ft2_4FGL_J1427.7-3215_daily_bin1246.fits sctable="SC_DATA" outfile=/scratch/kocevski/506916/ltcube_562291201_562550401_4FGL_J1427.7-3215_daily_bin1246.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/506916/ft2_4FGL_J1427.7-3215_daily_bin1246.fits
.....................!
real 12.03
user 11.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/506916/ft1_filtered_4FGL_J1427.7-3215_daily_bin1246.fits evtable="EVENTS" scfile=/scratch/kocevski/506916/ft2_4FGL_J1427.7-3215_daily_bin1246.fits sctable="SC_DATA" expcube=/scratch/kocevski/506916/ltcube_562291201_562550401_4FGL_J1427.7-3215_daily_bin1246.fits outfile=/scratch/kocevski/506916/expmap_562291201_562550401_4FGL_J1427.7-3215_daily_bin1246.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/506916/ltcube_562291201_562550401_4FGL_J1427.7-3215_daily_bin1246.fits
.....................!
real 191.08
user 186.43
sys 4.26

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/506916/ft1_filtered_4FGL_J1427.7-3215_daily_bin1246.fits scfile=/scratch/kocevski/506916/ft2_4FGL_J1427.7-3215_daily_bin1246.fits outfile=/scratch/kocevski/506916/cmap_562291201_562550401_4FGL_J1427.7-3215_daily_bin1246.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.54
user 0.41
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/506916/ft1_filtered_4FGL_J1427.7-3215_daily_bin1246.fits scfile=/scratch/kocevski/506916/ft2_4FGL_J1427.7-3215_daily_bin1246.fits outfile=/scratch/kocevski/506916/cmap_HighResolution_562291201_562550401_4FGL_J1427.7-3215_daily_bin1246.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/506916/ft1_filtered_4FGL_J1427.7-3215_daily_bin1246.fits evtable="EVENTS" scfile=/scratch/kocevski/506916/ft2_4FGL_J1427.7-3215_daily_bin1246.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/506916/Model_4FGL_J1427.7-3215_daily_bin1246.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/506916/ft1_filtered_4FGL_J1427.7-3215_daily_bin1246.fits..............!
real 16.05
user 14.77
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/506916/ft1_filtered_4FGL_J1427.7-3215_daily_bin1246.fits', '/scratch/kocevski/506916/ft2_4FGL_J1427.7-3215_daily_bin1246.fits', expMap='/scratch/kocevski/506916/expmap_562291201_562550401_4FGL_J1427.7-3215_daily_bin1246.fits', expCube='/scratch/kocevski/506916/ltcube_562291201_562550401_4FGL_J1427.7-3215_daily_bin1246.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/506916/Model_4FGL_J1427.7-3215_daily_bin1246.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/506916/ft1_filtered_4FGL_J1427.7-3215_daily_bin1246.fits
Spacecraft file(s): /scratch/kocevski/506916/ft2_4FGL_J1427.7-3215_daily_bin1246.fits
Exposure map: /scratch/kocevski/506916/expmap_562291201_562550401_4FGL_J1427.7-3215_daily_bin1246.fits
Exposure cube: /scratch/kocevski/506916/ltcube_562291201_562550401_4FGL_J1427.7-3215_daily_bin1246.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/506916/Model_4FGL_J1427.7-3215_daily_bin1246.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 184.842243481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 182.524873808

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2159       1.0000         .10000E-03   10000.    
     2 'norm      '    .57482E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    7.3511       1.0000         .10000E-03   10000.    
     4 'norm      '    .10260E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10606E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.6307       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9918       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.4732       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.8426       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.2181       1.0000         .10000E-03   10000.    
    11 'Prefactor '    214.98       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.7691       1.0000         .10000E-03   10000.    
    13 'norm      '    2.6239       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0437       1.0000         .10000E-03   10000.    
    15 'norm      '    1.3015       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8575       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.9538       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7046       1.0000         .10000E-03   10000.    
    19 'norm      '    9.6115       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.6924       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.7634       1.0000         .10000E-03   10000.    
    23 'norm      '    1.0279       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.5959       1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.2046       1.0000         .10000E-03   10000.    
    26 'norm      '    2.0092       1.0000         .10000E-03   10000.    
    27 'norm      '    7.1740       1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.2676       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    30 'Prefactor '    .72764       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   182.4369     FROM MIGRAD    STATUS=CONVERGED    312 CALLS      550 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15473E-03    698.51        .33005E-02** at limit **
   2  norm          .10000E-03    58.100        .95018E-02** at limit **
   3  norm          .10098E-02    6359.9        .36983E-02** at limit **
   4  norm          .10000E-03    41.491        .90743E-02** at limit **
   5  Prefactor     .10000E-03    13.655        .90712E-02** at limit **
   6  Prefactor     5.9964        8600.4        .32283E-02    .26459E-02
   7  Prefactor     652.98        1615.3        .41009E-02    .83311E-03
   8  Prefactor     .12674E-03    6489.5        .36677E-02** at limit **
   9  Prefactor     8.8426        1.0016         .0000         .0000    
  10  Prefactor     9.2181        1.0015         .0000         .0000    
  11  Prefactor     224.94        1.0224       -.53868E-06   -.17723E-01
  12  Prefactor     .92594E-02    .67567E-01   -.36203E-05    .14466E-02
  13  norm          .10148E-03    .99043E-01   -.74022E-05** at limit **
  14  Prefactor     .17738E-01    .59447E-01    .51855E-06    .23542E-02
  15  norm          1.3015        1.1043         .0000         .0000    
  16  Prefactor     .10678E-02    .43022E-01   -.70990E-05** at limit **
  17  Prefactor     .10746E-03    .13768       -.59118E-05** at limit **
  18  Prefactor     .10000E-03    .53780E-01   -.18921E-05** at limit **
  19  norm          9.6115        1.0014         .0000         .0000    
  20  Prefactor     .63199        .25579       -.10113E-05    .42988E-02
  21  Prefactor     .10003E-03    .20571        .21610E-06** at limit **
  22  Prefactor     6.7634        1.0028         .0000         .0000    
  23  norm          1.0279        1.2747         .0000         .0000    
  24  Prefactor     1.5959        1.0602         .0000         .0000    
  25  Prefactor     .16068E-01    .80037E-01    .21630E-05   -.68385E-03
  26  norm          2.0092        1.0349         .0000         .0000    
  27  norm          7.1740        1.0024         .0000         .0000    
  28  Prefactor     .10001E-03    .11623        .36225E-05** at limit **
  29  Normalizat    .10000E-01    .25703       -.83636E-05** at limit **
  30  Prefactor     .68097        1.0448        .18169E-04   -.16603E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000154727
  norm       = 0.0001
  norm       = 0.00100976
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.99637
  Prefactor  = 652.978
  Prefactor  = 0.000126743
  Prefactor  = 8.84264
  Prefactor  = 9.21814
  Prefactor  = 224.938
  Prefactor  = 0.00925944
  norm       = 0.000101479
  Prefactor  = 0.0177384
  norm       = 1.30146
  Prefactor  = 0.00106778
  Prefactor  = 0.000107464
  Prefactor  = 0.000100001
  norm       = 9.61151
  Prefactor  = 0.631985
  Prefactor  = 0.000100029
  Prefactor  = 6.7634
  norm       = 1.02786
  Prefactor  = 1.59586
  Prefactor  = 0.0160684
  norm       = 2.00915
  norm       = 7.174
  Prefactor  = 0.000100014
  Normalizat = 0.01
  Prefactor  = 0.680972
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   182.4369     FROM HESSE     STATUS=FAILED        27 CALLS      577 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15473E-03    698.51        .33005E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    58.100        .95018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10098E-02    6359.9        .36983E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    41.491        .90743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.655        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.9964        8600.4        .32283E-02   -1.5218    
   7  Prefactor     652.98        1615.3        .41009E-02   -1.0540    
   8  Prefactor     .12674E-03    6489.5        .36677E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     498.89        490.02         .0000       -1.5113    
  10  Prefactor     9.2181        1.0015         .0000       -1.5101    
  11  Prefactor     224.94        1.0224       -.53868E-06   -1.2697    
  12  Prefactor     .92594E-02    .67567E-01   -.36203E-05   -1.5689    
  13  norm          .10148E-03    .99043E-01   -.74022E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .17738E-01    .59447E-01    .51855E-06   -1.5681    
  15  norm          1.3015        1.1043         .0000       -1.5480    
  16  Prefactor     .10678E-02    .43022E-01   -.70990E-05   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10746E-03    .13768       -.59118E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .53780E-01   -.18921E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.6115        1.0014         .0000       -1.5088    
  20  Prefactor     .63199        .25579       -.10113E-05   -1.5549    
  21  Prefactor     .10003E-03    .20571        .21610E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.7634        1.0028         .0000       -1.5188    
  23  norm          1.0279        1.2747         .0000       -1.5505    
  24  Prefactor     1.5959        1.0602         .0000       -1.5455    
  25  Prefactor     .16068E-01    .80037E-01    .21630E-05   -1.5733    
  26  norm          2.0092        1.0349         .0000       -1.5424    
  27  norm          7.1740        1.0024         .0000       -1.5172    
  28  Prefactor     .10001E-03    .11623        .36225E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .10000E-01    .25703       -.83636E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .68097        1.0448        .18169E-04   -1.0428    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.47859e-10
Minuit parameter uncertainties:
  1  0.395741
  2  0.000261396
  3  3.3077
  4  0.000157958
  5  1.53786e-05
  6  1053.68
  7  1760.63
  8  0.597201
  9  1.00161
  10  1.00148
  11  1.02238
  12  0.0497543
  13  0.000765406
  14  0.0594476
  15  1.10433
  16  0.0129052
  17  0.00202751
  18  1.18557e-05
  19  1.00136
  20  0.255789
  21  0.000155564
  22  1.00276
  23  1.2747
  24  1.0602
  25  0.0715001
  26  1.03491
  27  1.00245
  28  8.14437e-05
  29  4.1896e-06
  30  1.07738
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 182.436923066

Extracting fit parameters...

4FGL J1427.7-3215
   Spectrum: PowerLaw
324    Prefactor:  1.774e-02  5.945e-02  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:  6.810e-01  1.077e+00  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.000e-02  4.190e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 216.946 -32.254
Photon Flux Upper Limit: 7.58e-06 ph cm-2 s-1
Energy Flux Upper Limit: 5.73e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/506916/likelihoodResults_562291201_562550401_4FGL_J1427.7-3215_daily_bin1246.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) = 182.436923954
delta logL = -8.88235092589e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 182.436923764
delta logL = -6.98614741168e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17729E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1072       1.0000          .0000       10.000    
     3 'Normalizat'    .10006E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68097       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=   182.4369     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      247 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    834.84        .18223E-01** at limit **
   2  Index         2.2847        6.8550        .50000        .10996E-06
   3  Normalizat    .10000E-01    .30985E-02    .11904E-01** at limit **
   4  Prefactor     .68097        .74053E-02    .14307E-03   -.28169E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Index      = 2.28466
  Normalizat = 0.01
  Prefactor  = 0.680972
 **********
 **   18 **HESSE 
 **********

 FCN=   182.4369     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    6871.1        .36445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2847        8.8554        .50000       -.57409    
   3  Normalizat    .10000E-01    .15717E-01    .23809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .68097        .16654E-01    .28614E-04   -1.0428    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.98493e-10
Minuit parameter uncertainties:
  1  0.0108234
  2  940.479
  3  6.81385e-06
  4  0.0166538
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/506916': 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) = 182.436919943
delta logL = 3.12278865522e-06

Extracting fit parameters...

4FGL J1427.7-3215
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  1.082e-02  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  2.285e+00  9.405e+02  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:  6.810e-01  1.665e-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.000e-02  6.814e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.946 -32.254

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/506916/cmap_HighResolution_562291201_562550401_4FGL_J1427.7-3215_daily_bin1246.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-01', job_status='DONE', photon_flux_upper_limit='7.58e-06', time_completed='2021-09-09 18:34:47.127111', job_id='506916', GAL2='0.68', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631237687.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.68', dlogl='3.12e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1246' AND source_name='4FGL J1427.7-3215' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 18:34:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 506916: <4FGL_J1427.7-3215_daily_bin1246> in cluster <slac> Done

Job <4FGL_J1427.7-3215_daily_bin1246> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 18:26:10 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 18:26:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 18:26:11 2021
Terminated at Thu Sep  9 18:34:47 2021
Results reported at Thu Sep  9 18:34:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.7-3215_daily_bin1246 216.946 -32.2537 562291201 562550401 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 :                                   334.20 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             233.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   516 sec.
    Turnaround time :                            517 sec.

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

