/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 145 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin462
RA = 216.169, Dec = 14.784
tmin = 359078401, tmax = 359337601
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='430172', job_status='RUN', time_executed='2021-09-09 14:09:18.844588', time_epoch_executed='1631221758.84' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='462'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430172

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430172/ft1_4FGL_J1424.6+1447_daily_bin462.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430172/ft2_4FGL_J1424.6+1447_daily_bin462.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430172/ft1_4FGL_J1424.6+1447_daily_bin462.fits outfile=/scratch/kocevski/430172/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin462.fits ra=216.169 dec=14.784 rad=12.0 tmin=359078401.0 tmax=359337601.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.75
user 3.52
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430172/ft2_4FGL_J1424.6+1447_daily_bin462.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430172/ft2_4FGL_J1424.6+1447_daily_bin462.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/430172/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin462.fits evtable="EVENTS" outfile="/scratch/kocevski/430172/ft1_filtered_4FGL_J1424.6+1447_daily_bin462.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.55
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430172/ft1_filtered_4FGL_J1424.6+1447_daily_bin462.fits" evtable="EVENTS" scfile=/scratch/kocevski/430172/ft2_4FGL_J1424.6+1447_daily_bin462.fits sctable="SC_DATA" outfile=/scratch/kocevski/430172/ltcube_359078401_359337601_4FGL_J1424.6+1447_daily_bin462.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/430172/ft2_4FGL_J1424.6+1447_daily_bin462.fits
.....................!
real 11.74
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430172/ft1_filtered_4FGL_J1424.6+1447_daily_bin462.fits evtable="EVENTS" scfile=/scratch/kocevski/430172/ft2_4FGL_J1424.6+1447_daily_bin462.fits sctable="SC_DATA" expcube=/scratch/kocevski/430172/ltcube_359078401_359337601_4FGL_J1424.6+1447_daily_bin462.fits outfile=/scratch/kocevski/430172/expmap_359078401_359337601_4FGL_J1424.6+1447_daily_bin462.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/430172/ltcube_359078401_359337601_4FGL_J1424.6+1447_daily_bin462.fits
.....................!
real 191.89
user 186.65
sys 4.88

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 145 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.6+1447 @ 216.169 14.784

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430172/ft1_filtered_4FGL_J1424.6+1447_daily_bin462.fits scfile=/scratch/kocevski/430172/ft2_4FGL_J1424.6+1447_daily_bin462.fits outfile=/scratch/kocevski/430172/cmap_359078401_359337601_4FGL_J1424.6+1447_daily_bin462.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.169 yref=14.784 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430172/ft1_filtered_4FGL_J1424.6+1447_daily_bin462.fits scfile=/scratch/kocevski/430172/ft2_4FGL_J1424.6+1447_daily_bin462.fits outfile=/scratch/kocevski/430172/cmap_HighResolution_359078401_359337601_4FGL_J1424.6+1447_daily_bin462.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.169 yref=14.784 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430172/ft1_filtered_4FGL_J1424.6+1447_daily_bin462.fits evtable="EVENTS" scfile=/scratch/kocevski/430172/ft2_4FGL_J1424.6+1447_daily_bin462.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430172/Model_4FGL_J1424.6+1447_daily_bin462.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/430172/ft1_filtered_4FGL_J1424.6+1447_daily_bin462.fits.....................!
real 46.84
user 45.50
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430172/ft1_filtered_4FGL_J1424.6+1447_daily_bin462.fits', '/scratch/kocevski/430172/ft2_4FGL_J1424.6+1447_daily_bin462.fits', expMap='/scratch/kocevski/430172/expmap_359078401_359337601_4FGL_J1424.6+1447_daily_bin462.fits', expCube='/scratch/kocevski/430172/ltcube_359078401_359337601_4FGL_J1424.6+1447_daily_bin462.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430172/Model_4FGL_J1424.6+1447_daily_bin462.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.6+1447'

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.029e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430172/ft1_filtered_4FGL_J1424.6+1447_daily_bin462.fits
Spacecraft file(s): /scratch/kocevski/430172/ft2_4FGL_J1424.6+1447_daily_bin462.fits
Exposure map: /scratch/kocevski/430172/expmap_359078401_359337601_4FGL_J1424.6+1447_daily_bin462.fits
Exposure cube: /scratch/kocevski/430172/ltcube_359078401_359337601_4FGL_J1424.6+1447_daily_bin462.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430172/Model_4FGL_J1424.6+1447_daily_bin462.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) = 6054.69835529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.143       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.0048       1.0000         .10000E-03   10000.    
     5 'Prefactor '    55.215       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    50.428       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2947       1.0000         .10000E-03   10000.    
     9 'norm      '    9.9404       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2269       1.0000         .10000E-03   10000.    
    11 'norm      '    5.1463       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.486       1.0000         .10000E-03   10000.    
    13 'norm      '    .22782E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .86856       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.247       1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.101       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .28678       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2063       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .80688       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6054.669     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     3147 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.976        .75661E-06** at limit **
   2  Prefactor     .10000E-03    1.3095        .32318E-08** at limit **
   3  Prefactor     12.143        11.815        .43269E-06   -.78792E-04
   4  Prefactor     7.0043        8.0960        .81156E-06   -.15384E-03
   5  Prefactor     55.213        31.367       -.67212E-06   -.22178E-04
   6  Prefactor     .10000E-03    24.321        .17550E-05** at limit **
   7  norm          50.441        34.866        .26525E-05    .49363E-04
   8  Prefactor     6.2893        7.0379        .12727E-05   -.28089E-03
   9  norm          9.9402        3.1726       -.59454E-07   -.49938E-04
  10  Prefactor     1.2364        7.3961        .49486E-06   -.14164E-03
  11  norm          5.1457        3.0573       -.28004E-07   -.45852E-04
  12  Prefactor     45.401        35.777       -.91754E-06   -.45494E-03
  13  norm          .10002E-03    22.766        .10356E-05** at limit **
  14  norm          .86978        2.6851        .46336E-06   -.61092E-04
  15  Prefactor     .10000E-03    6.8565       -.22285E-07** at limit **
  16  Prefactor     .10000E-03    26.113       -.25702E-05** at limit **
  17  Prefactor     .10000E-03    14.974       -.24124E-06** at limit **
  18  Prefactor     30.259        26.560       -.23703E-05   -.79002E-04
  19  Prefactor     27.105        32.354       -.95340E-06   -.26372E-04
  20  Prefactor     .10000E-03    3.7606        .20173E-07** at limit **
  21  norm          .28681        .17660        .12461E-07    .39112E-04
  22  norm          .10000E-03    28.884        .43103E-06** at limit **
  23  Normalizat    1.2064        .20413        .41708E-06   -.10571E-03
  24  Prefactor     .80671        .14781        .37307E-09   -.80708E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.143
  Prefactor  = 7.00433
  Prefactor  = 55.2132
  Prefactor  = 0.0001
  norm       = 50.4413
  Prefactor  = 6.28926
  norm       = 9.9402
  Prefactor  = 1.23639
  norm       = 5.14567
  Prefactor  = 45.4007
  norm       = 0.000100018
  norm       = 0.869777
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.2593
  Prefactor  = 27.1053
  Prefactor  = 0.0001
  norm       = 0.286813
  norm       = 0.0001
  Normalizat = 1.20638
  Prefactor  = 0.80671
 **********
 **   18 **HESSE 
 **********

 FCN=   6054.669     FROM HESSE     STATUS=OK           401 CALLS     3548 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.3129        .86954E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.143        11.877        .57478E-03   -1.5011    
   4  Prefactor     7.0043        8.2171        .75788E-03   -1.5179    
   5  Prefactor     55.213        31.402        .53982E-04   -1.4220    
   6  Prefactor     .10000E-03    24.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          50.441        34.830        .56473E-04   -1.4286    
   8  Prefactor     6.2893        7.1419        .79996E-03   -1.5206    
   9  norm          9.9402        3.1734        .76015E-04   -1.5077    
  10  Prefactor     1.2364        7.3256        .38402E-03   -1.5486    
  11  norm          5.1457        3.0537        .10033E-03   -1.5254    
  12  Prefactor     45.401        35.702        .59448E-04   -1.4359    
  13  norm          .10002E-03    183.55        .59949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .86978        2.6279        .21791E-03   -1.5521    
  15  Prefactor     .10000E-03    6.8622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    26.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.259        26.595        .72851E-04   -1.4607    
  19  Prefactor     27.105        32.359        .76954E-04   -1.4666    
  20  Prefactor     .10000E-03    3.7712        .14736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .28681        .17393        .24642E-04   -1.5601    
  22  norm          .10000E-03    28.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2064        .24504        .25855E-03   -.86406    
  24  Prefactor     .80671        .17747        .22704E-03   -.99481    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.30034e-10
Minuit parameter uncertainties:
  1  2.28588e-05
  2  6.93827e-07
  3  11.8791
  4  8.21837
  5  31.4119
  6  8.91583e-06
  7  34.8436
  8  7.14282
  9  3.17343
  10  6.01993
  11  3.05375
  12  35.7189
  13  0.00369502
  14  2.62826
  15  1.00586e-05
  16  9.1173e-05
  17  4.41185e-05
  18  26.6056
  19  32.3798
  20  4.24476e-07
  21  0.173932
  22  1.76907e-05
  23  0.245273
  24  0.177593
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  6.289e+00  7.143e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  8.067e-01  1.776e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  1.206e+00  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.25
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 2.72e-08 +/- 3.09e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 1.46e-05

TS (Fixed Index): 1.25
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430172/likelihoodResults_359078401_359337601_4FGL_J1424.6+1447_daily_bin462.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) = 6054.66868608
delta logL = 0.000472339077533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6054.66833576
delta logL = 0.000822659291771

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0608       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2080       1.0000          .0000       10.000    
     3 'Normalizat'    1.2052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80695       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+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=   6054.668     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      269 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0585        9.6972        .16309E-03    .70183E-03
   2  Index         2.2070        .94172        .86793E-02    .14379E-03
   3  Normalizat    1.2051        .24055        .25866E-03   -.70945E-03
   4  Prefactor     .80730        .17619        .22697E-03   -.10707E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.05847
  Index      = 2.20701
  Normalizat = 1.20511
  Prefactor  = 0.807301
 **********
 **   18 **HESSE 
 **********

 FCN=   6054.668     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0585        8.8701        .65235E-05   -1.5216    
   2  Index         2.2070        .86201        .34717E-03   -.59270    
   3  Normalizat    1.2051        .24022        .51732E-04   -.86445    
   4  Prefactor     .80730        .17611        .45393E-04   -.99460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79305e-09
Minuit parameter uncertainties:
  1  8.87203
  2  0.868339
  3  0.240441
  4  0.176236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430172': 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) = 6054.66832866
delta logL = 0.000829756936582

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  6.058e+00  8.872e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.207e+00  8.683e-01  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  8.073e-01  1.762e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  1.205e+00  2.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.25
Ra Dec: 216.169 14.784
Photon Index (Free Index): 2.21 +/- 0.87
Photon Flux (Free Index): 2.82e-08 +/- 3.83e-08
Energy Flux (Free Index): 1.25e-05 +/- 1.69e-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/430172/cmap_HighResolution_359078401_359337601_4FGL_J1424.6+1447_daily_bin462.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.70e-03', comment='SUCCESS', photon_flux='2.72e-08', energy_flux2='1.25e-05', photon_flux_error='3.09e-08', dlogl='8.30e-04', energy_flux='1.29e-05', photon_flux2='2.82e-08', job_status='DONE', time_completed='2021-09-09 14:20:05.075616', photon_index_error2='0.87', photon_index2='2.21', ts='1.25', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.69e-05', EG='1.21', time_epoch_completed='1631222405.08', return_code='0', job_id='430172', GAL2='0.81', EG2='1.21', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='3.83e-08', ts2='1.25', photon_index='2.17' WHERE bin_id='462' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:20:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 430172: <4FGL_J1424.6+1447_daily_bin462> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin462> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:43 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:06:45 2021
Terminated at Thu Sep  9 14:20:05 2021
Results reported at Thu Sep  9 14:20:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin462 216.169 14.784 359078401 359337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.6+1447 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   630.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             275.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            802 sec.

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

