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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin25
RA = 216.169, Dec = 14.784
tmin = 245808001, tmax = 246067201
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='428307', job_status='RUN', time_executed='2021-09-09 14:04:41.385502', time_epoch_executed='1631221481.39' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='25'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428307

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428307/ft1_4FGL_J1424.6+1447_daily_bin25.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428307/ft2_4FGL_J1424.6+1447_daily_bin25.fits


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

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

Done.
real 1.47
user 1.27
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428307/ft1_filtered_4FGL_J1424.6+1447_daily_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/428307/ft2_4FGL_J1424.6+1447_daily_bin25.fits sctable="SC_DATA" expcube=/scratch/kocevski/428307/ltcube_245808001_246067201_4FGL_J1424.6+1447_daily_bin25.fits outfile=/scratch/kocevski/428307/expmap_245808001_246067201_4FGL_J1424.6+1447_daily_bin25.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/428307/ltcube_245808001_246067201_4FGL_J1424.6+1447_daily_bin25.fits
.....................!
real 190.60
user 185.72
sys 4.51

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/428307/ft1_filtered_4FGL_J1424.6+1447_daily_bin25.fits scfile=/scratch/kocevski/428307/ft2_4FGL_J1424.6+1447_daily_bin25.fits outfile=/scratch/kocevski/428307/cmap_245808001_246067201_4FGL_J1424.6+1447_daily_bin25.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428307/ft1_filtered_4FGL_J1424.6+1447_daily_bin25.fits scfile=/scratch/kocevski/428307/ft2_4FGL_J1424.6+1447_daily_bin25.fits outfile=/scratch/kocevski/428307/cmap_HighResolution_245808001_246067201_4FGL_J1424.6+1447_daily_bin25.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.54
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35138E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .33461E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10358E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.244       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11128E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    17.202       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.9358       1.0000         .10000E-03   10000.    
     9 'norm      '    6.7512       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.0042       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.162       1.0000         .10000E-03   10000.    
    13 'norm      '    .66572E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10070E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12296E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11681E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10620E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.667       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9453       1.0000         .10000E-03   10000.    
    21 'norm      '    4.1034       1.0000         .10000E-03   10000.    
    22 'norm      '    .18406E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3578       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89651       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=   11752.42     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2692 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.307        .46572E-05** at limit **
   2  Prefactor     .10000E-03    3.2544        .20288E-07** at limit **
   3  Prefactor     .10000E-03    23.082       -.11321E-04** at limit **
   4  Prefactor     .10000E-03    10.172       -.16330E-05** at limit **
   5  Prefactor     31.287        22.321       -.50852E-05    .42249E-04
   6  Prefactor     .10000E-03    5.4622       -.12584E-05** at limit **
   7  norm          17.239        15.326       -.22998E-05    .70188E-05
   8  Prefactor     8.9678        5.8793       -.21593E-05   -.44805E-04
   9  norm          6.7527        2.5275       -.39594E-07    .10768E-04
  10  Prefactor     .10000E-03    3.1314        .13786E-06** at limit **
  11  norm          2.0056        1.9695       -.18475E-06   -.79766E-03
  12  Prefactor     29.166        23.650        .16169E-05    .44554E-05
  13  norm          .10000E-03    14.030        .48792E-07** at limit **
  14  norm          .10000E-03    1.4833       -.15330E-07** at limit **
  15  Prefactor     .10000E-03    10.798        .59453E-05** at limit **
  16  Prefactor     .10000E-03    4.4714       -.36324E-06** at limit **
  17  Prefactor     .10000E-03    2.7081        .79021E-08** at limit **
  18  Prefactor     .10000E-03    4.9217        .11398E-05** at limit **
  19  Prefactor     25.836        25.679        .27448E-05   -.13555E-04
  20  Prefactor     5.9425        6.5801        .28120E-07   -.96339E-04
  21  norm          4.1031        .32978       -.11199E-07    .32785E-03
  22  norm          .10000E-03    10.149       -.45555E-05** at limit **
  23  Normalizat    1.3575        .16852        .10555E-05    .14221E-03
  24  Prefactor     .89651        .12206        .13387E-06    .23270E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 31.2868
  Prefactor  = 0.0001
  norm       = 17.2385
  Prefactor  = 8.96784
  norm       = 6.75274
  Prefactor  = 0.0001
  norm       = 2.00562
  Prefactor  = 29.1663
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.8358
  Prefactor  = 5.94255
  norm       = 4.10312
  norm       = 0.0001
  Normalizat = 1.35751
  Prefactor  = 0.896514
 **********
 **   18 **HESSE 
 **********

 FCN=   11752.42     FROM HESSE     STATUS=OK           393 CALLS     3085 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.322        .21322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.3764        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    23.737        .42686E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     31.287        22.329        .71683E-04   -1.4589    
   6  Prefactor     .10000E-03    5.4703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.239        15.338        .96566E-04   -1.4877    
   8  Prefactor     8.9678        5.8933        .13408E-03   -1.5109    
   9  norm          6.7527        2.5278        .10222E-03   -1.5188    
  10  Prefactor     .10000E-03    3.2227        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.0056        1.9604        .14554E-03   -1.5425    
  12  Prefactor     29.166        23.588        .74191E-04   -1.4627    
  13  norm          .10000E-03    14.132        .21008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.5007        .12892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.4765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.7097        .17422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.9217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.836        25.657        .79070E-04   -1.4691    
  20  Prefactor     5.9425        6.5776        .16469E-03   -1.5220    
  21  norm          4.1031        .33010        .17055E-04   -1.5303    
  22  norm          .10000E-03    10.153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3575        .20363        .29213E-03   -.81865    
  24  Prefactor     .89651        .14753        .25287E-03   -.96263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45312e-10
Minuit parameter uncertainties:
  1  3.89551e-06
  2  1.79918e-06
  3  0.000229986
  4  3.75717e-06
  5  22.3349
  6  2.48833e-06
  7  15.3411
  8  5.89371
  9  2.52783
  10  2.70578e-05
  11  1.96046
  12  23.5957
  13  9.1418e-05
  14  1.54102e-06
  15  1.69538e-05
  16  2.59517e-06
  17  2.34115e-06
  18  7.16617e-06
  19  25.6681
  20  6.57837
  21  0.330105
  22  1.10067e-06
  23  0.203751
  24  0.147594
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  8.968e+00  5.894e+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:  8.965e-01  1.476e-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.358e+00  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.14
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 3.88e-08 +/- 2.55e-08
Energy Flux (Fixed Index): 1.84e-05 +/- 1.21e-05

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) = 11752.4063079
delta logL = 0.00955243874523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11752.3975085
delta logL = 0.0183518774156

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.043       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0715       1.0000          .0000       10.000    
     3 'Normalizat'    1.3622       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89410       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=   11752.40     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      253 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.045        8.9051        .12644E-03    .58264E-04
   2  Index         2.0723        .53627        .84219E-02    .61833E-03
   3  Normalizat    1.3622        .20344        .29171E-03   -.15760E-03
   4  Prefactor     .89413        .14687        .25316E-03   -.55684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0448
  Index      = 2.0723
  Normalizat = 1.36222
  Prefactor  = 0.89413
 **********
 **   18 **HESSE 
 **********

 FCN=   11752.40     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.045        8.4846        .50576E-05   -1.5074    
   2  Index         2.0723        .51093        .16844E-02   -.62555    
   3  Normalizat    1.3622        .20347        .11669E-04   -.81728    
   4  Prefactor     .89413        .14695        .10127E-04   -.96347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66241e-11
Minuit parameter uncertainties:
  1  8.48562
  2  0.512292
  3  0.203593
  4  0.14702
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428307': 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) = 11752.3975061
delta logL = 0.0183543021521

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.004e+01  8.486e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.072e+00  5.123e-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:  8.941e-01  1.470e-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.362e+00  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.16
Ra Dec: 216.169 14.784
Photon Index (Free Index): 2.07 +/- 0.51
Photon Flux (Free Index): 3.57e-08 +/- 2.85e-08
Energy Flux (Free Index): 2.08e-05 +/- 1.98e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/428307/cmap_HighResolution_245808001_246067201_4FGL_J1424.6+1447_daily_bin25.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.88e-08', energy_flux2='2.08e-05', photon_flux_error='2.55e-08', dlogl='1.84e-02', energy_flux='1.84e-05', photon_flux2='3.57e-08', job_status='DONE', time_completed='2021-09-09 14:17:33.609313', photon_index_error2='0.51', photon_index2='2.07', ts='5.14', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.98e-05', EG='1.36', time_epoch_completed='1631222253.61', return_code='0', job_id='428307', GAL2='0.89', EG2='1.36', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='2.85e-08', ts2='5.16', photon_index='2.17' WHERE bin_id='25' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:17:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 428307: <4FGL_J1424.6+1447_daily_bin25> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin25> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 14:01:31 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:01:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:01:32 2021
Terminated at Thu Sep  9 14:17:34 2021
Results reported at Thu Sep  9 14:17:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin25 216.169 14.784 245808001 246067201 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 :                                   771.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   961 sec.
    Turnaround time :                            963 sec.

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

