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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin44
RA = 216.169, Dec = 14.784
tmin = 250732801, tmax = 250992001
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='428336', job_status='RUN', time_executed='2021-09-09 14:04:12.108592', time_epoch_executed='1631221452.11' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='44'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428336

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428336/ft1_4FGL_J1424.6+1447_daily_bin44.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428336/ft2_4FGL_J1424.6+1447_daily_bin44.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428336/ft1_4FGL_J1424.6+1447_daily_bin44.fits outfile=/scratch/kocevski/428336/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin44.fits ra=216.169 dec=14.784 rad=12.0 tmin=250732801.0 tmax=250992001.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.43
user 1.26
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428336/ft1_filtered_4FGL_J1424.6+1447_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/428336/ft2_4FGL_J1424.6+1447_daily_bin44.fits sctable="SC_DATA" expcube=/scratch/kocevski/428336/ltcube_250732801_250992001_4FGL_J1424.6+1447_daily_bin44.fits outfile=/scratch/kocevski/428336/expmap_250732801_250992001_4FGL_J1424.6+1447_daily_bin44.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/428336/ltcube_250732801_250992001_4FGL_J1424.6+1447_daily_bin44.fits
.....................!
real 190.98
user 185.63
sys 4.99

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/428336/ft1_filtered_4FGL_J1424.6+1447_daily_bin44.fits scfile=/scratch/kocevski/428336/ft2_4FGL_J1424.6+1447_daily_bin44.fits outfile=/scratch/kocevski/428336/cmap_250732801_250992001_4FGL_J1424.6+1447_daily_bin44.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428336/ft1_filtered_4FGL_J1424.6+1447_daily_bin44.fits scfile=/scratch/kocevski/428336/ft2_4FGL_J1424.6+1447_daily_bin44.fits outfile=/scratch/kocevski/428336/cmap_HighResolution_250732801_250992001_4FGL_J1424.6+1447_daily_bin44.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.155       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0842       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3270       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.062       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.9666       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10114E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    46.350       1.0000         .10000E-03   10000.    
    13 'norm      '    19.352       1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.461       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.7679       1.0000         .10000E-03   10000.    
    21 'norm      '    4.3159       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89247       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1643       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=   11965.49     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2368 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.151        33.429        .38709E-06    .24939E-04
   2  Prefactor     1.0843        2.1275        .78899E-06    .33004E-03
   3  Prefactor     1.3269        7.0989        .11112E-05   -.23710E-03
   4  Prefactor     10.059        9.7470       -.25304E-06   -.92876E-04
   5  Prefactor     .10000E-03    13.789       -.14673E-06** at limit **
   6  Prefactor     .10000E-03    4.0052        .11788E-07** at limit **
   7  norm          .10000E-03    4.1600        .62657E-08** at limit **
   8  Prefactor     .10000E-03    2.8702        .35299E-07** at limit **
   9  norm          6.9666        2.5589        .15741E-07   -.26322E-04
  10  Prefactor     .10000E-03    1.4957        .22030E-07** at limit **
  11  norm          .10000E-03    1.1058        .40636E-07** at limit **
  12  Prefactor     46.445        41.537        .54181E-06    .37056E-04
  13  norm          19.263        25.901       -.35375E-07    .54102E-05
  14  norm          .10000E-03    1.4216        .13769E-07** at limit **
  15  Prefactor     .10000E-03    5.6506        .17423E-07** at limit **
  16  Prefactor     22.463        20.703       -.14889E-05   -.17974E-03
  17  Prefactor     .10000E-03    13.993        .16805E-06** at limit **
  18  Prefactor     .10000E-03    14.858        .11726E-06** at limit **
  19  Prefactor     .10000E-03    11.446        .30737E-07** at limit **
  20  Prefactor     6.7676        7.0443        .90519E-06   -.35785E-03
  21  norm          4.3159        .34614        .11280E-07   -.24069E-03
  22  norm          .10000E-03    9.4936        .55460E-08** at limit **
  23  Normalizat    .89272        .17165        .32553E-07   -.77727E-04
  24  Prefactor     1.1642        .12571       -.25365E-06   -.35601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.1507
  Prefactor  = 1.08431
  Prefactor  = 1.32687
  Prefactor  = 10.059
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.9666
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 46.4449
  norm       = 19.263
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.463
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.76762
  norm       = 4.31587
  norm       = 0.0001
  Normalizat = 0.892723
  Prefactor  = 1.16416
 **********
 **   18 **HESSE 
 **********

 FCN=   11965.49     FROM HESSE     STATUS=OK           397 CALLS     2765 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.151        33.403        .66651E-04   -1.4505    
   2  Prefactor     1.0843        1.9532        .24381E-02   -1.5500    
   3  Prefactor     1.3269        7.2812        .38148E-03   -1.5478    
   4  Prefactor     10.059        9.8308        .12632E-03   -1.5074    
   5  Prefactor     .10000E-03    13.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.0081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.1611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.8981        .18093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.9666        2.5593        .10256E-03   -1.5180    
  10  Prefactor     .10000E-03    1.5045        .13061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.1505        .22448E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     46.445        41.519        .58894E-04   -1.4344    
  13  norm          19.263        25.850        .91046E-04   -1.4830    
  14  norm          .10000E-03    1.4405        .12735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.6581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.463        21.187        .84517E-04   -1.4760    
  17  Prefactor     .10000E-03    14.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.7676        7.0221        .77117E-03   -1.5188    
  21  norm          4.3159        .34661        .17405E-04   -1.5292    
  22  norm          .10000E-03    9.4938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89272        .20539        .33728E-03   -.96716    
  24  Prefactor     1.1642        .15068        .22283E-03   -.87442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50863e-10
Minuit parameter uncertainties:
  1  33.42
  2  1.95331
  3  6.21741
  4  9.83234
  5  1.48458e-05
  6  1.64948e-07
  7  2.26422e-07
  8  5.33028e-07
  9  2.55939
  10  2.26629e-07
  11  2.39057e-07
  12  41.5449
  13  25.865
  14  3.51667e-07
  15  2.09602e-07
  16  21.1944
  17  1.97931e-05
  18  5.70936e-06
  19  1.35184e-06
  20  7.02294
  21  0.346609
  22  2.25171e-07
  23  0.205574
  24  0.15074
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  5.330e-07  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:  1.164e+00  1.507e-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:  8.927e-01  2.056e-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.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428336/likelihoodResults_250732801_250992001_4FGL_J1424.6+1447_daily_bin44.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) = 11965.4940704
delta logL = -0.00164518398742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11965.4924252
delta logL = 2.28992576012e-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.1661       1.0000          .0000       10.000    
     3 'Normalizat'    .89272       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1642       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=   11965.49     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9091        .90712E-02** at limit **
   2  Index         2.1605        6.0660        .50000        .15626E-04
   3  Normalizat    .89272        .32609E-02    .76205E-01    .32094E-04
   4  Prefactor     1.1642        .24369E-02    .35539E-01    .81225E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.16046
  Normalizat = 0.892724
  Prefactor  = 1.16416
 **********
 **   18 **HESSE 
 **********

 FCN=   11965.49     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      237 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.515        .18121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1605        6.7910        .50000       -.60396    
   3  Normalizat    .89272        .95731E-02    .33728E-03   -.96716    
   4  Prefactor     1.1642        .71680E-02    .22283E-03   -.87442    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.11319e-07
Minuit parameter uncertainties:
  1  1.67876e-05
  2  88.6314
  3  0.00957313
  4  0.00716798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428336': 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) = 11965.4924252
delta logL = 4.52146196039e-08

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.679e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.160e+00  8.863e+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:  1.164e+00  7.168e-03  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:  8.927e-01  9.573e-03  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/428336/cmap_HighResolution_250732801_250992001_4FGL_J1424.6+1447_daily_bin44.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-03', job_status='DONE', photon_flux_upper_limit='4.57e-08', time_completed='2021-09-09 14:18:08.560077', job_id='428336', GAL2='1.16', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1631222288.56', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='4.52e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='44' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:18:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 428336: <4FGL_J1424.6+1447_daily_bin44> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin44 216.169 14.784 250732801 250992001 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 :                                   833.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            996 sec.

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

