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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin124
RA = 216.169, Dec = 14.784
tmin = 271468801, tmax = 271728001
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='428455', job_status='RUN', time_executed='2021-09-09 14:04:13.930034', time_epoch_executed='1631221453.93' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='124'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428455

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428455/ft1_4FGL_J1424.6+1447_daily_bin124.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428455/ft2_4FGL_J1424.6+1447_daily_bin124.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428455/ft1_4FGL_J1424.6+1447_daily_bin124.fits outfile=/scratch/kocevski/428455/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin124.fits ra=216.169 dec=14.784 rad=12.0 tmin=271468801.0 tmax=271728001.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.64
user 1.42
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/428455/ft2_4FGL_J1424.6+1447_daily_bin124.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/428455/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin124.fits evtable="EVENTS" outfile="/scratch/kocevski/428455/ft1_filtered_4FGL_J1424.6+1447_daily_bin124.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/428455/ft1_filtered_4FGL_J1424.6+1447_daily_bin124.fits" evtable="EVENTS" scfile=/scratch/kocevski/428455/ft2_4FGL_J1424.6+1447_daily_bin124.fits sctable="SC_DATA" outfile=/scratch/kocevski/428455/ltcube_271468801_271728001_4FGL_J1424.6+1447_daily_bin124.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/428455/ft2_4FGL_J1424.6+1447_daily_bin124.fits
.....................!
real 11.97
user 11.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428455/ft1_filtered_4FGL_J1424.6+1447_daily_bin124.fits evtable="EVENTS" scfile=/scratch/kocevski/428455/ft2_4FGL_J1424.6+1447_daily_bin124.fits sctable="SC_DATA" expcube=/scratch/kocevski/428455/ltcube_271468801_271728001_4FGL_J1424.6+1447_daily_bin124.fits outfile=/scratch/kocevski/428455/expmap_271468801_271728001_4FGL_J1424.6+1447_daily_bin124.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/428455/ltcube_271468801_271728001_4FGL_J1424.6+1447_daily_bin124.fits
.....................!
real 190.53
user 185.57
sys 4.54

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/428455/ft1_filtered_4FGL_J1424.6+1447_daily_bin124.fits scfile=/scratch/kocevski/428455/ft2_4FGL_J1424.6+1447_daily_bin124.fits outfile=/scratch/kocevski/428455/cmap_271468801_271728001_4FGL_J1424.6+1447_daily_bin124.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/428455/ft1_filtered_4FGL_J1424.6+1447_daily_bin124.fits scfile=/scratch/kocevski/428455/ft2_4FGL_J1424.6+1447_daily_bin124.fits outfile=/scratch/kocevski/428455/cmap_HighResolution_271468801_271728001_4FGL_J1424.6+1447_daily_bin124.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18924E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14364       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .31321E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4061       1.0000         .10000E-03   10000.    
     9 'norm      '    9.2645       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .42523E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    .55294       1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.285       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10276E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.435       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10666       1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.528       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.0919       1.0000         .10000E-03   10000.    
    21 'norm      '    1.6563       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2622       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87610       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=   6836.162     FROM MIGRAD    STATUS=CONVERGED    655 CALLS     2899 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    329.01       -.18570E-04** at limit **
   2  Prefactor     .10000E-03    1.7103        .30423E-07** at limit **
   3  Prefactor     .32400        10.346       -.89631E-06    .72050E-06
   4  Prefactor     .10000E-03    7.4550        .46832E-07** at limit **
   5  Prefactor     .10005E-03    24.853       -.41353E-06** at limit **
   6  Prefactor     .10000E-03    24.047        .21795E-06** at limit **
   7  norm          .10000E-03    22.257       -.33952E-06** at limit **
   8  Prefactor     4.4308        7.0609       -.30442E-06   -.25114E-03
   9  norm          9.2649        3.1303       -.95418E-08    .13248E-03
  10  Prefactor     .10000E-03    4.8810        .26248E-06** at limit **
  11  norm          .55765        2.1716       -.81130E-06   -.54036E-03
  12  Prefactor     33.287        37.390        .37559E-05   -.13906E-03
  13  norm          .10000E-03    23.433       -.18937E-06** at limit **
  14  norm          .10000E-03    2.4837       -.29305E-07** at limit **
  15  Prefactor     29.516        27.166       -.59126E-06   -.23355E-03
  16  Prefactor     .10000E-03    5.8500       -.10574E-06** at limit **
  17  Prefactor     .10000E-03    9.8941        .48384E-07** at limit **
  18  Prefactor     .10762E-03    21.947        .48312E-05** at limit **
  19  Prefactor     23.642        37.974       -.13855E-04    .59455E-04
  20  Prefactor     9.0917        7.5034        .17186E-06   -.46410E-04
  21  norm          1.6564        .28506        .69491E-08   -.81010E-03
  22  norm          .10000E-03    19.979        .11278E-06** at limit **
  23  Normalizat    1.2625        .20420       -.96414E-07   -.19614E-04
  24  Prefactor     .87584        .14856        .48665E-06   -.75327E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 0.324003
  Prefactor  = 0.0001
  Prefactor  = 0.000100046
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.43083
  norm       = 9.26488
  Prefactor  = 0.000100003
  norm       = 0.557651
  Prefactor  = 33.2868
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 29.5163
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000107615
  Prefactor  = 23.6421
  Prefactor  = 9.09167
  norm       = 1.65642
  norm       = 0.0001
  Normalizat = 1.26248
  Prefactor  = 0.875843
 **********
 **   18 **HESSE 
 **********

 FCN=   6836.162     FROM HESSE     STATUS=OK           419 CALLS     3318 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    332.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.7181        .10557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .32400        126.50        .50147E-02   -1.5594    
   4  Prefactor     .10000E-03    7.5210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10005E-03    209.50        .76745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    24.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    22.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.4308        6.9387        .19186E-03   -1.5287    
   9  norm          9.2649        3.1298        .82602E-04   -1.5099    
  10  Prefactor     .10000E-03    5.5930        .49140E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55765        3.8109        .22455E-02   -1.5559    
  12  Prefactor     33.287        37.061        .69455E-04   -1.4553    
  13  norm          .10000E-03    23.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.7540        .25346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.516        27.212        .73847E-04   -1.4621    
  16  Prefactor     .10000E-03    5.8534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.9337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10762E-03    27.401        .10447       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     23.642        39.684        .82580E-04   -1.4735    
  20  Prefactor     9.0917        7.5022        .13292E-03   -1.5105    
  21  norm          1.6564        .28517        .17666E-04   -1.5451    
  22  norm          .10000E-03    19.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2625        .24951        .26645E-03   -.84693    
  24  Prefactor     .87584        .18289        .22980E-03   -.96990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.09015e-10
Minuit parameter uncertainties:
  1  0.00537175
  2  1.72951e-07
  3  12.8295
  4  2.24905e-06
  5  0.00625773
  6  4.83487e-05
  7  9.2562e-07
  8  6.93999
  9  3.12985
  10  0.000263069
  11  2.9156
  12  37.0868
  13  0.000245504
  14  5.54869e-06
  15  27.2234
  16  5.73524e-07
  17  2.80638e-05
  18  0.0289036
  19  39.7285
  20  7.50302
  21  0.285171
  22  1.42483e-06
  23  0.249745
  24  0.183017
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  4.431e+00  6.940e+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.758e-01  1.830e-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.262e+00  2.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/428455/likelihoodResults_271468801_271728001_4FGL_J1424.6+1447_daily_bin124.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) = 6836.1179711
delta logL = 0.0441988843959

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6836.09136013
delta logL = 0.0708098517689

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8106       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5210       1.0000          .0000       10.000    
     3 'Normalizat'    1.2536       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88004       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=   6836.091     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      227 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8106        118.81        .60659E-02    .85821E-03
   2  Index         2.5209        3.5509        .14525        .12700E-03
   3  Normalizat    1.2537        .55361E-01    .60424E-01    .84384E-05
   4  Prefactor     .87997        .39815E-01    .44750E-01    .13146E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.81055
  Index      = 2.52085
  Normalizat = 1.25366
  Prefactor  = 0.879971
 **********
 **   18 **HESSE 
 **********

 FCN=   6836.091     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8106        8.5998        .18155E-03   -1.5373    
   2  Index         2.5209        1.3232        .79517E-02   -.51879    
   3  Normalizat    1.2537        .24749        .26724E-03   -.84960    
   4  Prefactor     .87997        .18175        .22931E-03   -.96845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13797e-08
Minuit parameter uncertainties:
  1  8.60355
  2  1.34455
  3  0.247721
  4  0.181879
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428455': 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) = 6836.09136003
delta logL = 0.0708099537396

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.811e+00  8.604e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.521e+00  1.345e+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:  8.800e-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.254e+00  2.477e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.54
Ra Dec: 216.169 14.784

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/428455/cmap_HighResolution_271468801_271728001_4FGL_J1424.6+1447_daily_bin124.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.89e-08', time_completed='2021-09-09 14:15:14.010320', job_id='428455', GAL2='0.88', fit_tolerance='1e-08', EG2='1.25', EG='1.26', time_epoch_completed='1631222114.01', return_code2='0', ts='0.54', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='7.08e-02', ts2='0.68', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='124' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:15:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 428455: <4FGL_J1424.6+1447_daily_bin124> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin124 216.169 14.784 271468801 271728001 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 :                                   659.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            813 sec.

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

