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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin134
RA = 216.169, Dec = 14.784
tmin = 274060801, tmax = 274320001
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='428478', job_status='RUN', time_executed='2021-09-09 14:01:51.751280', time_epoch_executed='1631221311.75' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='134'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428478

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428478/ft1_4FGL_J1424.6+1447_daily_bin134.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428478/ft2_4FGL_J1424.6+1447_daily_bin134.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428478/ft1_4FGL_J1424.6+1447_daily_bin134.fits outfile=/scratch/kocevski/428478/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin134.fits ra=216.169 dec=14.784 rad=12.0 tmin=274060801.0 tmax=274320001.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.66
user 3.42
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428478/ft1_filtered_4FGL_J1424.6+1447_daily_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/428478/ft2_4FGL_J1424.6+1447_daily_bin134.fits sctable="SC_DATA" expcube=/scratch/kocevski/428478/ltcube_274060801_274320001_4FGL_J1424.6+1447_daily_bin134.fits outfile=/scratch/kocevski/428478/expmap_274060801_274320001_4FGL_J1424.6+1447_daily_bin134.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/428478/ltcube_274060801_274320001_4FGL_J1424.6+1447_daily_bin134.fits
.....................!
real 190.76
user 184.79
sys 5.52

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/428478/ft1_filtered_4FGL_J1424.6+1447_daily_bin134.fits scfile=/scratch/kocevski/428478/ft2_4FGL_J1424.6+1447_daily_bin134.fits outfile=/scratch/kocevski/428478/cmap_274060801_274320001_4FGL_J1424.6+1447_daily_bin134.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428478/ft1_filtered_4FGL_J1424.6+1447_daily_bin134.fits scfile=/scratch/kocevski/428478/ft2_4FGL_J1424.6+1447_daily_bin134.fits outfile=/scratch/kocevski/428478/cmap_HighResolution_274060801_274320001_4FGL_J1424.6+1447_daily_bin134.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=216.169 yref=14.784 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9246       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    36.830       1.0000         .10000E-03   10000.    
     7 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16170E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    8.8821       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9441       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.470       1.0000         .10000E-03   10000.    
    13 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.726       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10322E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.4266       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .90533       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4062       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82056       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=   7600.914     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2698 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.653        .90712E-02** at limit **
   2  Prefactor     .10000E-03    1.7014        .90712E-02** at limit **
   3  Prefactor     .10000E-03    2.9517        .90712E-02** at limit **
   4  Prefactor     3.9211        12.242        .50910E-02    .26192E-03
   5  Prefactor     .10000E-03    50.825        .90712E-02** at limit **
   6  Prefactor     36.825        27.197        .16510E-02    .10161E-02
   7  norm          .10000E-03    12.261        .90712E-02** at limit **
   8  Prefactor     .10013E-03    5.2958        .91036E-01** at limit **
   9  norm          8.8822        3.3302        .33622E-02    .87254E-03
  10  Prefactor     2.9384        6.1237        .59176E-02    .19459E-02
  11  norm          .10000E-03    .96902        .90712E-02** at limit **
  12  Prefactor     29.479        24.495        .18451E-02   -.57328E-03
  13  norm          .10000E-03    12.015        .90712E-02** at limit **
  14  norm          .10000E-03    1.3920        .90712E-02** at limit **
  15  Prefactor     14.719        25.746        .26093E-02    .67578E-03
  16  Prefactor     .10000E-03    11.131        .90712E-02** at limit **
  17  Prefactor     .10000E-03    6.6074        .90712E-02** at limit **
  18  Prefactor     .10000E-03    21.688        .90712E-02** at limit **
  19  Prefactor     2.4285        137.06        .65679E-02   -.13005E-03
  20  Prefactor     .10000E-03    7.3783        .90712E-02** at limit **
  21  norm          .90531        .20804        .41604E-02    .51041E-02
  22  norm          .10000E-03    11.552        .90712E-02** at limit **
  23  Normalizat    1.4065        .20375        .59909E-01    .58911E-04
  24  Prefactor     .82028        .13929        .43984E-01    .57937E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.92108
  Prefactor  = 0.000100001
  Prefactor  = 36.8249
  norm       = 0.000100003
  Prefactor  = 0.000100128
  norm       = 8.88219
  Prefactor  = 2.93836
  norm       = 0.0001
  Prefactor  = 29.4789
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 14.7186
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 2.42854
  Prefactor  = 0.0001
  norm       = 0.905308
  norm       = 0.000100004
  Normalizat = 1.40653
  Prefactor  = 0.820284
 **********
 **   18 **HESSE 
 **********

 FCN=   7600.914     FROM HESSE     STATUS=OK           389 CALLS     3087 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.7140        .11104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.9533        .14628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.9211        12.308        .20364E-03   -1.5312    
   5  Prefactor     .10000E-03    51.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     36.825        27.256        .66039E-04   -1.4494    
   7  norm          .10000E-03    12.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10013E-03    90.662        .35567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.8822        3.3300        .47095E-03   -1.5112    
  10  Prefactor     2.9384        5.7249        .23670E-03   -1.5365    
  11  norm          .10000E-03    .97685        .83770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.479        24.474        .73803E-04   -1.4622    
  13  norm          .10000E-03    12.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.3955        .10045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.719        25.739        .10437E-03   -1.4940    
  16  Prefactor     .10000E-03    11.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.6216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.4285        136.96        .26272E-03   -1.5396    
  20  Prefactor     .10000E-03    7.4363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .90531        .20793        .18409E-04   -1.5518    
  22  norm          .10000E-03    11.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4065        .25095        .26495E-03   -.80440    
  24  Prefactor     .82028        .17066        .23646E-03   -.98985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07091e-08
Minuit parameter uncertainties:
  1  4.64222e-05
  2  7.42531e-06
  3  1.49366e-05
  4  12.3163
  5  0.000545067
  6  27.2648
  7  0.000412724
  8  0.00681557
  9  3.33002
  10  5.72595
  11  7.21315e-06
  12  24.4827
  13  2.38399e-05
  14  2.66477e-05
  15  25.7583
  16  7.40842e-06
  17  4.21983e-05
  18  0.000420081
  19  36.5626
  20  8.53642e-05
  21  0.207931
  22  0.000422722
  23  0.251167
  24  0.170769
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.001e-04  6.816e-03  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:  8.203e-01  1.708e-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.407e+00  2.512e-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: 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/428478/likelihoodResults_274060801_274320001_4FGL_J1424.6+1447_daily_bin134.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) = 7600.91394482
delta logL = -5.13110535394e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7600.54494122
delta logL = 0.368952291526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58049       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4276       1.0000          .0000       10.000    
     3 'Normalizat'    1.3587       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83648       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=   7600.545     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      275 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58078        12.232        .11595E-01    .16921E-02
   2  Index         3.4273        2.4814        .11930        .19004E-03
   3  Normalizat    1.3587        .38405E-01    .60759E-01    .66016E-05
   4  Prefactor     .83646        .27178E-01    .44190E-01    .14947E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.580779
  Index      = 3.42734
  Normalizat = 1.35873
  Prefactor  = 0.836458
 **********
 **   18 **HESSE 
 **********

 FCN=   7600.545     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      308 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58078        43.678        .79900E-04   -1.5556    
   2  Index         3.4273        6.6578        .62829E-02   -.31996    
   3  Normalizat    1.3587        .20652        .26872E-03   -.81830    
   4  Prefactor     .83646        .14714        .23430E-03   -.98398    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.3922e-09
Minuit parameter uncertainties:
  1  10.08
  2  6.94168
  3  0.206644
  4  0.147208
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428478': 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) = 7600.5449412
delta logL = 0.368952309853

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  5.808e-01  1.008e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.427e+00  6.942e+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:  8.365e-01  1.472e-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.359e+00  2.066e-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/428478/cmap_HighResolution_274060801_274320001_4FGL_J1424.6+1447_daily_bin134.png

Cleaning up...

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

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:12:46.870376', job_id='428478', GAL2='0.84', fit_tolerance='1e-08', EG2='1.36', EG='1.41', time_epoch_completed='1631221966.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.69e-01', ts2='0.76', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='134' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:12:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 428478: <4FGL_J1424.6+1447_daily_bin134> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin134> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 14:01:42 2021
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:01:43 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:43 2021
Terminated at Thu Sep  9 14:12:47 2021
Results reported at Thu Sep  9 14:12:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin134 216.169 14.784 274060801 274320001 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 :                                   651.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             335.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            665 sec.

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

