/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 159 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 = 7403
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin554
RA = 216.169, Dec = 14.784
tmin = 382924801, tmax = 383184001
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='431520', job_status='RUN', time_executed='2021-09-09 14:14:04.615819', time_epoch_executed='1631222044.62' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='554'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431520

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431520/ft1_4FGL_J1424.6+1447_daily_bin554.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431520/ft2_4FGL_J1424.6+1447_daily_bin554.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431520/ft1_4FGL_J1424.6+1447_daily_bin554.fits outfile=/scratch/kocevski/431520/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin554.fits ra=216.169 dec=14.784 rad=12.0 tmin=382924801.0 tmax=383184001.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 4.47
user 4.24
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431520/ft2_4FGL_J1424.6+1447_daily_bin554.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/431520/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin554.fits evtable="EVENTS" outfile="/scratch/kocevski/431520/ft1_filtered_4FGL_J1424.6+1447_daily_bin554.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.49
user 0.34
sys 0.13

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431520/ft1_filtered_4FGL_J1424.6+1447_daily_bin554.fits evtable="EVENTS" scfile=/scratch/kocevski/431520/ft2_4FGL_J1424.6+1447_daily_bin554.fits sctable="SC_DATA" expcube=/scratch/kocevski/431520/ltcube_382924801_383184001_4FGL_J1424.6+1447_daily_bin554.fits outfile=/scratch/kocevski/431520/expmap_382924801_383184001_4FGL_J1424.6+1447_daily_bin554.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/431520/ltcube_382924801_383184001_4FGL_J1424.6+1447_daily_bin554.fits
.....................!
real 190.01
user 185.21
sys 4.43

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/431520/ft1_filtered_4FGL_J1424.6+1447_daily_bin554.fits scfile=/scratch/kocevski/431520/ft2_4FGL_J1424.6+1447_daily_bin554.fits outfile=/scratch/kocevski/431520/cmap_382924801_383184001_4FGL_J1424.6+1447_daily_bin554.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.59
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10826E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3006       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26028       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5538       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5189       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12736E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    51.074       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3349       1.0000         .10000E-03   10000.    
     9 'norm      '    2.6023       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .64737       1.0000         .10000E-03   10000.    
    11 'norm      '    2.2066       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .23559E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    25.117       1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.633       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .25953E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.749       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .42876       1.0000         .10000E-03   10000.    
    22 'norm      '    .10097E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2160       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91199       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=   6485.617     FROM MIGRAD    STATUS=CONVERGED    587 CALLS     2807 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.975       -.26681E-06** at limit **
   2  Prefactor     1.2975        4.0583        .84393E-06   -.15917E-03
   3  Prefactor     .39020        8.2261       -.33111E-06    .80789E-04
   4  Prefactor     6.5512        13.585       -.40946E-06   -.87667E-04
   5  Prefactor     5.5234        24.660       -.63005E-06   -.36368E-04
   6  Prefactor     .10000E-03    22.685        .10177E-06** at limit **
   7  norm          51.045        27.537        .14027E-05    .28797E-03
   8  Prefactor     4.3399        7.3509       -.45531E-06   -.16318E-03
   9  norm          2.6026        2.0845        .19218E-07   -.16370E-04
  10  Prefactor     .64619        7.9413        .36607E-05   -.32309E-03
  11  norm          2.2066        2.3602        .82529E-08   -.18879E-03
  12  Prefactor     .10001E-03    124.96        .33878E-07** at limit **
  13  norm          25.158        19.488        .10414E-05    .28816E-03
  14  norm          .10000E-03    2.1365        .20725E-07** at limit **
  15  Prefactor     .10000E-03    17.300       -.26951E-06** at limit **
  16  Prefactor     18.614        19.294        .53059E-06    .79205E-04
  17  Prefactor     .10078E-03    7.9181        .22434E-06** at limit **
  18  Prefactor     11.772        25.054       -.25317E-05   -.21405E-03
  19  Prefactor     .10000E-03    14.997       -.87286E-07** at limit **
  20  Prefactor     .10000E-03    2.8893        .49753E-08** at limit **
  21  norm          .42888        .17627        .66268E-08   -.23598E-03
  22  norm          .10000E-03    24.824        .24900E-06** at limit **
  23  Normalizat    1.2160        .20108       -.19358E-06   -.11801E-03
  24  Prefactor     .91188        .14311       -.38394E-06   -.97875E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.29746
  Prefactor  = 0.390204
  Prefactor  = 6.55116
  Prefactor  = 5.52338
  Prefactor  = 0.0001
  norm       = 51.0447
  Prefactor  = 4.33992
  norm       = 2.60255
  Prefactor  = 0.646186
  norm       = 2.20662
  Prefactor  = 0.000100011
  norm       = 25.1575
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.6137
  Prefactor  = 0.000100784
  Prefactor  = 11.7717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.428878
  norm       = 0.0001
  Normalizat = 1.21598
  Prefactor  = 0.911881
 **********
 **   18 **HESSE 
 **********

 FCN=   6485.617     FROM HESSE     STATUS=OK           413 CALLS     3220 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.2975        4.0602        .27850E-03   -1.5480    
   3  Prefactor     .39020        82.443        .43722E-02   -1.5583    
   4  Prefactor     6.5512        13.718        .15676E-03   -1.5196    
   5  Prefactor     5.5234        24.567        .17103E-03   -1.5238    
   6  Prefactor     .10000E-03    22.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          51.045        28.016        .28058E-03   -1.4278    
   8  Prefactor     4.3399        7.3222        .19347E-03   -1.5291    
   9  norm          2.6026        2.0865        .10086E-03   -1.5385    
  10  Prefactor     .64619        9.2581        .44639E-02   -1.5547    
  11  norm          2.2066        2.3455        .12269E-03   -1.5411    
  12  Prefactor     .10001E-03    128.33        .40152E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          25.158        19.689        .79929E-04   -1.4704    
  14  norm          .10000E-03    2.1832        .11494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.614        19.303        .92786E-04   -1.4845    
  17  Prefactor     .10078E-03    10.123        .74632E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.772        26.176        .11687E-03   -1.5022    
  19  Prefactor     .10000E-03    15.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.8952        .13369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .42888        .17513        .20871E-04   -1.5577    
  22  norm          .10000E-03    24.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2160        .24418        .26119E-03   -.86110    
  24  Prefactor     .91188        .17302        .21814E-03   -.95727    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42054e-07
Minuit parameter uncertainties:
  1  5.16979e-05
  2  4.06108
  3  11.3581
  4  13.7246
  5  23.3135
  6  6.03467e-05
  7  28.0236
  8  7.32368
  9  2.08651
  10  4.89235
  11  2.34558
  12  0.00239827
  13  19.6939
  14  9.4722e-07
  15  4.4176e-05
  16  19.3097
  17  0.00563444
  18  26.2011
  19  2.72809e-05
  20  8.27388e-07
  21  0.175133
  22  4.30782e-05
  23  0.244408
  24  0.173121
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  4.340e+00  7.324e+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

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  9.119e-01  1.731e-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.216e+00  2.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.52
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 9.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431520/likelihoodResults_382924801_383184001_4FGL_J1424.6+1447_daily_bin554.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) = 6484.79096947
delta logL = 0.826095826952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6483.89022689
delta logL = 1.72683840475

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.0416       1.0000          .0000       10.000    
     3 'Normalizat'    1.0948       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97733       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=   6483.890     FROM MIGRAD    STATUS=CONVERGED    235 CALLS      541 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .52324E-03    .80260E-05** at limit **
   2  Index         7.0416        .22718        .33566E-02    .41618E-04
   3  Normalizat    1.0946        .24050        .27284E-03    .81335E-04
   4  Prefactor     .97742        .17501        .21143E-03   -.16400E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.04163
  Normalizat = 1.0946
  Prefactor  = 0.977425
 **********
 **   18 **HESSE 
 **********

 FCN=   6483.890     FROM HESSE     STATUS=OK            25 CALLS      566 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .52165E-03    .16052E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.0416        .22432        .13427E-03    .42062    
   3  Normalizat    1.0946        .24066        .10914E-04   -.89925    
   4  Prefactor     .97742        .17519        .84574E-05   -.93486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44533e-10
Minuit parameter uncertainties:
  1  1.44795e-08
  2  0.224406
  3  0.240898
  4  0.175294
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431520': 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) = 6483.89022271
delta logL = 1.72684258159

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.448e-08  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  7.042e+00  2.244e-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:  9.774e-01  1.753e-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.095e+00  2.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.21
Ra Dec: 216.169 14.784
Photon Index (Free Index): 7.04 +/- 0.22
Photon Flux (Free Index): 9.90e-08 +/- 5.92e-08
Energy Flux (Free Index): 1.18e-05 +/- 7.00e-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/431520/cmap_HighResolution_382924801_383184001_4FGL_J1424.6+1447_daily_bin554.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.37e-03', comment='SUCCESS', energy_flux2='1.18e-05', dlogl='1.73e+00', photon_flux2='9.90e-08', job_status='DONE', time_completed='2021-09-09 14:24:51.245263', photon_index_error2='0.22', photon_index2='7.04', ts='0.52', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='9.70e-08', energy_flux_error2='7.00e-06', EG='1.22', time_epoch_completed='1631222691.25', return_code='0', job_id='431520', GAL2='0.98', EG2='1.09', return_code2='0', photon_flux_error2='5.92e-08', ts2='4.21', photon_index='2.17' WHERE bin_id='554' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:24:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 431520: <4FGL_J1424.6+1447_daily_bin554> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin554> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 14:11:11 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:11:13 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:11:13 2021
Terminated at Thu Sep  9 14:24:52 2021
Results reported at Thu Sep  9 14:24:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin554 216.169 14.784 382924801 383184001 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 :                                   643.24 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             245.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            821 sec.

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

