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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin741
RA = 223.544, Dec = 16.3747
tmin = 431395201, tmax = 431654401
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='842873', job_status='RUN', time_executed='2021-09-10 12:27:26.765320', time_epoch_executed='1631302046.77' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/842873

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/842873/ft1_4FGL_J1454.1+1622_daily_bin741.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/842873/ft2_4FGL_J1454.1+1622_daily_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/842873/ft1_4FGL_J1454.1+1622_daily_bin741.fits outfile=/scratch/kocevski/842873/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin741.fits ra=223.544 dec=16.3747 rad=12.0 tmin=431395201.0 tmax=431654401.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 5.90
user 5.43
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/842873/ft2_4FGL_J1454.1+1622_daily_bin741.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/842873/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin741.fits evtable="EVENTS" outfile="/scratch/kocevski/842873/ft1_filtered_4FGL_J1454.1+1622_daily_bin741.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.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/842873/ft1_filtered_4FGL_J1454.1+1622_daily_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/842873/ft2_4FGL_J1454.1+1622_daily_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/842873/ltcube_431395201_431654401_4FGL_J1454.1+1622_daily_bin741.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/842873/ft2_4FGL_J1454.1+1622_daily_bin741.fits
.....................!
real 12.25
user 11.81
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/842873/ft1_filtered_4FGL_J1454.1+1622_daily_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/842873/ft2_4FGL_J1454.1+1622_daily_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/842873/ltcube_431395201_431654401_4FGL_J1454.1+1622_daily_bin741.fits outfile=/scratch/kocevski/842873/expmap_431395201_431654401_4FGL_J1454.1+1622_daily_bin741.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/842873/ltcube_431395201_431654401_4FGL_J1454.1+1622_daily_bin741.fits
.....................!
real 190.55
user 185.45
sys 4.52

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/842873/ft1_filtered_4FGL_J1454.1+1622_daily_bin741.fits scfile=/scratch/kocevski/842873/ft2_4FGL_J1454.1+1622_daily_bin741.fits outfile=/scratch/kocevski/842873/cmap_431395201_431654401_4FGL_J1454.1+1622_daily_bin741.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/842873/ft1_filtered_4FGL_J1454.1+1622_daily_bin741.fits scfile=/scratch/kocevski/842873/ft2_4FGL_J1454.1+1622_daily_bin741.fits outfile=/scratch/kocevski/842873/cmap_HighResolution_431395201_431654401_4FGL_J1454.1+1622_daily_bin741.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/842873/ft1_filtered_4FGL_J1454.1+1622_daily_bin741.fits', '/scratch/kocevski/842873/ft2_4FGL_J1454.1+1622_daily_bin741.fits', expMap='/scratch/kocevski/842873/expmap_431395201_431654401_4FGL_J1454.1+1622_daily_bin741.fits', expCube='/scratch/kocevski/842873/ltcube_431395201_431654401_4FGL_J1454.1+1622_daily_bin741.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/842873/Model_4FGL_J1454.1+1622_daily_bin741.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/842873/ft1_filtered_4FGL_J1454.1+1622_daily_bin741.fits
Spacecraft file(s): /scratch/kocevski/842873/ft2_4FGL_J1454.1+1622_daily_bin741.fits
Exposure map: /scratch/kocevski/842873/expmap_431395201_431654401_4FGL_J1454.1+1622_daily_bin741.fits
Exposure cube: /scratch/kocevski/842873/ltcube_431395201_431654401_4FGL_J1454.1+1622_daily_bin741.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/842873/Model_4FGL_J1454.1+1622_daily_bin741.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) = 10002.9105418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.224       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.456       1.0000         .10000E-03   10000.    
     3 'norm      '    2.6295       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10605E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    12.252       1.0000         .10000E-03   10000.    
     8 'norm      '    6.6660       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .24687E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.159       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.2938       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7699       1.0000         .10000E-03   10000.    
    15 'norm      '    .18118       1.0000         .10000E-03   10000.    
    16 'norm      '    3.0512       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.2949       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10558E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    35.968       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4615       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94212       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=   10002.90     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2586 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.228        37.152        .14003E-05    .54916E-05
   2  Prefactor     13.459        9.4705       -.44878E-06    .29726E-05
   3  norm          2.6296        2.1151       -.25232E-07   -.12186E-04
   4  Prefactor     .10000E-03    8.0751       -.10713E-06** at limit **
   5  norm          .10000E-03    1.3302        .13726E-07** at limit **
   6  Prefactor     .10000E-03    30.189       -.23804E-05** at limit **
   7  norm          12.257        15.540        .19307E-06    .28895E-04
   8  norm          6.6667        4.7609        .82088E-06    .33422E-05
   9  Prefactor     .10000E-03    85.062       -.32917E-05** at limit **
  10  Prefactor     13.162        17.359        .10367E-06   -.16838E-05
  11  Prefactor     .10000E-03    5.8101        .12830E-07** at limit **
  12  Prefactor     6.2837        13.379       -.56795E-06   -.38805E-05
  13  Prefactor     .10000E-03    10.830        .70201E-05** at limit **
  14  Prefactor     1.7700        1.0655        .14842E-06   -.12691E-02
  15  norm          .18123        .14580        .24421E-07   -.16035E-03
  16  norm          3.0510        3.9847       -.31338E-07   -.25383E-04
  17  norm          .10000E-03    11.150       -.78324E-05** at limit **
  18  Prefactor     .10000E-03    15.707        .12370E-05** at limit **
  19  Prefactor     1.2957        6.6634       -.18290E-05   -.64539E-04
  20  Prefactor     .10000E-03    51.812        .57551E-05** at limit **
  21  Prefactor     35.972        31.623        .14678E-05   -.10387E-04
  22  Normalizat    1.4612        .19273        .38232E-06   -.44505E-04
  23  Prefactor     .94219        .11887       -.31243E-06    .91470E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.2276
  Prefactor  = 13.4587
  norm       = 2.62958
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 12.2573
  norm       = 6.66666
  Prefactor  = 0.0001
  Prefactor  = 13.1615
  Prefactor  = 0.0001
  Prefactor  = 6.28369
  Prefactor  = 0.0001
  Prefactor  = 1.77002
  norm       = 0.181229
  norm       = 3.051
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.29568
  Prefactor  = 0.0001
  Prefactor  = 35.972
  Normalizat = 1.46121
  Prefactor  = 0.942192
 **********
 **   18 **HESSE 
 **********

 FCN=   10002.90     FROM HESSE     STATUS=OK           378 CALLS     2964 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.228        37.194        .51280E-04   -1.4141    
   2  Prefactor     13.459        9.4595        .10919E-03   -1.4974    
   3  norm          2.6296        2.1159        .12694E-03   -1.5384    
   4  Prefactor     .10000E-03    8.2373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.7066        .22337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    30.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          12.257        15.512        .11444E-03   -1.5008    
   8  norm          6.6667        4.7639        .15542E-03   -1.5192    
   9  Prefactor     .10000E-03    88.380        .36583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.162        17.345        .11042E-03   -1.4982    
  11  Prefactor     .10000E-03    5.8262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.2837        13.365        .16000E-03   -1.5207    
  13  Prefactor     .10000E-03    10.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7700        4.5281        .15739E-02   -1.5442    
  15  norm          .18123        .13865        .31970E-03   -1.5623    
  16  norm          3.0510        3.9732        .22131E-03   -1.5359    
  17  norm          .10000E-03    11.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.2957        6.6325        .38878E-03   -1.5480    
  20  Prefactor     .10000E-03    52.923        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     35.972        31.627        .66823E-04   -1.4508    
  22  Normalizat    1.4612        .23484        .29109E-03   -.78874    
  23  Prefactor     .94219        .14522        .22117E-03   -.94682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94831e-09
Minuit parameter uncertainties:
  1  37.2078
  2  9.46051
  3  2.11592
  4  6.21336e-06
  5  9.48257e-06
  6  1.62589e-05
  7  15.5166
  8  4.76419
  9  0.000189042
  10  17.3521
  11  5.63119e-08
  12  13.3718
  13  2.99824e-06
  14  4.52894
  15  0.138649
  16  3.97356
  17  7.53251e-06
  18  1.59768e-06
  19  5.86376
  20  0.000151451
  21  31.6413
  22  0.235018
  23  0.145283
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  6.284e+00  1.337e+01  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.422e-01  1.453e-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:  1.461e+00  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 223.544 16.375
Photon Flux Upper Limit: 6.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/842873/likelihoodResults_431395201_431654401_4FGL_J1454.1+1622_daily_bin741.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) = 10002.8738057
delta logL = 0.0296480609923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10002.863224
delta logL = 0.040229813254

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6552       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1130       1.0000          .0000       10.000    
     3 'Normalizat'    1.4637       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94061       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=   10002.86     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      249 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6564        17.573        .13625E-03   -.52971E-03
   2  Index         2.1129        .97220        .16406E-01   -.19147E-03
   3  Normalizat    1.4637        .22891        .29088E-03    .95990E-04
   4  Prefactor     .94061        .14450        .22133E-03    .12307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.65636
  Index      = 2.11294
  Normalizat = 1.46369
  Prefactor  = 0.940612
 **********
 **   18 **HESSE 
 **********

 FCN=   10002.86     FROM HESSE     STATUS=OK            23 CALLS      272 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6564        17.149        .27250E-04   -1.5119    
   2  Index         2.1129        .94993        .65624E-03   -.61556    
   3  Normalizat    1.4637        .22919        .11635E-04   -.78804    
   4  Prefactor     .94061        .14467        .88532E-05   -.94736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41952e-09
Minuit parameter uncertainties:
  1  17.1583
  2  0.958718
  3  0.229353
  4  0.144731
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/842873': 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) = 10002.863224
delta logL = 0.0402298158042

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  8.656e+00  1.716e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.113e+00  9.587e-01  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.406e-01  1.447e-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:  1.464e+00  2.294e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
Ra Dec: 223.544 16.375

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/842873/cmap_HighResolution_431395201_431654401_4FGL_J1454.1+1622_daily_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2021-09-10 12:40:22.288081', job_id='842873', GAL2='0.94', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1631302822.29', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.02e-02', ts2='0.38', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='741' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:40:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 842873: <4FGL_J1454.1+1622_daily_bin741> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin741> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 12:27:04 2021
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:27:06 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:27:06 2021
Terminated at Fri Sep 10 12:40:22 2021
Results reported at Fri Sep 10 12:40:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin741 223.544 16.3747 431395201 431654401 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 :                                   774.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            798 sec.

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

