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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1550
RA = 223.544, Dec = 16.3747
tmin = 641088001, tmax = 641347201
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='846785', job_status='RUN', time_executed='2021-09-10 12:37:53.238407', time_epoch_executed='1631302673.24' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1550'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846785

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846785/ft1_4FGL_J1454.1+1622_daily_bin1550.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846785/ft2_4FGL_J1454.1+1622_daily_bin1550.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846785/ft1_4FGL_J1454.1+1622_daily_bin1550.fits outfile=/scratch/kocevski/846785/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1550.fits ra=223.544 dec=16.3747 rad=12.0 tmin=641088001.0 tmax=641347201.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.12
user 2.80
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/846785/ft2_4FGL_J1454.1+1622_daily_bin1550.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/846785/ft2_4FGL_J1454.1+1622_daily_bin1550.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/846785/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1550.fits evtable="EVENTS" outfile="/scratch/kocevski/846785/ft1_filtered_4FGL_J1454.1+1622_daily_bin1550.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/846785/ft1_filtered_4FGL_J1454.1+1622_daily_bin1550.fits" evtable="EVENTS" scfile=/scratch/kocevski/846785/ft2_4FGL_J1454.1+1622_daily_bin1550.fits sctable="SC_DATA" outfile=/scratch/kocevski/846785/ltcube_641088001_641347201_4FGL_J1454.1+1622_daily_bin1550.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/846785/ft2_4FGL_J1454.1+1622_daily_bin1550.fits
.....................!
real 12.29
user 11.86
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846785/ft1_filtered_4FGL_J1454.1+1622_daily_bin1550.fits evtable="EVENTS" scfile=/scratch/kocevski/846785/ft2_4FGL_J1454.1+1622_daily_bin1550.fits sctable="SC_DATA" expcube=/scratch/kocevski/846785/ltcube_641088001_641347201_4FGL_J1454.1+1622_daily_bin1550.fits outfile=/scratch/kocevski/846785/expmap_641088001_641347201_4FGL_J1454.1+1622_daily_bin1550.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/846785/ltcube_641088001_641347201_4FGL_J1454.1+1622_daily_bin1550.fits
.....................!
real 190.30
user 185.31
sys 4.66

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 148 point sources and 0 extended sources

Setting source of interest to:
4FGL J1454.1+1622 @ 223.544 16.3747

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/846785/ft1_filtered_4FGL_J1454.1+1622_daily_bin1550.fits scfile=/scratch/kocevski/846785/ft2_4FGL_J1454.1+1622_daily_bin1550.fits outfile=/scratch/kocevski/846785/cmap_641088001_641347201_4FGL_J1454.1+1622_daily_bin1550.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=223.544 yref=16.3747 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846785/ft1_filtered_4FGL_J1454.1+1622_daily_bin1550.fits scfile=/scratch/kocevski/846785/ft2_4FGL_J1454.1+1622_daily_bin1550.fits outfile=/scratch/kocevski/846785/cmap_HighResolution_641088001_641347201_4FGL_J1454.1+1622_daily_bin1550.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=223.544 yref=16.3747 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/846785/ft1_filtered_4FGL_J1454.1+1622_daily_bin1550.fits evtable="EVENTS" scfile=/scratch/kocevski/846785/ft2_4FGL_J1454.1+1622_daily_bin1550.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/846785/Model_4FGL_J1454.1+1622_daily_bin1550.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/846785/ft1_filtered_4FGL_J1454.1+1622_daily_bin1550.fits.....................!
real 38.36
user 37.13
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/846785/ft1_filtered_4FGL_J1454.1+1622_daily_bin1550.fits', '/scratch/kocevski/846785/ft2_4FGL_J1454.1+1622_daily_bin1550.fits', expMap='/scratch/kocevski/846785/expmap_641088001_641347201_4FGL_J1454.1+1622_daily_bin1550.fits', expCube='/scratch/kocevski/846785/ltcube_641088001_641347201_4FGL_J1454.1+1622_daily_bin1550.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/846785/Model_4FGL_J1454.1+1622_daily_bin1550.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.1+1622'

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  7.482e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/846785/ft1_filtered_4FGL_J1454.1+1622_daily_bin1550.fits
Spacecraft file(s): /scratch/kocevski/846785/ft2_4FGL_J1454.1+1622_daily_bin1550.fits
Exposure map: /scratch/kocevski/846785/expmap_641088001_641347201_4FGL_J1454.1+1622_daily_bin1550.fits
Exposure cube: /scratch/kocevski/846785/ltcube_641088001_641347201_4FGL_J1454.1+1622_daily_bin1550.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/846785/Model_4FGL_J1454.1+1622_daily_bin1550.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) = 4234.78871341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.524       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.2987       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7078       1.0000         .10000E-03   10000.    
     5 'norm      '    5.6249       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .32714E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    3.4993       1.0000         .10000E-03   10000.    
     8 'norm      '    4.1903       1.0000         .10000E-03   10000.    
     9 'Prefactor '    60.477       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.107       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.020       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11293E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    38.587       1.0000         .10000E-03   10000.    
    18 'Prefactor '    69.529       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.947       1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.526       1.0000         .10000E-03   10000.    
    21 'Prefactor '    87.951       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .63448       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96104       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4234.767     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2607 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.525        68.040       -.19434E-06    .22254E-05
   2  Prefactor     .10000E-03    8.9764       -.25749E-07** at limit **
   3  norm          6.2988        3.1611       -.13632E-07    .41850E-05
   4  Prefactor     9.7083        13.740        .29488E-07    .40871E-05
   5  norm          5.6250        4.3566        .27763E-07   -.82493E-05
   6  Prefactor     .10000E-03    318.00       -.37488E-06** at limit **
   7  norm          3.4964        128.68       -.21493E-04    .49080E-05
   8  norm          4.1906        5.0018        .11996E-06   -.10706E-04
   9  Prefactor     60.475        45.567        .93249E-08    .38930E-05
  10  Prefactor     20.073        56.135        .90483E-07   -.34361E-06
  11  Prefactor     16.021        31.258        .52940E-06    .17832E-04
  12  Prefactor     .10000E-03    37.104        .10788E-06** at limit **
  13  Prefactor     .10000E-03    145.78        .12265E-05** at limit **
  14  Prefactor     .10000E-03    2.4220        .10348E-07** at limit **
  15  norm          .10000E-03    .11885       -.11225E-06** at limit **
  16  norm          .10000E-03    7.6303       -.71340E-07** at limit **
  17  norm          38.581        39.907        .20793E-07   -.64080E-05
  18  Prefactor     69.529        49.428       -.34800E-07    .38653E-05
  19  Prefactor     10.947        10.021        .22873E-07    .48707E-05
  20  Prefactor     14.526        48.810        .10035E-06    .56006E-05
  21  Prefactor     87.959        62.036       -.25926E-07    .14814E-04
  22  Normalizat    .63439        .27142       -.43697E-06    .38195E-04
  23  Prefactor     .96107        .16164        .37933E-06    .26662E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.525
  Prefactor  = 0.0001
  norm       = 6.29876
  Prefactor  = 9.70835
  norm       = 5.62501
  Prefactor  = 0.000100001
  norm       = 3.49644
  norm       = 4.19065
  Prefactor  = 60.4746
  Prefactor  = 20.0726
  Prefactor  = 16.0208
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 38.5814
  Prefactor  = 69.529
  Prefactor  = 10.9468
  Prefactor  = 14.5263
  Prefactor  = 87.9593
  Normalizat = 0.634392
  Prefactor  = 0.961068
 **********
 **   18 **HESSE 
 **********

 FCN=   4234.767     FROM HESSE     STATUS=OK           374 CALLS     2981 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.525        68.024        .82587E-04   -1.4738    
   2  Prefactor     .10000E-03    8.9887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.2988        3.1607        .78471E-04   -1.5206    
   4  Prefactor     9.7083        13.685        .12861E-03   -1.5085    
   5  norm          5.6250        4.3449        .11107E-03   -1.5234    
   6  Prefactor     .10000E-03    318.28        .19733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.4964        129.49        .21614E-03   -1.5334    
   8  norm          4.1906        4.9913        .14800E-03   -1.5299    
   9  Prefactor     60.475        45.553        .51594E-04   -1.4151    
  10  Prefactor     20.073        55.990        .89322E-04   -1.4812    
  11  Prefactor     16.021        31.216        .10007E-03   -1.4907    
  12  Prefactor     .10000E-03    37.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    146.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.4249        .98901E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .13072        .43399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    7.6603        .17556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          38.581        39.909        .64523E-04   -1.4465    
  18  Prefactor     69.529        49.447        .48140E-04   -1.4038    
  19  Prefactor     10.947        10.019        .12109E-03   -1.5046    
  20  Prefactor     14.526        48.830        .10509E-03   -1.4946    
  21  Prefactor     87.959        61.995        .42841E-04   -1.3829    
  22  Normalizat    .63439        .30685        .35933E-03   -1.0654    
  23  Prefactor     .96107        .18753        .19061E-03   -.94039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74763e-11
Minuit parameter uncertainties:
  1  68.25
  2  7.50052e-07
  3  3.16081
  4  13.6891
  5  4.34512
  6  0.000987038
  7  42.6556
  8  4.99181
  9  45.5794
  10  56.1373
  11  31.2479
  12  2.16286e-05
  13  0.000558605
  14  3.43721e-07
  15  6.96718e-07
  16  2.82272e-06
  17  39.9365
  18  49.476
  19  10.0206
  20  48.9652
  21  62.0407
  22  0.307683
  23  0.187656
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  2.163e-05  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  9.611e-01  1.877e-01  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  6.344e-01  3.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 223.544 16.375
Photon Flux Upper Limit: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846785/likelihoodResults_641088001_641347201_4FGL_J1454.1+1622_daily_bin1550.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) = 4234.76759066
delta logL = -0.000128125345327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4234.76746293
delta logL = -3.97604708269e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8170       1.0000          .0000       10.000    
     3 'Normalizat'    .63439       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96107       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+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=   4234.767     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      274 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10253E-03    16.534        .18142E-01** at limit **
   2  Index         2.7387        5.4032        .50000        .68481E-05
   3  Normalizat    .63439        .44903E-02    .35933E-03    .11295E-04
   4  Prefactor     .96107        .29097E-02    .19061E-03    .41477E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102531
  Index      = 2.73866
  Normalizat = 0.634391
  Prefactor  = 0.961069
 **********
 **   18 **HESSE 
 **********

 FCN=   4234.767     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10253E-03    140.10        .35094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7387        5.2088        .50000       -.46931    
   3  Normalizat    .63439        .13025E-01    .14373E-04   -1.0654    
   4  Prefactor     .96107        .84401E-02    .38122E-04   -.94039    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.83322e-10
Minuit parameter uncertainties:
  1  0.0377501
  2  402.503
  3  0.0130253
  4  0.00844015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846785': 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) = 4234.76746284
delta logL = -3.04665263684e-07

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.025e-04  3.775e-02  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.739e+00  4.025e+02  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  9.611e-01  8.440e-03  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  6.344e-01  1.303e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.544 16.375

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/846785/cmap_HighResolution_641088001_641347201_4FGL_J1454.1+1622_daily_bin1550.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2021-09-10 12:46:00.420867', job_id='846785', GAL2='0.96', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1631303160.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-3.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1550' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:46:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 846785: <4FGL_J1454.1+1622_daily_bin1550> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1550> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 12:37:27 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:37:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:37:28 2021
Terminated at Fri Sep 10 12:46:01 2021
Results reported at Fri Sep 10 12:46:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1550 223.544 16.3747 641088001 641347201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.1+1622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   485.09 sec.
    Max Memory :                                 1017 MB
    Average Memory :                             323.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   512 sec.
    Turnaround time :                            514 sec.

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

