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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin18
RA = 216.169, Dec = 14.784
tmin = 243993601, tmax = 244252801
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='428296', job_status='RUN', time_executed='2021-09-09 14:01:42.130971', time_epoch_executed='1631221302.13' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='18'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428296

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428296/ft1_4FGL_J1424.6+1447_daily_bin18.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428296/ft2_4FGL_J1424.6+1447_daily_bin18.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428296/ft1_4FGL_J1424.6+1447_daily_bin18.fits outfile=/scratch/kocevski/428296/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin18.fits ra=216.169 dec=14.784 rad=12.0 tmin=243993601.0 tmax=244252801.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.40
user 1.21
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428296/ft1_filtered_4FGL_J1424.6+1447_daily_bin18.fits" evtable="EVENTS" scfile=/scratch/kocevski/428296/ft2_4FGL_J1424.6+1447_daily_bin18.fits sctable="SC_DATA" outfile=/scratch/kocevski/428296/ltcube_243993601_244252801_4FGL_J1424.6+1447_daily_bin18.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/428296/ft2_4FGL_J1424.6+1447_daily_bin18.fits
.....................!
real 12.39
user 12.04
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428296/ft1_filtered_4FGL_J1424.6+1447_daily_bin18.fits evtable="EVENTS" scfile=/scratch/kocevski/428296/ft2_4FGL_J1424.6+1447_daily_bin18.fits sctable="SC_DATA" expcube=/scratch/kocevski/428296/ltcube_243993601_244252801_4FGL_J1424.6+1447_daily_bin18.fits outfile=/scratch/kocevski/428296/expmap_243993601_244252801_4FGL_J1424.6+1447_daily_bin18.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/428296/ltcube_243993601_244252801_4FGL_J1424.6+1447_daily_bin18.fits
.....................!
real 189.69
user 184.89
sys 4.43

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/428296/ft1_filtered_4FGL_J1424.6+1447_daily_bin18.fits scfile=/scratch/kocevski/428296/ft2_4FGL_J1424.6+1447_daily_bin18.fits outfile=/scratch/kocevski/428296/cmap_243993601_244252801_4FGL_J1424.6+1447_daily_bin18.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/428296/ft1_filtered_4FGL_J1424.6+1447_daily_bin18.fits scfile=/scratch/kocevski/428296/ft2_4FGL_J1424.6+1447_daily_bin18.fits outfile=/scratch/kocevski/428296/cmap_HighResolution_243993601_244252801_4FGL_J1424.6+1447_daily_bin18.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.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6568       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8203       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10496E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.254       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2628       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8540       1.0000         .10000E-03   10000.    
     9 'norm      '    7.3013       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .96009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    46.199       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.183       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1605       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10312E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10386E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.270       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.9242       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0363       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95893       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=   6052.408     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2699 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6179        106.43       -.17531E-04   -.16114E-03
   2  Prefactor     .10000E-03    2.5717       -.12034E-06** at limit **
   3  Prefactor     .10000E-03    4.7558       -.99045E-07** at limit **
   4  Prefactor     3.8176        12.307        .98190E-05   -.41680E-03
   5  Prefactor     .10000E-03    52.755        .65468E-06** at limit **
   6  Prefactor     23.256        24.831        .35921E-06    .17454E-04
   7  norm          2.2631        25.969        .98719E-06   -.21348E-04
   8  Prefactor     1.8488        7.1387        .21697E-05    .30382E-04
   9  norm          7.3013        2.9988        .39799E-08   -.45047E-04
  10  Prefactor     .10000E-03    3.6197        .11783E-06** at limit **
  11  norm          .10002E-03    1.4008        .34835E-06** at limit **
  12  Prefactor     .10000E-03    16.335       -.72972E-06** at limit **
  13  norm          46.200        21.367        .78686E-07    .20984E-04
  14  norm          .10000E-03    1.4448        .43399E-07** at limit **
  15  Prefactor     17.161        23.133       -.20553E-05   -.37095E-03
  16  Prefactor     3.1604        32.153        .11024E-05   -.15921E-04
  17  Prefactor     .10000E-03    17.285        .15676E-05** at limit **
  18  Prefactor     .10000E-03    13.660        .73003E-06** at limit **
  19  Prefactor     17.274        27.808        .11150E-05    .54854E-04
  20  Prefactor     .10000E-03    3.5641       -.24741E-08** at limit **
  21  norm          1.9242        .31036        .67803E-08   -.25516E-03
  22  norm          .10000E-03    15.077       -.15240E-05** at limit **
  23  Normalizat    1.0365        .20895       -.47818E-06   -.16292E-03
  24  Prefactor     .95872        .14981       -.85689E-06   -.15474E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.61786
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.81757
  Prefactor  = 0.0001
  Prefactor  = 23.2555
  norm       = 2.2631
  Prefactor  = 1.84877
  norm       = 7.3013
  Prefactor  = 0.0001
  norm       = 0.000100024
  Prefactor  = 0.0001
  norm       = 46.2
  norm       = 0.0001
  Prefactor  = 17.1613
  Prefactor  = 3.16041
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 17.2736
  Prefactor  = 0.0001
  norm       = 1.92421
  norm       = 0.000100001
  Normalizat = 1.03654
  Prefactor  = 0.958721
 **********
 **   18 **HESSE 
 **********

 FCN=   6052.408     FROM HESSE     STATUS=OK           395 CALLS     3094 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6179        118.94        .15553E-03   -1.5193    
   2  Prefactor     .10000E-03    2.6045        .12178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.7614        .16569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8176        12.864        .10325E-02   -1.5317    
   5  Prefactor     .10000E-03    53.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.256        24.818        .83066E-04   -1.4743    
   7  norm          2.2631        26.026        .27307E-03   -1.5407    
   8  Prefactor     1.8488        7.1150        .30614E-03   -1.5436    
   9  norm          7.3013        2.9996        .83968E-04   -1.5167    
  10  Prefactor     .10000E-03    3.6481        .14438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10002E-03    22.458        .17632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          46.200        21.349        .58990E-04   -1.4348    
  14  norm          .10000E-03    1.4485        .91322E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.161        23.541        .96622E-04   -1.4879    
  16  Prefactor     3.1604        32.135        .22799E-03   -1.5352    
  17  Prefactor     .10000E-03    17.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.274        27.815        .96377E-04   -1.4876    
  20  Prefactor     .10000E-03    3.5794        .14344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.9242        .31054        .16759E-04   -1.5431    
  22  norm          .10000E-03    15.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0365        .25562        .28198E-03   -.91816    
  24  Prefactor     .95872        .18237        .21620E-03   -.94118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60545e-09
Minuit parameter uncertainties:
  1  56.2423
  2  1.36825e-05
  3  1.29472e-06
  4  12.8738
  5  8.70705e-05
  6  24.8289
  7  15.3574
  8  7.11826
  9  2.9997
  10  5.87733e-06
  11  0.00147916
  12  0.000131802
  13  21.3523
  14  6.43913e-07
  15  23.5536
  16  20.169
  17  0.00027182
  18  0.000154152
  19  27.8363
  20  2.08153e-06
  21  0.310539
  22  0.000247948
  23  0.25592
  24  0.18249
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.849e+00  7.118e+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:  9.587e-01  1.825e-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.037e+00  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/428296/likelihoodResults_243993601_244252801_4FGL_J1424.6+1447_daily_bin18.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) = 6052.3950855
delta logL = 0.0131861732198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6052.3893157
delta logL = 0.0189559699547

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0258       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7034       1.0000          .0000       10.000    
     3 'Normalizat'    1.0281       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96236       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=   6052.389     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      217 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0059        61.810        .12631E-01    .86648E-03
   2  Index         2.7150        2.6217        .22880       -.36595E-05
   3  Normalizat    1.0278        .27396E-01    .63995E-01   -.52456E-04
   4  Prefactor     .96265        .20360E-01    .45795E-01   -.58769E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00595
  Index      = 2.715
  Normalizat = 1.02776
  Prefactor  = 0.962646
 **********
 **   18 **HESSE 
 **********

 FCN=   6052.389     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      250 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0059        446.23        .22676E-03   -1.5507    
   2  Index         2.7150        8.5363        .90813E-02   -.47462    
   3  Normalizat    1.0278        .24637        .28305E-03   -.92106    
   4  Prefactor     .96265        .17601        .21581E-03   -.93985    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.20177e-09
Minuit parameter uncertainties:
  1  42.6953
  2  20.1478
  3  0.246648
  4  0.176116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428296': 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) = 6052.38930924
delta logL = 0.0189624262175

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.006e+00  4.270e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.715e+00  2.015e+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:  9.626e-01  1.761e-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.028e+00  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/428296/cmap_HighResolution_243993601_244252801_4FGL_J1424.6+1447_daily_bin18.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-03', job_status='DONE', photon_flux_upper_limit='8.98e-08', time_completed='2021-09-09 14:11:25.977186', job_id='428296', GAL2='0.96', fit_tolerance='1e-08', EG2='1.03', EG='1.04', time_epoch_completed='1631221885.98', return_code2='102', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.90e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='18' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:11:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 428296: <4FGL_J1424.6+1447_daily_bin18> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin18 216.169 14.784 243993601 244252801 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 :                                   580.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             368.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   595 sec.
    Turnaround time :                            596 sec.

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

