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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin157
RA = 216.169, Dec = 14.784
tmin = 280022401, tmax = 280281601
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='428513', job_status='RUN', time_executed='2021-09-09 14:04:30.296123', time_epoch_executed='1631221470.3' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='157'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428513

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428513/ft1_4FGL_J1424.6+1447_daily_bin157.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428513/ft2_4FGL_J1424.6+1447_daily_bin157.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428513/ft1_4FGL_J1424.6+1447_daily_bin157.fits outfile=/scratch/kocevski/428513/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin157.fits ra=216.169 dec=14.784 rad=12.0 tmin=280022401.0 tmax=280281601.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.52
user 3.29
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428513/ft1_filtered_4FGL_J1424.6+1447_daily_bin157.fits" evtable="EVENTS" scfile=/scratch/kocevski/428513/ft2_4FGL_J1424.6+1447_daily_bin157.fits sctable="SC_DATA" outfile=/scratch/kocevski/428513/ltcube_280022401_280281601_4FGL_J1424.6+1447_daily_bin157.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/428513/ft2_4FGL_J1424.6+1447_daily_bin157.fits
.....................!
real 11.71
user 11.31
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428513/ft1_filtered_4FGL_J1424.6+1447_daily_bin157.fits evtable="EVENTS" scfile=/scratch/kocevski/428513/ft2_4FGL_J1424.6+1447_daily_bin157.fits sctable="SC_DATA" expcube=/scratch/kocevski/428513/ltcube_280022401_280281601_4FGL_J1424.6+1447_daily_bin157.fits outfile=/scratch/kocevski/428513/expmap_280022401_280281601_4FGL_J1424.6+1447_daily_bin157.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/428513/ltcube_280022401_280281601_4FGL_J1424.6+1447_daily_bin157.fits
.....................!
real 190.32
user 184.88
sys 5.07

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/428513/ft1_filtered_4FGL_J1424.6+1447_daily_bin157.fits scfile=/scratch/kocevski/428513/ft2_4FGL_J1424.6+1447_daily_bin157.fits outfile=/scratch/kocevski/428513/cmap_280022401_280281601_4FGL_J1424.6+1447_daily_bin157.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428513/ft1_filtered_4FGL_J1424.6+1447_daily_bin157.fits scfile=/scratch/kocevski/428513/ft2_4FGL_J1424.6+1447_daily_bin157.fits outfile=/scratch/kocevski/428513/cmap_HighResolution_280022401_280281601_4FGL_J1424.6+1447_daily_bin157.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    77.307       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12066E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8603       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.8551       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.306       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.1354       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .69691E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    4.1853       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.566       1.0000         .10000E-03   10000.    
    13 'norm      '    .10787E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.4839       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.655       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.6401       1.0000         .10000E-03   10000.    
    21 'norm      '    .88666       1.0000         .10000E-03   10000.    
    22 'norm      '    14.069       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1746       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95905       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=   6305.451     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2730 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     77.300        63.023       -.77567E-05    .15233E-03
   2  Prefactor     .10003E-03    4.2168       -.17871E-05** at limit **
   3  Prefactor     4.8598        6.6025       -.18625E-06    .43403E-04
   4  Prefactor     6.8500        11.690        .15342E-05   -.13526E-03
   5  Prefactor     27.344        23.295        .14946E-06    .24292E-04
   6  Prefactor     .10000E-03    12.266       -.38585E-05** at limit **
   7  norm          5.1304        17.200        .53478E-05   -.78904E-04
   8  Prefactor     .10009E-03    4.7648       -.29182E-06** at limit **
   9  norm          4.1844        2.7909       -.90856E-07   -.35906E-05
  10  Prefactor     .10000E-03    2.3051       -.20334E-07** at limit **
  11  norm          .10000E-03    1.6557       -.60204E-07** at limit **
  12  Prefactor     20.531        34.680       -.22024E-04    .18773E-03
  13  norm          .10000E-03    10.904        .42366E-05** at limit **
  14  norm          1.4812        4.9504       -.40623E-05   -.92602E-03
  15  Prefactor     .10000E-03    13.661        .72172E-05** at limit **
  16  Prefactor     .10000E-03    22.207        .22816E-05** at limit **
  17  Prefactor     .10000E-03    7.0746        .11562E-06** at limit **
  18  Prefactor     40.650        25.861       -.12495E-05    .80782E-05
  19  Prefactor     .10000E-03    18.285       -.43984E-05** at limit **
  20  Prefactor     8.6366        10.662        .59716E-06   -.64672E-04
  21  norm          .88652        .25579       -.14035E-07    .64685E-04
  22  norm          14.066        28.567       -.24099E-05    .19252E-04
  23  Normalizat    1.1748        .21176        .14176E-05    .22431E-03
  24  Prefactor     .95920        .15262        .11257E-05    .27915E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 77.3002
  Prefactor  = 0.000100033
  Prefactor  = 4.85981
  Prefactor  = 6.85003
  Prefactor  = 27.3437
  Prefactor  = 0.0001
  norm       = 5.13038
  Prefactor  = 0.000100092
  norm       = 4.18438
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.5306
  norm       = 0.000100001
  norm       = 1.48122
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.6499
  Prefactor  = 0.0001
  Prefactor  = 8.6366
  norm       = 0.886525
  norm       = 14.066
  Normalizat = 1.1748
  Prefactor  = 0.959199
 **********
 **   18 **HESSE 
 **********

 FCN=   6305.451     FROM HESSE     STATUS=OK           403 CALLS     3133 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     77.300        62.722        .45671E-04   -1.3947    
   2  Prefactor     .10003E-03    11.596        .31099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8598        6.5950        .18246E-03   -1.5267    
   4  Prefactor     6.8500        11.671        .15324E-03   -1.5184    
   5  Prefactor     27.344        23.309        .76665E-04   -1.4662    
   6  Prefactor     .10000E-03    12.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.1304        17.157        .17741E-03   -1.5255    
   8  Prefactor     .10009E-03    5.1984        .56795E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.1844        2.7906        .10471E-03   -1.5299    
  10  Prefactor     .10000E-03    2.3126        .11770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.7177        .19943E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.531        34.512        .88320E-04   -1.4801    
  13  norm          .10000E-03    11.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.4812        5.1385        .32084E-03   -1.5465    
  15  Prefactor     .10000E-03    13.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    22.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.0853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.650        25.876        .62867E-04   -1.4432    
  19  Prefactor     .10000E-03    18.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.6366        10.659        .13637E-03   -1.5120    
  21  norm          .88652        .25512        .20710E-04   -1.5520    
  22  norm          14.066        28.578        .10679E-03   -1.4958    
  23  Normalizat    1.1748        .25834        .27926E-03   -.87385    
  24  Prefactor     .95920        .18645        .22050E-03   -.94102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93703e-09
Minuit parameter uncertainties:
  1  62.7758
  2  0.00123402
  3  6.59601
  4  11.6748
  5  23.3163
  6  7.7297e-05
  7  17.1734
  8  0.00138109
  9  2.79064
  10  4.8156e-06
  11  6.63909e-06
  12  34.5453
  13  0.000153377
  14  5.14
  15  0.00017083
  16  6.03093e-06
  17  5.47563e-06
  18  25.8834
  19  0.000106923
  20  10.6613
  21  0.255117
  22  28.6053
  23  0.258621
  24  0.186577
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.001e-04  1.381e-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:  9.592e-01  1.866e-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.175e+00  2.586e-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.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428513/likelihoodResults_280022401_280281601_4FGL_J1424.6+1447_daily_bin157.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) = 6305.45143176
delta logL = -1.33746561914e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6305.45135126
delta logL = 6.71264133416e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39091E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5049       1.0000          .0000       10.000    
     3 'Normalizat'    1.1748       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95920       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=   6304.784     FROM MIGRAD    STATUS=CONVERGED    274 CALLS      463 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .73146E-03    .98801E-05** at limit **
   2  Index         6.9549        .34940        .46243E-02    .80938E-03
   3  Normalizat    1.0775        .26580        .28977E-03   -.19578E-04
   4  Prefactor     1.0057        .18877        .21586E-03   -.18469E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 6.95488
  Normalizat = 1.0775
  Prefactor  = 1.00575
 **********
 **   18 **HESSE 
 **********

 FCN=   6304.784     FROM HESSE     STATUS=OK            25 CALLS      488 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .72812E-03    .19760E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.9549        .34491        .92486E-03    .40169    
   3  Normalizat    1.0775        .26581        .11591E-04   -.90477    
   4  Prefactor     1.0057        .18890        .43172E-04   -.92538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2396e-10
Minuit parameter uncertainties:
  1  6.59074e-09
  2  0.345237
  3  0.266141
  4  0.189023
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428513': 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) = 6304.7839415
delta logL = 0.66747688255

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  6.591e-09  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  6.955e+00  3.452e-01  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.006e+00  1.890e-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.078e+00  2.661e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 216.169 14.784
Photon Index (Free Index): 6.95 +/- 0.35
Photon Flux (Free Index): 7.83e-08 +/- 7.20e-08
Energy Flux (Free Index): 9.37e-06 +/- 8.54e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/428513/cmap_HighResolution_280022401_280281601_4FGL_J1424.6+1447_daily_bin157.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', comment='SUCCESS', energy_flux2='9.37e-06', dlogl='6.67e-01', photon_flux2='7.83e-08', job_status='DONE', time_completed='2021-09-09 14:14:43.600854', photon_index_error2='0.35', photon_index2='6.95', ts='-0.00', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='7.04e-08', energy_flux_error2='8.54e-06', EG='1.17', time_epoch_completed='1631222083.6', return_code='0', job_id='428513', GAL2='1.01', EG2='1.08', return_code2='0', photon_flux_error2='7.20e-08', ts2='1.45', photon_index='2.17' WHERE bin_id='157' 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@bullet0251>
Subject: Job 428513: <4FGL_J1424.6+1447_daily_bin157> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin157 216.169 14.784 280022401 280281601 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 :                                   612.22 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             274.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            780 sec.

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

