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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin986
RA = 216.169, Dec = 14.784
tmin = 494899201, tmax = 495158401
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='433837', job_status='RUN', time_executed='2021-09-09 14:19:15.116183', time_epoch_executed='1631222355.12' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='986'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433837

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433837/ft1_4FGL_J1424.6+1447_daily_bin986.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433837/ft2_4FGL_J1424.6+1447_daily_bin986.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433837/ft1_4FGL_J1424.6+1447_daily_bin986.fits outfile=/scratch/kocevski/433837/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin986.fits ra=216.169 dec=14.784 rad=12.0 tmin=494899201.0 tmax=495158401.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.98
user 3.36
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433837/ft1_filtered_4FGL_J1424.6+1447_daily_bin986.fits evtable="EVENTS" scfile=/scratch/kocevski/433837/ft2_4FGL_J1424.6+1447_daily_bin986.fits sctable="SC_DATA" expcube=/scratch/kocevski/433837/ltcube_494899201_495158401_4FGL_J1424.6+1447_daily_bin986.fits outfile=/scratch/kocevski/433837/expmap_494899201_495158401_4FGL_J1424.6+1447_daily_bin986.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/433837/ltcube_494899201_495158401_4FGL_J1424.6+1447_daily_bin986.fits
.....................!
real 190.74
user 185.64
sys 4.73

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/433837/ft1_filtered_4FGL_J1424.6+1447_daily_bin986.fits scfile=/scratch/kocevski/433837/ft2_4FGL_J1424.6+1447_daily_bin986.fits outfile=/scratch/kocevski/433837/cmap_494899201_495158401_4FGL_J1424.6+1447_daily_bin986.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.54
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.399       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5126       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.924       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8539       1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.288       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    31.476       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .28785E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.4502       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.0390       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.9745       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.427       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.142       1.0000         .10000E-03   10000.    
    21 'norm      '    1.6052       1.0000         .10000E-03   10000.    
    22 'norm      '    .92003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1295       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85069       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=   7130.045     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2719 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.413        35.376        .80739E-05    .20328E-05
   2  Prefactor     3.5133        3.0673       -.17076E-06    .50220E-05
   3  Prefactor     15.913        14.008        .30605E-05    .45538E-05
   4  Prefactor     1.8579        26.439       -.52308E-05   -.17275E-03
   5  Prefactor     29.307        23.758       -.16584E-05    .92663E-05
   6  Prefactor     .10000E-03    7.9658       -.27773E-07** at limit **
   7  norm          31.459        27.337       -.25234E-05   -.17568E-05
   8  Prefactor     .10000E-03    4.5808       -.12904E-06** at limit **
   9  norm          2.4501        1.9712        .78655E-09   -.20577E-04
  10  Prefactor     .10000E-03    5.2640       -.39180E-07** at limit **
  11  norm          3.0388        2.2041       -.68362E-08   -.34762E-04
  12  Prefactor     .10000E-03    10.411        .28059E-05** at limit **
  13  norm          .10000E-03    10.846       -.36845E-05** at limit **
  14  norm          5.9747        5.3425       -.49169E-06   -.12905E-03
  15  Prefactor     .10000E-03    16.595       -.80439E-06** at limit **
  16  Prefactor     16.428        20.845       -.22576E-06   -.42593E-05
  17  Prefactor     .10000E-03    6.1316        .18274E-07** at limit **
  18  Prefactor     .10000E-03    26.626       -.45081E-06** at limit **
  19  Prefactor     .10000E-03    13.665        .17889E-05** at limit **
  20  Prefactor     10.140        11.140       -.63932E-07   -.20913E-04
  21  norm          1.6052        .27762       -.15681E-08    .11898E-03
  22  norm          .10000E-03    24.427       -.13054E-06** at limit **
  23  Normalizat    1.1296        .19905        .28996E-06    .75213E-04
  24  Prefactor     .85055        .14042        .14949E-06    .94752E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.4127
  Prefactor  = 3.51333
  Prefactor  = 15.9132
  Prefactor  = 1.8579
  Prefactor  = 29.3069
  Prefactor  = 0.0001
  norm       = 31.4593
  Prefactor  = 0.000100001
  norm       = 2.45009
  Prefactor  = 0.0001
  norm       = 3.03879
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.9747
  Prefactor  = 0.0001
  Prefactor  = 16.4276
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.1395
  norm       = 1.60523
  norm       = 0.000100001
  Normalizat = 1.12964
  Prefactor  = 0.85055
 **********
 **   18 **HESSE 
 **********

 FCN=   7130.045     FROM HESSE     STATUS=OK           405 CALLS     3124 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.413        35.071        .66428E-04   -1.4500    
   2  Prefactor     3.5133        3.0672        .13422E-03   -1.5333    
   3  Prefactor     15.913        13.979        .10037E-03   -1.4910    
   4  Prefactor     1.8579        27.986        .30615E-03   -1.5435    
   5  Prefactor     29.307        23.712        .74031E-04   -1.4625    
   6  Prefactor     .10000E-03    7.9789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          31.459        27.394        .71418E-04   -1.4586    
   8  Prefactor     .10000E-03    16.623        .34737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.4501        1.9721        .10330E-03   -1.5395    
  10  Prefactor     .10000E-03    5.3892        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.0388        2.2026        .10332E-03   -1.5359    
  12  Prefactor     .10000E-03    10.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.9747        5.3491        .16428E-03   -1.5219    
  15  Prefactor     .10000E-03    16.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.428        20.843        .98819E-04   -1.4897    
  17  Prefactor     .10000E-03    6.1419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.140        11.137        .12582E-03   -1.5071    
  21  norm          1.6052        .27789        .17652E-04   -1.5455    
  22  norm          .10000E-03    160.75        .81434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1296        .24473        .27694E-03   -.88806    
  24  Prefactor     .85055        .17245        .22472E-03   -.97891    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64907e-10
Minuit parameter uncertainties:
  1  35.0909
  2  3.0673
  3  13.9823
  4  14.4292
  5  23.7194
  6  9.25694e-06
  7  27.4048
  8  0.000283607
  9  1.97217
  10  3.71717e-06
  11  2.2027
  12  5.99871e-06
  13  1.09072e-05
  14  5.34957
  15  2.2086e-06
  16  20.8522
  17  1.0526e-06
  18  7.85107e-06
  19  1.41054e-06
  20  11.1397
  21  0.277889
  22  0.000606235
  23  0.244977
  24  0.17256
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  2.836e-04  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.505e-01  1.726e-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.130e+00  2.450e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/433837/likelihoodResults_494899201_495158401_4FGL_J1424.6+1447_daily_bin986.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): 102
logL (Free Index) = 7130.04549422
delta logL = -0.000284059678052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7130.04521677
delta logL = -6.60945897835e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34102E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0730       1.0000          .0000       10.000    
     3 'Normalizat'    1.1290       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85098       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=   7130.045     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      232 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    .23648        .64527E-01** at limit **
   2  Index         2.0699        6.0865        .50000        .36602E-04
   3  Normalizat    1.1296        .10305E-02    .62611E-01    .18930E-03
   4  Prefactor     .85055        .74020E-03    .44377E-01    .24664E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.06987
  Normalizat = 1.12964
  Prefactor  = 0.85055
 **********
 **   18 **HESSE 
 **********

 FCN=   7130.045     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      267 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    29.867        .36811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0699        7.8875        .50000       -.62614    
   3  Normalizat    1.1296        .49411E-02    .27694E-03   -.88806    
   4  Prefactor     .85055        .35510E-02    .22472E-03   -.97891    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.60289e-07
Minuit parameter uncertainties:
  1  0.000813011
  2  45.9232
  3  0.00494109
  4  0.00355099
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433837': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7130.04520898
delta logL = 1.18111711345e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  8.130e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.070e+00  4.592e+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.505e-01  3.551e-03  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.130e+00  4.941e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.169 14.784

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/433837/cmap_HighResolution_494899201_495158401_4FGL_J1424.6+1447_daily_bin986.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.05e-03', job_status='DONE', photon_flux_upper_limit='6.65e-08', time_completed='2021-09-09 14:29:50.407638', job_id='433837', GAL2='0.85', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1631222990.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.18e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='986' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:29:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 433837: <4FGL_J1424.6+1447_daily_bin986> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin986> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:21 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:23 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:16:23 2021
Terminated at Thu Sep  9 14:29:51 2021
Results reported at Thu Sep  9 14:29:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin986 216.169 14.784 494899201 495158401 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.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             290.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            810 sec.

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

