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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin53
RA = 216.169, Dec = 14.784
tmin = 253065601, tmax = 253324801
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='428350', job_status='RUN', time_executed='2021-09-09 14:02:49.176250', time_epoch_executed='1631221369.18' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428350

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428350/ft1_4FGL_J1424.6+1447_daily_bin53.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428350/ft2_4FGL_J1424.6+1447_daily_bin53.fits


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

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

Done.
real 1.39
user 1.22
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428350/ft1_filtered_4FGL_J1424.6+1447_daily_bin53.fits" evtable="EVENTS" scfile=/scratch/kocevski/428350/ft2_4FGL_J1424.6+1447_daily_bin53.fits sctable="SC_DATA" outfile=/scratch/kocevski/428350/ltcube_253065601_253324801_4FGL_J1424.6+1447_daily_bin53.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/428350/ft2_4FGL_J1424.6+1447_daily_bin53.fits
.....................!
real 12.59
user 12.26
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428350/ft1_filtered_4FGL_J1424.6+1447_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/428350/ft2_4FGL_J1424.6+1447_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/428350/ltcube_253065601_253324801_4FGL_J1424.6+1447_daily_bin53.fits outfile=/scratch/kocevski/428350/expmap_253065601_253324801_4FGL_J1424.6+1447_daily_bin53.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/428350/ltcube_253065601_253324801_4FGL_J1424.6+1447_daily_bin53.fits
.....................!
real 189.38
user 184.62
sys 4.42

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/428350/ft1_filtered_4FGL_J1424.6+1447_daily_bin53.fits scfile=/scratch/kocevski/428350/ft2_4FGL_J1424.6+1447_daily_bin53.fits outfile=/scratch/kocevski/428350/cmap_253065601_253324801_4FGL_J1424.6+1447_daily_bin53.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/428350/ft1_filtered_4FGL_J1424.6+1447_daily_bin53.fits scfile=/scratch/kocevski/428350/ft2_4FGL_J1424.6+1447_daily_bin53.fits outfile=/scratch/kocevski/428350/cmap_HighResolution_253065601_253324801_4FGL_J1424.6+1447_daily_bin53.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10436E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.077       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.978       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.422       1.0000         .10000E-03   10000.    
     7 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    11.666       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.3619       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.009       1.0000         .10000E-03   10000.    
    13 'norm      '    .26426E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10644E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.3863       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .43031E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    4.2621       1.0000         .10000E-03   10000.    
    22 'norm      '    3.2592       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2482       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84158       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=   7446.171     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2746 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    140.59        .82484E-05** at limit **
   2  Prefactor     .10000E-03    1.6425        .57828E-07** at limit **
   3  Prefactor     .10001E-03    27.153       -.28623E-05** at limit **
   4  Prefactor     18.071        14.121       -.60689E-06    .92695E-04
   5  Prefactor     22.973        27.317       -.51700E-06    .25443E-04
   6  Prefactor     12.417        18.415       -.41780E-06   -.62742E-05
   7  norm          .10000E-03    21.141        .66992E-06** at limit **
   8  Prefactor     .10000E-03    3.0409        .11228E-06** at limit **
   9  norm          11.666        3.9617        .44044E-07    .14592E-03
  10  Prefactor     .10000E-03    2.8102        .24579E-06** at limit **
  11  norm          4.3620        2.8473       -.21215E-05    .11041E-02
  12  Prefactor     28.051        30.586       -.35531E-05   -.14238E-03
  13  norm          .10030E-03    74.432        .23691E-04** at limit **
  14  norm          .10000E-03    1.8092        .10052E-06** at limit **
  15  Prefactor     .10002E-03    38.246        .64802E-05** at limit **
  16  Prefactor     .10000E-03    7.8735        .82098E-07** at limit **
  17  Prefactor     .10000E-03    4.1349        .78336E-07** at limit **
  18  Prefactor     9.3854        15.163       -.14594E-05    .34671E-04
  19  Prefactor     .10000E-03    10.707        .13460E-06** at limit **
  20  Prefactor     .10041E-03    35.033        .14812E-04** at limit **
  21  norm          4.2621        .41859       -.43627E-08    .73536E-03
  22  norm          3.2289        99.650        .42977E-05    .91707E-04
  23  Normalizat    1.2484        .21178        .10842E-05   -.13779E-04
  24  Prefactor     .84145        .15017        .50931E-06    .96304E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010004
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 18.0708
  Prefactor  = 22.9734
  Prefactor  = 12.4167
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 11.6659
  Prefactor  = 0.0001
  norm       = 4.36201
  Prefactor  = 28.0506
  norm       = 0.0001003
  norm       = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.38539
  Prefactor  = 0.0001
  Prefactor  = 0.000100407
  norm       = 4.26211
  norm       = 3.22889
  Normalizat = 1.24836
  Prefactor  = 0.841447
 **********
 **   18 **HESSE 
 **********

 FCN=   7446.171     FROM HESSE     STATUS=OK           401 CALLS     3147 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    143.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.6521        .10798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    28.126        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.071        14.357        .94202E-04   -1.4858    
   5  Prefactor     22.973        27.349        .83561E-04   -1.4749    
   6  Prefactor     12.417        18.424        .11366E-03   -1.5003    
   7  norm          .10000E-03    21.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.0697        .14691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.666        3.9629        .96576E-04   -1.5025    
  10  Prefactor     .10000E-03    2.8496        .14124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.3620        2.8698        .57132E-03   -1.5290    
  12  Prefactor     28.051        31.533        .75698E-04   -1.4648    
  13  norm          .10030E-03    113.37        .64123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.8247        .11334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10002E-03    39.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.8802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.1381        .17137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.3854        15.178        .65405E-03   -1.5095    
  19  Prefactor     .10000E-03    10.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10041E-03    73.283        .40966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.2621        .41900        .16895E-04   -1.5295    
  22  norm          3.2289        101.83        .22433E-03   -1.5349    
  23  Normalizat    1.2484        .26328        .28526E-03   -.85121    
  24  Prefactor     .84145        .18589        .24732E-03   -.98218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.51054e-09
Minuit parameter uncertainties:
  1  0.00481677
  2  2.95141e-06
  3  0.000769447
  4  14.3599
  5  27.3637
  6  18.4322
  7  0.00013963
  8  3.37959e-06
  9  3.96295
  10  2.13134e-06
  11  2.86987
  12  31.5515
  13  0.0116842
  14  1.0746e-06
  15  0.00164554
  16  4.53588e-06
  17  4.88044e-06
  18  15.184
  19  8.54208e-06
  20  0.0109372
  21  0.419003
  22  36.3325
  23  0.263566
  24  0.186032
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  3.380e-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:  8.414e-01  1.860e-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.248e+00  2.636e-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.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428350/likelihoodResults_253065601_253324801_4FGL_J1424.6+1447_daily_bin53.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) = 7446.17268883
delta logL = -0.00154803963778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7446.1711408
delta logL = -4.45652403869e-09

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 'Index     '    2.1652       1.0000          .0000       10.000    
     3 'Normalizat'    1.2484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84146       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=   7446.171     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      238 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10020E-03    34.412        .14722E-02** at limit **
   2  Index         2.1422        5.8039        .50000        .16763E-04
   3  Normalizat    1.2484        .16787E-01    .28526E-03   -.24949E-04
   4  Prefactor     .84145        .12279E-01    .24732E-03   -.16824E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100201
  Index      = 2.14223
  Normalizat = 1.24836
  Prefactor  = 0.841446
 **********
 **   18 **HESSE 
 **********

 FCN=   7446.171     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10020E-03    165.68        .29444E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1422        6.1997        .50000       -.60840    
   3  Normalizat    1.2484        .38877E-01    .11410E-04   -.85121    
   4  Prefactor     .84145        .28424E-01    .98929E-05   -.98218    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28558e-08
Minuit parameter uncertainties:
  1  0.0115626
  2  474.035
  3  0.0388781
  4  0.0284242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428350': 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) = 7446.1711407
delta logL = 9.53332346398e-08

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.002e-04  1.156e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.142e+00  4.740e+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.414e-01  2.842e-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.248e+00  3.888e-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/428350/cmap_HighResolution_253065601_253324801_4FGL_J1424.6+1447_daily_bin53.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.92e-03', job_status='DONE', photon_flux_upper_limit='5.16e-08', time_completed='2021-09-09 14:13:57.465889', job_id='428350', GAL2='0.84', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1631222037.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='9.53e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='53' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:13:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 428350: <4FGL_J1424.6+1447_daily_bin53> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin53 216.169 14.784 253065601 253324801 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 :                                   667.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             270.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            744 sec.

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

