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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin307
RA = 216.169, Dec = 14.784
tmin = 318902401, tmax = 319161601
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='429898', job_status='RUN', time_executed='2021-09-09 14:08:38.683936', time_epoch_executed='1631221718.68' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='307'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429898

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429898/ft1_4FGL_J1424.6+1447_daily_bin307.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429898/ft2_4FGL_J1424.6+1447_daily_bin307.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429898/ft1_4FGL_J1424.6+1447_daily_bin307.fits outfile=/scratch/kocevski/429898/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin307.fits ra=216.169 dec=14.784 rad=12.0 tmin=318902401.0 tmax=319161601.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.39
user 3.17
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429898/ft1_filtered_4FGL_J1424.6+1447_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/429898/ft2_4FGL_J1424.6+1447_daily_bin307.fits sctable="SC_DATA" expcube=/scratch/kocevski/429898/ltcube_318902401_319161601_4FGL_J1424.6+1447_daily_bin307.fits outfile=/scratch/kocevski/429898/expmap_318902401_319161601_4FGL_J1424.6+1447_daily_bin307.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/429898/ltcube_318902401_319161601_4FGL_J1424.6+1447_daily_bin307.fits
.....................!
real 190.39
user 184.96
sys 5.02

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/429898/ft1_filtered_4FGL_J1424.6+1447_daily_bin307.fits scfile=/scratch/kocevski/429898/ft2_4FGL_J1424.6+1447_daily_bin307.fits outfile=/scratch/kocevski/429898/cmap_318902401_319161601_4FGL_J1424.6+1447_daily_bin307.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.57
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429898/ft1_filtered_4FGL_J1424.6+1447_daily_bin307.fits scfile=/scratch/kocevski/429898/ft2_4FGL_J1424.6+1447_daily_bin307.fits outfile=/scratch/kocevski/429898/cmap_HighResolution_318902401_319161601_4FGL_J1424.6+1447_daily_bin307.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/429898/ft1_filtered_4FGL_J1424.6+1447_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/429898/ft2_4FGL_J1424.6+1447_daily_bin307.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/429898/Model_4FGL_J1424.6+1447_daily_bin307.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/429898/ft1_filtered_4FGL_J1424.6+1447_daily_bin307.fits.....................!
real 50.88
user 49.50
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.900       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.6893       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4123       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    24.788       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5235       1.0000         .10000E-03   10000.    
     9 'norm      '    18.921       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.1138       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.3422       1.0000         .10000E-03   10000.    
    13 'norm      '    16.220       1.0000         .10000E-03   10000.    
    14 'norm      '    4.8263       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.6399       1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.020       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .61162       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0335       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0736       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6655.081     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     2293 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.832        11.228        .12079E-06   -.92990E-02
   2  Prefactor     8.6900        5.3557       -.28410E-05   -.16770E-03
   3  Prefactor     .10000E-03    4.7999        .18661E-05** at limit **
   4  Prefactor     .10000E-03    11.837       -.24546E-05** at limit **
   5  Prefactor     2.4105        1.1767       -.18114E-05   -.69570E-03
   6  Prefactor     .10000E-03    8.3583       -.22293E-06** at limit **
   7  norm          24.794        2.2965       -.91010E-06    .58075E-03
   8  Prefactor     2.5237        6.6313       -.17222E-04   -.74119E-03
   9  norm          18.921        4.3744        .11925E-05   -.85997E-04
  10  Prefactor     .10000E-03    3.4608        .12116E-06** at limit **
  11  norm          2.1137        1.9512       -.23511E-06   -.10647E-04
  12  Prefactor     2.8262        403.86       -.11532E-03    .34095E-03
  13  norm          16.469        41.292        .38192E-05   -.80090E-04
  14  norm          4.8259        3.8308       -.89226E-06    .16907E-04
  15  Prefactor     .10000E-03    13.200        .94792E-05** at limit **
  16  Prefactor     .10006E-03    8.7736       -.11022E-04** at limit **
  17  Prefactor     9.6426        5.5031        .42048E-05    .70093E-02
  18  Prefactor     39.042        24.577       -.86702E-05    .76522E-03
  19  Prefactor     .10000E-03    21.381        .20192E-04** at limit **
  20  Prefactor     .10000E-03    3.6060       -.38919E-06** at limit **
  21  norm          .61160        .21787       -.79591E-08   -.29076E-04
  22  norm          .10004E-03    8.7788       -.11493E-04** at limit **
  23  Normalizat    1.0335        .24243        .22293E-05    .12231E-04
  24  Prefactor     1.0735        .18182        .35049E-05    .33954E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.8316
  Prefactor  = 8.68996
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.41047
  Prefactor  = 0.0001
  norm       = 24.7936
  Prefactor  = 2.52372
  norm       = 18.9214
  Prefactor  = 0.0001
  norm       = 2.11371
  Prefactor  = 2.82624
  norm       = 16.4688
  norm       = 4.82595
  Prefactor  = 0.0001
  Prefactor  = 0.000100058
  Prefactor  = 9.64257
  Prefactor  = 39.0424
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.611597
  norm       = 0.000100043
  Normalizat = 1.03354
  Prefactor  = 1.07355
 **********
 **   18 **HESSE 
 **********

 FCN=   6655.081     FROM HESSE     STATUS=OK           447 CALLS     2740 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.832        48.414        .14053E-02   -1.4281    
   2  Prefactor     8.6900        5.3635        .33996E-02   -1.5118    
   3  Prefactor     .10000E-03    4.7966        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.707        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.4105        13.368        .65893E-02   -1.5397    
   6  Prefactor     .10000E-03    8.3531        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          24.794        27.463        .20115E-02   -1.4712    
   8  Prefactor     2.5237        6.6938        .64289E-02   -1.5390    
   9  norm          18.921        4.3726        .23019E-02   -1.4838    
  10  Prefactor     .10000E-03    3.4269        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.1137        1.9447        .70932E-02   -1.5417    
  12  Prefactor     2.8262        769.26        .55347E-02   -1.5372    
  13  norm          16.469        56.925        .24862E-02   -1.4896    
  14  norm          4.8259        3.8351        .45780E-02   -1.5269    
  15  Prefactor     .10000E-03    13.176        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10006E-03    17.080        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.6426        13.967        .32267E-02   -1.5087    
  18  Prefactor     39.042        25.954        .16041E-02   -1.4457    
  19  Prefactor     .10000E-03    21.399        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.5952        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .61160        .21871        .49501E-02   -1.5552    
  22  norm          .10004E-03    17.277        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0335        .20525        .67254E-01   -.91915    
  24  Prefactor     1.0735        .15362        .38691E-01   -.90317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.59209e-07
Minuit parameter uncertainties:
  1  48.452
  2  5.36377
  3  5.83284e-06
  4  1.44091e-05
  5  11.3566
  6  1.61128e-07
  7  27.4775
  8  6.69583
  9  4.37266
  10  5.00767e-07
  11  1.94477
  12  94.5066
  13  57.1134
  14  3.83533
  15  8.57105e-05
  16  0.00199072
  17  13.972
  18  25.9616
  19  0.000297403
  20  2.60136e-07
  21  0.218709
  22  0.00171506
  23  0.205407
  24  0.153685
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.524e+00  6.696e+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.074e+00  1.537e-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.034e+00  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/429898/likelihoodResults_318902401_319161601_4FGL_J1424.6+1447_daily_bin307.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) = 6655.03129147
delta logL = 0.0492285279815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6655.02460168
delta logL = 0.0559183200694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8883       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5610       1.0000          .0000       10.000    
     3 'Normalizat'    1.0265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0753       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=   6655.025     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      216 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8873        133.42        .75710E-02    .86916E-03
   2  Index         2.5611        6.2801        .16791        .96740E-04
   3  Normalizat    1.0265        .47970E-01    .67459E-01    .15467E-04
   4  Prefactor     1.0752        .34843E-01    .38613E-01    .47489E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88728
  Index      = 2.56113
  Normalizat = 1.02654
  Prefactor  = 1.07522
 **********
 **   18 **HESSE 
 **********

 FCN=   6655.025     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8873        6.4504        .21866E-03   -1.5433    
   2  Index         2.5611        1.4236        .10198E-01   -.50954    
   3  Normalizat    1.0265        .24232        .29843E-03   -.92147    
   4  Prefactor     1.0752        .17994        .21689E-03   -.90263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65443e-08
Minuit parameter uncertainties:
  1  6.4528
  2  1.45011
  3  0.242578
  4  0.180038
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429898': 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) = 6655.02460162
delta logL = 0.0559183807263

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.887e+00  6.453e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.561e+00  1.450e+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.075e+00  1.800e-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.027e+00  2.426e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
Ra Dec: 216.169 14.784

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/429898/cmap_HighResolution_318902401_319161601_4FGL_J1424.6+1447_daily_bin307.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.42e-03', job_status='DONE', photon_flux_upper_limit='8.44e-08', time_completed='2021-09-09 14:18:45.156424', job_id='429898', GAL2='1.08', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1631222325.16', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='5.59e-02', ts2='0.28', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='307' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:18:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 429898: <4FGL_J1424.6+1447_daily_bin307> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin307> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:23 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06: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:06:24 2021
Terminated at Thu Sep  9 14:18:45 2021
Results reported at Thu Sep  9 14:18:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin307 216.169 14.784 318902401 319161601 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 :                                   602.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             247.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            742 sec.

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

