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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1021
RA = 216.756, Dec = 23.8013
tmin = 503971201, tmax = 504230401
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='475724', job_status='RUN', time_executed='2021-09-09 16:43:58.655752', time_epoch_executed='1631231038.66' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1021'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475724

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475724/ft1_4FGL_J1427.0+2348_daily_bin1021.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475724/ft2_4FGL_J1427.0+2348_daily_bin1021.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475724/ft1_4FGL_J1427.0+2348_daily_bin1021.fits outfile=/scratch/kocevski/475724/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1021.fits ra=216.756 dec=23.8013 rad=12.0 tmin=503971201.0 tmax=504230401.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 4.04
user 3.80
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475724/ft1_filtered_4FGL_J1427.0+2348_daily_bin1021.fits evtable="EVENTS" scfile=/scratch/kocevski/475724/ft2_4FGL_J1427.0+2348_daily_bin1021.fits sctable="SC_DATA" expcube=/scratch/kocevski/475724/ltcube_503971201_504230401_4FGL_J1427.0+2348_daily_bin1021.fits outfile=/scratch/kocevski/475724/expmap_503971201_504230401_4FGL_J1427.0+2348_daily_bin1021.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/475724/ltcube_503971201_504230401_4FGL_J1427.0+2348_daily_bin1021.fits
.....................!
real 188.29
user 184.01
sys 3.93

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/475724/ft1_filtered_4FGL_J1427.0+2348_daily_bin1021.fits scfile=/scratch/kocevski/475724/ft2_4FGL_J1427.0+2348_daily_bin1021.fits outfile=/scratch/kocevski/475724/cmap_503971201_504230401_4FGL_J1427.0+2348_daily_bin1021.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475724/ft1_filtered_4FGL_J1427.0+2348_daily_bin1021.fits scfile=/scratch/kocevski/475724/ft2_4FGL_J1427.0+2348_daily_bin1021.fits outfile=/scratch/kocevski/475724/cmap_HighResolution_503971201_504230401_4FGL_J1427.0+2348_daily_bin1021.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21116E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.688       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.537       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5171       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.6130       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.9150       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.4268       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.047       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1110       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.5309       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .77954       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=   6327.398     FROM MIGRAD    STATUS=CONVERGED    387 CALLS     1685 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4776       -.13616E-06** at limit **
   2  Prefactor     10.687        16.340       -.13985E-05   -.28581E-04
   3  Prefactor     10.537        16.997       -.13042E-05   -.33011E-03
   4  Prefactor     1.5167        2.9434       -.36440E-06   -.53080E-03
   5  Prefactor     .10000E-03    2.1151       -.11845E-06** at limit **
   6  norm          2.6130        2.2660       -.96238E-07   -.23249E-04
   7  Prefactor     7.9149        6.1402        .26532E-05   -.40014E-03
   8  norm          .10000E-03    1.0554        .35986E-08** at limit **
   9  norm          7.4264        5.5082       -.12042E-05   -.25066E-02
  10  Prefactor     .10000E-03    31.373        .30146E-05** at limit **
  11  Prefactor     .10000E-03    11.419        .28733E-06** at limit **
  12  Prefactor     .10000E-03    5.6012        .39065E-06** at limit **
  13  Prefactor     .10000E-03    19.220        .52009E-05** at limit **
  14  Prefactor     14.027        43.405       -.37447E-04    .14959E-03
  15  Prefactor     4.1111        5.8993        .40974E-06   -.11594E-03
  16  norm          .10000E-03    20.178       -.65518E-05** at limit **
  17  Prefactor     .10000E-03    4.9103       -.13411E-06** at limit **
  18  Normalizat    1.5311        .20315       -.21576E-06    .59366E-04
  19  Prefactor     .77946        .15734        .18763E-05   -.63704E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.6866
  Prefactor  = 10.5371
  Prefactor  = 1.51675
  Prefactor  = 0.0001
  norm       = 2.61305
  Prefactor  = 7.91487
  norm       = 0.0001
  norm       = 7.42639
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0266
  Prefactor  = 4.11106
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.53105
  Prefactor  = 0.779464
 **********
 **   18 **HESSE 
 **********

 FCN=   6327.398     FROM HESSE     STATUS=OK           268 CALLS     1953 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    53.749        .24135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.687        16.439        .12255E-03   -1.5054    
   3  Prefactor     10.537        17.066        .61714E-03   -1.5059    
   4  Prefactor     1.5167        2.9161        .18351E-03   -1.5462    
   5  Prefactor     .10000E-03    2.1190        .11297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.6130        2.2666        .10791E-03   -1.5385    
   7  Prefactor     7.9149        6.1066        .14252E-03   -1.5145    
   8  norm          .10000E-03    1.0617        .79775E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.4264        5.6890        .73584E-03   -1.5163    
  10  Prefactor     .10000E-03    31.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.6088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.027        42.870        .10687E-03   -1.4959    
  15  Prefactor     4.1111        5.8893        .19882E-03   -1.5302    
  16  norm          .10000E-03    20.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.9266        .17214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.5311        .23878        .24386E-03   -.76909    
  19  Prefactor     .77946        .18493        .25768E-03   -1.0049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72338e-09
Minuit parameter uncertainties:
  1  0.000119247
  2  16.4462
  3  17.0738
  4  2.91634
  5  8.53712e-06
  6  2.26672
  7  6.10713
  8  4.2091e-06
  9  5.68946
  10  0.000115566
  11  5.61924e-06
  12  2.09447e-05
  13  7.55705e-05
  14  42.964
  15  5.89011
  16  0.000186518
  17  2.87682e-06
  18  0.238957
  19  0.185082
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  2.613e+00  2.267e+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:  7.795e-01  1.851e-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.531e+00  2.390e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.20
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 2.18e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 2.82e-05 +/- 2.45e-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) = 6327.39848692
delta logL = 2.53259713645e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6327.39848691
delta logL = 2.60947672359e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6130       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7056       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5310       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77947       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=   6327.398     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      192 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6138        102.74        .63084E-02    .45637E-04
   2  alpha         1.7057        3.1047        .44146       -.15282E-04
   3  Normalizat    1.5310        .28712        .55153E-01    .10965E-05
   4  Prefactor     .77946        .16606        .43449E-01    .17842E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.61377
  alpha      = 1.70568
  Normalizat = 1.53104
  Prefactor  = 0.779461
 **********
 **   18 **HESSE 
 **********

 FCN=   6327.398     FROM HESSE     STATUS=OK            33 CALLS      225 TOTAL
                     EDM=   .47E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6138        2.4137        .10790E-03   -1.5385    
   2  alpha         1.7057        .64006        .15716E-01   -.32333    
   3  Normalizat    1.5310        .23042        .24386E-03   -.76910    
   4  Prefactor     .77946        .18220        .25768E-03   -1.0049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67351e-13
Minuit parameter uncertainties:
  1  2.41379
  2  0.648109
  3  0.23058
  4  0.182345
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475724': 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) = 6327.39848687
delta logL = 3.04957211483e-07

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  2.614e+00  2.414e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.706e+00  6.481e-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:  7.795e-01  1.823e-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.531e+00  2.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.20
Ra Dec: 216.756 23.801
Photon Index (Free Index): 1.71 +/- 0.65
Photon Flux (Free Index): 2.18e-08 +/- 2.92e-08
Energy Flux (Free Index): 2.82e-05 +/- 3.12e-05

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/475724/cmap_HighResolution_503971201_504230401_4FGL_J1427.0+2348_daily_bin1021.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.18e-08', energy_flux2='2.82e-05', photon_flux_error='1.89e-08', dlogl='3.05e-07', energy_flux='2.82e-05', photon_flux2='2.18e-08', job_status='DONE', time_completed='2021-09-09 16:53:38.020500', photon_index_error2='0.65', photon_index2='1.71', ts='4.20', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='3.12e-05', EG='1.53', time_epoch_completed='1631231618.02', return_code='0', job_id='475724', GAL2='0.78', EG2='1.53', return_code2='0', energy_flux_error='2.45e-05', photon_flux_error2='2.92e-08', ts2='4.20', photon_index='1.71' WHERE bin_id='1021' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:53:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 475724: <4FGL_J1427.0+2348_daily_bin1021> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin1021> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 16:41:25 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 16:41:26 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:41:26 2021
Terminated at Thu Sep  9 16:53:38 2021
Results reported at Thu Sep  9 16:53:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin1021 216.756 23.8013 503971201 504230401 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 :                                   489.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             238.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            733 sec.

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

