/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 102 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 = 7484
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin161
RA = 216.169, Dec = 14.784
tmin = 281059201, tmax = 281318401
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='428519', job_status='RUN', time_executed='2021-09-09 14:03:39.820762', time_epoch_executed='1631221419.82' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='161'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428519

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428519/ft1_4FGL_J1424.6+1447_daily_bin161.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428519/ft2_4FGL_J1424.6+1447_daily_bin161.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428519/ft1_4FGL_J1424.6+1447_daily_bin161.fits outfile=/scratch/kocevski/428519/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin161.fits ra=216.169 dec=14.784 rad=12.0 tmin=281059201.0 tmax=281318401.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.56
user 4.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/428519/ft2_4FGL_J1424.6+1447_daily_bin161.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/428519/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin161.fits evtable="EVENTS" outfile="/scratch/kocevski/428519/ft1_filtered_4FGL_J1424.6+1447_daily_bin161.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.33
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428519/ft1_filtered_4FGL_J1424.6+1447_daily_bin161.fits evtable="EVENTS" scfile=/scratch/kocevski/428519/ft2_4FGL_J1424.6+1447_daily_bin161.fits sctable="SC_DATA" expcube=/scratch/kocevski/428519/ltcube_281059201_281318401_4FGL_J1424.6+1447_daily_bin161.fits outfile=/scratch/kocevski/428519/expmap_281059201_281318401_4FGL_J1424.6+1447_daily_bin161.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/428519/ltcube_281059201_281318401_4FGL_J1424.6+1447_daily_bin161.fits
.....................!
real 189.62
user 185.27
sys 4.00

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/428519/ft1_filtered_4FGL_J1424.6+1447_daily_bin161.fits scfile=/scratch/kocevski/428519/ft2_4FGL_J1424.6+1447_daily_bin161.fits outfile=/scratch/kocevski/428519/cmap_281059201_281318401_4FGL_J1424.6+1447_daily_bin161.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428519/ft1_filtered_4FGL_J1424.6+1447_daily_bin161.fits scfile=/scratch/kocevski/428519/ft2_4FGL_J1424.6+1447_daily_bin161.fits outfile=/scratch/kocevski/428519/cmap_HighResolution_281059201_281318401_4FGL_J1424.6+1447_daily_bin161.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/428519/ft1_filtered_4FGL_J1424.6+1447_daily_bin161.fits evtable="EVENTS" scfile=/scratch/kocevski/428519/ft2_4FGL_J1424.6+1447_daily_bin161.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/428519/Model_4FGL_J1424.6+1447_daily_bin161.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/428519/ft1_filtered_4FGL_J1424.6+1447_daily_bin161.fits.....................!
real 45.00
user 43.68
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.543       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.4765       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.4793       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5928       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11615E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1541       1.0000         .10000E-03   10000.    
     9 'norm      '    8.6720       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .33384E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.2928       1.0000         .10000E-03   10000.    
    14 'norm      '    4.0083       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12405E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .23280E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    53.623       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.556       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.4465       1.0000         .10000E-03   10000.    
    21 'norm      '    .48678       1.0000         .10000E-03   10000.    
    22 'norm      '    .10797E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0430       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0177       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=   5629.426     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2784 TOTAL
                     EDM=   .80E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.472        31.069       -.13419E-06   -.15841E-04
   2  Prefactor     2.4770        2.3922        .12016E-07    .51193E-05
   3  Prefactor     5.4793        7.5173        .82475E-07   -.18233E-05
   4  Prefactor     6.5996        9.4701        .24715E-06   -.46392E-05
   5  Prefactor     .10000E-03    12.364       -.10303E-06** at limit **
   6  Prefactor     .10000E-03    11.067        .13512E-06** at limit **
   7  norm          .10000E-03    16.643        .27209E-07** at limit **
   8  Prefactor     1.1550        7.9963        .13688E-05    .51931E-05
   9  norm          8.6733        3.4198        .49318E-07   -.42916E-04
  10  Prefactor     .10000E-03    2.3874       -.29754E-07** at limit **
  11  norm          .10000E-03    1.3412        .16459E-06** at limit **
  12  Prefactor     .10000E-03    16.884        .52445E-06** at limit **
  13  norm          3.2931        13.848        .35040E-06   -.41159E-05
  14  norm          4.0087        3.3887        .39176E-07   -.11154E-04
  15  Prefactor     .10000E-03    16.797       -.31480E-06** at limit **
  16  Prefactor     .10000E-03    10.165        .36602E-07** at limit **
  17  Prefactor     .10034E-03    17.803        .28141E-05** at limit **
  18  Prefactor     53.655        30.574       -.17284E-05   -.16565E-03
  19  Prefactor     10.449        47.540       -.35299E-05   -.18466E-04
  20  Prefactor     4.4477        5.2086        .19697E-07   -.92707E-05
  21  norm          .48663        .21527       -.24203E-07   -.77963E-03
  22  norm          .10000E-03    20.391        .83959E-07** at limit **
  23  Normalizat    1.0426        .21219       -.23317E-06   -.22140E-03
  24  Prefactor     1.0177        .16017       -.95930E-06   -.15858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.4723
  Prefactor  = 2.47696
  Prefactor  = 5.4793
  Prefactor  = 6.59965
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.15501
  norm       = 8.67329
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.29313
  norm       = 4.00867
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100341
  Prefactor  = 53.6551
  Prefactor  = 10.4485
  Prefactor  = 4.44765
  norm       = 0.486628
  norm       = 0.0001
  Normalizat = 1.04258
  Prefactor  = 1.01771
 **********
 **   18 **HESSE 
 **********

 FCN=   5629.426     FROM HESSE     STATUS=OK           407 CALLS     3191 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.472        31.052        .82555E-04   -1.4739    
   2  Prefactor     2.4770        2.4045        .11126E-03   -1.5393    
   3  Prefactor     5.4793        7.5128        .17165E-03   -1.5240    
   4  Prefactor     6.5996        9.4956        .78145E-03   -1.5194    
   5  Prefactor     .10000E-03    12.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    16.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1550        8.0172        .20334E-02   -1.5493    
   9  norm          8.6733        3.4207        .84384E-04   -1.5119    
  10  Prefactor     .10000E-03    2.4005        .11319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    6.7564        .16812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.2931        13.838        .22312E-03   -1.5345    
  14  norm          4.0087        3.3873        .61888E-03   -1.5308    
  15  Prefactor     .10000E-03    16.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10034E-03    23.375        .81387E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     53.655        31.152        .54774E-04   -1.4242    
  19  Prefactor     10.449        48.294        .12332E-03   -1.5061    
  20  Prefactor     4.4477        5.2088        .18081E-03   -1.5286    
  21  norm          .48663        .21381        .22253E-04   -1.5568    
  22  norm          .10000E-03    20.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0426        .26129        .27584E-03   -.91617    
  24  Prefactor     1.0177        .19478        .20896E-03   -.92142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13841e-10
Minuit parameter uncertainties:
  1  31.0738
  2  2.40455
  3  7.51412
  4  9.49781
  5  4.33862e-06
  6  1.39189e-05
  7  8.65766e-06
  8  6.08695
  9  3.42077
  10  4.66483e-06
  11  1.41959e-05
  12  1.27009e-05
  13  13.5064
  14  3.38742
  15  5.86264e-05
  16  3.7018e-06
  17  0.00565083
  18  31.161
  19  44.9864
  20  5.20932
  21  0.213814
  22  1.36186e-07
  23  0.261608
  24  0.194914
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.155e+00  6.087e+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:  1.018e+00  1.949e-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.043e+00  2.616e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/428519/likelihoodResults_281059201_281318401_4FGL_J1424.6+1447_daily_bin161.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) = 5629.42056641
delta logL = 0.00586157719135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5629.41982955
delta logL = 0.00659843963967

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0012       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4383       1.0000          .0000       10.000    
     3 'Normalizat'    1.0397       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0186       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=   5629.420     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      240 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0017        10.899        .32162E-03    .21234E-03
   2  Index         2.4377        2.6661        .14913E-01    .49934E-04
   3  Normalizat    1.0397        .25755        .27619E-03    .39279E-03
   4  Prefactor     1.0186        .19312        .20888E-03    .53591E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.0017
  Index      = 2.43774
  Normalizat = 1.03971
  Prefactor  = 1.01861
 **********
 **   18 **HESSE 
 **********

 FCN=   5629.420     FROM HESSE     STATUS=OK            25 CALLS      265 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0017        7.4513        .12865E-04   -1.5508    
   2  Index         2.4377        2.2596        .59652E-03   -.53804    
   3  Normalizat    1.0397        .25729        .55238E-04   -.91712    
   4  Prefactor     1.0186        .19292        .41775E-04   -.92112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.80823e-10
Minuit parameter uncertainties:
  1  5.46473
  2  2.37958
  3  0.257602
  4  0.193054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428519': 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) = 5629.41982951
delta logL = 0.00659848194664

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.002e+00  5.465e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.438e+00  2.380e+00  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.019e+00  1.931e-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.040e+00  2.576e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/428519/cmap_HighResolution_281059201_281318401_4FGL_J1424.6+1447_daily_bin161.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.24e-03', job_status='DONE', photon_flux_upper_limit='8.20e-08', time_completed='2021-09-09 14:13:19.368584', job_id='428519', GAL2='1.02', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631221999.37', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='6.60e-03', ts2='0.05', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='161' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:13:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 428519: <4FGL_J1424.6+1447_daily_bin161> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin161 216.169 14.784 281059201 281318401 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 :                                   576.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            695 sec.

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

