/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 = 7382
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1427.0+2348_daily_bin90
RA = 216.756, Dec = 23.8013
tmin = 262656001, tmax = 262915201
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='468392', job_status='RUN', time_executed='2021-09-09 16:16:25.822778', time_epoch_executed='1631229385.82' WHERE source_name='4FGL J1427.0+2348' and cadence='daily' and bin_id='90'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/468392

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/468392/ft1_4FGL_J1427.0+2348_daily_bin90.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/468392/ft2_4FGL_J1427.0+2348_daily_bin90.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/468392/ft1_4FGL_J1427.0+2348_daily_bin90.fits outfile=/scratch/kocevski/468392/ft1_filteredMKT_4FGL_J1427.0+2348_daily_bin90.fits ra=216.756 dec=23.8013 rad=12.0 tmin=262656001.0 tmax=262915201.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 1.43
user 1.22
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/468392/ft1_filtered_4FGL_J1427.0+2348_daily_bin90.fits" evtable="EVENTS" scfile=/scratch/kocevski/468392/ft2_4FGL_J1427.0+2348_daily_bin90.fits sctable="SC_DATA" outfile=/scratch/kocevski/468392/ltcube_262656001_262915201_4FGL_J1427.0+2348_daily_bin90.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/468392/ft2_4FGL_J1427.0+2348_daily_bin90.fits
.....................!
real 12.98
user 12.56
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/468392/ft1_filtered_4FGL_J1427.0+2348_daily_bin90.fits evtable="EVENTS" scfile=/scratch/kocevski/468392/ft2_4FGL_J1427.0+2348_daily_bin90.fits sctable="SC_DATA" expcube=/scratch/kocevski/468392/ltcube_262656001_262915201_4FGL_J1427.0+2348_daily_bin90.fits outfile=/scratch/kocevski/468392/expmap_262656001_262915201_4FGL_J1427.0+2348_daily_bin90.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/468392/ltcube_262656001_262915201_4FGL_J1427.0+2348_daily_bin90.fits
.....................!
real 191.70
user 186.03
sys 5.24

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/468392/ft1_filtered_4FGL_J1427.0+2348_daily_bin90.fits scfile=/scratch/kocevski/468392/ft2_4FGL_J1427.0+2348_daily_bin90.fits outfile=/scratch/kocevski/468392/cmap_262656001_262915201_4FGL_J1427.0+2348_daily_bin90.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.57
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/468392/ft1_filtered_4FGL_J1427.0+2348_daily_bin90.fits scfile=/scratch/kocevski/468392/ft2_4FGL_J1427.0+2348_daily_bin90.fits outfile=/scratch/kocevski/468392/cmap_HighResolution_262656001_262915201_4FGL_J1427.0+2348_daily_bin90.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1140       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .88742       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2749       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.4535       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.1992       1.0000         .10000E-03   10000.    
     6 'norm      '    5.6245       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .56928       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.934       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.166       1.0000         .10000E-03   10000.    
    13 'Prefactor '    68.203       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.476       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .86035       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94035       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=   4854.689     FROM MIGRAD    STATUS=CONVERGED    387 CALLS     2411 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1138        3.3659        .54444E-06    .10027E-02
   2  Prefactor     .86473        13.228        .38427E-05   -.65835E-03
   3  Prefactor     8.2753        21.855        .30642E-05    .42127E-04
   4  Prefactor     1.4529        4.1996        .34142E-06   -.35942E-03
   5  Prefactor     5.1990        6.2311        .20967E-06    .97796E-04
   6  norm          5.6245        2.8757        .15403E-07   -.79662E-04
   7  Prefactor     .10000E-03    2.2948       -.64940E-07** at limit **
   8  norm          .56934        2.9001        .15980E-05    .46474E-04
   9  norm          .10000E-03    1.9471        .48284E-07** at limit **
  10  Prefactor     19.931        29.787       -.93182E-06   -.17515E-03
  11  Prefactor     .10000E-03    23.262        .32103E-06** at limit **
  12  Prefactor     35.164        24.747        .41962E-06   -.12852E-03
  13  Prefactor     68.192        36.699       -.18160E-05   -.60832E-03
  14  Prefactor     .10000E-03    62.634       -.12178E-05** at limit **
  15  Prefactor     22.476        10.488        .20848E-07   -.12732E-03
  16  norm          .10000E-03    18.298       -.59580E-06** at limit **
  17  Prefactor     .10000E-03    7.9026        .13250E-06** at limit **
  18  Normalizat    .86044        .19702       -.99842E-06   -.42361E-03
  19  Prefactor     .94030        .16167       -.39319E-06   -.45558E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.11382
  Prefactor  = 0.864728
  Prefactor  = 8.2753
  Prefactor  = 1.45289
  Prefactor  = 5.19903
  norm       = 5.62446
  Prefactor  = 0.0001
  norm       = 0.569345
  norm       = 0.0001
  Prefactor  = 19.9307
  Prefactor  = 0.0001
  Prefactor  = 35.164
  Prefactor  = 68.1922
  Prefactor  = 0.0001
  Prefactor  = 22.4757
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.860441
  Prefactor  = 0.9403
 **********
 **   18 **HESSE 
 **********

 FCN=   4854.689     FROM HESSE     STATUS=OK           264 CALLS     2675 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1138        3.4172        .11342E-03   -1.5302    
   2  Prefactor     .86473        30.999        .34495E-02   -1.5522    
   3  Prefactor     8.2753        22.297        .69683E-03   -1.5133    
   4  Prefactor     1.4529        4.3607        .23313E-03   -1.5467    
   5  Prefactor     5.1990        6.2224        .17630E-03   -1.5252    
   6  norm          5.6245        2.8755        .81887E-04   -1.5234    
   7  Prefactor     .10000E-03    2.3033        .10305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .56934        3.1584        .23010E-03   -1.5557    
   9  norm          .10000E-03    1.9635        .94944E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.931        30.065        .89709E-04   -1.4815    
  11  Prefactor     .10000E-03    23.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.164        24.752        .67578E-04   -1.4521    
  13  Prefactor     68.192        38.202        .48602E-04   -1.4055    
  14  Prefactor     .10000E-03    62.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.476        10.503        .84489E-04   -1.4759    
  16  norm          .10000E-03    18.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.0559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .86044        .23039        .25458E-03   -.97864    
  19  Prefactor     .94030        .19091        .20873E-03   -.94747    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.72716e-09
Minuit parameter uncertainties:
  1  3.4174
  2  10.3601
  3  22.3197
  4  4.36167
  5  6.22319
  6  2.87553
  7  6.37371e-06
  8  2.68192
  9  3.77885e-06
  10  30.0877
  11  0.000207414
  12  24.7596
  13  38.2157
  14  0.000353668
  15  10.5034
  16  0.000150473
  17  1.92921e-05
  18  0.230658
  19  0.191042
Done.

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

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  5.624e+00  2.876e+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:  9.403e-01  1.910e-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.604e-01  2.307e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.61
Ra Dec: 216.756 23.801
Photon Index (Fixed Index): 1.71 +/- 0.00
Photon Flux (Fixed Index): 4.70e-08 +/- 2.40e-08
Energy Flux (Fixed Index): 6.07e-05 +/- 3.10e-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) = 4854.68830025
delta logL = 0.000216200198338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4854.68829775
delta logL = 0.00021870688488

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6244       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6966       1.0000          .0000       5.0000    
     3 'Normalizat'    .86081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94024       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=   4854.688     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      189 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6165        3.8571        .42347E-02    .11034E-03
   2  alpha         1.6963        .50158        .26650        .11378E-04
   3  Normalizat    .86082        .18642        .44399E-01   -.34413E-04
   4  Prefactor     .94027        .15832        .45516E-01   -.16442E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.61647
  alpha      = 1.69633
  Normalizat = 0.860816
  Prefactor  = 0.940271
 **********
 **   18 **HESSE 
 **********

 FCN=   4854.688     FROM HESSE     STATUS=OK            31 CALLS      220 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6165        2.8943        .82022E-04   -1.5234    
   2  alpha         1.6963        .41578        .10577E-01   -.32728    
   3  Normalizat    .86082        .21553        .25453E-03   -.97851    
   4  Prefactor     .94027        .18460        .20874E-03   -.94748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66007e-11
Minuit parameter uncertainties:
  1  2.89434
  2  0.417951
  3  0.215741
  4  0.184728
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/468392': 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) = 4854.68829399
delta logL = 0.00022246512799

Extracting fit parameters...

4FGL J1427.0+2348
   Spectrum: LogParabola
266         norm:  5.616e+00  2.894e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.696e+00  4.180e-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:  9.403e-01  1.847e-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.608e-01  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.59
Ra Dec: 216.756 23.801
Photon Index (Free Index): 1.70 +/- 0.42
Photon Flux (Free Index): 4.65e-08 +/- 3.34e-08
Energy Flux (Free Index): 6.15e-05 +/- 4.86e-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/468392/cmap_HighResolution_262656001_262915201_4FGL_J1427.0+2348_daily_bin90.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.70e-08', energy_flux2='6.15e-05', photon_flux_error='2.40e-08', dlogl='2.22e-04', energy_flux='6.07e-05', photon_flux2='4.65e-08', job_status='DONE', time_completed='2021-09-09 16:24:32.427230', photon_index_error2='0.42', photon_index2='1.70', ts='13.61', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='4.86e-05', EG='0.86', time_epoch_completed='1631229872.43', return_code='0', job_id='468392', GAL2='0.94', EG2='0.86', return_code2='0', energy_flux_error='3.10e-05', photon_flux_error2='3.34e-08', ts2='13.59', photon_index='1.71' WHERE bin_id='90' AND source_name='4FGL J1427.0+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 16:24:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 468392: <4FGL_J1427.0+2348_daily_bin90> in cluster <slac> Done

Job <4FGL_J1427.0+2348_daily_bin90> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 16:16:11 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 16:16:12 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:16:12 2021
Terminated at Thu Sep  9 16:24:35 2021
Results reported at Thu Sep  9 16:24:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1427.0+2348_daily_bin90 216.756 23.8013 262656001 262915201 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 :                                   484.12 sec.
    Max Memory :                                 1113 MB
    Average Memory :                             392.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   500 sec.
    Turnaround time :                            504 sec.

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

