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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin118
RA = 216.169, Dec = 14.784
tmin = 269913601, tmax = 270172801
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='428446', job_status='RUN', time_executed='2021-09-09 14:01:51.414337', time_epoch_executed='1631221311.41' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428446

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428446/ft1_4FGL_J1424.6+1447_daily_bin118.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428446/ft2_4FGL_J1424.6+1447_daily_bin118.fits


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

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

Done.
real 1.64
user 1.49
sys 0.14

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428446/ft1_filtered_4FGL_J1424.6+1447_daily_bin118.fits" evtable="EVENTS" scfile=/scratch/kocevski/428446/ft2_4FGL_J1424.6+1447_daily_bin118.fits sctable="SC_DATA" outfile=/scratch/kocevski/428446/ltcube_269913601_270172801_4FGL_J1424.6+1447_daily_bin118.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/428446/ft2_4FGL_J1424.6+1447_daily_bin118.fits
.....................!
real 11.95
user 11.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428446/ft1_filtered_4FGL_J1424.6+1447_daily_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/428446/ft2_4FGL_J1424.6+1447_daily_bin118.fits sctable="SC_DATA" expcube=/scratch/kocevski/428446/ltcube_269913601_270172801_4FGL_J1424.6+1447_daily_bin118.fits outfile=/scratch/kocevski/428446/expmap_269913601_270172801_4FGL_J1424.6+1447_daily_bin118.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/428446/ltcube_269913601_270172801_4FGL_J1424.6+1447_daily_bin118.fits
.....................!
real 189.95
user 185.39
sys 4.17

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/428446/ft1_filtered_4FGL_J1424.6+1447_daily_bin118.fits scfile=/scratch/kocevski/428446/ft2_4FGL_J1424.6+1447_daily_bin118.fits outfile=/scratch/kocevski/428446/cmap_269913601_270172801_4FGL_J1424.6+1447_daily_bin118.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/428446/ft1_filtered_4FGL_J1424.6+1447_daily_bin118.fits scfile=/scratch/kocevski/428446/ft2_4FGL_J1424.6+1447_daily_bin118.fits outfile=/scratch/kocevski/428446/cmap_HighResolution_269913601_270172801_4FGL_J1424.6+1447_daily_bin118.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .24619       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    56.715       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.4134       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.7773       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13548E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9809       1.0000         .10000E-03   10000.    
    13 'norm      '    .18754E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.0576       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.1998       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.2221       1.0000         .10000E-03   10000.    
    18 'Prefactor '    33.062       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.9959       1.0000         .10000E-03   10000.    
    21 'norm      '    1.2157       1.0000         .10000E-03   10000.    
    22 'norm      '    .22904E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1763       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96697       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=   9601.290     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     3382 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.111       -.12219E-05** at limit **
   2  Prefactor     .24587        3.5035        .16076E-05   -.69991E-04
   3  Prefactor     .10000E-03    3.7510       -.77942E-08** at limit **
   4  Prefactor     .10000E-03    5.3420       -.11025E-07** at limit **
   5  Prefactor     56.707        28.503        .20502E-06   -.25151E-04
   6  Prefactor     .10000E-03    34.502        .34050E-05** at limit **
   7  norm          9.4140        18.675       -.41429E-06   -.12378E-03
   8  Prefactor     .10000E-03    2.9145       -.18291E-07** at limit **
   9  norm          7.7773        2.7021        .38217E-07    .14524E-04
  10  Prefactor     .10000E-03    2.6548        .39697E-07** at limit **
  11  norm          .10000E-03    1.0716        .11830E-06** at limit **
  12  Prefactor     2.0102        77.331        .17875E-05   -.16453E-04
  13  norm          .10000E-03    27.457       -.14946E-05** at limit **
  14  norm          5.0567        5.5021        .39066E-07   -.34634E-04
  15  Prefactor     .10000E-03    12.180        .10917E-06** at limit **
  16  Prefactor     7.1989        10.343       -.47376E-07   -.21385E-04
  17  Prefactor     2.2193        14.772        .91781E-05   -.16072E-04
  18  Prefactor     33.069        27.359       -.87831E-06    .18111E-03
  19  Prefactor     .10000E-03    40.077       -.34927E-05** at limit **
  20  Prefactor     4.9951        7.5934        .11449E-06    .11277E-05
  21  norm          1.2157        .21305       -.10956E-08    .32124E-03
  22  norm          .10000E-03    133.35        .14142E-05** at limit **
  23  Normalizat    1.1764        .17110       -.52712E-06   -.23481E-03
  24  Prefactor     .96698        .12434       -.38731E-06   -.26493E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.245868
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 56.7066
  Prefactor  = 0.0001
  norm       = 9.41405
  Prefactor  = 0.0001
  norm       = 7.77733
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.01021
  norm       = 0.000100003
  norm       = 5.05671
  Prefactor  = 0.0001
  Prefactor  = 7.19893
  Prefactor  = 2.21932
  Prefactor  = 33.0694
  Prefactor  = 0.0001
  Prefactor  = 4.99514
  norm       = 1.2157
  norm       = 0.0001
  Normalizat = 1.17644
  Prefactor  = 0.966984
 **********
 **   18 **HESSE 
 **********

 FCN=   9601.290     FROM HESSE     STATUS=OK           401 CALLS     3783 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .24587        3.6325        .35443E-02   -1.5609    
   3  Prefactor     .10000E-03    3.7606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.4077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     56.707        28.517        .53268E-04   -1.4200    
   6  Prefactor     .10000E-03    34.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.4140        18.695        .13062E-03   -1.5094    
   8  Prefactor     .10000E-03    2.9351        .16323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.7773        2.7020        .91898E-04   -1.5150    
  10  Prefactor     .10000E-03    6.8775        .30633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.8910        .19603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.0102        76.606        .29449E-03   -1.5424    
  13  norm          .10000E-03    27.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.0567        5.4956        .17879E-03   -1.5258    
  15  Prefactor     .10000E-03    12.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.1989        10.335        .14949E-03   -1.5171    
  17  Prefactor     2.2193        14.874        .13793E-02   -1.5410    
  18  Prefactor     33.069        27.446        .69689E-04   -1.4557    
  19  Prefactor     .10000E-03    40.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.9951        7.5930        .17992E-03   -1.5261    
  21  norm          1.2157        .21308        .18249E-04   -1.5487    
  22  norm          .10000E-03    135.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1764        .20638        .28117E-03   -.87334    
  24  Prefactor     .96698        .15045        .22337E-03   -.93838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13683e-07
Minuit parameter uncertainties:
  1  4.99061e-05
  2  1.88986
  3  3.74962e-07
  4  4.32019e-07
  5  28.5241
  6  3.83947e-05
  7  18.7063
  8  1.71045e-06
  9  2.70207
  10  7.31887e-06
  11  8.76999e-06
  12  24.8525
  13  0.000543208
  14  5.49619
  15  1.5137e-05
  16  10.338
  17  11.4946
  18  27.4569
  19  0.000118668
  20  7.59443
  21  0.213078
  22  9.77186e-05
  23  0.206525
  24  0.150513
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.710e-06  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.670e-01  1.505e-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.176e+00  2.065e-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: 4.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428446/likelihoodResults_269913601_270172801_4FGL_J1424.6+1447_daily_bin118.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) = 9601.29183652
delta logL = -0.00162344583077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9601.290213
delta logL = 6.55072653899e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1611       1.0000          .0000       10.000    
     3 'Normalizat'    1.1764       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96697       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=   9601.290     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      239 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10031E-03    25.814        .16401E-02** at limit **
   2  Index         2.1337        5.8169        .50000        .26081E-04
   3  Normalizat    1.1764        .12494E-01    .28117E-03   -.22481E-04
   4  Prefactor     .96698        .91494E-02    .22337E-03   -.15370E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010031
  Index      = 2.13373
  Normalizat = 1.17644
  Prefactor  = 0.966984
 **********
 **   18 **HESSE 
 **********

 FCN=   9601.290     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10031E-03    123.70        .32802E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1337        5.3544        .50000       -.61047    
   3  Normalizat    1.1764        .28455E-01    .11247E-04   -.87334    
   4  Prefactor     .96698        .20833E-01    .89349E-05   -.93838    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.08247e-08
Minuit parameter uncertainties:
  1  0.0124083
  2  343.182
  3  0.0284554
  4  0.0208335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428446': 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) = 9601.29021286
delta logL = 2.12276063394e-07

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.003e-04  1.241e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.134e+00  3.432e+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.670e-01  2.083e-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.176e+00  2.846e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/428446/cmap_HighResolution_269913601_270172801_4FGL_J1424.6+1447_daily_bin118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-03', job_status='DONE', photon_flux_upper_limit='4.80e-08', time_completed='2021-09-09 14:15:10.134639', job_id='428446', GAL2='0.97', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1631222110.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.12e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='118' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:15:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 428446: <4FGL_J1424.6+1447_daily_bin118> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin118> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 14:01:40 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:01:42 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:01:42 2021
Terminated at Thu Sep  9 14:15:10 2021
Results reported at Thu Sep  9 14:15:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin118 216.169 14.784 269913601 270172801 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 :                                   795.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            810 sec.

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

