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


Performing analysis on: 4FGL_J1427.0+2348_daily_bin1025
RA = 216.756, Dec = 23.8013
tmin = 505008001, tmax = 505267201
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='475730', job_status='RUN', time_executed='2021-09-09 16:41:41.363236', time_epoch_executed='1631230901.36' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='1025'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475730

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475730/ft1_4FGL_J1427.0+2348_daily_bin1025.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475730/ft2_4FGL_J1427.0+2348_daily_bin1025.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475730/ft1_4FGL_J1427.0+2348_daily_bin1025.fits outfile=/scratch/kocevski/475730/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin1025.fits ra=216.756 dec=23.8013 rad=12.0 tmin=505008001.0 tmax=505267201.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.56
user 4.29
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475730/ft1_filtered_4FGL_J1427.0+2348_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/475730/ft2_4FGL_J1427.0+2348_daily_bin1025.fits sctable="SC_DATA" expcube=/scratch/kocevski/475730/ltcube_505008001_505267201_4FGL_J1427.0+2348_daily_bin1025.fits outfile=/scratch/kocevski/475730/expmap_505008001_505267201_4FGL_J1427.0+2348_daily_bin1025.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/475730/ltcube_505008001_505267201_4FGL_J1427.0+2348_daily_bin1025.fits
.....................!
real 190.79
user 185.58
sys 4.84

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/475730/ft1_filtered_4FGL_J1427.0+2348_daily_bin1025.fits scfile=/scratch/kocevski/475730/ft2_4FGL_J1427.0+2348_daily_bin1025.fits outfile=/scratch/kocevski/475730/cmap_505008001_505267201_4FGL_J1427.0+2348_daily_bin1025.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/475730/ft1_filtered_4FGL_J1427.0+2348_daily_bin1025.fits scfile=/scratch/kocevski/475730/ft2_4FGL_J1427.0+2348_daily_bin1025.fits outfile=/scratch/kocevski/475730/cmap_HighResolution_505008001_505267201_4FGL_J1427.0+2348_daily_bin1025.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/475730/ft1_filtered_4FGL_J1427.0+2348_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/475730/ft2_4FGL_J1427.0+2348_daily_bin1025.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/475730/Model_4FGL_J1427.0+2348_daily_bin1025.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/475730/ft1_filtered_4FGL_J1427.0+2348_daily_bin1025.fits.....................!
real 46.63
user 45.30
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.097       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.835       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .28269E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18081E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    8.9050       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1973       1.0000         .10000E-03   10000.    
     8 'norm      '    4.0514       1.0000         .10000E-03   10000.    
     9 'norm      '    9.9657       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11603E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.921       1.0000         .10000E-03   10000.    
    14 'Prefactor '    47.979       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    24.227       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.4366       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .90169       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0584       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5869.758     FROM MIGRAD    STATUS=CONVERGED     61 CALLS     1566 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.0683        .28805E-06** at limit **
   2  Prefactor     11.096        1.0046       -.88656E-08    .16353E-03
   3  Prefactor     11.827        1.6813       -.10614E-05    .43226E-02
   4  Prefactor     .10003E-03    1.2475       -.52234E-05** at limit **
   5  Prefactor     .10110E-03    4.4443        .76409E-05** at limit **
   6  norm          8.9055        3.3534        .24694E-05    .45748E-02
   7  Prefactor     2.1885        3.6669        .63798E-05   -.12675E-02
   8  norm          4.0512        3.5804       -.36992E-05   -.28696E-02
   9  norm          9.9654        4.0402       -.16698E-05   -.76228E-02
  10  Prefactor     .10000E-03    46.211       -.50049E-05** at limit **
  11  Prefactor     .10008E-03    18.142       -.18052E-06** at limit **
  12  Prefactor     .10000E-03    10.132       -.20560E-06** at limit **
  13  Prefactor     26.915        1.3538       -.46820E-06    .40872E-02
  14  Prefactor     47.980        1.0111        .62081E-07   -.10151E-02
  15  Prefactor     .10000E-03    2.4884        .31176E-06** at limit **
  16  norm          24.223        1.3048       -.47920E-06    .39285E-02
  17  Prefactor     2.4380        1.2745       -.13774E-05    .37260E-03
  18  Normalizat    .90191        .20464       -.29480E-06   -.94318E-05
  19  Prefactor     1.0581        .17643        .78843E-06    .96628E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.0962
  Prefactor  = 11.827
  Prefactor  = 0.000100034
  Prefactor  = 0.0001011
  norm       = 8.9055
  Prefactor  = 2.18845
  norm       = 4.05122
  norm       = 9.96539
  Prefactor  = 0.0001
  Prefactor  = 0.000100076
  Prefactor  = 0.0001
  Prefactor  = 26.9151
  Prefactor  = 47.9798
  Prefactor  = 0.0001
  norm       = 24.2226
  Prefactor  = 2.438
  Normalizat = 0.901906
  Prefactor  = 1.05813
 **********
 **   18 **HESSE 
 **********

 FCN=   5869.758     FROM HESSE     STATUS=OK           320 CALLS     1886 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.0640        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.096        12.956        .30067E-02   -1.5042    
   3  Prefactor     11.827        33.890        .29112E-02   -1.5020    
   4  Prefactor     .10003E-03    1.8486        .67579E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10110E-03    8.4195        .72462E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.9055        3.4344        .33579E-02   -1.5111    
   7  Prefactor     2.1885        7.3340        .69397E-02   -1.5412    
   8  norm          4.0512        3.6377        .50081E-02   -1.5305    
   9  norm          9.9654        4.8677        .31733E-02   -1.5077    
  10  Prefactor     .10000E-03    46.499        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10008E-03    19.837        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.244        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.915        28.352        .19303E-02   -1.4670    
  14  Prefactor     47.980        41.728        .14472E-02   -1.4322    
  15  Prefactor     .10000E-03    2.4836        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          24.223        47.653        .20346E-02   -1.4723    
  17  Prefactor     2.4380        7.2075        .65531E-02   -1.5396    
  18  Normalizat    .90191        .18667        .44923E-01   -.96393    
  19  Prefactor     1.0581        .15930        .39444E-01   -.90816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4335e-07
Minuit parameter uncertainties:
  1  1.62815e-06
  2  12.9595
  3  33.9449
  4  0.000504891
  5  0.00608803
  6  3.43448
  7  7.33701
  8  3.63785
  9  4.86785
  10  6.22778e-05
  11  0.0024513
  12  3.09455e-05
  13  28.3663
  14  41.7533
  15  1.51245e-06
  16  47.7282
  17  7.21006
  18  0.186806
  19  0.159371
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  8.905e+00  3.434e+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.058e+00  1.594e-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:  9.019e-01  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.29
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 7.44e-08 +/- 2.87e-08
Energy Flux (Fixed Index): 9.61e-05 +/- 3.71e-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) = 5869.50215192
delta logL = 0.255639613075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5869.50210978
delta logL = 0.255681749501

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.9214       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9491       1.0000          .0000       5.0000    
     3 'Normalizat'    .88146       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0621       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5869.502     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      235 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.9214        3.3083        .79131E-04   -.55519E-03
   2  alpha         1.9491        .34187        .86546E-02   -.67497E-04
   3  Normalizat    .88138        .20710        .27346E-03    .25984E-04
   4  Prefactor     1.0621        .17531        .21424E-03    .17140E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.92142
  alpha      = 1.94913
  Normalizat = 0.881382
  Prefactor  = 1.06213
 **********
 **   18 **HESSE 
 **********

 FCN=   5869.502     FROM HESSE     STATUS=OK            25 CALLS      260 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.9214        3.2878        .15826E-04   -1.5111    
   2  alpha         1.9491        .33948        .34618E-03   -.22217    
   3  Normalizat    .88138        .20717        .10938E-04   -.97117    
   4  Prefactor     1.0621        .17544        .85697E-05   -.90686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1899e-10
Minuit parameter uncertainties:
  1  3.28783
  2  0.340582
  3  0.20736
  4  0.175531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475730': 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) = 5869.5021097
delta logL = 0.255681826521

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  8.921e+00  3.288e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.949e+00  3.406e-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.062e+00  1.755e-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:  8.814e-01  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 29.73
Ra Dec: 216.756 23.801
Photon Index (Free Index): 1.95 +/- 0.34
Photon Flux (Free Index): 1.01e-07 +/- 5.29e-08
Energy Flux (Free Index): 7.25e-05 +/- 3.61e-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/475730/cmap_HighResolution_505008001_505267201_4FGL_J1427.0+2348_daily_bin1025.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.44e-08', energy_flux2='7.25e-05', photon_flux_error='2.87e-08', dlogl='2.56e-01', energy_flux='9.61e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-09-09 16:49:50.134943', photon_index_error2='0.34', photon_index2='1.95', ts='29.29', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='3.61e-05', EG='0.90', time_epoch_completed='1631231390.14', return_code='0', job_id='475730', GAL2='1.06', EG2='0.88', return_code2='0', energy_flux_error='3.71e-05', photon_flux_error2='5.29e-08', ts2='29.73', photon_index='1.71' WHERE bin_id='1025' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:49:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 475730: <4FGL_J1427.0+2348_daily_bin1025> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin1025 216.756 23.8013 505008001 505267201 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 :                                   481.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   503 sec.
    Turnaround time :                            505 sec.

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

