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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin498
RA = 216.169, Dec = 14.784
tmin = 368409601, tmax = 368668801
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='431437', job_status='RUN', time_executed='2021-09-09 14:15:13.803278', time_epoch_executed='1631222113.8' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='498'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431437

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431437/ft1_4FGL_J1424.6+1447_daily_bin498.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431437/ft2_4FGL_J1424.6+1447_daily_bin498.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431437/ft1_4FGL_J1424.6+1447_daily_bin498.fits outfile=/scratch/kocevski/431437/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin498.fits ra=216.169 dec=14.784 rad=12.0 tmin=368409601.0 tmax=368668801.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.29
user 3.07
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431437/ft1_filtered_4FGL_J1424.6+1447_daily_bin498.fits" evtable="EVENTS" scfile=/scratch/kocevski/431437/ft2_4FGL_J1424.6+1447_daily_bin498.fits sctable="SC_DATA" outfile=/scratch/kocevski/431437/ltcube_368409601_368668801_4FGL_J1424.6+1447_daily_bin498.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/431437/ft2_4FGL_J1424.6+1447_daily_bin498.fits
.....................!
real 15.50
user 15.14
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431437/ft1_filtered_4FGL_J1424.6+1447_daily_bin498.fits evtable="EVENTS" scfile=/scratch/kocevski/431437/ft2_4FGL_J1424.6+1447_daily_bin498.fits sctable="SC_DATA" expcube=/scratch/kocevski/431437/ltcube_368409601_368668801_4FGL_J1424.6+1447_daily_bin498.fits outfile=/scratch/kocevski/431437/expmap_368409601_368668801_4FGL_J1424.6+1447_daily_bin498.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/431437/ltcube_368409601_368668801_4FGL_J1424.6+1447_daily_bin498.fits
.....................!
real 191.39
user 186.36
sys 4.63

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/431437/ft1_filtered_4FGL_J1424.6+1447_daily_bin498.fits scfile=/scratch/kocevski/431437/ft2_4FGL_J1424.6+1447_daily_bin498.fits outfile=/scratch/kocevski/431437/cmap_368409601_368668801_4FGL_J1424.6+1447_daily_bin498.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.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431437/ft1_filtered_4FGL_J1424.6+1447_daily_bin498.fits scfile=/scratch/kocevski/431437/ft2_4FGL_J1424.6+1447_daily_bin498.fits outfile=/scratch/kocevski/431437/cmap_HighResolution_368409601_368668801_4FGL_J1424.6+1447_daily_bin498.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/431437/ft1_filtered_4FGL_J1424.6+1447_daily_bin498.fits evtable="EVENTS" scfile=/scratch/kocevski/431437/ft2_4FGL_J1424.6+1447_daily_bin498.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/431437/Model_4FGL_J1424.6+1447_daily_bin498.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/431437/ft1_filtered_4FGL_J1424.6+1447_daily_bin498.fits.....................!
real 48.67
user 47.27
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.295       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.2252       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .42684E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.807       1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.775       1.0000         .10000E-03   10000.    
     7 'norm      '    41.529       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.5717       1.0000         .10000E-03   10000.    
     9 'norm      '    5.7317       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3452       1.0000         .10000E-03   10000.    
    11 'norm      '    3.7260       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.1932       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .29765       1.0000         .10000E-03   10000.    
    22 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2466       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98808       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=   6269.385     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2746 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.283        54.849       -.10397E-04    .57479E-05
   2  Prefactor     2.2252        3.1940        .14513E-06    .84290E-04
   3  Prefactor     .10563E-03    6.6214       -.18742E-05** at limit **
   4  Prefactor     .10000E-03    19.792       -.51482E-05** at limit **
   5  Prefactor     10.806        18.172        .18570E-07    .11511E-04
   6  Prefactor     31.773        23.753       -.17876E-06    .43399E-05
   7  norm          41.528        27.591       -.26980E-06    .30356E-06
   8  Prefactor     4.5739        6.6564       -.20215E-06   -.45475E-03
   9  norm          5.7315        2.9570        .70548E-07    .57808E-05
  10  Prefactor     1.3410        1.8402        .54824E-06   -.23046E-02
  11  norm          3.7262        2.7003       -.82902E-07   -.71759E-04
  12  Prefactor     .10000E-03    7.5848       -.14985E-06** at limit **
  13  norm          .10000E-03    10.028       -.17804E-05** at limit **
  14  norm          3.1926        3.9764       -.10323E-06   -.32528E-04
  15  Prefactor     .10000E-03    27.753        .56142E-05** at limit **
  16  Prefactor     .10000E-03    13.585        .12235E-05** at limit **
  17  Prefactor     .10000E-03    21.132        .24460E-05** at limit **
  18  Prefactor     .10000E-03    9.7736        .19964E-05** at limit **
  19  Prefactor     .10000E-03    98.269        .70775E-04** at limit **
  20  Prefactor     .10000E-03    5.1279       -.71939E-06** at limit **
  21  norm          .29764        .18640        .30933E-08   -.89551E-03
  22  norm          .10000E-03    55.224       -.18966E-04** at limit **
  23  Normalizat    1.2467        .20310        .27820E-06   -.36850E-04
  24  Prefactor     .98810        .15132        .36067E-07   -.60688E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.2827
  Prefactor  = 2.22518
  Prefactor  = 0.000105627
  Prefactor  = 0.0001
  Prefactor  = 10.8057
  Prefactor  = 31.773
  norm       = 41.5283
  Prefactor  = 4.57391
  norm       = 5.73154
  Prefactor  = 1.34098
  norm       = 3.72619
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.19264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.297643
  norm       = 0.0001
  Normalizat = 1.2467
  Prefactor  = 0.988103
 **********
 **   18 **HESSE 
 **********

 FCN=   6269.385     FROM HESSE     STATUS=OK           407 CALLS     3153 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.283        54.873        .67456E-04   -1.4519    
   2  Prefactor     2.2252        3.1786        .16470E-03   -1.5410    
   3  Prefactor     .10563E-03    8.2998        .72757E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.296        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.806        18.168        .12188E-03   -1.5050    
   6  Prefactor     31.773        23.764        .71083E-04   -1.4580    
   7  norm          41.528        27.604        .62204E-04   -1.4418    
   8  Prefactor     4.5739        6.6745        .94133E-03   -1.5280    
   9  norm          5.7315        2.9569        .94695E-04   -1.5229    
  10  Prefactor     1.3410        6.7816        .18718E-02   -1.5476    
  11  norm          3.7262        2.7032        .10668E-03   -1.5322    
  12  Prefactor     .10000E-03    7.5881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.1926        3.9660        .17106E-03   -1.5351    
  15  Prefactor     .10000E-03    28.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.7793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    98.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.1468        .17511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .29764        .18216        .25970E-04   -1.5599    
  22  norm          .10000E-03    55.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2467        .24659        .26755E-03   -.85172    
  24  Prefactor     .98810        .18254        .22065E-03   -.93127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49226e-08
Minuit parameter uncertainties:
  1  54.9518
  2  3.17879
  3  0.0136704
  4  5.49054e-05
  5  18.1777
  6  23.7708
  7  27.6124
  8  6.67562
  9  2.95695
  10  6.0321
  11  2.70326
  12  1.52522e-07
  13  9.20998e-07
  14  3.96634
  15  5.83741e-05
  16  6.70901e-06
  17  9.19445e-05
  18  1.20009e-05
  19  0.000260747
  20  2.45102e-06
  21  0.182161
  22  8.17531e-05
  23  0.246824
  24  0.182652
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  4.574e+00  6.676e+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.881e-01  1.827e-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.247e+00  2.468e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/431437/likelihoodResults_368409601_368668801_4FGL_J1424.6+1447_daily_bin498.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) = 6269.3789923
delta logL = 0.00600716182998

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6269.37555899
delta logL = 0.00944047327448

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9634       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3064       1.0000          .0000       10.000    
     3 'Normalizat'    1.2432       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98956       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=   6269.376     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      254 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9640        8.3455        .20261E-03    .33274E-04
   2  Index         2.3063        1.1217        .94718E-02    .21101E-04
   3  Normalizat    1.2432        .24436        .26786E-03    .25445E-03
   4  Prefactor     .98953        .18188        .22051E-03    .37637E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.96404
  Index      = 2.30631
  Normalizat = 1.24323
  Prefactor  = 0.989534
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9640        7.3871        .81044E-05   -1.5310    
   2  Index         2.3063        .99510        .37887E-03   -.56894    
   3  Normalizat    1.2432        .24413        .53572E-04   -.85277    
   4  Prefactor     .98953        .18184        .44101E-04   -.93079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17557e-10
Minuit parameter uncertainties:
  1  7.3888
  2  1.0046
  3  0.244354
  4  0.18195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431437': 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) = 6269.37555898
delta logL = 0.00944048755264

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  3.964e+00  7.389e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.306e+00  1.005e+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:  9.895e-01  1.819e-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.243e+00  2.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.72
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/431437/cmap_HighResolution_368409601_368668801_4FGL_J1424.6+1447_daily_bin498.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-03', job_status='DONE', photon_flux_upper_limit='9.15e-08', time_completed='2021-09-09 14:25:44.616851', job_id='431437', GAL2='0.99', fit_tolerance='1e-08', EG2='1.24', EG='1.25', time_epoch_completed='1631222744.62', return_code2='0', ts='0.72', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='9.44e-03', ts2='0.74', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='498' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:25:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 431437: <4FGL_J1424.6+1447_daily_bin498> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin498 216.169 14.784 368409601 368668801 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.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             227.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            880 sec.

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

