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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin517
RA = 216.169, Dec = 14.784
tmin = 373334401, tmax = 373593601
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='431464', job_status='RUN', time_executed='2021-09-09 14:12:59.384080', time_epoch_executed='1631221979.38' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='517'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431464

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431464/ft1_4FGL_J1424.6+1447_daily_bin517.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431464/ft2_4FGL_J1424.6+1447_daily_bin517.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431464/ft1_4FGL_J1424.6+1447_daily_bin517.fits outfile=/scratch/kocevski/431464/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin517.fits ra=216.169 dec=14.784 rad=12.0 tmin=373334401.0 tmax=373593601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.47
user 4.23
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431464/ft1_filtered_4FGL_J1424.6+1447_daily_bin517.fits" evtable="EVENTS" scfile=/scratch/kocevski/431464/ft2_4FGL_J1424.6+1447_daily_bin517.fits sctable="SC_DATA" outfile=/scratch/kocevski/431464/ltcube_373334401_373593601_4FGL_J1424.6+1447_daily_bin517.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/431464/ft2_4FGL_J1424.6+1447_daily_bin517.fits
.....................!
real 12.13
user 11.75
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431464/ft1_filtered_4FGL_J1424.6+1447_daily_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/431464/ft2_4FGL_J1424.6+1447_daily_bin517.fits sctable="SC_DATA" expcube=/scratch/kocevski/431464/ltcube_373334401_373593601_4FGL_J1424.6+1447_daily_bin517.fits outfile=/scratch/kocevski/431464/expmap_373334401_373593601_4FGL_J1424.6+1447_daily_bin517.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/431464/ltcube_373334401_373593601_4FGL_J1424.6+1447_daily_bin517.fits
.....................!
real 190.66
user 185.45
sys 4.83

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/431464/ft1_filtered_4FGL_J1424.6+1447_daily_bin517.fits scfile=/scratch/kocevski/431464/ft2_4FGL_J1424.6+1447_daily_bin517.fits outfile=/scratch/kocevski/431464/cmap_373334401_373593601_4FGL_J1424.6+1447_daily_bin517.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431464/ft1_filtered_4FGL_J1424.6+1447_daily_bin517.fits scfile=/scratch/kocevski/431464/ft2_4FGL_J1424.6+1447_daily_bin517.fits outfile=/scratch/kocevski/431464/cmap_HighResolution_373334401_373593601_4FGL_J1424.6+1447_daily_bin517.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.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.241       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2567       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.9907       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12344E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.502       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.4026       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5825       1.0000         .10000E-03   10000.    
    11 'norm      '    1.1681       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.075       1.0000         .10000E-03   10000.    
    14 'norm      '    9.3653       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.126       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.609       1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.706       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5973       1.0000         .10000E-03   10000.    
    21 'norm      '    .36070       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1157       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95756       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=   6301.264     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2711 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.239        50.008       -.23181E-05    .38463E-05
   2  Prefactor     3.2560        4.6369       -.96685E-06   -.49487E-03
   3  Prefactor     8.9904        9.7827       -.22441E-07    .37062E-05
   4  Prefactor     .10002E-03    7.0203       -.27047E-06** at limit **
   5  Prefactor     .10000E-03    7.6414       -.18298E-06** at limit **
   6  Prefactor     20.504        25.004       -.44384E-06    .87602E-05
   7  norm          .10000E-03    9.2691       -.39198E-05** at limit **
   8  Prefactor     .10000E-03    8.9315        .38314E-05** at limit **
   9  norm          4.4026        2.5038        .29439E-08    .27728E-04
  10  Prefactor     6.5844        6.8967        .81997E-06   -.34350E-03
  11  norm          1.1677        2.1245       -.41156E-06   -.91388E-03
  12  Prefactor     .10000E-03    24.186       -.10830E-04** at limit **
  13  norm          11.074        16.873       -.35484E-06    .89744E-04
  14  norm          9.3653        4.7867       -.24544E-06   -.20845E-04
  15  Prefactor     .10000E-03    14.258        .62267E-05** at limit **
  16  Prefactor     21.125        19.769       -.53298E-07    .29542E-05
  17  Prefactor     15.609        14.399       -.28320E-06   -.71973E-04
  18  Prefactor     22.709        29.910        .40255E-06   -.75984E-04
  19  Prefactor     .10000E-03    26.783        .10418E-04** at limit **
  20  Prefactor     6.5973        6.8166       -.90009E-07    .18729E-04
  21  norm          .36070        .17631       -.91402E-08   -.77629E-03
  22  norm          .10000E-03    13.524       -.47626E-05** at limit **
  23  Normalizat    1.1156        .20847        .11446E-06   -.44550E-04
  24  Prefactor     .95773        .15056        .14623E-06   -.66402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.2386
  Prefactor  = 3.256
  Prefactor  = 8.99039
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 20.504
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.40256
  Prefactor  = 6.58444
  norm       = 1.1677
  Prefactor  = 0.0001
  norm       = 11.0744
  norm       = 9.36532
  Prefactor  = 0.0001
  Prefactor  = 21.1247
  Prefactor  = 15.6086
  Prefactor  = 22.7086
  Prefactor  = 0.0001
  Prefactor  = 6.59729
  norm       = 0.3607
  norm       = 0.0001
  Normalizat = 1.11556
  Prefactor  = 0.957727
 **********
 **   18 **HESSE 
 **********

 FCN=   6301.264     FROM HESSE     STATUS=OK           409 CALLS     3120 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.239        49.958        .25847E-03   -1.4154    
   2  Prefactor     3.2560        4.6801        .19833E-03   -1.5347    
   3  Prefactor     8.9904        9.7850        .13367E-03   -1.5108    
   4  Prefactor     .10002E-03    110.05        .39813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.6444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.504        25.042        .88459E-04   -1.4802    
   7  norm          .10000E-03    9.2597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.1441        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.4026        2.5044        .91848E-04   -1.5288    
  10  Prefactor     6.5844        6.8575        .15641E-03   -1.5195    
  11  norm          1.1677        2.0978        .15117E-03   -1.5492    
  12  Prefactor     .10000E-03    24.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.074        16.837        .12039E-03   -1.5042    
  14  norm          9.3653        4.7862        .12070E-03   -1.5096    
  15  Prefactor     .10000E-03    14.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.125        19.750        .87144E-04   -1.4788    
  17  Prefactor     15.609        14.385        .10138E-03   -1.4918    
  18  Prefactor     22.709        29.859        .84059E-04   -1.4755    
  19  Prefactor     .10000E-03    26.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.5973        6.8172        .15624E-03   -1.5194    
  21  norm          .36070        .17355        .22414E-04   -1.5588    
  22  norm          .10000E-03    13.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1156        .25101        .27398E-03   -.89254    
  24  Prefactor     .95773        .18329        .21762E-03   -.94152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.74931e-10
Minuit parameter uncertainties:
  1  49.9931
  2  4.68067
  3  9.78675
  4  0.00306253
  5  3.13312e-06
  6  25.0552
  7  1.93434e-06
  8  7.56804e-05
  9  2.5045
  10  6.85833
  11  2.09789
  12  3.04303e-05
  13  16.8446
  14  4.78644
  15  1.68178e-05
  16  19.7559
  17  14.388
  18  29.8782
  19  1.57882e-05
  20  6.81796
  21  0.173548
  22  3.00796e-07
  23  0.251275
  24  0.183414
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  7.568e-05  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.577e-01  1.834e-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.116e+00  2.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/431464/likelihoodResults_373334401_373593601_4FGL_J1424.6+1447_daily_bin517.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): 102
logL (Free Index) = 6301.26404414
delta logL = -0.000522078606082

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6301.26352261
delta logL = -5.43546775589e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11886E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1003       1.0000          .0000       10.000    
     3 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95754       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=   6301.264     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      257 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10322E-03    25.079        .36285E-02** at limit **
   2  Index         2.0063        8.9108        .50000        .36995E-04
   3  Normalizat    1.1156        .65734E-02    .27398E-03    .25520E-04
   4  Prefactor     .95773        .49056E-02    .21762E-03    .20165E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103221
  Index      = 2.00633
  Normalizat = 1.11556
  Prefactor  = 0.957727
 **********
 **   18 **HESSE 
 **********

 FCN=   6301.264     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      286 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10322E-03    127.08        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0063        5.4669        .50000       -.64192    
   3  Normalizat    1.1156        .14873E-01    .10959E-04   -.89254    
   4  Prefactor     .95773        .11100E-01    .87049E-05   -.94152    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.09079e-09
Minuit parameter uncertainties:
  1  0.0405486
  2  152.023
  3  0.0148735
  4  0.0110999
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431464': 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): 102
logL (Free Index) = 6301.26352019
delta logL = 1.87184741662e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.032e-04  4.055e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.006e+00  1.520e+02  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.577e-01  1.110e-02  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.116e+00  1.487e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.169 14.784

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/431464/cmap_HighResolution_373334401_373593601_4FGL_J1424.6+1447_daily_bin517.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.32e-03', job_status='DONE', photon_flux_upper_limit='7.00e-08', time_completed='2021-09-09 14:23:12.798760', job_id='431464', GAL2='0.96', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1631222592.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.87e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='517' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:23:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 431464: <4FGL_J1424.6+1447_daily_bin517> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin517 216.169 14.784 373334401 373593601 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 :                                   610.24 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             295.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            726 sec.

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

