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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin172
RA = 216.169, Dec = 14.784
tmin = 283910401, tmax = 284169601
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='428539', job_status='RUN', time_executed='2021-09-09 14:04:02.168323', time_epoch_executed='1631221442.17' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='172'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428539

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428539/ft1_4FGL_J1424.6+1447_daily_bin172.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428539/ft2_4FGL_J1424.6+1447_daily_bin172.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428539/ft1_4FGL_J1424.6+1447_daily_bin172.fits outfile=/scratch/kocevski/428539/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin172.fits ra=216.169 dec=14.784 rad=12.0 tmin=283910401.0 tmax=284169601.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.55
user 3.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/428539/ft2_4FGL_J1424.6+1447_daily_bin172.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/428539/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin172.fits evtable="EVENTS" outfile="/scratch/kocevski/428539/ft1_filtered_4FGL_J1424.6+1447_daily_bin172.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428539/ft1_filtered_4FGL_J1424.6+1447_daily_bin172.fits" evtable="EVENTS" scfile=/scratch/kocevski/428539/ft2_4FGL_J1424.6+1447_daily_bin172.fits sctable="SC_DATA" outfile=/scratch/kocevski/428539/ltcube_283910401_284169601_4FGL_J1424.6+1447_daily_bin172.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/428539/ft2_4FGL_J1424.6+1447_daily_bin172.fits
.....................!
real 11.67
user 11.30
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428539/ft1_filtered_4FGL_J1424.6+1447_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/428539/ft2_4FGL_J1424.6+1447_daily_bin172.fits sctable="SC_DATA" expcube=/scratch/kocevski/428539/ltcube_283910401_284169601_4FGL_J1424.6+1447_daily_bin172.fits outfile=/scratch/kocevski/428539/expmap_283910401_284169601_4FGL_J1424.6+1447_daily_bin172.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/428539/ltcube_283910401_284169601_4FGL_J1424.6+1447_daily_bin172.fits
.....................!
real 190.62
user 185.24
sys 5.05

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/428539/ft1_filtered_4FGL_J1424.6+1447_daily_bin172.fits scfile=/scratch/kocevski/428539/ft2_4FGL_J1424.6+1447_daily_bin172.fits outfile=/scratch/kocevski/428539/cmap_283910401_284169601_4FGL_J1424.6+1447_daily_bin172.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428539/ft1_filtered_4FGL_J1424.6+1447_daily_bin172.fits scfile=/scratch/kocevski/428539/ft2_4FGL_J1424.6+1447_daily_bin172.fits outfile=/scratch/kocevski/428539/cmap_HighResolution_283910401_284169601_4FGL_J1424.6+1447_daily_bin172.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    57.553       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.468       1.0000         .10000E-03   10000.    
     5 'Prefactor '    64.029       1.0000         .10000E-03   10000.    
     6 'Prefactor '    33.060       1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.1312       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.0200       1.0000         .10000E-03   10000.    
    11 'norm      '    .19394E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    23.644       1.0000         .10000E-03   10000.    
    14 'norm      '    3.6235       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.930       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .77676       1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.287       1.0000         .10000E-03   10000.    
    21 'norm      '    .58710       1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4122       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81271       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=   7189.804     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2737 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     57.531        49.868        .95060E-06   -.27082E-04
   2  Prefactor     .10000E-03    2.0383       -.93842E-08** at limit **
   3  Prefactor     .10000E-03    6.6441       -.67623E-08** at limit **
   4  Prefactor     18.473        16.077        .16458E-06   -.11136E-03
   5  Prefactor     64.017        39.488        .20540E-06   -.94080E-04
   6  Prefactor     33.060        26.974        .65787E-06   -.68552E-04
   7  norm          .10000E-03    6.9415       -.20065E-06** at limit **
   8  Prefactor     .10000E-03    4.9283       -.28761E-06** at limit **
   9  norm          4.1311        2.5499       -.85480E-08   -.22364E-03
  10  Prefactor     3.0217        7.3805        .35175E-05   -.35769E-03
  11  norm          .10000E-03    1.8543        .36081E-06** at limit **
  12  Prefactor     .10001E-03    44.951       -.28100E-05** at limit **
  13  norm          23.655        17.969        .38366E-06   -.96138E-04
  14  norm          3.6225        4.9204        .19631E-05   -.18056E-03
  15  Prefactor     .10000E-03    15.859        .39014E-06** at limit **
  16  Prefactor     19.923        22.454       -.92476E-07   -.64946E-04
  17  Prefactor     .10000E-03    36.692        .12073E-05** at limit **
  18  Prefactor     .10000E-03    12.629        .18975E-06** at limit **
  19  Prefactor     .49624        33.842       -.39912E-06   -.47041E-05
  20  Prefactor     13.286        11.226        .21260E-07   -.83495E-04
  21  norm          .58713        .21911        .11396E-07   -.15238E-02
  22  norm          .10000E-03    14.917       -.13556E-07** at limit **
  23  Normalizat    1.4115        .22125        .10895E-06   -.36990E-03
  24  Prefactor     .81328        .14826       -.19785E-05   -.66530E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 57.5307
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.473
  Prefactor  = 64.0173
  Prefactor  = 33.0596
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.13106
  Prefactor  = 3.0217
  norm       = 0.0001
  Prefactor  = 0.000100011
  norm       = 23.6548
  norm       = 3.62253
  Prefactor  = 0.0001
  Prefactor  = 19.9231
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.496243
  Prefactor  = 13.2865
  norm       = 0.587132
  norm       = 0.0001
  Normalizat = 1.41155
  Prefactor  = 0.81328
 **********
 **   18 **HESSE 
 **********

 FCN=   7189.804     FROM HESSE     STATUS=OK           399 CALLS     3136 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     57.531        49.880        .52881E-04   -1.4190    
   2  Prefactor     .10000E-03    2.1003        .23640E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.6629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.473        16.273        .93199E-04   -1.4848    
   5  Prefactor     64.017        39.525        .50151E-04   -1.4106    
   6  Prefactor     33.060        27.075        .69691E-04   -1.4557    
   7  norm          .10000E-03    6.9478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.9574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.1311        2.5504        .10300E-03   -1.5301    
  10  Prefactor     3.0217        7.5365        .11676E-02   -1.5360    
  11  norm          .10000E-03    4.4463        .22206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    45.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          23.655        17.948        .82378E-04   -1.4735    
  14  norm          3.6225        4.9170        .10587E-02   -1.5327    
  15  Prefactor     .10000E-03    15.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.923        22.484        .89717E-04   -1.4815    
  17  Prefactor     .10000E-03    37.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .49624        38.919        .14571       -1.5567    
  20  Prefactor     13.286        11.228        .10988E-03   -1.4979    
  21  norm          .58713        .21799        .23001E-04   -1.5555    
  22  norm          .10000E-03    14.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4115        .27696        .27272E-03   -.80295    
  24  Prefactor     .81328        .18417        .24319E-03   -.99241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44055e-09
Minuit parameter uncertainties:
  1  49.916
  2  2.78629e-07
  3  2.74882e-07
  4  16.2771
  5  39.5407
  6  27.0846
  7  3.75217e-05
  8  4.72357e-05
  9  2.55049
  10  7.53884
  11  1.61429e-05
  12  0.00145488
  13  17.9519
  14  4.9176
  15  9.85898e-05
  16  22.494
  17  0.000604047
  18  5.12343e-05
  19  8.79447
  20  11.23
  21  0.217987
  22  7.51015e-06
  23  0.277259
  24  0.184312
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.724e-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:  8.133e-01  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:  1.412e+00  2.773e-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: 7.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428539/likelihoodResults_283910401_284169601_4FGL_J1424.6+1447_daily_bin172.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) = 7189.80485417
delta logL = -0.00096069403844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7189.8038935
delta logL = -2.13158273255e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1730       1.0000          .0000       10.000    
     3 'Normalizat'    1.4115       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81330       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=   7189.804     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9888        .90712E-02** at limit **
   2  Index         2.1740        8.0797        .50000       -.15928E-05
   3  Normalizat    1.4115        .32451E-02    .61661E-01   -.11672E-06
   4  Prefactor     .81328        .22798E-02    .43890E-01    .12018E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.17396
  Normalizat = 1.41154
  Prefactor  = 0.813283
 **********
 **   18 **HESSE 
 **********

 FCN=   7189.804     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      237 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    78.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1740        8.2179        .50000       -.60068    
   3  Normalizat    1.4115        .20683E-01    .27272E-03   -.80295    
   4  Prefactor     .81328        .14531E-01    .24319E-03   -.99241    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.84615e-08
Minuit parameter uncertainties:
  1  3.81184e-05
  2  616.192
  3  0.0206833
  4  0.0145313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428539': 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) = 7189.80389348
delta logL = 1.05774233816e-09

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  3.812e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.174e+00  6.162e+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:  8.133e-01  1.453e-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:  1.412e+00  2.068e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/428539/cmap_HighResolution_283910401_284169601_4FGL_J1424.6+1447_daily_bin172.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', job_status='DONE', photon_flux_upper_limit='7.69e-08', time_completed='2021-09-09 14:14:43.154116', job_id='428539', GAL2='0.81', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1631222083.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.06e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='172' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:14:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 428539: <4FGL_J1424.6+1447_daily_bin172> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin172 216.169 14.784 283910401 284169601 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 :                                   639.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            778 sec.

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

