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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin84
RA = 216.169, Dec = 14.784
tmin = 261100801, tmax = 261360001
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='428396', job_status='RUN', time_executed='2021-09-09 14:03:44.700109', time_epoch_executed='1631221424.7' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='84'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428396

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428396/ft1_4FGL_J1424.6+1447_daily_bin84.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428396/ft2_4FGL_J1424.6+1447_daily_bin84.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428396/ft1_4FGL_J1424.6+1447_daily_bin84.fits outfile=/scratch/kocevski/428396/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin84.fits ra=216.169 dec=14.784 rad=12.0 tmin=261100801.0 tmax=261360001.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.50
user 1.32
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428396/ft1_filtered_4FGL_J1424.6+1447_daily_bin84.fits evtable="EVENTS" scfile=/scratch/kocevski/428396/ft2_4FGL_J1424.6+1447_daily_bin84.fits sctable="SC_DATA" expcube=/scratch/kocevski/428396/ltcube_261100801_261360001_4FGL_J1424.6+1447_daily_bin84.fits outfile=/scratch/kocevski/428396/expmap_261100801_261360001_4FGL_J1424.6+1447_daily_bin84.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/428396/ltcube_261100801_261360001_4FGL_J1424.6+1447_daily_bin84.fits
.....................!
real 191.02
user 186.42
sys 4.27

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/428396/ft1_filtered_4FGL_J1424.6+1447_daily_bin84.fits scfile=/scratch/kocevski/428396/ft2_4FGL_J1424.6+1447_daily_bin84.fits outfile=/scratch/kocevski/428396/cmap_261100801_261360001_4FGL_J1424.6+1447_daily_bin84.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428396/ft1_filtered_4FGL_J1424.6+1447_daily_bin84.fits scfile=/scratch/kocevski/428396/ft2_4FGL_J1424.6+1447_daily_bin84.fits outfile=/scratch/kocevski/428396/cmap_HighResolution_261100801_261360001_4FGL_J1424.6+1447_daily_bin84.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    1.5349       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4522       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.430       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.5130       1.0000         .10000E-03   10000.    
     9 'norm      '    10.377       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15788E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.4905       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.9394       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4763       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5762       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.5506       1.0000         .10000E-03   10000.    
    21 'norm      '    5.1002       1.0000         .10000E-03   10000.    
    22 'norm      '    23.824       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4828       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78484       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=   11550.64     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2726 TOTAL
                     EDM=   .53E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.391        .76732E-05** at limit **
   2  Prefactor     1.5354        .58243        .17197E-07   -.58048E-03
   3  Prefactor     2.4524        5.4442       -.83262E-06   -.16516E-04
   4  Prefactor     .10000E-03    1.9901       -.17474E-06** at limit **
   5  Prefactor     .10000E-03    15.808        .49882E-05** at limit **
   6  Prefactor     17.429        18.781       -.14935E-07    .27817E-05
   7  norm          .10000E-03    9.3686        .16531E-05** at limit **
   8  Prefactor     5.5113        4.8793       -.71538E-07    .10269E-03
   9  norm          10.377        2.8970       -.18951E-07    .25082E-04
  10  Prefactor     .10000E-03    2.5515       -.45406E-06** at limit **
  11  norm          .10000E-03    .79562        .32080E-07** at limit **
  12  Prefactor     .10000E-03    66.059       -.85792E-06** at limit **
  13  norm          .10000E-03    18.391       -.63343E-05** at limit **
  14  norm          2.4905        2.6737       -.42194E-07    .50946E-06
  15  Prefactor     .10000E-03    19.628       -.54705E-05** at limit **
  16  Prefactor     5.9395        11.548        .21864E-07   -.33046E-05
  17  Prefactor     6.4769        13.322       -.57941E-06    .26325E-04
  18  Prefactor     5.5800        19.004        .52969E-06    .30702E-04
  19  Prefactor     .10000E-03    21.263        .68257E-06** at limit **
  20  Prefactor     5.5509        7.0579       -.12493E-07   -.42246E-04
  21  norm          5.1002        .37395       -.46644E-08    .42265E-03
  22  norm          23.820        31.047       -.40289E-05    .57577E-06
  23  Normalizat    1.4828        .17341        .90742E-07    .18313E-03
  24  Prefactor     .78480        .12301        .54248E-06    .14530E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.53545
  Prefactor  = 2.45237
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.4292
  norm       = 0.0001
  Prefactor  = 5.51131
  norm       = 10.3766
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.4905
  Prefactor  = 0.0001
  Prefactor  = 5.93948
  Prefactor  = 6.47687
  Prefactor  = 5.58005
  Prefactor  = 0.0001
  Prefactor  = 5.55088
  norm       = 5.10016
  norm       = 23.8199
  Normalizat = 1.48283
  Prefactor  = 0.784799
 **********
 **   18 **HESSE 
 **********

 FCN=   11550.64     FROM HESSE     STATUS=OK           403 CALLS     3129 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5354        4.0019        .16601E-02   -1.5460    
   3  Prefactor     2.4524        5.4226        .26121E-03   -1.5395    
   4  Prefactor     .10000E-03    1.9937        .14807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.429        18.822        .95933E-04   -1.4873    
   7  norm          .10000E-03    9.4208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5113        4.8219        .17112E-03   -1.5238    
   9  norm          10.377        2.8983        .93774E-04   -1.5064    
  10  Prefactor     .10000E-03    9.6769        .32403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.7714        .18608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    67.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    18.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.4905        2.6676        .17734E-03   -1.5392    
  15  Prefactor     .10000E-03    19.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.9395        11.567        .82385E-03   -1.5220    
  17  Prefactor     6.4769        13.294        .15771E-03   -1.5199    
  18  Prefactor     5.5800        18.967        .17013E-03   -1.5235    
  19  Prefactor     .10000E-03    21.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.5509        7.0911        .85265E-03   -1.5237    
  21  norm          5.1002        .37436        .17133E-04   -1.5256    
  22  norm          23.820        31.080        .82066E-04   -1.4731    
  23  Normalizat    1.4828        .21038        .28210E-03   -.78262    
  24  Prefactor     .78480        .14898        .26556E-03   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47802e-10
Minuit parameter uncertainties:
  1  7.6988e-06
  2  4.00256
  3  5.4237
  4  6.4728e-07
  5  1.36287e-05
  6  18.8282
  7  7.00771e-06
  8  4.82222
  9  2.89834
  10  0.00034075
  11  1.26272e-05
  12  6.0083e-05
  13  1.44102e-05
  14  2.66772
  15  6.3343e-06
  16  11.5714
  17  13.2997
  18  18.9878
  19  4.44951e-06
  20  7.09218
  21  0.374365
  22  31.1009
  23  0.2105
  24  0.149059
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  5.511e+00  4.822e+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:  7.848e-01  1.491e-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.483e+00  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.12
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 2.39e-08 +/- 2.09e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 9.89e-06

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) = 11549.6900551
delta logL = 0.952224706416

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11549.561525
delta logL = 1.08075483066

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6440       1.0000         .10000E-03   10000.    
     2 'Index     '    1.0012       1.0000          .0000       10.000    
     3 'Normalizat'    1.4997       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78370       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=   11549.56     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      209 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6440        2.7244        .62683E-02    .18871E-02
   2  Index         1.0012        .45417        .36058       -.21984E-04
   3  Normalizat    1.4997        .17023        .63477E-01    .21194E-04
   4  Prefactor     .78368        .12168        .43505E-01    .41651E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.64402
  Index      = 1.00121
  Normalizat = 1.49974
  Prefactor  = 0.783676
 **********
 **   18 **HESSE 
 **********

 FCN=   11549.56     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6440        4.0908        .17111E-03   -1.5383    
   2  Index         1.0012        .69487        .15498E-01   -.92689    
   3  Normalizat    1.4997        .20679        .28074E-03   -.77786    
   4  Prefactor     .78368        .14788        .26574E-03   -1.0033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02508e-09
Minuit parameter uncertainties:
  1  4.09127
  2  0.701227
  3  0.206903
  4  0.14795
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428396': 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) = 11549.561525
delta logL = 1.08075484298

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.644e+00  4.091e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.001e+00  7.012e-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:  7.837e-01  1.480e-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.500e+00  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.26
Ra Dec: 216.169 14.784
Photon Index (Free Index): 1.00 +/- 0.70
Photon Flux (Free Index): 3.21e-09 +/- 4.07e-09
Energy Flux (Free Index): 4.63e-05 +/- 6.45e-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/428396/cmap_HighResolution_261100801_261360001_4FGL_J1424.6+1447_daily_bin84.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.39e-08', energy_flux2='4.63e-05', photon_flux_error='2.09e-08', dlogl='1.08e+00', energy_flux='1.13e-05', photon_flux2='3.21e-09', job_status='DONE', time_completed='2021-09-09 14:16:17.640079', photon_index_error2='0.70', photon_index2='1.00', ts='5.12', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='6.45e-05', EG='1.48', time_epoch_completed='1631222177.64', return_code='0', job_id='428396', GAL2='0.78', EG2='1.50', return_code2='0', energy_flux_error='9.89e-06', photon_flux_error2='4.07e-09', ts2='7.26', photon_index='2.17' WHERE bin_id='84' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:16:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 428396: <4FGL_J1424.6+1447_daily_bin84> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin84> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 14:01:37 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:01:38 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:38 2021
Terminated at Thu Sep  9 14:16:18 2021
Results reported at Thu Sep  9 14:16:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin84 216.169 14.784 261100801 261360001 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 :                                   750.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            881 sec.

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

