/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 192 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 = 7496
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1427.0+2348_daily_bin5
RA = 216.756, Dec = 23.8013
tmin = 240624001, tmax = 240883201
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='467030', job_status='RUN', time_executed='2021-09-09 16:14:55.066249', time_epoch_executed='1631229295.07' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='5'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467030

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467030/ft1_4FGL_J1427.0+2348_daily_bin5.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467030/ft2_4FGL_J1427.0+2348_daily_bin5.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467030/ft1_4FGL_J1427.0+2348_daily_bin5.fits outfile=/scratch/kocevski/467030/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin5.fits ra=216.756 dec=23.8013 rad=12.0 tmin=240624001.0 tmax=240883201.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 1.40
user 1.21
sys 0.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/467030/ft2_4FGL_J1427.0+2348_daily_bin5.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/467030/ft2_4FGL_J1427.0+2348_daily_bin5.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/467030/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin5.fits evtable="EVENTS" outfile="/scratch/kocevski/467030/ft1_filtered_4FGL_J1427.0+2348_daily_bin5.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/467030/ft1_filtered_4FGL_J1427.0+2348_daily_bin5.fits" evtable="EVENTS" scfile=/scratch/kocevski/467030/ft2_4FGL_J1427.0+2348_daily_bin5.fits sctable="SC_DATA" outfile=/scratch/kocevski/467030/ltcube_240624001_240883201_4FGL_J1427.0+2348_daily_bin5.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/467030/ft2_4FGL_J1427.0+2348_daily_bin5.fits
.....................!
real 12.88
user 12.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467030/ft1_filtered_4FGL_J1427.0+2348_daily_bin5.fits evtable="EVENTS" scfile=/scratch/kocevski/467030/ft2_4FGL_J1427.0+2348_daily_bin5.fits sctable="SC_DATA" expcube=/scratch/kocevski/467030/ltcube_240624001_240883201_4FGL_J1427.0+2348_daily_bin5.fits outfile=/scratch/kocevski/467030/expmap_240624001_240883201_4FGL_J1427.0+2348_daily_bin5.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/467030/ltcube_240624001_240883201_4FGL_J1427.0+2348_daily_bin5.fits
.....................!
real 190.42
user 185.11
sys 4.96

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J1427.0+2348 @ 216.756 23.8013

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/467030/ft1_filtered_4FGL_J1427.0+2348_daily_bin5.fits scfile=/scratch/kocevski/467030/ft2_4FGL_J1427.0+2348_daily_bin5.fits outfile=/scratch/kocevski/467030/cmap_240624001_240883201_4FGL_J1427.0+2348_daily_bin5.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.756 yref=23.8013 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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/467030/ft1_filtered_4FGL_J1427.0+2348_daily_bin5.fits scfile=/scratch/kocevski/467030/ft2_4FGL_J1427.0+2348_daily_bin5.fits outfile=/scratch/kocevski/467030/cmap_HighResolution_240624001_240883201_4FGL_J1427.0+2348_daily_bin5.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.756 yref=23.8013 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/467030/ft1_filtered_4FGL_J1427.0+2348_daily_bin5.fits evtable="EVENTS" scfile=/scratch/kocevski/467030/ft2_4FGL_J1427.0+2348_daily_bin5.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/467030/Model_4FGL_J1427.0+2348_daily_bin5.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/467030/ft1_filtered_4FGL_J1427.0+2348_daily_bin5.fits.....................!
real 51.78
user 49.84
sys 1.61

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/467030/ft1_filtered_4FGL_J1427.0+2348_daily_bin5.fits', '/scratch/kocevski/467030/ft2_4FGL_J1427.0+2348_daily_bin5.fits', expMap='/scratch/kocevski/467030/expmap_240624001_240883201_4FGL_J1427.0+2348_daily_bin5.fits', expCube='/scratch/kocevski/467030/ltcube_240624001_240883201_4FGL_J1427.0+2348_daily_bin5.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/467030/Model_4FGL_J1427.0+2348_daily_bin5.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1427.0+2348'

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  7.035e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.705e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  5.813e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.205e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/467030/ft1_filtered_4FGL_J1427.0+2348_daily_bin5.fits
Spacecraft file(s): /scratch/kocevski/467030/ft2_4FGL_J1427.0+2348_daily_bin5.fits
Exposure map: /scratch/kocevski/467030/expmap_240624001_240883201_4FGL_J1427.0+2348_daily_bin5.fits
Exposure cube: /scratch/kocevski/467030/ltcube_240624001_240883201_4FGL_J1427.0+2348_daily_bin5.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/467030/Model_4FGL_J1427.0+2348_daily_bin5.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) = 6901.34223306

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.950       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.7893       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4527       1.0000         .10000E-03   10000.    
     8 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.478       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.147       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11443E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10504E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.073       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.467       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .87472       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6901.246     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1854 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.951        5.2407        .93592E-06   -.55105E-03
   2  Prefactor     .10000E-03    4.3905       -.22032E-07** at limit **
   3  Prefactor     .10000E-03    8.3651        .18958E-08** at limit **
   4  Prefactor     .10000E-03    .74164        .29748E-08** at limit **
   5  Prefactor     .10000E-03    1.7963        .27832E-07** at limit **
   6  norm          6.7894        2.8314       -.19848E-07   -.16085E-04
   7  Prefactor     1.4548        4.7053       -.22637E-05   -.99804E-03
   8  norm          .10000E-03    1.0198        .78216E-08** at limit **
   9  norm          .10000E-03    2.3584       -.19044E-07** at limit **
  10  Prefactor     .10000E-03    16.481        .88468E-05** at limit **
  11  Prefactor     12.466        23.628        .32867E-05    .21062E-04
  12  Prefactor     22.158        17.866       -.29514E-05    .29353E-03
  13  Prefactor     .10000E-03    16.567       -.88826E-05** at limit **
  14  Prefactor     .10000E-03    48.448        .61374E-06** at limit **
  15  Prefactor     11.074        9.6659       -.30285E-06   -.24500E-04
  16  norm          .10000E-03    150.82       -.35938E-05** at limit **
  17  Prefactor     12.467        8.4604       -.69389E-06    .11205E-03
  18  Normalizat    .87470        .16341       -.45080E-06    .85247E-04
  19  Prefactor     .99861        .13672        .69102E-06    .39539E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.9506
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.78937
  Prefactor  = 1.45482
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 12.4665
  Prefactor  = 22.1577
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 11.0744
  norm       = 0.0001
  Prefactor  = 12.4669
  Normalizat = 0.874699
  Prefactor  = 0.998606
 **********
 **   18 **HESSE 
 **********

 FCN=   6901.246     FROM HESSE     STATUS=OK           264 CALLS     2118 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.951        5.2135        .11588E-03   -1.5016    
   2  Prefactor     .10000E-03    4.4431        .16997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.3729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .74485        .69854E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.7993        .10871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.7894        2.8321        .87139E-04   -1.5187    
   7  Prefactor     1.4548        5.1001        .33054E-03   -1.5467    
   8  norm          .10000E-03    1.0640        .16372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.4113        .12453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.466        23.678        .11340E-03   -1.5002    
  12  Prefactor     22.158        17.682        .85113E-04   -1.4766    
  13  Prefactor     .10000E-03    16.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    48.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.074        9.6938        .12039E-03   -1.5042    
  16  norm          .10000E-03    152.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.467        8.4628        .11345E-03   -1.5002    
  18  Normalizat    .87470        .19185        .25999E-03   -.97355    
  19  Prefactor     .99861        .16139        .20531E-03   -.92776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40214e-09
Minuit parameter uncertainties:
  1  5.21366
  2  7.44894e-07
  3  3.86076e-06
  4  5.07006e-07
  5  4.72061e-06
  6  2.83217
  7  5.10158
  8  2.02367e-07
  9  1.03651e-06
  10  0.000417017
  11  23.6956
  12  17.6858
  13  0.000426368
  14  9.05444e-05
  15  9.69515
  16  0.000494089
  17  8.46364
  18  0.191996
  19  0.161467
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  6.789e+00  2.832e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.705e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  5.813e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.205e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.986e-01  1.615e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  8.747e-01  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.04
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 5.67e-08 +/- 2.37e-08
Energy Flux (Fixed Index): 7.33e-05 +/- 3.06e-05

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) = 6899.90839395
delta logL = 1.33788784599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6899.90081994
delta logL = 1.34546186023

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0721       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2499       1.0000          .0000       5.0000    
     3 'Normalizat'    .82717       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0119       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+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=   6899.901     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      267 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0721        2.6688        .66971E-04    .16507E-02
   2  alpha         2.2499        .33271        .74065E-02    .12386E-03
   3  Normalizat    .82717        .19015        .26613E-03    .32124E-03
   4  Prefactor     1.0119        .15806        .20368E-03    .49770E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.07205
  alpha      = 2.2499
  Normalizat = 0.82717
  Prefactor  = 1.01187
 **********
 **   18 **HESSE 
 **********

 FCN=   6899.901     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0721        2.5961        .26788E-05   -1.5215    
   2  alpha         2.2499        .32346        .29626E-03   -.10021    
   3  Normalizat    .82717        .19016        .10645E-04   -.99069    
   4  Prefactor     1.0119        .15814        .40737E-04   -.92335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0089e-10
Minuit parameter uncertainties:
  1  2.59611
  2  0.32438
  3  0.190318
  4  0.158213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467030': 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) = 6899.90081993
delta logL = 1.34546187

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  6.072e+00  2.596e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.250e+00  3.244e-01  0.000e+00  5.000e+00 ( 1.000e+00)
268         beta:  5.813e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.205e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.012e+00  1.582e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  8.272e-01  1.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.62
Ra Dec: 216.756 23.801
Photon Index (Free Index): 2.25 +/- 0.32
Photon Flux (Free Index): 1.08e-07 +/- 4.68e-08
Energy Flux (Free Index): 4.52e-05 +/- 1.81e-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/467030/cmap_HighResolution_240624001_240883201_4FGL_J1427.0+2348_daily_bin5.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.67e-08', energy_flux2='4.52e-05', photon_flux_error='2.37e-08', dlogl='1.35e+00', energy_flux='7.33e-05', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-09-09 16:23:30.695304', photon_index_error2='0.32', photon_index2='2.25', ts='21.04', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.81e-05', EG='0.87', time_epoch_completed='1631229810.7', return_code='0', job_id='467030', GAL2='1.01', EG2='0.83', return_code2='0', energy_flux_error='3.06e-05', photon_flux_error2='4.68e-08', ts2='23.62', photon_index='1.71' WHERE bin_id='5' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:23:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 467030: <4FGL_J1427.0+2348_daily_bin5> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin5> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 16:11:29 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 16:11:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 16:11:31 2021
Terminated at Thu Sep  9 16:23:31 2021
Results reported at Thu Sep  9 16:23:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin5 216.756 23.8013 240624001 240883201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1427.0+2348 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   515.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            722 sec.

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

