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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin15
RA = 216.169, Dec = 14.784
tmin = 243216001, tmax = 243475201
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='428292', job_status='RUN', time_executed='2021-09-09 14:05:40.734588', time_epoch_executed='1631221540.73' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428292

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428292/ft1_4FGL_J1424.6+1447_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428292/ft2_4FGL_J1424.6+1447_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428292/ft1_4FGL_J1424.6+1447_daily_bin15.fits outfile=/scratch/kocevski/428292/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin15.fits ra=216.169 dec=14.784 rad=12.0 tmin=243216001.0 tmax=243475201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 1.35
user 1.17
sys 0.17

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428292/ft1_filtered_4FGL_J1424.6+1447_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/428292/ft2_4FGL_J1424.6+1447_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/428292/ltcube_243216001_243475201_4FGL_J1424.6+1447_daily_bin15.fits outfile=/scratch/kocevski/428292/expmap_243216001_243475201_4FGL_J1424.6+1447_daily_bin15.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/428292/ltcube_243216001_243475201_4FGL_J1424.6+1447_daily_bin15.fits
.....................!
real 191.58
user 186.68
sys 4.53

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/428292/ft1_filtered_4FGL_J1424.6+1447_daily_bin15.fits scfile=/scratch/kocevski/428292/ft2_4FGL_J1424.6+1447_daily_bin15.fits outfile=/scratch/kocevski/428292/cmap_243216001_243475201_4FGL_J1424.6+1447_daily_bin15.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428292/ft1_filtered_4FGL_J1424.6+1447_daily_bin15.fits scfile=/scratch/kocevski/428292/ft2_4FGL_J1424.6+1447_daily_bin15.fits outfile=/scratch/kocevski/428292/cmap_HighResolution_243216001_243475201_4FGL_J1424.6+1447_daily_bin15.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.238       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10341E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10791E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .28898       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.953       1.0000         .10000E-03   10000.    
     7 'norm      '    .10352E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .58401E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.4588       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.4013       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12295E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.974       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10537E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    32.868       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3535       1.0000         .10000E-03   10000.    
    21 'norm      '    1.6465       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2827       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66743       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=   7549.349     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2716 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.226        36.550       -.57783E-05    .12953E-04
   2  Prefactor     .10000E-03    1.8565       -.18531E-06** at limit **
   3  Prefactor     .10000E-03    3.2344       -.70342E-07** at limit **
   4  Prefactor     .10000E-03    7.1547       -.54726E-06** at limit **
   5  Prefactor     .14744        14.553       -.24952E-05    .19527E-03
   6  Prefactor     11.979        21.572       -.28293E-04    .13398E-04
   7  norm          .10000E-03    6.1599        .11947E-06** at limit **
   8  Prefactor     .10000E-03    4.4598       -.68448E-06** at limit **
   9  norm          7.4594        2.9096       -.15020E-06    .74785E-04
  10  Prefactor     .10000E-03    4.0926       -.17555E-06** at limit **
  11  norm          .10000E-03    .64499        .34761E-07** at limit **
  12  Prefactor     .10000E-03    13.487       -.24059E-05** at limit **
  13  norm          .10000E-03    8.9525        .37343E-05** at limit **
  14  norm          6.4012        3.8101       -.77692E-09    .11216E-03
  15  Prefactor     .10000E-03    12.522        .23999E-05** at limit **
  16  Prefactor     .10000E-03    36.228       -.60030E-06** at limit **
  17  Prefactor     11.964        16.762        .23096E-05    .38008E-04
  18  Prefactor     .10000E-03    10.045       -.51274E-05** at limit **
  19  Prefactor     32.873        33.932       -.13652E-05    .25368E-04
  20  Prefactor     1.3525        4.2139       -.28899E-05   -.99756E-03
  21  norm          1.6463        .25902       -.39059E-07    .89117E-03
  22  norm          .10000E-03    12.211        .23191E-05** at limit **
  23  Normalizat    1.2827        .17308        .28763E-05    .19057E-03
  24  Prefactor     .66738        .12185        .74807E-06    .42934E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.2258
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.147437
  Prefactor  = 11.9785
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.45942
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.40118
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9645
  Prefactor  = 0.0001
  Prefactor  = 32.8732
  Prefactor  = 1.35249
  norm       = 1.64628
  norm       = 0.0001
  Normalizat = 1.28274
  Prefactor  = 0.667376
 **********
 **   18 **HESSE 
 **********

 FCN=   7549.349     FROM HESSE     STATUS=OK           399 CALLS     3115 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.226        36.542        .30138E-03   -1.4377    
   2  Prefactor     .10000E-03    1.8888        .11558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2398        .15260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.3182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14744        14.330        .10394       -1.5631    
   6  Prefactor     11.979        21.495        .11587E-03   -1.5016    
   7  norm          .10000E-03    6.1633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.506        .35018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.4594        2.9101        .89657E-04   -1.5162    
  10  Prefactor     .10000E-03    4.1708        .17125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .64905        .68130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.9701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.4012        3.8116        .12743E-03   -1.5202    
  15  Prefactor     .10000E-03    12.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    36.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.964        16.766        .11577E-03   -1.5016    
  18  Prefactor     .10000E-03    10.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     32.873        33.903        .69893E-04   -1.4561    
  20  Prefactor     1.3525        4.2196        .31117E-03   -1.5475    
  21  norm          1.6463        .25914        .16878E-04   -1.5451    
  22  norm          .10000E-03    12.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2827        .20854        .24109E-03   -.84083    
  24  Prefactor     .66738        .14683        .23085E-03   -1.0482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44837e-09
Minuit parameter uncertainties:
  1  36.5608
  2  2.84816e-06
  3  4.49021e-06
  4  4.42036e-05
  5  2.90676
  6  21.5085
  7  6.20048e-05
  8  7.45019e-05
  9  2.91018
  10  2.16646e-05
  11  3.00537e-06
  12  1.62739e-05
  13  5.63845e-06
  14  3.81169
  15  5.92302e-05
  16  0.000129045
  17  16.7723
  18  3.69589e-05
  19  33.9228
  20  4.22052
  21  0.259135
  22  1.04012e-06
  23  0.208677
  24  0.146912
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  7.450e-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:  6.674e-01  1.469e-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.283e+00  2.087e-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: 6.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428292/likelihoodResults_243216001_243475201_4FGL_J1424.6+1447_daily_bin15.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): 102
logL (Free Index) = 7549.34963552
delta logL = -0.000326042927554

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7549.34931284
delta logL = -3.35764070769e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33273E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2771       1.0000          .0000       10.000    
     3 'Normalizat'    1.2831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66712       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7549.323     FROM MIGRAD    STATUS=FAILED       167 CALLS      339 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32736        21.806        .26358E-02   -.17665E-01
   2  Index         2.9525        .91197        .38185        .17334E-04
   3  Normalizat    1.2752        .16190E-01    .24109E-03    .19692E-03
   4  Prefactor     .66897        .11608E-01    .23085E-03    .14424E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7549.323     FROM SIMPLEX   STATUS=UNCHANGED     73 CALLS      412 TOTAL
                     EDM=   .75E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32736        21.806        .13105E-03   -.17665E-01
   2  Index         2.9525        .91197        .15779E-02    .17334E-04
   3  Normalizat    1.2752        .16190E-01    .70961E-04    .19692E-03
   4  Prefactor     .66897        .11608E-01    .33274E-04    .14424E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7549.323     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      444 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32736        3.2013        .52717E-03   -.70454E-03
   2  Index         2.9525        2.0762        .45273E-02    .10401E-04
   3  Normalizat    1.2752        .20656        .48217E-04    .19674E-03
   4  Prefactor     .66897        .14646        .92342E-05    .14404E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.327364
  Index      = 2.95249
  Normalizat = 1.27517
  Prefactor  = 0.668967
 **********
 **   18 **HESSE 
 **********

 FCN=   7549.323     FROM HESSE     STATUS=OK            27 CALLS      471 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32736        3.2575        .10543E-03   -1.5822    
   2  Index         2.9525        2.0897        .18109E-03   -.42191    
   3  Normalizat    1.2752        .20640        .96434E-05   -.84311    
   4  Prefactor     .66897        .14632        .18468E-05   -1.0476    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.58456e-11
Minuit parameter uncertainties:
  1  2.06516
  2  2.17072
  3  0.206537
  4  0.146399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428292': 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) = 7549.32313167
delta logL = 0.0261778125332

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  3.274e-01  2.065e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.952e+00  2.171e+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:  6.690e-01  1.464e-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.275e+00  2.065e-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/428292/cmap_HighResolution_243216001_243475201_4FGL_J1424.6+1447_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.68e-03', job_status='DONE', photon_flux_upper_limit='6.16e-08', time_completed='2021-09-09 14:16:51.156072', job_id='428292', GAL2='0.67', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1631222211.16', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='2.62e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='15' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:16:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 428292: <4FGL_J1424.6+1447_daily_bin15> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin15> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 14:01:30 2021
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:01:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:01:31 2021
Terminated at Thu Sep  9 14:16:51 2021
Results reported at Thu Sep  9 14:16:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin15 216.169 14.784 243216001 243475201 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 :                                   668.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             229.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            921 sec.

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

