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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1403
RA = 216.756, Dec = 23.8013
tmin = 602985601, tmax = 603244801
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='478801', job_status='RUN', time_executed='2021-09-09 16:54:35.025443', time_epoch_executed='1631231675.03' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1403'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/478801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/478801/ft1_4FGL_J1427.0+2348_daily_bin1403.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/478801/ft2_4FGL_J1427.0+2348_daily_bin1403.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/478801/ft1_4FGL_J1427.0+2348_daily_bin1403.fits outfile=/scratch/kocevski/478801/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1403.fits ra=216.756 dec=23.8013 rad=12.0 tmin=602985601.0 tmax=603244801.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 2.98
user 2.78
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/478801/ft1_filtered_4FGL_J1427.0+2348_daily_bin1403.fits" evtable="EVENTS" scfile=/scratch/kocevski/478801/ft2_4FGL_J1427.0+2348_daily_bin1403.fits sctable="SC_DATA" outfile=/scratch/kocevski/478801/ltcube_602985601_603244801_4FGL_J1427.0+2348_daily_bin1403.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/478801/ft2_4FGL_J1427.0+2348_daily_bin1403.fits
.....................!
real 12.71
user 12.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/478801/ft1_filtered_4FGL_J1427.0+2348_daily_bin1403.fits evtable="EVENTS" scfile=/scratch/kocevski/478801/ft2_4FGL_J1427.0+2348_daily_bin1403.fits sctable="SC_DATA" expcube=/scratch/kocevski/478801/ltcube_602985601_603244801_4FGL_J1427.0+2348_daily_bin1403.fits outfile=/scratch/kocevski/478801/expmap_602985601_603244801_4FGL_J1427.0+2348_daily_bin1403.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/478801/ltcube_602985601_603244801_4FGL_J1427.0+2348_daily_bin1403.fits
.....................!
real 190.63
user 185.16
sys 5.08

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/478801/ft1_filtered_4FGL_J1427.0+2348_daily_bin1403.fits scfile=/scratch/kocevski/478801/ft2_4FGL_J1427.0+2348_daily_bin1403.fits outfile=/scratch/kocevski/478801/cmap_602985601_603244801_4FGL_J1427.0+2348_daily_bin1403.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/478801/ft1_filtered_4FGL_J1427.0+2348_daily_bin1403.fits scfile=/scratch/kocevski/478801/ft2_4FGL_J1427.0+2348_daily_bin1403.fits outfile=/scratch/kocevski/478801/cmap_HighResolution_602985601_603244801_4FGL_J1427.0+2348_daily_bin1403.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.55
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/478801/ft1_filtered_4FGL_J1427.0+2348_daily_bin1403.fits', '/scratch/kocevski/478801/ft2_4FGL_J1427.0+2348_daily_bin1403.fits', expMap='/scratch/kocevski/478801/expmap_602985601_603244801_4FGL_J1427.0+2348_daily_bin1403.fits', expCube='/scratch/kocevski/478801/ltcube_602985601_603244801_4FGL_J1427.0+2348_daily_bin1403.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/478801/Model_4FGL_J1427.0+2348_daily_bin1403.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/478801/ft1_filtered_4FGL_J1427.0+2348_daily_bin1403.fits
Spacecraft file(s): /scratch/kocevski/478801/ft2_4FGL_J1427.0+2348_daily_bin1403.fits
Exposure map: /scratch/kocevski/478801/expmap_602985601_603244801_4FGL_J1427.0+2348_daily_bin1403.fits
Exposure cube: /scratch/kocevski/478801/ltcube_602985601_603244801_4FGL_J1427.0+2348_daily_bin1403.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/478801/Model_4FGL_J1427.0+2348_daily_bin1403.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) = 8565.99895567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1008       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    88.560       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.976       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .65101       1.0000         .10000E-03   10000.    
     6 'norm      '    6.0042       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.654       1.0000         .10000E-03   10000.    
     8 'norm      '    5.5547       1.0000         .10000E-03   10000.    
     9 'norm      '    3.1600       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4414       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .25875E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1066       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.929       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3692       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .81219       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=   8565.990     FROM MIGRAD    STATUS=CONVERGED    390 CALLS     1916 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1005        4.2573        .57893E-06   -.55125E-03
   2  Prefactor     .10000E-03    16.555       -.12159E-04** at limit **
   3  Prefactor     88.554        39.970       -.42743E-05    .18557E-03
   4  Prefactor     31.975        5.8511        .95152E-07    .37081E-04
   5  Prefactor     .63904        5.6348       -.17401E-05    .96136E-04
   6  norm          6.0041        2.3381       -.25877E-07    .13932E-03
   7  Prefactor     12.654        7.5941        .24049E-07    .39543E-03
   8  norm          5.5545        2.5241       -.69544E-07   -.68054E-05
   9  norm          3.1600        2.6933        .29898E-06    .15797E-02
  10  Prefactor     2.4383        43.798       -.64955E-05   -.59539E-04
  11  Prefactor     .10000E-03    4.5472        .73962E-08** at limit **
  12  Prefactor     .10003E-03    7.5691        .63500E-06** at limit **
  13  Prefactor     3.1023        13.406        .44603E-05   -.87511E-04
  14  Prefactor     11.919        34.465       -.17018E-04   -.35905E-04
  15  Prefactor     .10000E-03    2.5028        .16446E-06** at limit **
  16  norm          .10000E-03    18.096        .11012E-04** at limit **
  17  Prefactor     .10000E-03    10.294        .79248E-06** at limit **
  18  Normalizat    1.3692        .17761        .42903E-06    .29282E-03
  19  Prefactor     .81217        .13943        .82935E-06    .19815E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.10048
  Prefactor  = 0.0001
  Prefactor  = 88.554
  Prefactor  = 31.9751
  Prefactor  = 0.639043
  norm       = 6.0041
  Prefactor  = 12.6539
  norm       = 5.55452
  norm       = 3.15997
  Prefactor  = 2.4383
  Prefactor  = 0.0001
  Prefactor  = 0.00010003
  Prefactor  = 3.10227
  Prefactor  = 11.9194
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.36923
  Prefactor  = 0.812175
 **********
 **   18 **HESSE 
 **********

 FCN=   8565.990     FROM HESSE     STATUS=OK           276 CALLS     2192 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1005        4.2600        .18563E-03   -1.5303    
   2  Prefactor     .10000E-03    16.813        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     88.554        39.170        .42695E-04   -1.3823    
   4  Prefactor     31.975        5.8933        .70860E-04   -1.4576    
   5  Prefactor     .63904        13.858        .38191E-02   -1.5548    
   6  norm          6.0041        2.3390        .85810E-04   -1.5218    
   7  Prefactor     12.654        7.3990        .11260E-03   -1.4996    
   8  norm          5.5545        2.5232        .95438E-04   -1.5237    
   9  norm          3.1600        2.7200        .68634E-03   -1.5352    
  10  Prefactor     2.4383        44.511        .26185E-03   -1.5396    
  11  Prefactor     .10000E-03    4.5499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10003E-03    61.442        .48656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.1023        13.065        .23006E-03   -1.5356    
  14  Prefactor     11.919        34.325        .11598E-03   -1.5017    
  15  Prefactor     .10000E-03    2.5166        .14297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    18.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3692        .21151        .25629E-03   -.81523    
  19  Prefactor     .81217        .16511        .26018E-03   -.99281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67688e-09
Minuit parameter uncertainties:
  1  4.26034
  2  0.000138961
  3  39.1811
  4  5.89342
  5  5.95281
  6  2.33909
  7  7.39956
  8  2.52329
  9  2.72007
  10  20.8534
  11  6.11281e-07
  12  0.00273275
  13  12.7373
  14  34.3817
  15  3.1639e-06
  16  1.03388e-06
  17  3.11701e-05
  18  0.211647
  19  0.165209
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  6.004e+00  2.339e+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:  8.122e-01  1.652e-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:  1.369e+00  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 47.52
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 5.02e-08 +/- 1.95e-08
Energy Flux (Fixed Index): 6.48e-05 +/- 2.52e-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) = 8564.70706752
delta logL = 1.28310030182

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8564.49800235
delta logL = 1.49216546334

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1727       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1562       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3849       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81391       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.

 FCN=   8564.498     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      214 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1742        1.9266        .49326E-02   -.23486E-03
   2  alpha         1.1565        .23967        .22161       -.53305E-04
   3  Normalizat    1.3849        .16967        .57702E-01    .90177E-06
   4  Prefactor     .81388        .13750        .43898E-01    .17128E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.17419
  alpha      = 1.15654
  Normalizat = 1.38493
  Prefactor  = 0.813877
 **********
 **   18 **HESSE 
 **********

 FCN=   8564.498     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1742        2.4560        .78560E-04   -1.5299    
   2  alpha         1.1565        .31472        .94941E-02   -.56733    
   3  Normalizat    1.3849        .19931        .25517E-03   -.81066    
   4  Prefactor     .81388        .16160        .26019E-03   -.99219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76981e-12
Minuit parameter uncertainties:
  1  2.45611
  2  0.315899
  3  0.199418
  4  0.161695
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/478801': 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) = 8564.49800164
delta logL = 1.49216617836

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  4.174e+00  2.456e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.157e+00  3.159e-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:  8.139e-01  1.617e-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:  1.385e+00  1.994e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 50.49
Ra Dec: 216.756 23.801
Photon Index (Free Index): 1.16 +/- 0.32
Photon Flux (Free Index): 2.57e-08 +/- 1.45e-08
Energy Flux (Free Index): 1.58e-04 +/- 1.04e-04

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/478801/cmap_HighResolution_602985601_603244801_4FGL_J1427.0+2348_daily_bin1403.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.02e-08', energy_flux2='1.58e-04', photon_flux_error='1.95e-08', dlogl='1.49e+00', energy_flux='6.48e-05', photon_flux2='2.57e-08', job_status='DONE', time_completed='2021-09-09 17:04:42.203160', photon_index_error2='0.32', photon_index2='1.16', ts='47.52', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.04e-04', EG='1.37', time_epoch_completed='1631232282.2', return_code='0', job_id='478801', GAL2='0.81', EG2='1.38', return_code2='0', energy_flux_error='2.52e-05', photon_flux_error2='1.45e-08', ts2='50.49', photon_index='1.71' WHERE bin_id='1403' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 17:04:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 478801: <4FGL_J1427.0+2348_daily_bin1403> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin1403> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 16:51:10 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 16:51:12 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:51:12 2021
Terminated at Thu Sep  9 17:04:42 2021
Results reported at Thu Sep  9 17:04:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin1403 216.756 23.8013 602985601 603244801 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 :                                   586.00 sec.
    Max Memory :                                 1174 MB
    Average Memory :                             292.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            812 sec.

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

