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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin987
RA = 216.169, Dec = 14.784
tmin = 495158401, tmax = 495417601
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='433838', job_status='RUN', time_executed='2021-09-09 14:19:26.050855', time_epoch_executed='1631222366.05' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='987'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433838

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433838/ft1_4FGL_J1424.6+1447_daily_bin987.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433838/ft2_4FGL_J1424.6+1447_daily_bin987.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433838/ft1_4FGL_J1424.6+1447_daily_bin987.fits outfile=/scratch/kocevski/433838/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin987.fits ra=216.169 dec=14.784 rad=12.0 tmin=495158401.0 tmax=495417601.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.05
user 3.82
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433838/ft2_4FGL_J1424.6+1447_daily_bin987.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/433838/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin987.fits evtable="EVENTS" outfile="/scratch/kocevski/433838/ft1_filtered_4FGL_J1424.6+1447_daily_bin987.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/433838/ft1_filtered_4FGL_J1424.6+1447_daily_bin987.fits" evtable="EVENTS" scfile=/scratch/kocevski/433838/ft2_4FGL_J1424.6+1447_daily_bin987.fits sctable="SC_DATA" outfile=/scratch/kocevski/433838/ltcube_495158401_495417601_4FGL_J1424.6+1447_daily_bin987.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/433838/ft2_4FGL_J1424.6+1447_daily_bin987.fits
.....................!
real 11.78
user 11.38
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433838/ft1_filtered_4FGL_J1424.6+1447_daily_bin987.fits evtable="EVENTS" scfile=/scratch/kocevski/433838/ft2_4FGL_J1424.6+1447_daily_bin987.fits sctable="SC_DATA" expcube=/scratch/kocevski/433838/ltcube_495158401_495417601_4FGL_J1424.6+1447_daily_bin987.fits outfile=/scratch/kocevski/433838/expmap_495158401_495417601_4FGL_J1424.6+1447_daily_bin987.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/433838/ltcube_495158401_495417601_4FGL_J1424.6+1447_daily_bin987.fits
.....................!
real 191.65
user 185.38
sys 5.92

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/433838/ft1_filtered_4FGL_J1424.6+1447_daily_bin987.fits scfile=/scratch/kocevski/433838/ft2_4FGL_J1424.6+1447_daily_bin987.fits outfile=/scratch/kocevski/433838/cmap_495158401_495417601_4FGL_J1424.6+1447_daily_bin987.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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433838/ft1_filtered_4FGL_J1424.6+1447_daily_bin987.fits scfile=/scratch/kocevski/433838/ft2_4FGL_J1424.6+1447_daily_bin987.fits outfile=/scratch/kocevski/433838/cmap_HighResolution_495158401_495417601_4FGL_J1424.6+1447_daily_bin987.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    5.9925       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.3182       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.9235       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12869E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .24909E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.500       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.603       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.2164       1.0000         .10000E-03   10000.    
    21 'norm      '    1.2711       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1831       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0839       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=   7545.459     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2656 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    23.638       -.43628E-05** at limit **
   2  Prefactor     5.9927        6.0881        .81506E-07   -.66924E-04
   3  Prefactor     .10000E-03    14.304        .31412E-06** at limit **
   4  Prefactor     .10000E-03    3.8524        .32805E-06** at limit **
   5  Prefactor     .10001E-03    27.673        .45388E-05** at limit **
   6  Prefactor     .10000E-03    7.1637        .67278E-06** at limit **
   7  norm          .10000E-03    8.8539       -.20708E-06** at limit **
   8  Prefactor     .10000E-03    3.0477        .41754E-07** at limit **
   9  norm          5.3184        2.8121       -.23341E-08   -.22746E-04
  10  Prefactor     .10000E-03    3.2301        .26688E-07** at limit **
  11  norm          .10000E-03    1.8039       -.17449E-07** at limit **
  12  Prefactor     .10000E-03    6.3242       -.21537E-06** at limit **
  13  norm          .10000E-03    3.8648       -.22484E-06** at limit **
  14  norm          3.9237        3.5513       -.13750E-07    .19913E-04
  15  Prefactor     .10000E-03    62.378       -.12808E-05** at limit **
  16  Prefactor     .10000E-03    7.8331       -.49990E-06** at limit **
  17  Prefactor     .10000E-03    8.3933        .12040E-05** at limit **
  18  Prefactor     25.478        26.989       -.27592E-05   -.53803E-03
  19  Prefactor     12.589        35.002       -.38166E-05   -.23518E-03
  20  Prefactor     4.2146        11.044        .59459E-05   -.59990E-03
  21  norm          1.2711        .25959        .65654E-08   -.77599E-03
  22  norm          .10000E-03    14.317        .45287E-06** at limit **
  23  Normalizat    1.1831        .20565        .48704E-07   -.16938E-03
  24  Prefactor     1.0838        .14994       -.45992E-07   -.21098E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Prefactor  = 5.99272
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.31836
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.9237
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 25.4778
  Prefactor  = 12.5885
  Prefactor  = 4.21459
  norm       = 1.27109
  norm       = 0.0001
  Normalizat = 1.18312
  Prefactor  = 1.0838
 **********
 **   18 **HESSE 
 **********

 FCN=   7545.459     FROM HESSE     STATUS=OK           387 CALLS     3043 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    24.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9927        6.0885        .16403E-03   -1.5218    
   3  Prefactor     .10000E-03    14.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8611        .16656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    28.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.1897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    8.8693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.0698        .14808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.3184        2.8116        .10263E-03   -1.5247    
  10  Prefactor     .10000E-03    3.2533        .15240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.8422        .11384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.3289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.8703        .16683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.9237        3.5482        .15166E-03   -1.5312    
  15  Prefactor     .10000E-03    63.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.8606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    43.746        .47727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.478        27.595        .79328E-04   -1.4698    
  19  Prefactor     12.589        35.498        .11283E-03   -1.4998    
  20  Prefactor     4.2146        12.061        .98124E-03   -1.5297    
  21  norm          1.2711        .25952        .19287E-04   -1.5482    
  22  norm          .10000E-03    14.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1831        .24992        .29491E-03   -.87126    
  24  Prefactor     1.0838        .18269        .22175E-03   -.89986    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75659e-09
Minuit parameter uncertainties:
  1  0.000763274
  2  6.08917
  3  2.47309e-05
  4  2.00832e-05
  5  0.000815918
  6  6.03067e-05
  7  2.46895e-05
  8  7.32573e-08
  9  2.81166
  10  4.81863e-07
  11  1.10471e-06
  12  2.0174e-05
  13  1.64756e-05
  14  3.54834
  15  0.000286753
  16  5.12954e-05
  17  0.000496543
  18  27.6091
  19  35.5575
  20  12.0682
  21  0.259518
  22  6.32023e-05
  23  0.250173
  24  0.182795
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  7.326e-08  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.084e+00  1.828e-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.183e+00  2.502e-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: 5.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433838/likelihoodResults_495158401_495417601_4FGL_J1424.6+1447_daily_bin987.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) = 7545.4608393
delta logL = -0.00154747835859

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7545.45929187
delta logL = -4.7919456847e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1564       1.0000          .0000       10.000    
     3 'Normalizat'    1.1831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0838       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7545.459     FROM MIGRAD    STATUS=FAILED        83 CALLS      230 TOTAL
                     EDM=   .27E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    243.81        .14955E-02** at limit **
   2  Index         2.1408        5.2909        .20000        .39890E-04
   3  Normalizat    1.1831        .48821E-01    .29491E-03   -.23901E-04
   4  Prefactor     1.0838        .35519E-01    .22175E-03   -.12099E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7545.459     FROM SIMPLEX   STATUS=UNCHANGED    172 CALLS      402 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    243.81        .29472E-03** at limit **
   2  Index         2.1408        5.2909        .21044E-04    .39890E-04
   3  Normalizat    1.1831        .48821E-01    .40010E-06   -.23901E-04
   4  Prefactor     1.0838        .35519E-01    .87477E-07   -.12099E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7545.459     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      445 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    243.33        .29910E-02** at limit **
   2  Index         1.7738        5.6967        .40000       -.31832E-08
   3  Normalizat    1.1831        .45311E-01    .11796E-04    .48573E-04
   4  Prefactor     1.0838        .32964E-01    .88700E-05    .83310E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.77381
  Normalizat = 1.18312
  Prefactor  = 1.0838
 **********
 **   18 **HESSE 
 **********

 FCN=   7545.459     FROM HESSE     STATUS=OK            29 CALLS      474 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5891        .59819E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7738        5.8625        .50000       -.70133    
   3  Normalizat    1.1831        .24842        .23593E-05   -.87126    
   4  Prefactor     1.0838        .18089        .17740E-05   -.89986    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.11666e-12
Minuit parameter uncertainties:
  1  6.57192e-07
  2  3.85546
  3  0.248671
  4  0.180997
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433838': 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) = 7545.45928971
delta logL = 2.11293445318e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  6.572e-07  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.774e+00  3.855e+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.084e+00  1.810e-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.183e+00  2.487e-01  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/433838/cmap_HighResolution_495158401_495417601_4FGL_J1424.6+1447_daily_bin987.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.40e-08', time_completed='2021-09-09 14:30:28.631444', job_id='433838', GAL2='1.08', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1631223028.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.11e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='987' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:30:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 433838: <4FGL_J1424.6+1447_daily_bin987> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin987> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:21 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:23 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:16:23 2021
Terminated at Thu Sep  9 14:30:29 2021
Results reported at Thu Sep  9 14:30:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin987 216.169 14.784 495158401 495417601 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 :                                   659.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            848 sec.

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

