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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin598
RA = 216.169, Dec = 14.784
tmin = 394329601, tmax = 394588801
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='431592', job_status='RUN', time_executed='2021-09-09 14:14:12.976516', time_epoch_executed='1631222052.98' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431592

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431592/ft1_4FGL_J1424.6+1447_daily_bin598.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431592/ft2_4FGL_J1424.6+1447_daily_bin598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431592/ft1_4FGL_J1424.6+1447_daily_bin598.fits outfile=/scratch/kocevski/431592/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin598.fits ra=216.169 dec=14.784 rad=12.0 tmin=394329601.0 tmax=394588801.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 7.57
user 7.25
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431592/ft2_4FGL_J1424.6+1447_daily_bin598.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/431592/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin598.fits evtable="EVENTS" outfile="/scratch/kocevski/431592/ft1_filtered_4FGL_J1424.6+1447_daily_bin598.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.73
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431592/ft1_filtered_4FGL_J1424.6+1447_daily_bin598.fits" evtable="EVENTS" scfile=/scratch/kocevski/431592/ft2_4FGL_J1424.6+1447_daily_bin598.fits sctable="SC_DATA" outfile=/scratch/kocevski/431592/ltcube_394329601_394588801_4FGL_J1424.6+1447_daily_bin598.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/431592/ft2_4FGL_J1424.6+1447_daily_bin598.fits
.....................!
real 12.64
user 12.19
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431592/ft1_filtered_4FGL_J1424.6+1447_daily_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/431592/ft2_4FGL_J1424.6+1447_daily_bin598.fits sctable="SC_DATA" expcube=/scratch/kocevski/431592/ltcube_394329601_394588801_4FGL_J1424.6+1447_daily_bin598.fits outfile=/scratch/kocevski/431592/expmap_394329601_394588801_4FGL_J1424.6+1447_daily_bin598.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/431592/ltcube_394329601_394588801_4FGL_J1424.6+1447_daily_bin598.fits
.....................!
real 190.72
user 185.46
sys 4.78

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/431592/ft1_filtered_4FGL_J1424.6+1447_daily_bin598.fits scfile=/scratch/kocevski/431592/ft2_4FGL_J1424.6+1447_daily_bin598.fits outfile=/scratch/kocevski/431592/cmap_394329601_394588801_4FGL_J1424.6+1447_daily_bin598.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431592/ft1_filtered_4FGL_J1424.6+1447_daily_bin598.fits scfile=/scratch/kocevski/431592/ft2_4FGL_J1424.6+1447_daily_bin598.fits outfile=/scratch/kocevski/431592/cmap_HighResolution_394329601_394588801_4FGL_J1424.6+1447_daily_bin598.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.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    62.837       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.0789       1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.930       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.576       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.602       1.0000         .10000E-03   10000.    
     7 'norm      '    10.053       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.6849       1.0000         .10000E-03   10000.    
     9 'norm      '    7.4878       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .59589       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2188       1.0000         .10000E-03   10000.    
    13 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.7938       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.353       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .16467       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0528       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92262       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=   6381.980     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2705 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     62.837        65.902        .72634E-07    .23408E-06
   2  Prefactor     8.0792        7.0245       -.32372E-07   -.29115E-04
   3  Prefactor     29.930        18.917       -.63163E-07   -.36272E-05
   4  Prefactor     .10000E-03    10.465        .11063E-05** at limit **
   5  Prefactor     40.576        25.304       -.23497E-07    .87298E-05
   6  Prefactor     19.603        22.447        .58661E-06    .33805E-05
   7  norm          10.052        18.290       -.58484E-06   -.81011E-05
   8  Prefactor     6.6850        6.2959        .31241E-07    .75673E-04
   9  norm          7.4879        3.5794       -.23408E-08   -.52918E-03
  10  Prefactor     .10000E-03    7.7758       -.15874E-05** at limit **
  11  norm          .59326        2.4655       -.78170E-07   -.10491E-03
  12  Prefactor     5.2215        13.564       -.71659E-07   -.24038E-03
  13  norm          .10000E-03    6.8243        .16178E-05** at limit **
  14  norm          3.7938        2.4848        .20007E-06   -.16181E-02
  15  Prefactor     .10000E-03    6.5277       -.85905E-06** at limit **
  16  Prefactor     23.352        23.040       -.81289E-06   -.16617E-04
  17  Prefactor     .10000E-03    9.2080        .32689E-06** at limit **
  18  Prefactor     .10000E-03    20.527        .61291E-05** at limit **
  19  Prefactor     .10000E-03    38.529       -.14072E-05** at limit **
  20  Prefactor     .10000E-03    2.7909       -.50107E-08** at limit **
  21  norm          .16471        .15631        .96081E-08   -.11854E-03
  22  norm          .10000E-03    18.049       -.56743E-05** at limit **
  23  Normalizat    1.0528        .20566       -.35251E-07    .49473E-05
  24  Prefactor     .92256        .14679        .10221E-06   -.21201E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 62.8371
  Prefactor  = 8.07917
  Prefactor  = 29.9298
  Prefactor  = 0.0001
  Prefactor  = 40.5756
  Prefactor  = 19.6031
  norm       = 10.0525
  Prefactor  = 6.68499
  norm       = 7.48795
  Prefactor  = 0.0001
  norm       = 0.593264
  Prefactor  = 5.22147
  norm       = 0.0001
  norm       = 3.79378
  Prefactor  = 0.0001
  Prefactor  = 23.3523
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.164705
  norm       = 0.0001
  Normalizat = 1.05284
  Prefactor  = 0.92256
 **********
 **   18 **HESSE 
 **********

 FCN=   6381.980     FROM HESSE     STATUS=OK           403 CALLS     3108 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     62.837        65.908        .50622E-04   -1.4121    
   2  Prefactor     8.0792        7.0235        .14106E-03   -1.5139    
   3  Prefactor     29.930        18.939        .73235E-04   -1.4613    
   4  Prefactor     .10000E-03    10.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     40.576        25.319        .62928E-04   -1.4433    
   6  Prefactor     19.603        22.456        .90465E-04   -1.4822    
   7  norm          10.052        18.286        .12638E-03   -1.5074    
   8  Prefactor     6.6850        6.2879        .15520E-03   -1.5191    
   9  norm          7.4879        3.6007        .50593E-03   -1.5161    
  10  Prefactor     .10000E-03    7.9895        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59326        4.5631        .23225E-02   -1.5554    
  12  Prefactor     5.2215        14.134        .87980E-03   -1.5251    
  13  norm          .10000E-03    6.8450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.7938        5.2063        .10324E-02   -1.5318    
  15  Prefactor     .10000E-03    6.5339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.352        23.009        .82888E-04   -1.4741    
  17  Prefactor     .10000E-03    9.2617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    20.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    38.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.7922        .13034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .16471        .14858        .29276E-03   -1.5627    
  22  norm          .10000E-03    18.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0528        .25099        .28254E-03   -.91281    
  24  Prefactor     .92256        .18045        .21435E-03   -.95357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81141e-08
Minuit parameter uncertainties:
  1  65.9845
  2  7.02422
  3  18.9429
  4  4.37085e-06
  5  25.326
  6  22.4661
  7  18.2959
  8  6.28849
  9  3.60081
  10  3.39585e-06
  11  3.29073
  12  14.1428
  13  1.15697e-05
  14  5.20688
  15  5.93977e-06
  16  23.0179
  17  5.56311e-07
  18  4.39849e-05
  19  3.10874e-05
  20  1.22346e-07
  21  0.148583
  22  5.91596e-05
  23  0.251268
  24  0.180568
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  6.685e+00  6.288e+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:  9.226e-01  1.806e-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.053e+00  2.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.37
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 2.89e-08 +/- 2.72e-08
Energy Flux (Fixed Index): 1.37e-05 +/- 1.29e-05

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

Saving results to:
/scratch/kocevski/431592/likelihoodResults_394329601_394588801_4FGL_J1424.6+1447_daily_bin598.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) = 6381.90683471
delta logL = 0.0732296771666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6381.90444154
delta logL = 0.0756228476885

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1549       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9311       1.0000          .0000       10.000    
     3 'Normalizat'    1.0593       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92042       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.

 FCN=   6381.904     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      269 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1738        328.05        .35099E-02   -.33719E-05
   2  Index         1.9328        5.3578        .15847        .63219E-04
   3  Normalizat    1.0593        .12859        .63707E-01    .67843E-05
   4  Prefactor     .92033        .70920E-01    .45265E-01   -.53065E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.17383
  Index      = 1.93279
  Normalizat = 1.05925
  Prefactor  = 0.92033
 **********
 **   18 **HESSE 
 **********

 FCN=   6381.904     FROM HESSE     STATUS=OK            31 CALLS      300 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1738        8.3560        .14039E-03   -1.5136    
   2  Index         1.9328        .61428        .93980E-02   -.66041    
   3  Normalizat    1.0593        .24542        .28179E-03   -.91071    
   4  Prefactor     .92033        .17645        .21458E-03   -.95434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58442e-09
Minuit parameter uncertainties:
  1  8.35717
  2  0.616787
  3  0.245682
  4  0.176561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431592': 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) = 6381.90443184
delta logL = 0.0756325495804

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  8.174e+00  8.357e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.933e+00  6.168e-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:  9.203e-01  1.766e-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.059e+00  2.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.52
Ra Dec: 216.169 14.784
Photon Index (Free Index): 1.93 +/- 0.62
Photon Flux (Free Index): 2.24e-08 +/- 2.73e-08
Energy Flux (Free Index): 1.84e-05 +/- 2.39e-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/431592/cmap_HighResolution_394329601_394588801_4FGL_J1424.6+1447_daily_bin598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.63e-03', comment='SUCCESS', photon_flux='2.89e-08', energy_flux2='1.84e-05', photon_flux_error='2.72e-08', dlogl='7.56e-02', energy_flux='1.37e-05', photon_flux2='2.24e-08', job_status='DONE', time_completed='2021-09-09 14:24:44.849380', photon_index_error2='0.62', photon_index2='1.93', ts='3.37', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.00e-07', energy_flux_error2='2.39e-05', EG='1.05', time_epoch_completed='1631222684.85', return_code='0', job_id='431592', GAL2='0.92', EG2='1.06', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='2.73e-08', ts2='3.52', photon_index='2.17' WHERE bin_id='598' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:24:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 431592: <4FGL_J1424.6+1447_daily_bin598> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin598 216.169 14.784 394329601 394588801 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 :                                   627.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            810 sec.

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

