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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1006
RA = 216.756, Dec = 23.8013
tmin = 500083201, tmax = 500342401
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='475701', job_status='RUN', time_executed='2021-09-09 16:44:32.778811', time_epoch_executed='1631231072.78' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1006'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475701

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475701/ft1_4FGL_J1427.0+2348_daily_bin1006.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475701/ft2_4FGL_J1427.0+2348_daily_bin1006.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475701/ft1_4FGL_J1427.0+2348_daily_bin1006.fits outfile=/scratch/kocevski/475701/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1006.fits ra=216.756 dec=23.8013 rad=12.0 tmin=500083201.0 tmax=500342401.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 5.67
user 5.41
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/475701/ft1_filtered_4FGL_J1427.0+2348_daily_bin1006.fits" evtable="EVENTS" scfile=/scratch/kocevski/475701/ft2_4FGL_J1427.0+2348_daily_bin1006.fits sctable="SC_DATA" outfile=/scratch/kocevski/475701/ltcube_500083201_500342401_4FGL_J1427.0+2348_daily_bin1006.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/475701/ft2_4FGL_J1427.0+2348_daily_bin1006.fits
.....................!
real 11.98
user 11.61
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475701/ft1_filtered_4FGL_J1427.0+2348_daily_bin1006.fits evtable="EVENTS" scfile=/scratch/kocevski/475701/ft2_4FGL_J1427.0+2348_daily_bin1006.fits sctable="SC_DATA" expcube=/scratch/kocevski/475701/ltcube_500083201_500342401_4FGL_J1427.0+2348_daily_bin1006.fits outfile=/scratch/kocevski/475701/expmap_500083201_500342401_4FGL_J1427.0+2348_daily_bin1006.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/475701/ltcube_500083201_500342401_4FGL_J1427.0+2348_daily_bin1006.fits
.....................!
real 190.73
user 185.92
sys 4.36

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/475701/ft1_filtered_4FGL_J1427.0+2348_daily_bin1006.fits scfile=/scratch/kocevski/475701/ft2_4FGL_J1427.0+2348_daily_bin1006.fits outfile=/scratch/kocevski/475701/cmap_500083201_500342401_4FGL_J1427.0+2348_daily_bin1006.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475701/ft1_filtered_4FGL_J1427.0+2348_daily_bin1006.fits scfile=/scratch/kocevski/475701/ft2_4FGL_J1427.0+2348_daily_bin1006.fits outfile=/scratch/kocevski/475701/cmap_HighResolution_500083201_500342401_4FGL_J1427.0+2348_daily_bin1006.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4101       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.6161       1.0000         .10000E-03   10000.    
     3 'Prefactor '    38.427       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0270       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0801       1.0000         .10000E-03   10000.    
     6 'norm      '    7.3368       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.0980       1.0000         .10000E-03   10000.    
     8 'norm      '    3.6908       1.0000         .10000E-03   10000.    
     9 'norm      '    .19362       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12381E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.995       1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.911       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.269       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.7477       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2159       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .83773       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=   7114.999     FROM MIGRAD    STATUS=CONVERGED    407 CALLS     1959 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4093        3.8194       -.62725E-07   -.26074E-03
   2  Prefactor     7.6110        12.147        .28295E-06   -.73568E-04
   3  Prefactor     38.367        33.725       -.13356E-05    .43649E-04
   4  Prefactor     1.0255        3.0902       -.13969E-05   -.11998E-02
   5  Prefactor     3.0836        5.5250       -.17932E-06   -.29781E-03
   6  norm          7.3371        2.8221        .58342E-08    .10621E-03
   7  Prefactor     6.0953        6.6144       -.25101E-06   -.21863E-03
   8  norm          3.6903        2.5758       -.37632E-07   -.20408E-03
   9  norm          .17282        2.0202       -.73594E-07   -.28453E-03
  10  Prefactor     .10000E-03    27.879        .17448E-05** at limit **
  11  Prefactor     .10000E-03    29.859       -.21295E-05** at limit **
  12  Prefactor     17.990        19.783        .56475E-05   -.28826E-03
  13  Prefactor     31.892        31.932       -.18462E-06   -.65204E-04
  14  Prefactor     .10000E-03    14.049       -.10084E-05** at limit **
  15  Prefactor     16.269        10.680       -.75919E-07   -.20788E-04
  16  norm          .10000E-03    13.737        .60628E-06** at limit **
  17  Prefactor     6.7465        6.7414        .14351E-06   -.50298E-04
  18  Normalizat    1.2160        .18825       -.12603E-06    .48573E-04
  19  Prefactor     .83792        .14960       -.21462E-06    .36597E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.40934
  Prefactor  = 7.61101
  Prefactor  = 38.3674
  Prefactor  = 1.0255
  Prefactor  = 3.08362
  norm       = 7.33709
  Prefactor  = 6.09534
  norm       = 3.69035
  norm       = 0.17282
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.9895
  Prefactor  = 31.8924
  Prefactor  = 0.0001
  Prefactor  = 16.2688
  norm       = 0.0001
  Prefactor  = 6.74653
  Normalizat = 1.21596
  Prefactor  = 0.837917
 **********
 **   18 **HESSE 
 **********

 FCN=   7114.999     FROM HESSE     STATUS=OK           280 CALLS     2239 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4093        3.8231        .16935E-03   -1.5339    
   2  Prefactor     7.6110        12.138        .14531E-03   -1.5156    
   3  Prefactor     38.367        33.636        .64657E-04   -1.4468    
   4  Prefactor     1.0255        3.4320        .27307E-03   -1.5505    
   5  Prefactor     3.0836        5.5081        .23111E-03   -1.5357    
   6  norm          7.3371        2.8229        .85143E-04   -1.5166    
   7  Prefactor     6.0953        6.6088        .16258E-03   -1.5214    
   8  norm          3.6903        2.5740        .10815E-03   -1.5324    
   9  norm          .17282        18.374        .23007E-02   -1.5625    
  10  Prefactor     .10000E-03    27.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    30.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.990        18.649        .94416E-04   -1.4859    
  13  Prefactor     31.892        31.895        .70931E-04   -1.4578    
  14  Prefactor     .10000E-03    14.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.269        10.697        .99297E-04   -1.4901    
  16  norm          .10000E-03    13.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.7465        6.7398        .15447E-03   -1.5188    
  18  Normalizat    1.2160        .22245        .26220E-03   -.86111    
  19  Prefactor     .83792        .17757        .24287E-03   -.98345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53866e-09
Minuit parameter uncertainties:
  1  3.82341
  2  12.142
  3  33.6524
  4  3.43263
  5  5.50904
  6  2.82295
  7  6.60956
  8  2.57403
  9  3.56399
  10  6.22653e-05
  11  6.46221e-05
  12  18.6547
  13  31.9116
  14  4.41188e-07
  15  10.6987
  16  1.98488e-05
  17  6.74056
  18  0.222623
  19  0.177694
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  7.337e+00  2.823e+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.379e-01  1.777e-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.216e+00  2.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 48.41
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 6.13e-08 +/- 2.36e-08
Energy Flux (Fixed Index): 7.92e-05 +/- 3.05e-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) = 7112.20510636
delta logL = 2.79411168829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7111.20485099
delta logL = 3.79436705762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0061       1.0000         .10000E-03   10000.    
     2 'alpha     '    .85001       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2381       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84361       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=   7111.205     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      209 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0125        1.5604        .58525E-02   -.66627E-03
   2  alpha         .85117        .21727        .17390       -.13152E-04
   3  Normalizat    1.2379        .18369        .58834E-01   -.20901E-04
   4  Prefactor     .84373        .14498        .44282E-01   -.30486E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.01253
  alpha      = 0.851168
  Normalizat = 1.23791
  Prefactor  = 0.843733
 **********
 **   18 **HESSE 
 **********

 FCN=   7111.205     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0125        2.1894        .59319E-04   -1.5361    
   2  alpha         .85117        .30498        .76488E-03   -.72020    
   3  Normalizat    1.2379        .21864        .26019E-03   -.85439    
   4  Prefactor     .84373        .17270        .24223E-03   -.98136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0059e-11
Minuit parameter uncertainties:
  1  2.18947
  2  0.306339
  3  0.218803
  4  0.17281
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475701': 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) = 7111.20484325
delta logL = 3.79437480006

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  3.013e+00  2.189e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  8.512e-01  3.063e-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.437e-01  1.728e-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.238e+00  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 55.96
Ra Dec: 216.756 23.801
Photon Index (Free Index): 0.85 +/- 0.31
Photon Flux (Free Index): 2.23e-08 +/- 1.10e-08
Energy Flux (Free Index): 2.93e-04 +/- 1.71e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/475701/cmap_HighResolution_500083201_500342401_4FGL_J1427.0+2348_daily_bin1006.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.13e-08', energy_flux2='2.93e-04', photon_flux_error='2.36e-08', dlogl='3.79e+00', energy_flux='7.92e-05', photon_flux2='2.23e-08', job_status='DONE', time_completed='2021-09-09 16:53:37.283466', photon_index_error2='0.31', photon_index2='0.85', ts='48.41', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.71e-04', EG='1.22', time_epoch_completed='1631231617.28', return_code='0', job_id='475701', GAL2='0.84', EG2='1.24', return_code2='0', energy_flux_error='3.05e-05', photon_flux_error2='1.10e-08', ts2='55.96', photon_index='1.71' WHERE bin_id='1006' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:53:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 475701: <4FGL_J1427.0+2348_daily_bin1006> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin1006> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 16:41:23 2021
Job was executed on host(s) <bullet0209>, 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: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_bin1006 216.756 23.8013 500083201 500342401 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 :                                   541.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             221.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            735 sec.

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

