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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin891
RA = 216.169, Dec = 14.784
tmin = 470275201, tmax = 470534401
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='433696', job_status='RUN', time_executed='2021-09-09 14:19:25.688595', time_epoch_executed='1631222365.69' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='891'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433696

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433696/ft1_4FGL_J1424.6+1447_daily_bin891.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433696/ft2_4FGL_J1424.6+1447_daily_bin891.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433696/ft1_4FGL_J1424.6+1447_daily_bin891.fits outfile=/scratch/kocevski/433696/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin891.fits ra=216.169 dec=14.784 rad=12.0 tmin=470275201.0 tmax=470534401.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.44
user 3.25
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433696/ft1_filtered_4FGL_J1424.6+1447_daily_bin891.fits" evtable="EVENTS" scfile=/scratch/kocevski/433696/ft2_4FGL_J1424.6+1447_daily_bin891.fits sctable="SC_DATA" outfile=/scratch/kocevski/433696/ltcube_470275201_470534401_4FGL_J1424.6+1447_daily_bin891.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/433696/ft2_4FGL_J1424.6+1447_daily_bin891.fits
.....................!
real 14.01
user 13.69
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433696/ft1_filtered_4FGL_J1424.6+1447_daily_bin891.fits evtable="EVENTS" scfile=/scratch/kocevski/433696/ft2_4FGL_J1424.6+1447_daily_bin891.fits sctable="SC_DATA" expcube=/scratch/kocevski/433696/ltcube_470275201_470534401_4FGL_J1424.6+1447_daily_bin891.fits outfile=/scratch/kocevski/433696/expmap_470275201_470534401_4FGL_J1424.6+1447_daily_bin891.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/433696/ltcube_470275201_470534401_4FGL_J1424.6+1447_daily_bin891.fits
.....................!
real 189.60
user 185.23
sys 4.05

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/433696/ft1_filtered_4FGL_J1424.6+1447_daily_bin891.fits scfile=/scratch/kocevski/433696/ft2_4FGL_J1424.6+1447_daily_bin891.fits outfile=/scratch/kocevski/433696/cmap_470275201_470534401_4FGL_J1424.6+1447_daily_bin891.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.58
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433696/ft1_filtered_4FGL_J1424.6+1447_daily_bin891.fits scfile=/scratch/kocevski/433696/ft2_4FGL_J1424.6+1447_daily_bin891.fits outfile=/scratch/kocevski/433696/cmap_HighResolution_470275201_470534401_4FGL_J1424.6+1447_daily_bin891.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.63
user 0.37
sys 0.20

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/433696/ft1_filtered_4FGL_J1424.6+1447_daily_bin891.fits', '/scratch/kocevski/433696/ft2_4FGL_J1424.6+1447_daily_bin891.fits', expMap='/scratch/kocevski/433696/expmap_470275201_470534401_4FGL_J1424.6+1447_daily_bin891.fits', expCube='/scratch/kocevski/433696/ltcube_470275201_470534401_4FGL_J1424.6+1447_daily_bin891.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/433696/Model_4FGL_J1424.6+1447_daily_bin891.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/433696/ft1_filtered_4FGL_J1424.6+1447_daily_bin891.fits
Spacecraft file(s): /scratch/kocevski/433696/ft2_4FGL_J1424.6+1447_daily_bin891.fits
Exposure map: /scratch/kocevski/433696/expmap_470275201_470534401_4FGL_J1424.6+1447_daily_bin891.fits
Exposure cube: /scratch/kocevski/433696/ltcube_470275201_470534401_4FGL_J1424.6+1447_daily_bin891.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/433696/Model_4FGL_J1424.6+1447_daily_bin891.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) = 5705.48673489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.7694       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .84127       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4253       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.899       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .14037E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.0632       1.0000         .10000E-03   10000.    
     9 'norm      '    5.1469       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1095       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5234       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    13.695       1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.227       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.646       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10604E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18751E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.072       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.3298       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1399       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78797       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=   5705.452     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2727 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.546       -.96215E-07** at limit **
   2  Prefactor     4.7697        4.1507        .37153E-07   -.14336E-04
   3  Prefactor     .84723        10.259       -.16314E-06    .54612E-04
   4  Prefactor     6.4262        8.5222        .36761E-05   -.73023E-04
   5  Prefactor     16.899        23.150        .80066E-07   -.50504E-05
   6  Prefactor     .10001E-03    118.84       -.55562E-05** at limit **
   7  norm          .10000E-03    75.495        .30489E-05** at limit **
   8  Prefactor     7.0634        6.4491        .89360E-07   -.21423E-04
   9  norm          5.1473        2.6843        .40454E-07   -.32511E-04
  10  Prefactor     2.1099        3.8101        .37394E-06   -.12202E-04
  11  norm          1.5237        2.6686        .51875E-06    .97326E-05
  12  Prefactor     .10000E-03    80.239        .20797E-05** at limit **
  13  norm          .10000E-03    24.354        .75546E-06** at limit **
  14  norm          13.695        5.6224        .76647E-07    .79609E-04
  15  Prefactor     20.234        18.419        .24799E-07   -.89784E-05
  16  Prefactor     12.649        22.147        .71427E-06   -.49740E-05
  17  Prefactor     .10000E-03    8.8574       -.26944E-06** at limit **
  18  Prefactor     .10000E-03    35.938       -.15182E-05** at limit **
  19  Prefactor     19.055        51.589       -.94095E-07   -.22805E-04
  20  Prefactor     .10000E-03    3.0803        .37980E-07** at limit **
  21  norm          1.3299        .29406        .14119E-07   -.20212E-03
  22  norm          .10000E-03    14.725       -.20235E-07** at limit **
  23  Normalizat    1.1397        .20689       -.18500E-05    .36704E-04
  24  Prefactor     .78806        .14763       -.22569E-06   -.66466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.76972
  Prefactor  = 0.847234
  Prefactor  = 6.42619
  Prefactor  = 16.8992
  Prefactor  = 0.000100008
  norm       = 0.000100004
  Prefactor  = 7.0634
  norm       = 5.14727
  Prefactor  = 2.10992
  norm       = 1.52374
  Prefactor  = 0.000100003
  norm       = 0.0001
  norm       = 13.6955
  Prefactor  = 20.2336
  Prefactor  = 12.649
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.0553
  Prefactor  = 0.0001
  norm       = 1.32985
  norm       = 0.0001
  Normalizat = 1.13967
  Prefactor  = 0.78806
 **********
 **   18 **HESSE 
 **********

 FCN=   5705.452     FROM HESSE     STATUS=OK           405 CALLS     3132 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.7697        4.1454        .13895E-03   -1.5271    
   3  Prefactor     .84723        34.101        .45724E-02   -1.5524    
   4  Prefactor     6.4262        8.5327        .79168E-03   -1.5201    
   5  Prefactor     16.899        23.152        .97429E-04   -1.4886    
   6  Prefactor     .10001E-03    123.05        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    78.190        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.0634        6.4439        .15094E-03   -1.5176    
   9  norm          5.1473        2.6870        .86549E-04   -1.5254    
  10  Prefactor     2.1099        3.7834        .19057E-03   -1.5417    
  11  norm          1.5237        2.6468        .15571E-03   -1.5461    
  12  Prefactor     .10000E-03    81.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    24.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.695        5.6231        .10823E-03   -1.4968    
  15  Prefactor     20.234        18.417        .89056E-04   -1.4808    
  16  Prefactor     12.649        22.145        .11264E-03   -1.4997    
  17  Prefactor     .10000E-03    8.8851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    36.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.055        51.551        .91712E-04   -1.4835    
  20  Prefactor     .10000E-03    3.0842        .12947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.3299        .29407        .18322E-04   -1.5477    
  22  norm          .10000E-03    14.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1397        .24747        .25785E-03   -.88488    
  24  Prefactor     .78806        .17904        .22219E-03   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17271e-10
Minuit parameter uncertainties:
  1  7.39914e-05
  2  4.14564
  3  10.7561
  4  8.53427
  5  23.1644
  6  0.00201363
  7  0.00109946
  8  6.44455
  9  2.68703
  10  3.78386
  11  2.64695
  12  0.000992595
  13  0.000116336
  14  5.62331
  15  18.4222
  16  22.1597
  17  1.53623e-05
  18  8.7172e-05
  19  51.6718
  20  2.14534e-06
  21  0.294075
  22  3.98676e-06
  23  0.247727
  24  0.179174
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  7.063e+00  6.445e+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:  7.881e-01  1.792e-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.140e+00  2.477e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 3.06e-08 +/- 2.79e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 1.32e-05

TS (Fixed Index): 2.18
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 9.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433696/likelihoodResults_470275201_470534401_4FGL_J1424.6+1447_daily_bin891.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) = 5704.84003933
delta logL = 0.611955818828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5704.8378713
delta logL = 0.614123854452

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.059       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6362       1.0000          .0000       10.000    
     3 'Normalizat'    1.1547       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77762       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=   5704.838     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      276 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.059        11.251        .10682E-03    .84046E-03
   2  Index         1.6363        .42187        .70583E-02    .23791E-03
   3  Normalizat    1.1547        .24180        .25630E-03   -.61699E-04
   4  Prefactor     .77756        .17777        .22336E-03   -.93755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.059
  Index      = 1.63629
  Normalizat = 1.15472
  Prefactor  = 0.777565
 **********
 **   18 **HESSE 
 **********

 FCN=   5704.838     FROM HESSE     STATUS=OK            23 CALLS      299 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.059        11.177        .21364E-04   -1.4958    
   2  Index         1.6363        .41917        .28233E-03   -.73791    
   3  Normalizat    1.1547        .24206        .10252E-04   -.88014    
   4  Prefactor     .77756        .17797        .89344E-05   -1.0056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08965e-09
Minuit parameter uncertainties:
  1  11.179
  2  0.420068
  3  0.242297
  4  0.178098
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433696': 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) = 5704.83787117
delta logL = 0.614123978542

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.406e+01  1.118e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.636e+00  4.201e-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:  7.776e-01  1.781e-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.155e+00  2.423e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.42
Ra Dec: 216.169 14.784
Photon Index (Free Index): 1.64 +/- 0.42
Photon Flux (Free Index): 2.38e-08 +/- 2.11e-08
Energy Flux (Free Index): 4.78e-05 +/- 5.91e-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/433696/cmap_HighResolution_470275201_470534401_4FGL_J1424.6+1447_daily_bin891.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.53e-03', comment='SUCCESS', photon_flux='3.06e-08', energy_flux2='4.78e-05', photon_flux_error='2.79e-08', dlogl='6.14e-01', energy_flux='1.45e-05', photon_flux2='2.38e-08', job_status='DONE', time_completed='2021-09-09 14:29:08.254209', photon_index_error2='0.42', photon_index2='1.64', ts='2.18', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='9.91e-08', energy_flux_error2='5.91e-05', EG='1.14', time_epoch_completed='1631222948.25', return_code='0', job_id='433696', GAL2='0.78', EG2='1.15', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='2.11e-08', ts2='3.42', photon_index='2.17' WHERE bin_id='891' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:29:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 433696: <4FGL_J1424.6+1447_daily_bin891> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin891> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:10 2021
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:11 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:16:11 2021
Terminated at Thu Sep  9 14:29:09 2021
Results reported at Thu Sep  9 14:29:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin891 216.169 14.784 470275201 470534401 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 :                                   582.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            779 sec.

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

