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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin924
RA = 216.169, Dec = 14.784
tmin = 478828801, tmax = 479088001
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='433745', job_status='RUN', time_executed='2021-09-09 14:18:07.343469', time_epoch_executed='1631222287.34' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='924'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433745

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433745/ft1_4FGL_J1424.6+1447_daily_bin924.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433745/ft2_4FGL_J1424.6+1447_daily_bin924.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433745/ft1_4FGL_J1424.6+1447_daily_bin924.fits outfile=/scratch/kocevski/433745/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin924.fits ra=216.169 dec=14.784 rad=12.0 tmin=478828801.0 tmax=479088001.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 3.46
user 3.22
sys 0.22

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433745/ft1_filtered_4FGL_J1424.6+1447_daily_bin924.fits evtable="EVENTS" scfile=/scratch/kocevski/433745/ft2_4FGL_J1424.6+1447_daily_bin924.fits sctable="SC_DATA" expcube=/scratch/kocevski/433745/ltcube_478828801_479088001_4FGL_J1424.6+1447_daily_bin924.fits outfile=/scratch/kocevski/433745/expmap_478828801_479088001_4FGL_J1424.6+1447_daily_bin924.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/433745/ltcube_478828801_479088001_4FGL_J1424.6+1447_daily_bin924.fits
.....................!
real 190.14
user 185.00
sys 4.67

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/433745/ft1_filtered_4FGL_J1424.6+1447_daily_bin924.fits scfile=/scratch/kocevski/433745/ft2_4FGL_J1424.6+1447_daily_bin924.fits outfile=/scratch/kocevski/433745/cmap_478828801_479088001_4FGL_J1424.6+1447_daily_bin924.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433745/ft1_filtered_4FGL_J1424.6+1447_daily_bin924.fits scfile=/scratch/kocevski/433745/ft2_4FGL_J1424.6+1447_daily_bin924.fits outfile=/scratch/kocevski/433745/cmap_HighResolution_478828801_479088001_4FGL_J1424.6+1447_daily_bin924.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9671       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12629E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6232       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.233       1.0000         .10000E-03   10000.    
     5 'Prefactor '    48.896       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10168E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.3080       1.0000         .10000E-03   10000.    
     9 'norm      '    9.5312       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    33.814       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.6879       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.5308       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13597E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    46.180       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11556E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .13232E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.5483       1.0000         .10000E-03   10000.    
    22 'norm      '    .31469       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .65613       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1630       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=   6835.766     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2748 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9628        33.567        .44098E-06    .15232E-04
   2  Prefactor     .10002E-03    3.0357        .58048E-06** at limit **
   3  Prefactor     5.6269        9.6704       -.11384E-05    .28736E-04
   4  Prefactor     10.231        11.944       -.16357E-05    .57150E-05
   5  Prefactor     48.923        32.874       -.43912E-05   -.47930E-04
   6  Prefactor     .10000E-03    16.119        .19412E-05** at limit **
   7  norm          .10000E-03    8.6055        .18649E-05** at limit **
   8  Prefactor     9.3058        8.0728       -.70338E-07    .31065E-04
   9  norm          9.5311        3.2852       -.71487E-07    .69691E-05
  10  Prefactor     .10000E-03    2.8018       -.90719E-07** at limit **
  11  norm          33.814        5.4950       -.10949E-06    .76113E-04
  12  Prefactor     .10000E-03    14.589       -.10423E-05** at limit **
  13  norm          .10000E-03    10.354       -.48905E-07** at limit **
  14  norm          9.6906        5.4489       -.46291E-06   -.50368E-04
  15  Prefactor     6.5260        16.833       -.56138E-07    .28682E-04
  16  Prefactor     .10000E-03    15.433        .77799E-06** at limit **
  17  Prefactor     .10001E-03    72.674        .14082E-04** at limit **
  18  Prefactor     46.204        30.677        .89702E-06    .10627E-03
  19  Prefactor     .10000E-03    94.632        .12466E-04** at limit **
  20  Prefactor     .10000E-03    18.108        .44745E-06** at limit **
  21  norm          1.5483        .29260        .27353E-07    .15550E-02
  22  norm          .31181        39.101       -.73279E-05    .15236E-03
  23  Normalizat    .65626        .22731        .50254E-05    .21390E-03
  24  Prefactor     1.1629        .16540        .50010E-07    .56658E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96283
  Prefactor  = 0.000100023
  Prefactor  = 5.62689
  Prefactor  = 10.2309
  Prefactor  = 48.9229
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.30582
  norm       = 9.53108
  Prefactor  = 0.0001
  norm       = 33.8144
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.6906
  Prefactor  = 6.52595
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 46.2036
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.54833
  norm       = 0.311807
  Normalizat = 0.656263
  Prefactor  = 1.16292
 **********
 **   18 **HESSE 
 **********

 FCN=   6835.766     FROM HESSE     STATUS=OK           407 CALLS     3155 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9628        33.582        .13385E-03   -1.5109    
   2  Prefactor     .10002E-03    8.2510        .24708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.6269        9.6603        .16941E-03   -1.5234    
   4  Prefactor     10.231        11.957        .12526E-03   -1.5068    
   5  Prefactor     48.923        32.919        .57347E-04   -1.4308    
   6  Prefactor     .10000E-03    16.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    8.6007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.3058        8.0648        .13136E-03   -1.5098    
   9  norm          9.5311        3.2856        .85435E-04   -1.5090    
  10  Prefactor     .10000E-03    2.8206        .13506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          33.814        5.4932        .68912E-04   -1.4544    
  12  Prefactor     .10000E-03    14.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.6906        5.4534        .12875E-03   -1.5085    
  15  Prefactor     6.5260        16.793        .15704E-03   -1.5197    
  16  Prefactor     .10000E-03    15.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    77.563        .52300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     46.204        30.667        .59001E-04   -1.4347    
  19  Prefactor     .10000E-03    94.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.5483        .29257        .18588E-04   -1.5459    
  22  norm          .31181        29.358        .16429       -1.5596    
  23  Normalizat    .65626        .25802        .36269E-03   -1.0565    
  24  Prefactor     1.1629        .19178        .21146E-03   -.87480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.99278e-09
Minuit parameter uncertainties:
  1  33.6531
  2  0.000867366
  3  9.66293
  4  11.9595
  5  32.9317
  6  3.31168e-05
  7  1.52728e-05
  8  8.06579
  9  3.28566
  10  6.79105e-06
  11  5.49329
  12  5.2134e-05
  13  3.4836e-05
  14  5.45369
  15  16.8048
  16  5.53147e-05
  17  0.00165307
  18  30.6775
  19  1.38655e-05
  20  0.000151547
  21  0.292568
  22  6.05323
  23  0.258493
  24  0.191899
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  9.306e+00  8.066e+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.163e+00  1.919e-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:  6.563e-01  2.585e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.36
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 4.03e-08 +/- 3.49e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 1.65e-05

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

Saving results to:
/scratch/kocevski/433745/likelihoodResults_478828801_479088001_4FGL_J1424.6+1447_daily_bin924.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) = 6835.75969214
delta logL = 0.00595519285162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6835.7525935
delta logL = 0.0130538333078

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0087       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2832       1.0000          .0000       10.000    
     3 'Normalizat'    .65087       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1659       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=   6835.753     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      236 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0099        12.483        .14168E-03   -.20903E-03
   2  Index         2.2831        .81634        .68328E-02   -.63639E-04
   3  Normalizat    .65085        .25242        .36407E-03    .23744E-03
   4  Prefactor     1.1659        .19150        .21122E-03    .54932E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.00987
  Index      = 2.28309
  Normalizat = 0.650847
  Prefactor  = 1.16592
 **********
 **   18 **HESSE 
 **********

 FCN=   6835.753     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0099        10.824        .56672E-05   -1.5142    
   2  Index         2.2831        .70848        .27331E-03   -.57446    
   3  Normalizat    .65085        .25184        .14563E-04   -1.0587    
   4  Prefactor     1.1659        .19117        .42244E-04   -.87387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50607e-10
Minuit parameter uncertainties:
  1  10.8263
  2  0.711892
  3  0.252284
  4  0.191287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433745': 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) = 6835.75259348
delta logL = 0.0130538549474

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  8.010e+00  1.083e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.283e+00  7.119e-01  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  1.166e+00  1.913e-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:  6.508e-01  2.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.38
Ra Dec: 216.169 14.784
Photon Index (Free Index): 2.28 +/- 0.71
Photon Flux (Free Index): 4.36e-08 +/- 4.13e-08
Energy Flux (Free Index): 1.69e-05 +/- 1.88e-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/433745/cmap_HighResolution_478828801_479088001_4FGL_J1424.6+1447_daily_bin924.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.98e-03', comment='SUCCESS', photon_flux='4.03e-08', energy_flux2='1.69e-05', photon_flux_error='3.49e-08', dlogl='1.31e-02', energy_flux='1.91e-05', photon_flux2='4.36e-08', job_status='DONE', time_completed='2021-09-09 14:29:05.399287', photon_index_error2='0.71', photon_index2='2.28', ts='2.36', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='1.88e-05', EG='0.66', time_epoch_completed='1631222945.4', return_code='0', job_id='433745', GAL2='1.17', EG2='0.65', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='4.13e-08', ts2='2.38', photon_index='2.17' WHERE bin_id='924' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:29:05 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin924 216.169 14.784 478828801 479088001 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 :                                   642.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            773 sec.

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

