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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin229
RA = 216.169, Dec = 14.784
tmin = 298684801, tmax = 298944001
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='429774', job_status='RUN', time_executed='2021-09-09 14:10:06.249861', time_epoch_executed='1631221806.25' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='229'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429774

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429774/ft1_4FGL_J1424.6+1447_daily_bin229.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429774/ft2_4FGL_J1424.6+1447_daily_bin229.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429774/ft1_4FGL_J1424.6+1447_daily_bin229.fits outfile=/scratch/kocevski/429774/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin229.fits ra=216.169 dec=14.784 rad=12.0 tmin=298684801.0 tmax=298944001.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.46
user 3.25
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429774/ft1_filtered_4FGL_J1424.6+1447_daily_bin229.fits evtable="EVENTS" scfile=/scratch/kocevski/429774/ft2_4FGL_J1424.6+1447_daily_bin229.fits sctable="SC_DATA" expcube=/scratch/kocevski/429774/ltcube_298684801_298944001_4FGL_J1424.6+1447_daily_bin229.fits outfile=/scratch/kocevski/429774/expmap_298684801_298944001_4FGL_J1424.6+1447_daily_bin229.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/429774/ltcube_298684801_298944001_4FGL_J1424.6+1447_daily_bin229.fits
.....................!
real 192.56
user 186.85
sys 5.30

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 145 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.6+1447 @ 216.169 14.784

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/429774/ft1_filtered_4FGL_J1424.6+1447_daily_bin229.fits scfile=/scratch/kocevski/429774/ft2_4FGL_J1424.6+1447_daily_bin229.fits outfile=/scratch/kocevski/429774/cmap_298684801_298944001_4FGL_J1424.6+1447_daily_bin229.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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429774/ft1_filtered_4FGL_J1424.6+1447_daily_bin229.fits scfile=/scratch/kocevski/429774/ft2_4FGL_J1424.6+1447_daily_bin229.fits outfile=/scratch/kocevski/429774/cmap_HighResolution_298684801_298944001_4FGL_J1424.6+1447_daily_bin229.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.648       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9186       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.256       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.1548       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10186E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11054E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .60019E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .21841E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.749       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.873       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.1219       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .54420       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1121       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97371       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=   6560.442     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2728 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.623        43.029       -.18665E-05   -.64199E-05
   2  Prefactor     .10000E-03    1.7538        .32773E-06** at limit **
   3  Prefactor     .10000E-03    7.2800        .26520E-06** at limit **
   4  Prefactor     2.9184        8.7991       -.44087E-05    .75133E-05
   5  Prefactor     12.252        23.116       -.44188E-07    .32202E-06
   6  Prefactor     .10000E-03    18.832       -.36655E-07** at limit **
   7  norm          .10000E-03    11.196       -.16391E-06** at limit **
   8  Prefactor     .10000E-03    2.1196        .55252E-08** at limit **
   9  norm          3.1547        2.1459       -.17380E-07   -.37807E-04
  10  Prefactor     .10000E-03    2.1681        .13818E-07** at limit **
  11  norm          .10000E-03    1.0776       -.66923E-07** at limit **
  12  Prefactor     .10000E-03    133.03        .39006E-06** at limit **
  13  norm          .10000E-03    89.003        .13075E-04** at limit **
  14  norm          .10000E-03    3.4882        .14373E-06** at limit **
  15  Prefactor     14.751        21.770       -.26198E-06   -.50478E-04
  16  Prefactor     10.873        21.796       -.30026E-06   -.34818E-04
  17  Prefactor     .10000E-03    10.143        .28943E-06** at limit **
  18  Prefactor     4.1185        32.516       -.10499E-05   -.28396E-04
  19  Prefactor     .10000E-03    18.742       -.13354E-06** at limit **
  20  Prefactor     .10000E-03    2.7458        .13753E-07** at limit **
  21  norm          .54420        .20065       -.99807E-08   -.25746E-03
  22  norm          .10000E-03    14.781        .53739E-06** at limit **
  23  Normalizat    1.1121        .19038       -.10712E-05   -.21363E-03
  24  Prefactor     .97374        .14046        .14056E-05   -.11206E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6228
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.9184
  Prefactor  = 12.2525
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.15467
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100001
  norm       = 0.000100002
  Prefactor  = 14.751
  Prefactor  = 10.8734
  Prefactor  = 0.0001
  Prefactor  = 4.11847
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.544201
  norm       = 0.0001
  Normalizat = 1.11206
  Prefactor  = 0.97374
 **********
 **   18 **HESSE 
 **********

 FCN=   6560.442     FROM HESSE     STATUS=OK           397 CALLS     3125 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.623        43.040        .11738E-03   -1.5026    
   2  Prefactor     .10000E-03    1.7779        .10504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.3284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9184        8.9286        .11890E-02   -1.5366    
   5  Prefactor     12.252        23.124        .11442E-03   -1.5008    
   6  Prefactor     .10000E-03    18.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    11.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.1241        .11514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.1547        2.1480        .94943E-04   -1.5353    
  10  Prefactor     .10000E-03    2.1840        .11644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.8780        .16331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    133.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    88.122        .63686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    11.009        .28706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.751        21.677        .10429E-03   -1.4940    
  16  Prefactor     10.873        21.648        .12150E-03   -1.5048    
  17  Prefactor     .10000E-03    10.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.1185        32.131        .19855E-03   -1.5302    
  19  Prefactor     .10000E-03    18.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.7491        .13108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .54420        .19978        .21089E-04   -1.5560    
  22  norm          .10000E-03    14.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1121        .23453        .26457E-03   -.89366    
  24  Prefactor     .97374        .17041        .20700E-03   -.93610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25478e-10
Minuit parameter uncertainties:
  1  43.1556
  2  2.25733e-05
  3  4.07176e-05
  4  8.93268
  5  23.1411
  6  3.26845e-05
  7  4.86871e-06
  8  5.61664e-07
  9  2.14804
  10  1.66259e-06
  11  3.57526e-06
  12  0.000744117
  13  0.000471379
  14  0.000262743
  15  21.689
  16  21.6631
  17  1.43735e-05
  18  23.0236
  19  1.01637e-05
  20  7.44559e-07
  21  0.19978
  22  1.98384e-05
  23  0.234753
  24  0.170506
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  5.617e-07  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.737e-01  1.705e-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.112e+00  2.348e-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: 4.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/429774/likelihoodResults_298684801_298944001_4FGL_J1424.6+1447_daily_bin229.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) = 6560.44389176
delta logL = -0.00222835750537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6560.44166369
delta logL = -2.91353899229e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10338E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1492       1.0000          .0000       10.000    
     3 'Normalizat'    1.1120       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97376       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=   6560.442     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      239 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10134E-03    25.079        .11759E-02** at limit **
   2  Index         2.0949        5.7284        .50000        .75919E-04
   3  Normalizat    1.1121        .15693E-01    .26457E-03   -.64887E-05
   4  Prefactor     .97374        .11637E-01    .20700E-03   -.54591E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101342
  Index      = 2.09488
  Normalizat = 1.11206
  Prefactor  = 0.973739
 **********
 **   18 **HESSE 
 **********

 FCN=   6560.442     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 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     .10134E-03    102.17        .23519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0949        7.6553        .50000       -.61999    
   3  Normalizat    1.1121        .33001E-01    .10583E-04   -.89366    
   4  Prefactor     .97374        .24470E-01    .82801E-05   -.93610    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.84761e-08
Minuit parameter uncertainties:
  1  0.0234595
  2  276.693
  3  0.0330015
  4  0.0244704
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429774': 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) = 6560.44166213
delta logL = 1.27290240926e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.013e-04  2.346e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.095e+00  2.767e+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:  9.737e-01  2.447e-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.112e+00  3.300e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/429774/cmap_HighResolution_298684801_298944001_4FGL_J1424.6+1447_daily_bin229.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.55e-03', job_status='DONE', photon_flux_upper_limit='4.67e-08', time_completed='2021-09-09 14:20:43.326480', job_id='429774', GAL2='0.97', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1631222443.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.27e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='229' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:20:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 429774: <4FGL_J1424.6+1447_daily_bin229> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin229> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:13 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06:15 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:06:15 2021
Terminated at Thu Sep  9 14:20:44 2021
Results reported at Thu Sep  9 14:20:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin229 216.169 14.784 298684801 298944001 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 :                                   629.00 sec.
    Max Memory :                                 1144 MB
    Average Memory :                             223.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            871 sec.

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

