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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin674
RA = 216.169, Dec = 14.784
tmin = 414028801, tmax = 414288001
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='431700', job_status='RUN', time_executed='2021-09-09 14:15:13.980455', time_epoch_executed='1631222113.98' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431700

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431700/ft1_4FGL_J1424.6+1447_daily_bin674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431700/ft2_4FGL_J1424.6+1447_daily_bin674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431700/ft1_4FGL_J1424.6+1447_daily_bin674.fits outfile=/scratch/kocevski/431700/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin674.fits ra=216.169 dec=14.784 rad=12.0 tmin=414028801.0 tmax=414288001.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 5.29
user 4.95
sys 0.26

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431700/ft1_filtered_4FGL_J1424.6+1447_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/431700/ft2_4FGL_J1424.6+1447_daily_bin674.fits sctable="SC_DATA" expcube=/scratch/kocevski/431700/ltcube_414028801_414288001_4FGL_J1424.6+1447_daily_bin674.fits outfile=/scratch/kocevski/431700/expmap_414028801_414288001_4FGL_J1424.6+1447_daily_bin674.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/431700/ltcube_414028801_414288001_4FGL_J1424.6+1447_daily_bin674.fits
.....................!
real 193.06
user 187.71
sys 4.90

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/431700/ft1_filtered_4FGL_J1424.6+1447_daily_bin674.fits scfile=/scratch/kocevski/431700/ft2_4FGL_J1424.6+1447_daily_bin674.fits outfile=/scratch/kocevski/431700/cmap_414028801_414288001_4FGL_J1424.6+1447_daily_bin674.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431700/ft1_filtered_4FGL_J1424.6+1447_daily_bin674.fits scfile=/scratch/kocevski/431700/ft2_4FGL_J1424.6+1447_daily_bin674.fits outfile=/scratch/kocevski/431700/cmap_HighResolution_414028801_414288001_4FGL_J1424.6+1447_daily_bin674.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    57.489       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12891E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.0293       1.0000         .10000E-03   10000.    
     9 'norm      '    6.3389       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.277       1.0000         .10000E-03   10000.    
    11 'norm      '    3.7874       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.5470       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.017       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.943       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.2468       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.2553       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .21958       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3805       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97419       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=   7457.657     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2764 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     57.502        52.243        .94143E-05   -.41096E-05
   2  Prefactor     .10000E-03    1.3004        .18495E-07** at limit **
   3  Prefactor     .10000E-03    11.936       -.11410E-05** at limit **
   4  Prefactor     .10000E-03    12.505        .59393E-05** at limit **
   5  Prefactor     .10000E-03    73.935        .80642E-06** at limit **
   6  Prefactor     .10000E-03    19.763        .28280E-06** at limit **
   7  norm          .10000E-03    7.1204        .13606E-06** at limit **
   8  Prefactor     8.0307        9.0390        .10625E-05   -.10841E-03
   9  norm          6.3389        3.0705        .25640E-07   -.44709E-04
  10  Prefactor     19.277        10.776       -.96094E-06   -.96703E-04
  11  norm          3.7874        3.1765        .31234E-07   -.38235E-03
  12  Prefactor     .10000E-03    7.4522       -.16947E-06** at limit **
  13  norm          .10000E-03    4.8570        .69022E-07** at limit **
  14  norm          3.5470        3.5869       -.36852E-07   -.17305E-03
  15  Prefactor     11.016        20.249        .40324E-06   -.27401E-04
  16  Prefactor     13.943        24.742        .56573E-06   -.20372E-04
  17  Prefactor     3.2470        18.711        .16294E-05   -.11331E-03
  18  Prefactor     .10000E-03    9.8497        .70574E-06** at limit **
  19  Prefactor     6.2657        55.895        .95864E-05   -.15209E-04
  20  Prefactor     .10000E-03    11.673       -.37279E-05** at limit **
  21  norm          .21956        .16031       -.21144E-07   -.25077E-02
  22  norm          .10000E-03    14.111       -.18580E-05** at limit **
  23  Normalizat    1.3807        .21688       -.99158E-07   -.93662E-04
  24  Prefactor     .97409        .15113       -.52995E-06   -.51771E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 57.5022
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.03069
  norm       = 6.33887
  Prefactor  = 19.2769
  norm       = 3.78741
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.54701
  Prefactor  = 11.0164
  Prefactor  = 13.9427
  Prefactor  = 3.24696
  Prefactor  = 0.0001
  Prefactor  = 6.26566
  Prefactor  = 0.0001
  norm       = 0.219555
  norm       = 0.0001
  Normalizat = 1.38073
  Prefactor  = 0.974088
 **********
 **   18 **HESSE 
 **********

 FCN=   7457.657     FROM HESSE     STATUS=OK           405 CALLS     3169 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     57.502        52.219        .26455E-03   -1.4190    
   2  Prefactor     .10000E-03    1.3020        .96168E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    74.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    164.04        .72861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.1241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.0307        8.9881        .14150E-03   -1.5141    
   9  norm          6.3389        3.0696        .10220E-03   -1.5204    
  10  Prefactor     19.277        10.787        .91223E-04   -1.4830    
  11  norm          3.7874        3.1651        .13386E-03   -1.5319    
  12  Prefactor     .10000E-03    7.4554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.8649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.5470        3.5808        .16020E-03   -1.5331    
  15  Prefactor     11.016        20.219        .12070E-03   -1.5044    
  16  Prefactor     13.943        24.727        .10727E-03   -1.4961    
  17  Prefactor     3.2470        18.283        .22478E-03   -1.5348    
  18  Prefactor     .10000E-03    9.8505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.2657        55.387        .16050E-03   -1.5207    
  20  Prefactor     .10000E-03    11.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .21956        .15435        .27812E-03   -1.5614    
  22  norm          .10000E-03    14.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3807        .26545        .28323E-03   -.81188    
  24  Prefactor     .97409        .18545        .23299E-03   -.93598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12357e-10
Minuit parameter uncertainties:
  1  52.261
  2  1.90666e-06
  3  8.78479e-06
  4  1.48612e-05
  5  1.35663e-05
  6  0.000470988
  7  9.61261e-07
  8  8.98959
  9  3.0697
  10  10.7881
  11  3.16527
  12  7.59974e-07
  13  8.03774e-07
  14  3.58102
  15  20.2316
  16  24.7452
  17  15.4167
  18  2.62407e-05
  19  37.3036
  20  2.41229e-05
  21  0.154354
  22  2.24531e-06
  23  0.265715
  24  0.185573
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  8.031e+00  8.990e+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.741e-01  1.856e-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.381e+00  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.26
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 3.48e-08 +/- 3.89e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.84e-05

TS (Fixed Index): 1.26
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431700/likelihoodResults_414028801_414288001_4FGL_J1424.6+1447_daily_bin674.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) = 7457.44574913
delta logL = 0.211236345322

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7457.42045174
delta logL = 0.23653373766

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8700       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6688       1.0000          .0000       10.000    
     3 'Normalizat'    1.3503       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98637       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=   7457.420     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      251 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8664        110.38        .45569E-02    .53263E-03
   2  Index         2.6695        3.4000        .10858        .19851E-03
   3  Normalizat    1.3505        .86781E-01    .64595E-01    .32316E-04
   4  Prefactor     .98620        .50833E-01    .46096E-01    .87951E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.86645
  Index      = 2.66952
  Normalizat = 1.35048
  Prefactor  = 0.986196
 **********
 **   18 **HESSE 
 **********

 FCN=   7457.420     FROM HESSE     STATUS=OK            33 CALLS      284 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8664        9.2050        .15998E-03   -1.5267    
   2  Index         2.6695        .95087        .66266E-02   -.48487    
   3  Normalizat    1.3505        .26440        .28573E-03   -.82072    
   4  Prefactor     .98620        .18418        .23164E-03   -.93191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09117e-11
Minuit parameter uncertainties:
  1  9.20771
  2  0.958354
  3  0.264664
  4  0.184294
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431700': 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) = 7457.4204505
delta logL = 0.236534970802

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  4.866e+00  9.208e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.670e+00  9.584e-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.862e-01  1.843e-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.350e+00  2.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.75
Ra Dec: 216.169 14.784
Photon Index (Free Index): 2.67 +/- 0.96
Photon Flux (Free Index): 6.17e-08 +/- 6.30e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.42e-05

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/431700/cmap_HighResolution_414028801_414288001_4FGL_J1424.6+1447_daily_bin674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.01e-03', comment='SUCCESS', photon_flux='3.48e-08', energy_flux2='1.52e-05', photon_flux_error='3.89e-08', dlogl='2.37e-01', energy_flux='1.65e-05', photon_flux2='6.17e-08', job_status='DONE', time_completed='2021-09-09 14:26:39.333541', photon_index_error2='0.96', photon_index2='2.67', ts='1.26', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='1.42e-05', EG='1.38', time_epoch_completed='1631222799.33', return_code='0', job_id='431700', GAL2='0.99', EG2='1.35', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='6.30e-08', ts2='1.75', photon_index='2.17' WHERE bin_id='674' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:26:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 431700: <4FGL_J1424.6+1447_daily_bin674> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin674 216.169 14.784 414028801 414288001 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 :                                   683.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            918 sec.

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

