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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1101
RA = 216.756, Dec = 23.8013
tmin = 524707201, tmax = 524966401
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='475851', job_status='RUN', time_executed='2021-09-09 16:45:20.052163', time_epoch_executed='1631231120.05' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1101'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475851

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475851/ft1_4FGL_J1427.0+2348_daily_bin1101.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475851/ft2_4FGL_J1427.0+2348_daily_bin1101.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475851/ft1_4FGL_J1427.0+2348_daily_bin1101.fits outfile=/scratch/kocevski/475851/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1101.fits ra=216.756 dec=23.8013 rad=12.0 tmin=524707201.0 tmax=524966401.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.41
user 3.16
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/475851/ft1_filtered_4FGL_J1427.0+2348_daily_bin1101.fits" evtable="EVENTS" scfile=/scratch/kocevski/475851/ft2_4FGL_J1427.0+2348_daily_bin1101.fits sctable="SC_DATA" outfile=/scratch/kocevski/475851/ltcube_524707201_524966401_4FGL_J1427.0+2348_daily_bin1101.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/475851/ft2_4FGL_J1427.0+2348_daily_bin1101.fits
.....................!
real 14.98
user 14.60
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475851/ft1_filtered_4FGL_J1427.0+2348_daily_bin1101.fits evtable="EVENTS" scfile=/scratch/kocevski/475851/ft2_4FGL_J1427.0+2348_daily_bin1101.fits sctable="SC_DATA" expcube=/scratch/kocevski/475851/ltcube_524707201_524966401_4FGL_J1427.0+2348_daily_bin1101.fits outfile=/scratch/kocevski/475851/expmap_524707201_524966401_4FGL_J1427.0+2348_daily_bin1101.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/475851/ltcube_524707201_524966401_4FGL_J1427.0+2348_daily_bin1101.fits
.....................!
real 191.13
user 185.82
sys 4.54

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/475851/ft1_filtered_4FGL_J1427.0+2348_daily_bin1101.fits scfile=/scratch/kocevski/475851/ft2_4FGL_J1427.0+2348_daily_bin1101.fits outfile=/scratch/kocevski/475851/cmap_524707201_524966401_4FGL_J1427.0+2348_daily_bin1101.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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475851/ft1_filtered_4FGL_J1427.0+2348_daily_bin1101.fits scfile=/scratch/kocevski/475851/ft2_4FGL_J1427.0+2348_daily_bin1101.fits outfile=/scratch/kocevski/475851/cmap_HighResolution_524707201_524966401_4FGL_J1427.0+2348_daily_bin1101.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=216.756 yref=23.8013 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4251       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .51240E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.495       1.0000         .10000E-03   10000.    
     6 'norm      '    .79396       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.9223       1.0000         .10000E-03   10000.    
     8 'norm      '    1.8450       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8827       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.242       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18438E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .75436       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2001       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=   5863.884     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     1915 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4284        4.5292        .17631E-06    .86118E-04
   2  Prefactor     .10000E-03    2.7912       -.12045E-07** at limit **
   3  Prefactor     .10003E-03    126.10        .74064E-06** at limit **
   4  Prefactor     .10000E-03    .88726        .24392E-07** at limit **
   5  Prefactor     10.497        8.2228       -.47628E-06   -.59070E-03
   6  norm          .79533        2.0342        .22856E-06    .97945E-04
   7  Prefactor     4.9263        7.5957        .62232E-07   -.24379E-03
   8  norm          1.8483        3.8886        .67222E-07   -.16514E-03
   9  norm          1.8823        3.3023        .29681E-05   -.13834E-03
  10  Prefactor     .10000E-03    8.1239       -.63472E-06** at limit **
  11  Prefactor     18.233        25.025        .49133E-06   -.10829E-03
  12  Prefactor     .10000E-03    5.3349       -.12795E-06** at limit **
  13  Prefactor     .10000E-03    7.6184        .40277E-06** at limit **
  14  Prefactor     .10000E-03    13.280        .38790E-06** at limit **
  15  Prefactor     .10001E-03    5.4843        .43259E-06** at limit **
  16  norm          .10000E-03    16.219       -.38812E-06** at limit **
  17  Prefactor     .10000E-03    2.5979       -.18667E-08** at limit **
  18  Normalizat    .75445        .17357       -.12283E-05   -.29227E-03
  19  Prefactor     1.1999        .15287        .11871E-07   -.21760E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.42838
  Prefactor  = 0.0001
  Prefactor  = 0.000100027
  Prefactor  = 0.0001
  Prefactor  = 10.4973
  norm       = 0.795332
  Prefactor  = 4.92627
  norm       = 1.8483
  norm       = 1.88229
  Prefactor  = 0.0001
  Prefactor  = 18.2329
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.754445
  Prefactor  = 1.19985
 **********
 **   18 **HESSE 
 **********

 FCN=   5863.884     FROM HESSE     STATUS=OK           276 CALLS     2191 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4284        4.5401        .20800E-03   -1.5396    
   2  Prefactor     .10000E-03    2.7959        .12494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10003E-03    130.18        .42291E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .89330        .70431E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.497        8.2455        .12368E-03   -1.5060    
   6  norm          .79533        1.8604        .16715E-02   -1.5530    
   7  Prefactor     4.9263        7.5269        .18128E-03   -1.5264    
   8  norm          1.8483        3.8419        .19839E-03   -1.5436    
   9  norm          1.8823        3.3096        .89574E-03   -1.5434    
  10  Prefactor     .10000E-03    8.1635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.233        24.980        .93774E-04   -1.4854    
  12  Prefactor     .10000E-03    5.3430        .17276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.6355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    6.4881        .55485E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    16.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.6017        .12054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .75445        .20000        .27323E-03   -1.0178    
  19  Prefactor     1.1999        .17755        .19602E-03   -.86336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.20434e-10
Minuit parameter uncertainties:
  1  4.54077
  2  4.11638e-07
  3  0.00375872
  4  5.07654e-07
  5  8.24641
  6  1.86057
  7  7.52831
  8  3.84243
  9  3.30989
  10  6.9873e-05
  11  24.9943
  12  9.81505e-06
  13  9.17918e-05
  14  7.45975e-05
  15  0.000396591
  16  5.97557e-05
  17  3.38738e-07
  18  0.200191
  19  0.177642
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  7.953e-01  1.861e+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:  1.200e+00  1.776e-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:  7.544e-01  2.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 216.756 23.801
Photon Flux Upper Limit: 5.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/475851/likelihoodResults_524707201_524966401_4FGL_J1427.0+2348_daily_bin1101.txt

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) = 5863.03875441
delta logL = 0.844858166022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5862.94844903
delta logL = 0.935163551899

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65896       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2088       1.0000          .0000       5.0000    
     3 'Normalizat'    .69242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2198       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=   5862.948     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65801        6.7599        .10055E-01    .12479E-02
   2  alpha         3.2097        3.7819        .27057        .75258E-04
   3  Normalizat    .69241        .40794E-01    .64182E-01    .44749E-04
   4  Prefactor     1.2198        .35803E-01    .34179E-01    .14206E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.658011
  alpha      = 3.20973
  Normalizat = 0.69241
  Prefactor  = 1.21978
 **********
 **   18 **HESSE 
 **********

 FCN=   5862.948     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65801        105.96        .45488E-04   -1.5546    
   2  alpha         3.2097        3.1380        .98211E-02    .28785    
   3  Normalizat    .69241        .45025        .28395E-03   -1.0419    
   4  Prefactor     1.2198        .37776        .19440E-03   -.85725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79027e-09
Minuit parameter uncertainties:
  1  16.7291
  2  13.5515
  3  0.452676
  4  0.378604
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475851': 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) = 5862.94844862
delta logL = 0.935163959191

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  6.580e-01  1.673e+01  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  3.210e+00  1.355e+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:  1.220e+00  3.786e-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:  6.924e-01  4.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.18
Ra Dec: 216.756 23.801
Photon Index (Free Index): 3.21 +/- 13.55
Photon Flux (Free Index): 6.85e-08 +/- 1.24e-07
Energy Flux (Free Index): 1.32e-05 +/- 5.16e-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/475851/cmap_HighResolution_524707201_524966401_4FGL_J1427.0+2348_daily_bin1101.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-05', comment='SUCCESS', energy_flux2='1.32e-05', dlogl='9.35e-01', photon_flux2='6.85e-08', job_status='DONE', time_completed='2021-09-09 16:56:39.127878', photon_index_error2='13.55', photon_index2='3.21', ts='0.25', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='5.35e-08', energy_flux_error2='5.16e-05', EG='0.75', time_epoch_completed='1631231799.13', return_code='0', job_id='475851', GAL2='1.22', EG2='0.69', return_code2='0', photon_flux_error2='1.24e-07', ts2='2.18', photon_index='1.71' WHERE bin_id='1101' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:56:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 475851: <4FGL_J1427.0+2348_daily_bin1101> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin1101 216.756 23.8013 524707201 524966401 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 :                                   544.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             236.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            904 sec.

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

