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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin1316
RA = 216.169, Dec = 14.784
tmin = 580435201, tmax = 580694401
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='435817', job_status='RUN', time_executed='2021-09-09 14:21:45.334236', time_epoch_executed='1631222505.33' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='1316'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435817

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435817/ft1_4FGL_J1424.6+1447_daily_bin1316.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435817/ft2_4FGL_J1424.6+1447_daily_bin1316.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435817/ft1_4FGL_J1424.6+1447_daily_bin1316.fits outfile=/scratch/kocevski/435817/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin1316.fits ra=216.169 dec=14.784 rad=12.0 tmin=580435201.0 tmax=580694401.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.12
user 2.89
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435817/ft1_filtered_4FGL_J1424.6+1447_daily_bin1316.fits" evtable="EVENTS" scfile=/scratch/kocevski/435817/ft2_4FGL_J1424.6+1447_daily_bin1316.fits sctable="SC_DATA" outfile=/scratch/kocevski/435817/ltcube_580435201_580694401_4FGL_J1424.6+1447_daily_bin1316.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/435817/ft2_4FGL_J1424.6+1447_daily_bin1316.fits
.....................!
real 17.10
user 16.69
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435817/ft1_filtered_4FGL_J1424.6+1447_daily_bin1316.fits evtable="EVENTS" scfile=/scratch/kocevski/435817/ft2_4FGL_J1424.6+1447_daily_bin1316.fits sctable="SC_DATA" expcube=/scratch/kocevski/435817/ltcube_580435201_580694401_4FGL_J1424.6+1447_daily_bin1316.fits outfile=/scratch/kocevski/435817/expmap_580435201_580694401_4FGL_J1424.6+1447_daily_bin1316.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/435817/ltcube_580435201_580694401_4FGL_J1424.6+1447_daily_bin1316.fits
.....................!
real 191.48
user 186.30
sys 4.58

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/435817/ft1_filtered_4FGL_J1424.6+1447_daily_bin1316.fits scfile=/scratch/kocevski/435817/ft2_4FGL_J1424.6+1447_daily_bin1316.fits outfile=/scratch/kocevski/435817/cmap_580435201_580694401_4FGL_J1424.6+1447_daily_bin1316.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.478       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4769       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17659E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.124       1.0000         .10000E-03   10000.    
     5 'Prefactor '    192.65       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.1871       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7990       1.0000         .10000E-03   10000.    
    11 'norm      '    2.8000       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.3127       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.288       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.817       1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.686       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.5394       1.0000         .10000E-03   10000.    
    21 'norm      '    .33235       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1688       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98216       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=   10354.19     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2716 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.478        24.091       -.12407E-05   -.20360E-04
   2  Prefactor     6.4767        4.6511        .34457E-06   -.49483E-03
   3  Prefactor     .10024E-03    6.3969        .17325E-05** at limit **
   4  Prefactor     14.122        9.3664       -.60588E-06   -.12436E-03
   5  Prefactor     192.65        37.800       -.19579E-05   -.87103E-05
   6  Prefactor     .10000E-03    9.3753        .37447E-07** at limit **
   7  norm          .10000E-03    34.109       -.11010E-04** at limit **
   8  Prefactor     .10000E-03    3.8962       -.69572E-06** at limit **
   9  norm          6.1871        2.2067       -.94499E-07    .29148E-04
  10  Prefactor     2.7989        5.0443       -.10452E-05   -.70285E-03
  11  norm          2.7998        2.2935       -.21722E-06   -.75321E-03
  12  Prefactor     .10000E-03    8.1077       -.19019E-05** at limit **
  13  norm          .10000E-03    8.3332        .32812E-05** at limit **
  14  norm          2.3127        2.3839       -.77019E-07    .26038E-04
  15  Prefactor     .10000E-03    8.1399       -.64101E-06** at limit **
  16  Prefactor     13.277        25.297       -.15424E-04   -.24518E-04
  17  Prefactor     13.813        16.181       -.39693E-06    .26608E-05
  18  Prefactor     21.683        19.948       -.13013E-05    .17799E-04
  19  Prefactor     .10000E-03    21.296       -.22901E-05** at limit **
  20  Prefactor     8.5395        5.8699       -.44952E-07   -.38501E-04
  21  norm          .33240        .19855        .11497E-06    .68332E-03
  22  norm          .10000E-03    9.4897       -.14260E-05** at limit **
  23  Normalizat    1.1689        .17626        .20610E-05   -.20920E-03
  24  Prefactor     .98209        .12457        .34569E-06   -.22769E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.4776
  Prefactor  = 6.47668
  Prefactor  = 0.000100242
  Prefactor  = 14.1224
  Prefactor  = 192.651
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.1871
  Prefactor  = 2.79892
  norm       = 2.79983
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.3127
  Prefactor  = 0.0001
  Prefactor  = 13.2766
  Prefactor  = 13.8133
  Prefactor  = 21.6828
  Prefactor  = 0.0001
  Prefactor  = 8.53947
  norm       = 0.332404
  norm       = 0.0001
  Normalizat = 1.16888
  Prefactor  = 0.982092
 **********
 **   18 **HESSE 
 **********

 FCN=   10354.19     FROM HESSE     STATUS=OK           407 CALLS     3123 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.478        24.086        .10526E-03   -1.4947    
   2  Prefactor     6.4767        4.6331        .15770E-03   -1.5199    
   3  Prefactor     .10024E-03    30.831        .48802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.122        9.4192        .10658E-03   -1.4956    
   5  Prefactor     192.65        37.711        .14550E-03   -1.2923    
   6  Prefactor     .10000E-03    9.3940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    34.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.9925        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.1871        2.2067        .87319E-04   -1.5210    
  10  Prefactor     2.7989        5.0838        .24317E-03   -1.5373    
  11  norm          2.7998        2.2891        .13301E-03   -1.5373    
  12  Prefactor     .10000E-03    8.1036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.3782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.3127        2.3858        .15500E-03   -1.5404    
  15  Prefactor     .10000E-03    8.1579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.277        25.260        .10988E-03   -1.4979    
  17  Prefactor     13.813        16.148        .10775E-03   -1.4964    
  18  Prefactor     21.683        19.925        .86012E-04   -1.4776    
  19  Prefactor     .10000E-03    21.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.5395        5.8700        .13718E-03   -1.5123    
  21  norm          .33240        .19129        .32532E-03   -1.5593    
  22  norm          .10000E-03    9.4885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1689        .21151        .29056E-03   -.87570    
  24  Prefactor     .98209        .15040        .22988E-03   -.93329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.30811e-09
Minuit parameter uncertainties:
  1  24.1026
  2  4.63337
  3  0.00546291
  4  9.42023
  5  37.7157
  6  4.40309e-06
  7  3.95801e-05
  8  1.97014e-05
  9  2.20676
  10  5.08458
  11  2.28917
  12  1.24077e-05
  13  3.051e-05
  14  2.38594
  15  7.30994e-06
  16  25.2799
  17  16.1527
  18  19.9309
  19  1.82583e-05
  20  5.8704
  21  0.191287
  22  4.60605e-07
  23  0.211665
  24  0.150465
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.970e-05  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.821e-01  1.505e-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.169e+00  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/435817/likelihoodResults_580435201_580694401_4FGL_J1424.6+1447_daily_bin1316.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) = 10354.1931299
delta logL = -0.00119502709458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10354.1919348
delta logL = 3.72929207515e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1633       1.0000          .0000       10.000    
     3 'Normalizat'    1.1689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98209       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=   10354.19     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      239 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9297        .36285E-02** at limit **
   2  Index         1.9780        6.6442        .99706E-02   -.50170E-07
   3  Normalizat    1.1689        .20152        .29056E-03    .55404E-04
   4  Prefactor     .98209        .14846        .22988E-03    .75071E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.97802
  Normalizat = 1.16889
  Prefactor  = 0.98209
 **********
 **   18 **HESSE 
 **********

 FCN=   10354.19     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.1357        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9780        5.9747        .19941E-02   -.64901    
   3  Normalizat    1.1689        .20175        .11622E-04   -.87570    
   4  Prefactor     .98209        .14863        .91953E-05   -.93329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77516e-11
Minuit parameter uncertainties:
  1  4.36166e-05
  2  203.474
  3  0.201887
  4  0.148693
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435817': 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) = 10354.1919344
delta logL = 4.32479282608e-07

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.362e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.978e+00  2.035e+02  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.821e-01  1.487e-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.169e+00  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.169 14.784

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/435817/cmap_HighResolution_580435201_580694401_4FGL_J1424.6+1447_daily_bin1316.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.61e-03', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2021-09-09 14:35:18.362719', job_id='435817', GAL2='0.98', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1631223318.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='4.32e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1316' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:35:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 435817: <4FGL_J1424.6+1447_daily_bin1316> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin1316> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 14:21:34 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:21:35 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:21:35 2021
Terminated at Thu Sep  9 14:35:19 2021
Results reported at Thu Sep  9 14:35:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin1316 216.169 14.784 580435201 580694401 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 :                                   809.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            825 sec.

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

