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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin546
RA = 216.756, Dec = 23.8013
tmin = 380851201, tmax = 381110401
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='472641', job_status='RUN', time_executed='2021-09-09 16:31:37.837999', time_epoch_executed='1631230297.84' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='546'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/472641

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/472641/ft1_4FGL_J1427.0+2348_daily_bin546.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/472641/ft2_4FGL_J1427.0+2348_daily_bin546.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/472641/ft1_4FGL_J1427.0+2348_daily_bin546.fits outfile=/scratch/kocevski/472641/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin546.fits ra=216.756 dec=23.8013 rad=12.0 tmin=380851201.0 tmax=381110401.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.46
user 3.22
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/472641/ft1_filtered_4FGL_J1427.0+2348_daily_bin546.fits" evtable="EVENTS" scfile=/scratch/kocevski/472641/ft2_4FGL_J1427.0+2348_daily_bin546.fits sctable="SC_DATA" outfile=/scratch/kocevski/472641/ltcube_380851201_381110401_4FGL_J1427.0+2348_daily_bin546.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/472641/ft2_4FGL_J1427.0+2348_daily_bin546.fits
.....................!
real 11.64
user 11.32
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/472641/ft1_filtered_4FGL_J1427.0+2348_daily_bin546.fits evtable="EVENTS" scfile=/scratch/kocevski/472641/ft2_4FGL_J1427.0+2348_daily_bin546.fits sctable="SC_DATA" expcube=/scratch/kocevski/472641/ltcube_380851201_381110401_4FGL_J1427.0+2348_daily_bin546.fits outfile=/scratch/kocevski/472641/expmap_380851201_381110401_4FGL_J1427.0+2348_daily_bin546.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/472641/ltcube_380851201_381110401_4FGL_J1427.0+2348_daily_bin546.fits
.....................!
real 190.58
user 185.79
sys 4.48

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/472641/ft1_filtered_4FGL_J1427.0+2348_daily_bin546.fits scfile=/scratch/kocevski/472641/ft2_4FGL_J1427.0+2348_daily_bin546.fits outfile=/scratch/kocevski/472641/cmap_380851201_381110401_4FGL_J1427.0+2348_daily_bin546.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/472641/ft1_filtered_4FGL_J1427.0+2348_daily_bin546.fits scfile=/scratch/kocevski/472641/ft2_4FGL_J1427.0+2348_daily_bin546.fits outfile=/scratch/kocevski/472641/cmap_HighResolution_380851201_381110401_4FGL_J1427.0+2348_daily_bin546.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/472641/ft1_filtered_4FGL_J1427.0+2348_daily_bin546.fits evtable="EVENTS" scfile=/scratch/kocevski/472641/ft2_4FGL_J1427.0+2348_daily_bin546.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/472641/Model_4FGL_J1427.0+2348_daily_bin546.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/472641/ft1_filtered_4FGL_J1427.0+2348_daily_bin546.fits.....................!
real 55.05
user 53.81
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9950       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5925       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.385       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.889       1.0000         .10000E-03   10000.    
     8 'norm      '    .97658E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    4.2967       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    35.138       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.2177       1.0000         .10000E-03   10000.    
    16 'norm      '    58.477       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2711       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .75650       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=   7339.216     FROM MIGRAD    STATUS=CONVERGED    389 CALLS     1900 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9952        3.5566       -.89791E-06   -.74835E-03
   2  Prefactor     .10000E-03    19.783       -.11802E-04** at limit **
   3  Prefactor     .10000E-03    11.835       -.14377E-05** at limit **
   4  Prefactor     4.5927        4.3570        .38115E-06   -.38382E-03
   5  Prefactor     .10000E-03    2.9383       -.32538E-07** at limit **
   6  norm          13.385        3.5410        .34021E-07    .11703E-03
   7  Prefactor     11.892        7.2076        .12038E-05   -.15548E-04
   8  norm          .76563E-02    1.0428       -.17390E-07    .11943E-02
   9  norm          4.2970        3.8863       -.50302E-06   -.23452E-03
  10  Prefactor     .10000E-03    19.100       -.98813E-05** at limit **
  11  Prefactor     35.106        26.652       -.21467E-04   -.12693E-03
  12  Prefactor     .10001E-03    43.292        .31453E-05** at limit **
  13  Prefactor     .10000E-03    15.876        .12775E-04** at limit **
  14  Prefactor     .10000E-03    27.566        .15362E-04** at limit **
  15  Prefactor     4.2179        4.2397        .39254E-06    .16110E-03
  16  norm          58.477        42.748       -.38223E-06   -.71948E-05
  17  Prefactor     .10000E-03    3.8186       -.38599E-07** at limit **
  18  Normalizat    1.2712        .17437        .14749E-05    .18402E-03
  19  Prefactor     .75642        .13882        .18762E-05    .11389E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.99519
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.59269
  Prefactor  = 0.0001
  norm       = 13.3851
  Prefactor  = 11.8919
  norm       = 0.00765631
  norm       = 4.29697
  Prefactor  = 0.0001
  Prefactor  = 35.1065
  Prefactor  = 0.000100007
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 4.21791
  norm       = 58.4769
  Prefactor  = 0.0001
  Normalizat = 1.27119
  Prefactor  = 0.756424
 **********
 **   18 **HESSE 
 **********

 FCN=   7339.216     FROM HESSE     STATUS=OK           272 CALLS     2172 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9952        3.5567        .20738E-03   -1.5425    
   2  Prefactor     .10000E-03    20.459        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.5927        4.3850        .16374E-03   -1.5279    
   5  Prefactor     .10000E-03    2.9494        .14333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.385        3.5413        .80095E-04   -1.4976    
   7  Prefactor     11.892        7.1948        .11618E-03   -1.5018    
   8  norm          .76563E-02    1.8026        .31611E-01   -1.5691    
   9  norm          4.2970        3.8833        .15502E-03   -1.5293    
  10  Prefactor     .10000E-03    19.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.106        26.792        .67605E-04   -1.4522    
  12  Prefactor     .10001E-03    44.923        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    27.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.2179        4.2445        .17225E-03   -1.5297    
  16  norm          58.477        42.762        .52463E-04   -1.4177    
  17  Prefactor     .10000E-03    3.8523        .16349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2712        .20647        .24304E-03   -.84431    
  19  Prefactor     .75642        .16345        .24792E-03   -1.0136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69882e-09
Minuit parameter uncertainties:
  1  3.55706
  2  4.33637e-06
  3  1.72337e-05
  4  4.38532
  5  7.9785e-06
  6  3.54135
  7  7.19535
  8  0.233425
  9  3.8835
  10  3.51277e-05
  11  26.8012
  12  0.00110642
  13  0.000329238
  14  0.000120668
  15  4.24479
  16  42.7841
  17  8.25859e-06
  18  0.2066
  19  0.163553
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.339e+01  3.541e+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.564e-01  1.636e-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.271e+00  2.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 65.42
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 1.12e-07 +/- 2.96e-08
Energy Flux (Fixed Index): 1.44e-04 +/- 3.82e-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) = 7338.47221434
delta logL = 0.74393070542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7338.45731554
delta logL = 0.758829500644

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.718       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4617       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2863       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75705       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=   7338.457     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      202 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.718        3.5002        .28080E-02    .40575E-03
   2  alpha         1.4617        .18069        .15321       -.52054E-04
   3  Normalizat    1.2863        .16837        .54727E-01    .26375E-04
   4  Prefactor     .75704        .13706        .43156E-01    .56052E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 12.718
  alpha      = 1.46168
  Normalizat = 1.28626
  Prefactor  = 0.757044
 **********
 **   18 **HESSE 
 **********

 FCN=   7338.457     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.718        3.7149        .81475E-04   -1.4995    
   2  alpha         1.4617        .19648        .66083E-02   -.42830    
   3  Normalizat    1.2863        .19749        .24199E-03   -.83977    
   4  Prefactor     .75704        .16090        .24810E-03   -1.0133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60518e-11
Minuit parameter uncertainties:
  1  3.71495
  2  0.196725
  3  0.197606
  4  0.160998
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/472641': 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) = 7338.45731554
delta logL = 0.758829500768

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  1.272e+01  3.715e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.462e+00  1.967e-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.570e-01  1.610e-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.286e+00  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 66.86
Ra Dec: 216.756 23.801
Photon Index (Free Index): 1.46 +/- 0.20
Photon Flux (Free Index): 8.58e-08 +/- 3.06e-08
Energy Flux (Free Index): 2.19e-04 +/- 9.63e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/472641/cmap_HighResolution_380851201_381110401_4FGL_J1427.0+2348_daily_bin546.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.12e-07', energy_flux2='2.19e-04', photon_flux_error='2.96e-08', dlogl='7.59e-01', energy_flux='1.44e-04', photon_flux2='8.58e-08', job_status='DONE', time_completed='2021-09-09 16:40:33.457863', photon_index_error2='0.20', photon_index2='1.46', ts='65.42', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='9.63e-05', EG='1.27', time_epoch_completed='1631230833.46', return_code='0', job_id='472641', GAL2='0.76', EG2='1.29', return_code2='0', energy_flux_error='3.82e-05', photon_flux_error2='3.06e-08', ts2='66.86', photon_index='1.71' WHERE bin_id='546' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:40:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 472641: <4FGL_J1427.0+2348_daily_bin546> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin546> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 16:31:20 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 16:31:21 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:31:21 2021
Terminated at Thu Sep  9 16:40:33 2021
Results reported at Thu Sep  9 16:40:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin546 216.756 23.8013 380851201 381110401 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 :                                   532.00 sec.
    Max Memory :                                 1208 MB
    Average Memory :                             387.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   552 sec.
    Turnaround time :                            553 sec.

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

