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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin890
RA = 216.169, Dec = 14.784
tmin = 470016001, tmax = 470275201
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='433693', job_status='RUN', time_executed='2021-09-09 14:18:33.541256', time_epoch_executed='1631222313.54' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='890'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433693

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433693/ft1_4FGL_J1424.6+1447_daily_bin890.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433693/ft2_4FGL_J1424.6+1447_daily_bin890.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433693/ft1_4FGL_J1424.6+1447_daily_bin890.fits outfile=/scratch/kocevski/433693/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin890.fits ra=216.169 dec=14.784 rad=12.0 tmin=470016001.0 tmax=470275201.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.50
user 3.29
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433693/ft1_filtered_4FGL_J1424.6+1447_daily_bin890.fits evtable="EVENTS" scfile=/scratch/kocevski/433693/ft2_4FGL_J1424.6+1447_daily_bin890.fits sctable="SC_DATA" expcube=/scratch/kocevski/433693/ltcube_470016001_470275201_4FGL_J1424.6+1447_daily_bin890.fits outfile=/scratch/kocevski/433693/expmap_470016001_470275201_4FGL_J1424.6+1447_daily_bin890.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/433693/ltcube_470016001_470275201_4FGL_J1424.6+1447_daily_bin890.fits
.....................!
real 190.01
user 185.38
sys 4.30

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

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9382       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.058       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10449E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.055       1.0000         .10000E-03   10000.    
     7 'norm      '    13.849       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.9020       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.1294       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.350       1.0000         .10000E-03   10000.    
    13 'norm      '    5.4489       1.0000         .10000E-03   10000.    
    14 'norm      '    18.192       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8846       1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.852       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.367       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.450       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.7397       1.0000         .10000E-03   10000.    
    21 'norm      '    2.0373       1.0000         .10000E-03   10000.    
    22 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .67329       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2216       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=   6588.030     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2745 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.386       -.46339E-06** at limit **
   2  Prefactor     .10000E-03    3.3219        .28943E-07** at limit **
   3  Prefactor     6.9386        12.277        .17295E-06   -.70670E-04
   4  Prefactor     11.058        10.751        .18347E-06   -.65903E-04
   5  Prefactor     .10000E-03    72.959       -.31420E-06** at limit **
   6  Prefactor     24.064        26.193        .47048E-05   -.15314E-03
   7  norm          13.847        24.203       -.30966E-05    .26216E-04
   8  Prefactor     .10000E-03    5.0018        .12372E-07** at limit **
   9  norm          1.9020        1.6337        .25123E-07    .11350E-03
  10  Prefactor     .10000E-03    3.4528        .94801E-07** at limit **
  11  norm          2.1294        2.9401       -.22711E-06   -.68466E-03
  12  Prefactor     30.330        76.105       -.20976E-04   -.11172E-03
  13  norm          5.4417        78.252        .29523E-04   -.74766E-04
  14  norm          18.191        6.5877       -.67133E-07    .30851E-04
  15  Prefactor     6.8843        22.071        .13661E-07   -.22416E-04
  16  Prefactor     29.854        24.832        .10421E-05   -.80037E-04
  17  Prefactor     20.367        19.164       -.57776E-06   -.35187E-03
  18  Prefactor     13.449        16.490        .34515E-06   -.14884E-04
  19  Prefactor     .10000E-03    9.9656        .23611E-09** at limit **
  20  Prefactor     6.7395        6.8140       -.64818E-06   -.10062E-02
  21  norm          2.0373        .33201       -.22003E-08   -.72214E-04
  22  norm          .10000E-03    15.108        .33070E-07** at limit **
  23  Normalizat    .67328        .21297       -.42033E-06   -.61490E-04
  24  Prefactor     1.2216        .16017       -.39794E-07   -.60172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.93858
  Prefactor  = 11.0584
  Prefactor  = 0.0001
  Prefactor  = 24.0637
  norm       = 13.8469
  Prefactor  = 0.0001
  norm       = 1.90196
  Prefactor  = 0.0001
  norm       = 2.12937
  Prefactor  = 30.3298
  norm       = 5.44166
  norm       = 18.1913
  Prefactor  = 6.88425
  Prefactor  = 29.854
  Prefactor  = 20.3673
  Prefactor  = 13.4493
  Prefactor  = 0.0001
  Prefactor  = 6.73945
  norm       = 2.03727
  norm       = 0.0001
  Normalizat = 0.673275
  Prefactor  = 1.22158
 **********
 **   18 **HESSE 
 **********

 FCN=   6588.030     FROM HESSE     STATUS=OK           401 CALLS     3146 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.3687        .14441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.9386        12.269        .15231E-03   -1.5181    
   4  Prefactor     11.058        10.759        .12048E-03   -1.5043    
   5  Prefactor     .10000E-03    74.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.064        25.830        .81673E-04   -1.4726    
   7  norm          13.847        24.170        .10763E-03   -1.4964    
   8  Prefactor     .10000E-03    5.1348        .35444E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.9020        1.6426        .93603E-04   -1.5432    
  10  Prefactor     .10000E-03    3.5073        .14720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.1294        2.9408        .15556E-03   -1.5416    
  12  Prefactor     30.330        73.196        .72728E-04   -1.4606    
  13  norm          5.4417        71.356        .17214E-03   -1.5241    
  14  norm          18.191        6.5872        .93904E-04   -1.4855    
  15  Prefactor     6.8843        22.005        .15291E-03   -1.5183    
  16  Prefactor     29.854        24.794        .73330E-04   -1.4615    
  17  Prefactor     20.367        19.289        .44375E-03   -1.4805    
  18  Prefactor     13.449        16.472        .10922E-03   -1.4974    
  19  Prefactor     .10000E-03    9.9664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.7395        6.9852        .77279E-03   -1.5189    
  21  norm          2.0373        .33231        .18013E-04   -1.5422    
  22  norm          .10000E-03    15.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .67328        .24227        .34839E-03   -1.0496    
  24  Prefactor     1.2216        .18420        .20418E-03   -.85670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30985e-09
Minuit parameter uncertainties:
  1  2.73816e-05
  2  3.62166e-07
  3  12.2731
  4  10.7609
  5  4.18528e-05
  6  25.8418
  7  24.1866
  8  1.8893e-06
  9  1.64263
  10  2.07867e-06
  11  2.94101
  12  73.4137
  13  39.4679
  14  6.58749
  15  22.0309
  16  24.803
  17  19.2947
  18  16.4774
  19  1.48366e-06
  20  6.98607
  21  0.332313
  22  9.48337e-07
  23  0.242655
  24  0.184292
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.889e-06  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.222e+00  1.843e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  6.733e-01  2.427e-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: 5.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433693/likelihoodResults_470016001_470275201_4FGL_J1424.6+1447_daily_bin890.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) = 6588.03134479
delta logL = -0.000928677991396

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6588.03041611
delta logL = 1.67710823007e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1563       1.0000          .0000       10.000    
     3 'Normalizat'    .67329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2216       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=   6588.030     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      242 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10032E-03    30.884        .17900E-02** at limit **
   2  Index         2.1289        5.9481        .50000        .20383E-04
   3  Normalizat    .67328        .11882E-01    .34839E-03    .47577E-04
   4  Prefactor     1.2216        .91904E-02    .20418E-03    .65379E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100317
  Index      = 2.12885
  Normalizat = 0.673276
  Prefactor  = 1.22158
 **********
 **   18 **HESSE 
 **********

 FCN=   6588.030     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10032E-03    150.20        .35800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1289        6.5201        .50000       -.61166    
   3  Normalizat    .67328        .26909E-01    .13936E-04   -1.0496    
   4  Prefactor     1.2216        .20812E-01    .40836E-04   -.85670    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.0556e-08
Minuit parameter uncertainties:
  1  0.0138377
  2  280.278
  3  0.0269094
  4  0.0208125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433693': 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): 102
logL (Free Index) = 6588.0304159
delta logL = 2.1027517505e-07

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.003e-04  1.384e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.129e+00  2.803e+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:  1.222e+00  2.081e-02  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.733e-01  2.691e-02  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/433693/cmap_HighResolution_470016001_470275201_4FGL_J1424.6+1447_daily_bin890.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-03', job_status='DONE', photon_flux_upper_limit='5.69e-08', time_completed='2021-09-09 14:28:57.331091', job_id='433693', GAL2='1.22', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1631222937.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='2.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='890' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:28:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 433693: <4FGL_J1424.6+1447_daily_bin890> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin890 216.169 14.784 470016001 470275201 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 :                                   614.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             324.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            768 sec.

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

