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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin466
RA = 216.169, Dec = 14.784
tmin = 360115201, tmax = 360374401
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='430178', job_status='RUN', time_executed='2021-09-09 14:09:59.050578', time_epoch_executed='1631221799.05' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='466'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430178

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430178/ft1_4FGL_J1424.6+1447_daily_bin466.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430178/ft2_4FGL_J1424.6+1447_daily_bin466.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430178/ft1_4FGL_J1424.6+1447_daily_bin466.fits outfile=/scratch/kocevski/430178/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin466.fits ra=216.169 dec=14.784 rad=12.0 tmin=360115201.0 tmax=360374401.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.45
user 3.20
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430178/ft2_4FGL_J1424.6+1447_daily_bin466.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/430178/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin466.fits evtable="EVENTS" outfile="/scratch/kocevski/430178/ft1_filtered_4FGL_J1424.6+1447_daily_bin466.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.51
user 0.31
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430178/ft1_filtered_4FGL_J1424.6+1447_daily_bin466.fits evtable="EVENTS" scfile=/scratch/kocevski/430178/ft2_4FGL_J1424.6+1447_daily_bin466.fits sctable="SC_DATA" expcube=/scratch/kocevski/430178/ltcube_360115201_360374401_4FGL_J1424.6+1447_daily_bin466.fits outfile=/scratch/kocevski/430178/expmap_360115201_360374401_4FGL_J1424.6+1447_daily_bin466.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/430178/ltcube_360115201_360374401_4FGL_J1424.6+1447_daily_bin466.fits
.....................!
real 192.04
user 186.83
sys 4.86

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/430178/ft1_filtered_4FGL_J1424.6+1447_daily_bin466.fits scfile=/scratch/kocevski/430178/ft2_4FGL_J1424.6+1447_daily_bin466.fits outfile=/scratch/kocevski/430178/cmap_360115201_360374401_4FGL_J1424.6+1447_daily_bin466.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430178/ft1_filtered_4FGL_J1424.6+1447_daily_bin466.fits scfile=/scratch/kocevski/430178/ft2_4FGL_J1424.6+1447_daily_bin466.fits outfile=/scratch/kocevski/430178/cmap_HighResolution_360115201_360374401_4FGL_J1424.6+1447_daily_bin466.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11296E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.2595       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10377E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.112       1.0000         .10000E-03   10000.    
     9 'norm      '    5.8398       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.2508       1.0000         .10000E-03   10000.    
    11 'norm      '    2.4875       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10150E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    38.378       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8099       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.0814       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.0724       1.0000         .10000E-03   10000.    
    21 'norm      '    .36268       1.0000         .10000E-03   10000.    
    22 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94222       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0432       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=   6071.824     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2656 TOTAL
                     EDM=   .45E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.844        .24761E-06** at limit **
   2  Prefactor     .10000E-03    1.1621        .19962E-07** at limit **
   3  Prefactor     .10000E-03    4.4823        .64271E-07** at limit **
   4  Prefactor     .10000E-03    6.6158        .23134E-06** at limit **
   5  Prefactor     8.2578        31.737       -.21081E-06    .19173E-05
   6  Prefactor     .10000E-03    14.869        .12353E-05** at limit **
   7  norm          .10000E-03    24.530       -.11336E-05** at limit **
   8  Prefactor     17.115        12.138        .26407E-06    .38453E-04
   9  norm          5.8402        2.3675        .68342E-08    .16051E-04
  10  Prefactor     4.2470        7.5043       -.11944E-05   -.17521E-04
  11  norm          2.4874        2.5248       -.15979E-06    .19288E-04
  12  Prefactor     .10000E-03    13.124       -.18845E-05** at limit **
  13  norm          .10000E-03    5.8811       -.25486E-06** at limit **
  14  norm          .10000E-03    1.3594        .16923E-07** at limit **
  15  Prefactor     .10000E-03    22.983       -.72978E-06** at limit **
  16  Prefactor     38.394        29.489       -.17878E-05    .23620E-04
  17  Prefactor     3.7959        14.862       -.73530E-06    .58109E-05
  18  Prefactor     1.0092        77.092       -.65033E-05    .94245E-06
  19  Prefactor     .10000E-03    22.545       -.25129E-06** at limit **
  20  Prefactor     6.0745        7.9866       -.21603E-06   -.15069E-05
  21  norm          .36265        .19451       -.57914E-07   -.22672E-04
  22  norm          .10000E-03    14.924        .12681E-05** at limit **
  23  Normalizat    .94200        .20702        .70387E-06    .25923E-04
  24  Prefactor     1.0433        .15414        .45750E-06    .58301E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.25778
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.1153
  norm       = 5.84019
  Prefactor  = 4.247
  norm       = 2.48741
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.3943
  Prefactor  = 3.79591
  Prefactor  = 1.00923
  Prefactor  = 0.0001
  Prefactor  = 6.07451
  norm       = 0.362648
  norm       = 0.0001
  Normalizat = 0.942005
  Prefactor  = 1.04334
 **********
 **   18 **HESSE 
 **********

 FCN=   6071.824     FROM HESSE     STATUS=OK           399 CALLS     3055 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.1639        .82027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.4903        .16109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.6687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.2578        31.674        .13950E-03   -1.5133    
   6  Prefactor     .10000E-03    14.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    24.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.115        12.062        .96820E-04   -1.4880    
   9  norm          5.8402        2.3684        .74352E-04   -1.5225    
  10  Prefactor     4.2470        7.5035        .19543E-03   -1.5296    
  11  norm          2.4874        2.5138        .11926E-03   -1.5393    
  12  Prefactor     .10000E-03    13.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.8863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.3656        .88716E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    23.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     38.394        29.495        .64698E-04   -1.4468    
  17  Prefactor     3.7959        14.680        .20679E-03   -1.5318    
  18  Prefactor     1.0092        77.142        .57891E-02   -1.5507    
  19  Prefactor     .10000E-03    22.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.0745        7.9898        .16293E-03   -1.5215    
  21  norm          .36265        .19239        .24070E-04   -1.5588    
  22  norm          .10000E-03    14.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .94200        .24464        .28377E-03   -.94999    
  24  Prefactor     1.0433        .18331        .20364E-03   -.91298    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.29029e-11
Minuit parameter uncertainties:
  1  1.27912e-05
  2  7.69005e-07
  3  3.61039e-06
  4  1.19929e-05
  5  31.7383
  6  1.65889e-05
  7  1.09705e-05
  8  12.0638
  9  2.36841
  10  7.50518
  11  2.51393
  12  3.29069e-06
  13  1.75797e-07
  14  9.13381e-07
  15  1.40021e-05
  16  29.5065
  17  14.6941
  18  17.6697
  19  2.41297e-06
  20  7.99122
  21  0.192395
  22  4.42896e-06
  23  0.244932
  24  0.183423
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.712e+01  1.206e+01  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:  1.043e+00  1.834e-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:  9.420e-01  2.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.75
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 7.41e-08 +/- 5.22e-08
Energy Flux (Fixed Index): 3.51e-05 +/- 2.47e-05

TS (Fixed Index): 3.75
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 1.66e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.26e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430178/likelihoodResults_360115201_360374401_4FGL_J1424.6+1447_daily_bin466.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): 0
logL (Free Index) = 6070.76525817
delta logL = 1.05868620133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6070.72771506
delta logL = 1.09622930998

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5269       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2814       1.0000          .0000       10.000    
     3 'Normalizat'    .84282       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0985       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6070.728     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      256 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5269        18.098        .64242E-02    .15172E-02
   2  Index         3.2815        1.9959        .72694E-01    .19326E-03
   3  Normalizat    .84283        .73308E-01    .67352E-01    .17373E-04
   4  Prefactor     1.0985        .52461E-01    .37643E-01    .49143E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.52691
  Index      = 3.2815
  Normalizat = 0.842831
  Prefactor  = 1.09849
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.728     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      289 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5269        27.640        .56807E-04   -1.5390    
   2  Index         3.2815        2.6794        .29234E-02   -.35085    
   3  Normalizat    .84283        .25652        .29798E-03   -.98499    
   4  Prefactor     1.0985        .18999        .19895E-03   -.89515    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43017e-07
Minuit parameter uncertainties:
  1  16.7239
  2  2.85147
  3  0.256894
  4  0.19011
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430178': 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) = 6070.7277149
delta logL = 1.09622946894

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.527e+00  1.672e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.282e+00  2.851e+00  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.098e+00  1.901e-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:  8.428e-01  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.17
Ra Dec: 216.169 14.784
Photon Index (Free Index): 3.28 +/- 2.85
Photon Flux (Free Index): 1.36e-07 +/- 7.91e-08
Energy Flux (Free Index): 2.41e-05 +/- 1.94e-05

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/430178/cmap_HighResolution_360115201_360374401_4FGL_J1424.6+1447_daily_bin466.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', comment='SUCCESS', photon_flux='7.41e-08', energy_flux2='2.41e-05', photon_flux_error='5.22e-08', dlogl='1.10e+00', energy_flux='3.51e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-09-09 14:19:51.461313', photon_index_error2='2.85', photon_index2='3.28', ts='3.75', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.66e-07', energy_flux_error2='1.94e-05', EG='0.94', time_epoch_completed='1631222391.46', return_code='0', job_id='430178', GAL2='1.10', EG2='0.84', return_code2='102', energy_flux_error='2.47e-05', photon_flux_error2='7.91e-08', ts2='6.17', photon_index='2.17' WHERE bin_id='466' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:19:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 430178: <4FGL_J1424.6+1447_daily_bin466> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin466 216.169 14.784 360115201 360374401 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 :                                   588.15 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             284.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            789 sec.

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

