/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 73 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 = 7582
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.1+1622_daily_bin855
RA = 223.544, Dec = 16.3747
tmin = 460944001, tmax = 461203201
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='842996', job_status='RUN', time_executed='2021-09-10 12:29:19.574130', time_epoch_executed='1631302159.57' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='855'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/842996

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/842996/ft1_4FGL_J1454.1+1622_daily_bin855.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/842996/ft2_4FGL_J1454.1+1622_daily_bin855.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/842996/ft1_4FGL_J1454.1+1622_daily_bin855.fits outfile=/scratch/kocevski/842996/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin855.fits ra=223.544 dec=16.3747 rad=12.0 tmin=460944001.0 tmax=461203201.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 7.39
user 3.20
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/842996/ft2_4FGL_J1454.1+1622_daily_bin855.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/842996/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin855.fits evtable="EVENTS" outfile="/scratch/kocevski/842996/ft1_filtered_4FGL_J1454.1+1622_daily_bin855.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 2.78
user 0.35
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/842996/ft1_filtered_4FGL_J1454.1+1622_daily_bin855.fits" evtable="EVENTS" scfile=/scratch/kocevski/842996/ft2_4FGL_J1454.1+1622_daily_bin855.fits sctable="SC_DATA" outfile=/scratch/kocevski/842996/ltcube_460944001_461203201_4FGL_J1454.1+1622_daily_bin855.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/842996/ft2_4FGL_J1454.1+1622_daily_bin855.fits
.....................!
real 11.99
user 11.20
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/842996/ft1_filtered_4FGL_J1454.1+1622_daily_bin855.fits evtable="EVENTS" scfile=/scratch/kocevski/842996/ft2_4FGL_J1454.1+1622_daily_bin855.fits sctable="SC_DATA" expcube=/scratch/kocevski/842996/ltcube_460944001_461203201_4FGL_J1454.1+1622_daily_bin855.fits outfile=/scratch/kocevski/842996/expmap_460944001_461203201_4FGL_J1454.1+1622_daily_bin855.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/842996/ltcube_460944001_461203201_4FGL_J1454.1+1622_daily_bin855.fits
.....................!
real 191.36
user 185.37
sys 3.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 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/842996/ft1_filtered_4FGL_J1454.1+1622_daily_bin855.fits scfile=/scratch/kocevski/842996/ft2_4FGL_J1454.1+1622_daily_bin855.fits outfile=/scratch/kocevski/842996/cmap_460944001_461203201_4FGL_J1454.1+1622_daily_bin855.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 1.04
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/842996/ft1_filtered_4FGL_J1454.1+1622_daily_bin855.fits scfile=/scratch/kocevski/842996/ft2_4FGL_J1454.1+1622_daily_bin855.fits outfile=/scratch/kocevski/842996/cmap_HighResolution_460944001_461203201_4FGL_J1454.1+1622_daily_bin855.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 1.04
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.005       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.9712       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.1636       1.0000         .10000E-03   10000.    
     5 'norm      '    2.8871       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    71.690       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.980       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .71075E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.926       1.0000         .10000E-03   10000.    
    13 'Prefactor '    69.635       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6711       1.0000         .10000E-03   10000.    
    15 'norm      '    3.3507       1.0000         .10000E-03   10000.    
    16 'norm      '    17.977       1.0000         .10000E-03   10000.    
    17 'norm      '    .10277E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10675E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    28.830       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.585       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96583       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0764       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=   8598.822     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2547 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.015        33.161       -.48796E-05    .33852E-05
   2  Prefactor     .10000E-03    3.8647        .13654E-06** at limit **
   3  norm          4.9713        2.7989        .80532E-08   -.76210E-04
   4  Prefactor     6.1630        7.2167       -.21011E-07   -.23493E-03
   5  norm          2.8865        3.2951        .18566E-06   -.70789E-03
   6  Prefactor     .10000E-03    16.598       -.12073E-04** at limit **
   7  norm          .10000E-03    24.877       -.15174E-04** at limit **
   8  norm          71.689        10.573        .55185E-07   -.36969E-04
   9  Prefactor     15.981        27.759       -.69425E-05   -.60557E-04
  10  Prefactor     .12009E-03    12.064       -.26243E-05** at limit **
  11  Prefactor     .10000E-03    18.861        .19390E-04** at limit **
  12  Prefactor     13.933        28.192       -.10352E-04   -.10940E-03
  13  Prefactor     69.631        47.996       -.42212E-05   -.79936E-04
  14  Prefactor     5.6731        7.4286        .71244E-05   -.13006E-03
  15  norm          3.3506        .37751        .19649E-07    .13408E-02
  16  norm          17.977        10.898       -.95940E-07    .14160E-04
  17  norm          .10000E-03    34.003        .72912E-05** at limit **
  18  Prefactor     .10000E-03    13.653        .24345E-05** at limit **
  19  Prefactor     .10000E-03    2.4309        .90125E-08** at limit **
  20  Prefactor     28.837        32.561        .47543E-05   -.17282E-04
  21  Prefactor     23.494        35.723        .17543E-04   -.84059E-05
  22  Normalizat    .96597        .23739        .14064E-05   -.24911E-04
  23  Prefactor     1.0763        .14962       -.12400E-05    .19364E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.0146
  Prefactor  = 0.0001
  norm       = 4.97126
  Prefactor  = 6.16302
  norm       = 2.88646
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 71.6893
  Prefactor  = 15.9814
  Prefactor  = 0.000120092
  Prefactor  = 0.000100001
  Prefactor  = 13.9333
  Prefactor  = 69.631
  Prefactor  = 5.67308
  norm       = 3.35058
  norm       = 17.9772
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.8372
  Prefactor  = 23.4945
  Normalizat = 0.965971
  Prefactor  = 1.07632
 **********
 **   18 **HESSE 
 **********

 FCN=   8598.822     FROM HESSE     STATUS=OK           380 CALLS     2927 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.015        33.207        .52675E-04   -1.4183    
   2  Prefactor     .10000E-03    3.8843        .17788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.9713        2.7985        .11268E-03   -1.5262    
   4  Prefactor     6.1630        7.2385        .16170E-03   -1.5211    
   5  norm          2.8865        3.2773        .16931E-03   -1.5368    
   6  Prefactor     .10000E-03    16.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    25.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          71.689        10.594        .47414E-04   -1.4013    
   9  Prefactor     15.981        27.720        .10019E-03   -1.4908    
  10  Prefactor     .12009E-03    13.619        .10812       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.933        28.190        .10733E-03   -1.4961    
  13  Prefactor     69.631        47.959        .48103E-04   -1.4037    
  14  Prefactor     5.6731        7.3960        .16868E-03   -1.5232    
  15  norm          3.3506        .37832        .18159E-04   -1.5342    
  16  norm          17.977        10.910        .94462E-04   -1.4860    
  17  norm          .10000E-03    34.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.4331        .14119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     28.837        32.601        .74616E-04   -1.4633    
  21  Prefactor     23.494        35.685        .82480E-04   -1.4738    
  22  Normalizat    .96597        .27919        .36855E-03   -.94179    
  23  Prefactor     1.0763        .17616        .23363E-03   -.90227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66371e-09
Minuit parameter uncertainties:
  1  33.218
  2  2.6599e-05
  3  2.7986
  4  7.23955
  5  3.27747
  6  4.55935e-05
  7  0.000194757
  8  10.5943
  9  27.7428
  10  0.0330909
  11  0.000198918
  12  28.2174
  13  47.9859
  14  7.39715
  15  0.378318
  16  10.9112
  17  3.22559e-06
  18  1.94903e-05
  19  2.36118e-06
  20  32.6215
  21  35.717
  22  0.279614
  23  0.176253
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.393e+01  2.822e+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:  1.076e+00  1.763e-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:  9.660e-01  2.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 223.544 16.375
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/842996/likelihoodResults_460944001_461203201_4FGL_J1454.1+1622_daily_bin855.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) = 8598.75583437
delta logL = 0.066055180454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8598.72509828
delta logL = 0.0967912686356

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2131       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1117       1.0000          .0000       10.000    
     3 'Normalizat'    .94600       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0853       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8598.725     FROM MIGRAD    STATUS=FAILED       103 CALLS      272 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1742        747.18        .74676E-03   -.75755E-04
   2  Index         3.1158        5.5848        .92193E-02    .35969E-03
   3  Normalizat    .94630        .25993        .37187E-03   -.32773E-04
   4  Prefactor     1.0851        .17548        .23278E-03   -.73452E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8598.725     FROM SIMPLEX   STATUS=UNCHANGED     86 CALLS      358 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1742        747.18        .26889E-03   -.75755E-04
   2  Index         3.1158        5.5848        .15827E-02    .35969E-03
   3  Normalizat    .94630        .25993        .24620E-03   -.32773E-04
   4  Prefactor     1.0851        .17548        .15051E-03   -.73452E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8598.725     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      390 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1742        29.052        .29870E-04   -.79622E-04
   2  Index         3.1158        2.2592        .18439E-02   -.17819E-04
   3  Normalizat    .94630        .26572        .14875E-04   -.33017E-04
   4  Prefactor     1.0851        .17580        .93114E-05   -.73257E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.17418
  Index      = 3.11583
  Normalizat = 0.946304
  Prefactor  = 1.08513
 **********
 **   18 **HESSE 
 **********

 FCN=   8598.725     FROM HESSE     STATUS=OK            23 CALLS      413 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1742        25.582        .59741E-05   -1.5172    
   2  Index         3.1158        2.0212        .73755E-04   -.38638    
   3  Normalizat    .94630        .26583        .29750E-05   -.94852    
   4  Prefactor     1.0851        .17580        .18623E-05   -.89943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46691e-11
Minuit parameter uncertainties:
  1  25.6215
  2  2.09152
  3  0.266203
  4  0.175896
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/842996': 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) = 8598.72509479
delta logL = 0.0967947609206

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  7.174e+00  2.562e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  3.116e+00  2.092e+00  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:  1.085e+00  1.759e-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:  9.463e-01  2.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
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/842996/cmap_HighResolution_460944001_461203201_4FGL_J1454.1+1622_daily_bin855.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.50e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-09-10 12:41:42.741459', job_id='842996', GAL2='1.09', fit_tolerance='1e-08', EG2='0.95', EG='0.97', time_epoch_completed='1631302902.74', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='9.68e-02', ts2='0.54', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='855' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:41:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 842996: <4FGL_J1454.1+1622_daily_bin855> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin855 223.544 16.3747 460944001 461203201 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 :                                   718.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            867 sec.

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

