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


Performing analysis on: 4FGL_J1427.6-3305_daily_bin1302
RA = 216.913, Dec = -33.094
tmin = 576806401, tmax = 577065601
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='492652', job_status='RUN', time_executed='2021-09-09 17:38:14.397203', time_epoch_executed='1631234294.4' WHERE source_name='4FGL J1427.6-3305' and cadence='daily' and bin_id='1302'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/492652

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/492652/ft1_4FGL_J1427.6-3305_daily_bin1302.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/492652/ft2_4FGL_J1427.6-3305_daily_bin1302.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/492652/ft1_4FGL_J1427.6-3305_daily_bin1302.fits outfile=/scratch/kocevski/492652/ft1_filteredMKT_4FGL_J1427.6-3305_daily_bin1302.fits ra=216.913 dec=-33.094 rad=12.0 tmin=576806401.0 tmax=577065601.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.03
user 2.83
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/492652/ft2_4FGL_J1427.6-3305_daily_bin1302.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/492652/ft2_4FGL_J1427.6-3305_daily_bin1302.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/492652/ft1_filteredMKT_4FGL_J1427.6-3305_daily_bin1302.fits evtable="EVENTS" outfile="/scratch/kocevski/492652/ft1_filtered_4FGL_J1427.6-3305_daily_bin1302.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/492652/ft1_filtered_4FGL_J1427.6-3305_daily_bin1302.fits" evtable="EVENTS" scfile=/scratch/kocevski/492652/ft2_4FGL_J1427.6-3305_daily_bin1302.fits sctable="SC_DATA" outfile=/scratch/kocevski/492652/ltcube_576806401_577065601_4FGL_J1427.6-3305_daily_bin1302.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/492652/ft2_4FGL_J1427.6-3305_daily_bin1302.fits
.....................!
real 12.71
user 12.37
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/492652/ft1_filtered_4FGL_J1427.6-3305_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/492652/ft2_4FGL_J1427.6-3305_daily_bin1302.fits sctable="SC_DATA" expcube=/scratch/kocevski/492652/ltcube_576806401_577065601_4FGL_J1427.6-3305_daily_bin1302.fits outfile=/scratch/kocevski/492652/expmap_576806401_577065601_4FGL_J1427.6-3305_daily_bin1302.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/492652/ltcube_576806401_577065601_4FGL_J1427.6-3305_daily_bin1302.fits
.....................!
real 190.95
user 185.54
sys 5.04

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 214 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.6-3305 @ 216.913 -33.094

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/492652/ft1_filtered_4FGL_J1427.6-3305_daily_bin1302.fits scfile=/scratch/kocevski/492652/ft2_4FGL_J1427.6-3305_daily_bin1302.fits outfile=/scratch/kocevski/492652/cmap_576806401_577065601_4FGL_J1427.6-3305_daily_bin1302.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.913 yref=-33.094 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/492652/ft1_filtered_4FGL_J1427.6-3305_daily_bin1302.fits scfile=/scratch/kocevski/492652/ft2_4FGL_J1427.6-3305_daily_bin1302.fits outfile=/scratch/kocevski/492652/cmap_HighResolution_576806401_577065601_4FGL_J1427.6-3305_daily_bin1302.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.913 yref=-33.094 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/492652/ft1_filtered_4FGL_J1427.6-3305_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/492652/ft2_4FGL_J1427.6-3305_daily_bin1302.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/492652/Model_4FGL_J1427.6-3305_daily_bin1302.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/492652/ft1_filtered_4FGL_J1427.6-3305_daily_bin1302.fits.......!
real 14.87
user 13.54
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/492652/ft1_filtered_4FGL_J1427.6-3305_daily_bin1302.fits', '/scratch/kocevski/492652/ft2_4FGL_J1427.6-3305_daily_bin1302.fits', expMap='/scratch/kocevski/492652/expmap_576806401_577065601_4FGL_J1427.6-3305_daily_bin1302.fits', expCube='/scratch/kocevski/492652/ltcube_576806401_577065601_4FGL_J1427.6-3305_daily_bin1302.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/492652/Model_4FGL_J1427.6-3305_daily_bin1302.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1427.6-3305'

4FGL J1427.6-3305
   Spectrum: LogParabola
315         norm:  3.155e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
316        alpha:  2.199e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
317         beta:  1.195e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
318           Eb:  9.114e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/492652/ft1_filtered_4FGL_J1427.6-3305_daily_bin1302.fits
Spacecraft file(s): /scratch/kocevski/492652/ft2_4FGL_J1427.6-3305_daily_bin1302.fits
Exposure map: /scratch/kocevski/492652/expmap_576806401_577065601_4FGL_J1427.6-3305_daily_bin1302.fits
Exposure cube: /scratch/kocevski/492652/ltcube_576806401_577065601_4FGL_J1427.6-3305_daily_bin1302.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/492652/Model_4FGL_J1427.6-3305_daily_bin1302.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) = 103.840907794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9903       1.0000         .10000E-03   10000.    
     2 'norm      '    3.1522       1.0000         .10000E-03   10000.    
     3 'norm      '    7.5390       1.0000         .10000E-03   10000.    
     4 'norm      '    2.0324       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0206       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.6433       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.7979       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.6487       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 '    1.2765       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9449       1.0000         .10000E-03   10000.    
    13 'norm      '    3.1552       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1892       1.0000         .10000E-03   10000.    
    15 'norm      '    1.9183       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.6549       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.1366       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9665       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.5946       1.0000         .10000E-03   10000.    
    20 'norm      '    9.4314       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.7564       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.1805       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.2985       1.0000         .10000E-03   10000.    
    24 'norm      '    10.892       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .17589       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .26382       1.0000         .10000E-03   10000.    
    27 'norm      '    .19462E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    6.7033       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    30 'Prefactor '    .32079       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   101.0758     FROM MIGRAD    STATUS=CONVERGED    186 CALLS      293 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9903        1.0013         .0000         .0000    
   2  norm          3.1522        1.0132         .0000         .0000    
   3  norm          7.5390        1.0022         .0000         .0000    
   4  norm          2.0324        1.0340         .0000         .0000    
   5  Prefactor     1.0206        1.2913         .0000         .0000    
   6  Prefactor     9.6433        1.0013         .0000         .0000    
   7  Prefactor     5.7979        1.0038         .0000         .0000    
   8  Prefactor     7.6487        1.0021         .0000         .0000    
   9  Prefactor     8.8426        1.0016         .0000         .0000    
  10  Prefactor     9.2181        1.0015         .0000         .0000    
  11  Prefactor     1.2765        1.1106         .0000         .0000    
  12  Prefactor     3.9449        1.0083         .0000         .0000    
  13  norm          3.1552        1.0131         .0000         .0000    
  14  Prefactor     5.1892        1.0047         .0000         .0000    
  15  norm         10000.0        7286.7        .20038E-05** at limit **
  16  Prefactor     9.7989        1.0236       -.57266E-07   -.39243E-04
  17  Prefactor     6.1366        1.0034         .0000         .0000    
  18  Prefactor     .10126E-03    865.23        .61700E-05** at limit **
  19  Prefactor     .16535E-03    603.26        .17469E-04** at limit **
  20  norm          .11858E-03    1336.9       -.64018E-04** at limit **
  21  Prefactor     11.687        3.5366       -.11301E-05   -.93542E-03
  22  Prefactor     .15551E-03    412.17       -.27644E-04** at limit **
  23  Prefactor     .11896E-03    465.08        .33023E-04** at limit **
  24  norm          10.694        12.000        .80971E-06   -.49827E-04
  25  Prefactor     .10000E-03    46.192        .51765E-05** at limit **
  26  Prefactor     .10000E-03    17.969       -.68476E-06** at limit **
  27  norm          .10000E-03    9.3272       -.19477E-07** at limit **
  28  norm          8.8549        126.60        .66630E-05   -.21942E-02
  29  Normalizat    .10000E-01    .51690       -.18479E-05** at limit **
  30  Prefactor     .26504        .16428       -.46202E-05    .17695E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99031
  norm       = 3.15221
  norm       = 7.53902
  norm       = 2.0324
  Prefactor  = 1.02056
  Prefactor  = 9.64326
  Prefactor  = 5.79789
  Prefactor  = 7.6487
  Prefactor  = 8.84264
  Prefactor  = 9.21814
  Prefactor  = 1.27646
  Prefactor  = 3.94489
  norm       = 3.15516
  Prefactor  = 5.18918
  norm       = 10000
  Prefactor  = 9.79891
  Prefactor  = 6.13663
  Prefactor  = 0.000101263
  Prefactor  = 0.000165351
  norm       = 0.000118581
  Prefactor  = 11.6873
  Prefactor  = 0.00015551
  Prefactor  = 0.000118959
  norm       = 10.694
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.85492
  Normalizat = 0.01
  Prefactor  = 0.265039
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   101.0758     FROM HESSE     STATUS=FAILED        11 CALLS      304 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     490.77        480.76         .0000       -1.5076    
   2  norm          3.1522        1.0132         .0000       -1.5353    
   3  norm          7.5390        1.0022         .0000       -1.5159    
   4  norm          2.0324        1.0340         .0000       -1.5423    
   5  Prefactor     1.0206        1.2913         .0000       -1.5506    
   6  Prefactor     9.6433        1.0013         .0000       -1.5087    
   7  Prefactor     5.7979        1.0038         .0000       -1.5226    
   8  Prefactor     7.6487        1.0021         .0000       -1.5155    
   9  Prefactor     8.8426        1.0016         .0000       -1.5113    
  10  Prefactor     9.2181        1.0015         .0000       -1.5101    
  11  Prefactor     1.2765        1.1106         .0000       -1.5482    
  12  Prefactor     3.9449        1.0083         .0000       -1.5311    
  13  norm          3.1552        1.0131         .0000       -1.5353    
  14  Prefactor     5.1892        1.0047         .0000       -1.5252    
  15  norm         10000.0        .14067        .20038E-05    1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.7989        1.0088       -.57266E-07   -1.5082    
  17  Prefactor     6.1366        1.0034         .0000       -1.5212    
  18  Prefactor     .10126E-03    .13665        .61700E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16535E-03    .45074E-01    .17469E-04   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .11858E-03    .26607E-01   -.64018E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.687        1.0958       -.11301E-05   -1.5024    
  22  Prefactor     .15551E-03    .40744E-01   -.27644E-04   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .11896E-03    .47637E-01    .33023E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          10.694        .99191        .80971E-06   -1.5054    
  25  Prefactor     .10000E-03    .24339        .51765E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    .26343       -.68476E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    .20571       -.19477E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          8.8549        1.1524        .66630E-05   -1.6303    
  29  Normalizat    .10000E-01    .25764       -.18479E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .26504        .58231       -.46202E-05   -1.2437    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.14208e-11
Minuit parameter uncertainties:
  1  1.00126
  2  1.01317
  3  1.00222
  4  1.03401
  5  1.29138
  6  1.00135
  7  1.00377
  8  1.00215
  9  1.00161
  10  1.00148
  11  1.11061
  12  1.00827
  13  1.01314
  14  1.00472
  15  0.00412293
  16  1.00878
  17  1.00336
  18  0.000830916
  19  0.00343257
  20  0.00140625
  21  1.09583
  22  0.00300776
  23  0.0019007
  24  0.991911
  25  1.46217e-07
  26  1.87842e-06
  27  3.7737e-08
  28  1.15244
  29  1.22501e-07
  30  0.595879
Done.

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

Extracting fit parameters...

4FGL J1427.6-3305
   Spectrum: LogParabola
315         norm:  3.155e+00  1.013e+00  1.000e-04  1.000e+04 ( 1.000e-12)
316        alpha:  2.199e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
317         beta:  1.195e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
318           Eb:  9.114e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
722    Prefactor:  2.650e-01  5.959e-01  0.000e+00  1.000e+01 ( 1.000e+00)
723        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
724        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
721   Normalization:  1.000e-02  1.225e-07  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 216.913 -33.094
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -4.30e+02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/492652/likelihoodResults_576806401_577065601_4FGL_J1427.6-3305_daily_bin1302.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): 101
logL (Free Index) = 101.076523185
delta logL = -0.000767374191355

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 101.076523185
delta logL = -0.000767374191355

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    2.1985       1.0000          .0000       5.0000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   101.0765     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    alpha       2.1985        1.0014        .41536         .0000    
                               ERR DEF=  .500    
Final values: 
  alpha      = 2.19852
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   101.0765     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    alpha       1.0253        1.1988        .41536       -.12089    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.03082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/492652': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 101.076523185
delta logL = -0.000767374191355

Extracting fit parameters...

4FGL J1427.6-3305
   Spectrum: LogParabola
315         norm:  3.155e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
316        alpha:  2.199e+00  1.031e+00  0.000e+00  5.000e+00 ( 1.000e+00)
317         beta:  1.195e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
318           Eb:  9.114e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
722    Prefactor:  2.653e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
723        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
724        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
721   Normalization:  1.008e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 216.913 -33.094

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/492652/cmap_HighResolution_576806401_577065601_4FGL_J1427.6-3305_daily_bin1302.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-4.30e+02', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-09 17:43:47.962802', job_id='492652', GAL2='0.27', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631234627.96', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.27', dlogl='-7.67e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='1302' AND source_name='4FGL J1427.6-3305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 17:43:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 492652: <4FGL_J1427.6-3305_daily_bin1302> in cluster <slac> Done

Job <4FGL_J1427.6-3305_daily_bin1302> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 17:36:08 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 17:36:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 17:36:09 2021
Terminated at Thu Sep  9 17:43:48 2021
Results reported at Thu Sep  9 17:43:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.6-3305_daily_bin1302 216.913 -33.094 576806401 577065601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1427.6-3305 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   328.53 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             254.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   459 sec.
    Turnaround time :                            460 sec.

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

