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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1011
RA = 216.756, Dec = 23.8013
tmin = 501379201, tmax = 501638401
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='475708', job_status='RUN', time_executed='2021-09-09 16:43:59.616426', time_epoch_executed='1631231039.62' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1011'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475708

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475708/ft1_4FGL_J1427.0+2348_daily_bin1011.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475708/ft2_4FGL_J1427.0+2348_daily_bin1011.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475708/ft1_4FGL_J1427.0+2348_daily_bin1011.fits outfile=/scratch/kocevski/475708/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1011.fits ra=216.756 dec=23.8013 rad=12.0 tmin=501379201.0 tmax=501638401.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.57
user 3.35
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/475708/ft2_4FGL_J1427.0+2348_daily_bin1011.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/475708/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1011.fits evtable="EVENTS" outfile="/scratch/kocevski/475708/ft1_filtered_4FGL_J1427.0+2348_daily_bin1011.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.51
user 0.33
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475708/ft1_filtered_4FGL_J1427.0+2348_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/475708/ft2_4FGL_J1427.0+2348_daily_bin1011.fits sctable="SC_DATA" expcube=/scratch/kocevski/475708/ltcube_501379201_501638401_4FGL_J1427.0+2348_daily_bin1011.fits outfile=/scratch/kocevski/475708/expmap_501379201_501638401_4FGL_J1427.0+2348_daily_bin1011.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/475708/ltcube_501379201_501638401_4FGL_J1427.0+2348_daily_bin1011.fits
.....................!
real 192.42
user 187.60
sys 4.40

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/475708/ft1_filtered_4FGL_J1427.0+2348_daily_bin1011.fits scfile=/scratch/kocevski/475708/ft2_4FGL_J1427.0+2348_daily_bin1011.fits outfile=/scratch/kocevski/475708/cmap_501379201_501638401_4FGL_J1427.0+2348_daily_bin1011.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475708/ft1_filtered_4FGL_J1427.0+2348_daily_bin1011.fits scfile=/scratch/kocevski/475708/ft2_4FGL_J1427.0+2348_daily_bin1011.fits outfile=/scratch/kocevski/475708/cmap_HighResolution_501379201_501638401_4FGL_J1427.0+2348_daily_bin1011.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.945       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12282E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14478E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    14.905       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.512       1.0000         .10000E-03   10000.    
     8 'norm      '    5.2422       1.0000         .10000E-03   10000.    
     9 'norm      '    .93834       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10737E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1367       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .79223       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=   5703.565     FROM MIGRAD    STATUS=CONVERGED    401 CALLS     1630 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.8043       -.39292E-06** at limit **
   2  Prefactor     16.947        11.704        .16619E-06   -.87297E-05
   3  Prefactor     .10001E-03    33.296        .77177E-05** at limit **
   4  Prefactor     .10000E-03    2.0409        .12054E-06** at limit **
   5  Prefactor     .10001E-03    6.1694       -.45808E-06** at limit **
   6  norm          14.905        4.0965        .32083E-08   -.28722E-04
   7  Prefactor     10.513        6.9537        .40190E-07    .40267E-04
   8  norm          5.2425        2.9595        .52700E-08   -.51292E-04
   9  norm          .93782        5.3683        .89873E-06   -.37723E-03
  10  Prefactor     .10001E-03    46.425       -.60668E-05** at limit **
  11  Prefactor     .10000E-03    7.9002       -.27607E-06** at limit **
  12  Prefactor     .10000E-03    7.3416        .13568E-05** at limit **
  13  Prefactor     .10000E-03    18.371       -.45821E-07** at limit **
  14  Prefactor     .10000E-03    11.649        .28755E-05** at limit **
  15  Prefactor     5.1370        9.0661        .30764E-05   -.92652E-03
  16  norm          .10000E-03    20.605       -.19878E-05** at limit **
  17  Prefactor     .10000E-03    10.083       -.25585E-05** at limit **
  18  Normalizat    1.1734        .17859       -.45698E-06    .76240E-04
  19  Prefactor     .79229        .15119       -.52941E-06    .53654E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 16.9466
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  norm       = 14.9051
  Prefactor  = 10.5128
  norm       = 5.24247
  norm       = 0.93782
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 5.13699
  norm       = 0.000100001
  Prefactor  = 0.000100001
  Normalizat = 1.17344
  Prefactor  = 0.792287
 **********
 **   18 **HESSE 
 **********

 FCN=   5703.565     FROM HESSE     STATUS=OK           270 CALLS     1900 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.8279        .24283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.947        11.715        .97297E-04   -1.4884    
   3  Prefactor     .10001E-03    35.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.5328        .20885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    23.694        .34981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          14.905        4.0950        .77398E-04   -1.4936    
   7  Prefactor     10.513        6.7604        .12358E-03   -1.5059    
   8  norm          5.2425        2.9578        .93868E-04   -1.5250    
   9  norm          .93782        5.7512        .33778E-03   -1.5514    
  10  Prefactor     .10001E-03    47.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.9142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.4356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.1370        10.688        .88693E-03   -1.5255    
  16  norm          .10000E-03    20.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1734        .20619        .23462E-03   -.87427    
  19  Prefactor     .79229        .17671        .23516E-03   -1.0001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74806e-09
Minuit parameter uncertainties:
  1  0.000203619
  2  11.7161
  3  0.00136457
  4  6.57766e-06
  5  0.000896761
  6  4.09505
  7  6.76086
  8  2.9579
  9  4.64525
  10  0.00122499
  11  2.31287e-05
  12  0.000111305
  13  7.15397e-06
  14  0.000303979
  15  10.6923
  16  0.000277181
  17  0.000233449
  18  0.206328
  19  0.176837
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.491e+01  4.095e+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.923e-01  1.768e-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.173e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 60.75
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 1.25e-07 +/- 3.42e-08
Energy Flux (Fixed Index): 1.61e-04 +/- 4.42e-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) = 5703.47529475
delta logL = 0.0901934101767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5703.45173441
delta logL = 0.113753752105

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.714       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8150       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1602       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79623       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=   5703.452     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      201 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.714        5.5458        .26104E-02   -.25978E-03
   2  alpha         1.8150        .30408        .15301        .22645E-04
   3  Normalizat    1.1602        .17805        .53290E-01    .37075E-05
   4  Prefactor     .79623        .14819        .43668E-01    .14287E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.7137
  alpha      = 1.81505
  Normalizat = 1.16016
  Prefactor  = 0.796234
 **********
 **   18 **HESSE 
 **********

 FCN=   5703.452     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.714        4.0422        .75063E-04   -1.4941    
   2  alpha         1.8150        .23192        .64441E-02   -.27753    
   3  Normalizat    1.1602        .20592        .23562E-03   -.87843    
   4  Prefactor     .79623        .17242        .23449E-03   -.99867    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16306e-10
Minuit parameter uncertainties:
  1  4.04225
  2  0.23228
  3  0.20606
  4  0.172537
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475708': 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) = 5703.4517344
delta logL = 0.113753752215

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.471e+01  4.042e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.815e+00  2.323e-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.962e-01  1.725e-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.160e+00  2.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 60.83
Ra Dec: 216.756 23.801
Photon Index (Free Index): 1.82 +/- 0.23
Photon Flux (Free Index): 1.40e-07 +/- 4.89e-08
Energy Flux (Free Index): 1.36e-04 +/- 5.90e-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/475708/cmap_HighResolution_501379201_501638401_4FGL_J1427.0+2348_daily_bin1011.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.25e-07', energy_flux2='1.36e-04', photon_flux_error='3.42e-08', dlogl='1.14e-01', energy_flux='1.61e-04', photon_flux2='1.40e-07', job_status='DONE', time_completed='2021-09-09 16:52:14.116152', photon_index_error2='0.23', photon_index2='1.82', ts='60.75', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='5.90e-05', EG='1.17', time_epoch_completed='1631231534.12', return_code='0', job_id='475708', GAL2='0.80', EG2='1.16', return_code2='0', energy_flux_error='4.42e-05', photon_flux_error2='4.89e-08', ts2='60.83', photon_index='1.71' WHERE bin_id='1011' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:52:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 475708: <4FGL_J1427.0+2348_daily_bin1011> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin1011 216.756 23.8013 501379201 501638401 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 :                                   492.07 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            650 sec.

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

