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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin980
RA = 216.756, Dec = 23.8013
tmin = 493344001, tmax = 493603201
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='475659', job_status='RUN', time_executed='2021-09-09 16:41:31.206507', time_epoch_executed='1631230891.21' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='980'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475659

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475659/ft1_4FGL_J1427.0+2348_daily_bin980.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475659/ft2_4FGL_J1427.0+2348_daily_bin980.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475659/ft1_4FGL_J1427.0+2348_daily_bin980.fits outfile=/scratch/kocevski/475659/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin980.fits ra=216.756 dec=23.8013 rad=12.0 tmin=493344001.0 tmax=493603201.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.51
user 4.24
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475659/ft1_filtered_4FGL_J1427.0+2348_daily_bin980.fits evtable="EVENTS" scfile=/scratch/kocevski/475659/ft2_4FGL_J1427.0+2348_daily_bin980.fits sctable="SC_DATA" expcube=/scratch/kocevski/475659/ltcube_493344001_493603201_4FGL_J1427.0+2348_daily_bin980.fits outfile=/scratch/kocevski/475659/expmap_493344001_493603201_4FGL_J1427.0+2348_daily_bin980.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/475659/ltcube_493344001_493603201_4FGL_J1427.0+2348_daily_bin980.fits
.....................!
real 190.20
user 185.26
sys 4.53

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/475659/ft1_filtered_4FGL_J1427.0+2348_daily_bin980.fits scfile=/scratch/kocevski/475659/ft2_4FGL_J1427.0+2348_daily_bin980.fits outfile=/scratch/kocevski/475659/cmap_493344001_493603201_4FGL_J1427.0+2348_daily_bin980.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=216.756 yref=23.8013 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475659/ft1_filtered_4FGL_J1427.0+2348_daily_bin980.fits scfile=/scratch/kocevski/475659/ft2_4FGL_J1427.0+2348_daily_bin980.fits outfile=/scratch/kocevski/475659/cmap_HighResolution_493344001_493603201_4FGL_J1427.0+2348_daily_bin980.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5133       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .38728E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1713       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5882       1.0000         .10000E-03   10000.    
     6 'norm      '    7.6793       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.8478       1.0000         .10000E-03   10000.    
     9 'norm      '    5.0265       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5785       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10327E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.701       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.451       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.2392       1.0000         .10000E-03   10000.    
    16 'norm      '    .10880E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.6039       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1165       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .77916       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=   6263.001     FROM MIGRAD    STATUS=CONVERGED    406 CALLS     2014 TOTAL
                     EDM=   .76E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5138        2.8390       -.20745E-06   -.38146E-03
   2  Prefactor     .10000E-03    13.719       -.47926E-05** at limit **
   3  Prefactor     5.3475        41.059        .25402E-05   -.10306E-04
   4  Prefactor     .10000E-03    1.4601       -.12709E-06** at limit **
   5  Prefactor     4.5883        4.9885       -.20715E-05   -.38660E-04
   6  norm          7.6815        3.5076        .33414E-07   -.77585E-04
   7  Prefactor     .10000E-03    4.0034       -.97197E-07** at limit **
   8  norm          7.8480        3.4960       -.38488E-06   -.71169E-04
   9  norm          5.0238        3.7932       -.35199E-06   -.10560E-07
  10  Prefactor     .10000E-03    12.092        .20488E-05** at limit **
  11  Prefactor     3.5778        25.084        .27606E-05   -.59226E-04
  12  Prefactor     .10000E-03    4.8705       -.56071E-07** at limit **
  13  Prefactor     32.708        21.534        .27551E-05   -.31965E-05
  14  Prefactor     21.407        29.899       -.21844E-05   -.49964E-05
  15  Prefactor     4.2434        4.4240       -.19474E-05    .10514E-03
  16  norm          .10000E-03    41.724       -.48698E-06** at limit **
  17  Prefactor     5.5441        7.9407       -.27343E-05   -.10345E-03
  18  Normalizat    1.1166        .17241        .70705E-06    .11851E-03
  19  Prefactor     .77908        .14617        .23006E-06    .11749E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.51385
  Prefactor  = 0.0001
  Prefactor  = 5.34751
  Prefactor  = 0.0001
  Prefactor  = 4.58828
  norm       = 7.68146
  Prefactor  = 0.0001
  norm       = 7.84805
  norm       = 5.02378
  Prefactor  = 0.0001
  Prefactor  = 3.57777
  Prefactor  = 0.0001
  Prefactor  = 32.7078
  Prefactor  = 21.4066
  Prefactor  = 4.24337
  norm       = 0.0001
  Prefactor  = 5.54409
  Normalizat = 1.1166
  Prefactor  = 0.779083
 **********
 **   18 **HESSE 
 **********

 FCN=   6263.001     FROM HESSE     STATUS=OK           276 CALLS     2290 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5138        2.8380        .13731E-03   -1.5391    
   2  Prefactor     .10000E-03    14.124        .42557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.3475        40.816        .17678E-03   -1.5245    
   4  Prefactor     .10000E-03    2.5828        .18494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5883        4.9911        .17804E-03   -1.5280    
   6  norm          7.6815        3.5063        .95825E-04   -1.5154    
   7  Prefactor     .10000E-03    4.0446        .15450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.8480        3.4964        .94211E-04   -1.5148    
   9  norm          5.0238        3.7949        .12957E-03   -1.5260    
  10  Prefactor     .10000E-03    12.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.5778        24.707        .21363E-03   -1.5330    
  12  Prefactor     .10000E-03    4.8783        .17057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     32.708        21.505        .70071E-04   -1.4564    
  14  Prefactor     21.407        29.924        .86482E-04   -1.4782    
  15  Prefactor     4.2434        4.4029        .16464E-03   -1.5296    
  16  norm          .10000E-03    41.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.5441        8.0076        .16970E-03   -1.5237    
  18  Normalizat    1.1166        .19739        .23298E-03   -.89221    
  19  Prefactor     .77908        .16822        .23144E-03   -1.0050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48703e-10
Minuit parameter uncertainties:
  1  2.83817
  2  2.77938e-05
  3  29.5754
  4  5.862e-06
  5  4.99152
  6  3.50641
  7  7.87257e-06
  8  3.49647
  9  3.79512
  10  5.46646e-06
  11  18.8146
  12  7.10612e-06
  13  21.5098
  14  29.9454
  15  4.40322
  16  7.04681e-06
  17  8.00917
  18  0.197522
  19  0.168331
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  7.681e+00  3.506e+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.791e-01  1.683e-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.117e+00  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.45
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 6.42e-08 +/- 2.93e-08
Energy Flux (Fixed Index): 8.29e-05 +/- 3.78e-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) = 6259.0065393
delta logL = 3.99410710977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6259.00319696
delta logL = 3.99744944549

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.2851       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5658       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80101       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=   6259.003     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      248 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.2855        21.989        .43708E-02    .16112E-03
   2  alpha         2.5659        2.0156        .12711        .82882E-04
   3  Normalizat    1.0350        .10049        .41679E-01    .93122E-05
   4  Prefactor     .80114        .76545E-01    .43730E-01    .13056E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.2855
  alpha      = 2.56593
  Normalizat = 1.03499
  Prefactor  = 0.801144
 **********
 **   18 **HESSE 
 **********

 FCN=   6259.003     FROM HESSE     STATUS=OK            33 CALLS      281 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.2855        2.9386        .54487E-04   -1.5248    
   2  alpha         2.5659        .33202        .54234E-02    .26376E-01
   3  Normalizat    1.0350        .19652        .23948E-03   -.91867    
   4  Prefactor     .80114        .16527        .22738E-03   -.99686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11023e-12
Minuit parameter uncertainties:
  1  2.93869
  2  0.333001
  3  0.196662
  4  0.165371
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475659': 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) = 6259.003196
delta logL = 3.99745040182

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  5.285e+00  2.939e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.566e+00  3.330e-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.011e-01  1.654e-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.035e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.34
Ra Dec: 216.756 23.801
Photon Index (Free Index): 2.57 +/- 0.33
Photon Flux (Free Index): 1.61e-07 +/- 5.56e-08
Energy Flux (Free Index): 4.65e-05 +/- 1.67e-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/475659/cmap_HighResolution_493344001_493603201_4FGL_J1427.0+2348_daily_bin980.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.42e-08', energy_flux2='4.65e-05', photon_flux_error='2.93e-08', dlogl='4.00e+00', energy_flux='8.29e-05', photon_flux2='1.61e-07', job_status='DONE', time_completed='2021-09-09 16:50:19.728060', photon_index_error2='0.33', photon_index2='2.57', ts='12.45', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='1.67e-05', EG='1.12', time_epoch_completed='1631231419.73', return_code='0', job_id='475659', GAL2='0.80', EG2='1.03', return_code2='0', energy_flux_error='3.78e-05', photon_flux_error2='5.56e-08', ts2='20.34', photon_index='1.71' WHERE bin_id='980' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:50:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 475659: <4FGL_J1427.0+2348_daily_bin980> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin980 216.756 23.8013 493344001 493603201 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 :                                   524.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   539 sec.
    Turnaround time :                            540 sec.

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

