/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 42 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 = 7412
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.1+1622_daily_bin280
RA = 223.544, Dec = 16.3747
tmin = 311904001, tmax = 312163201
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='839756', job_status='RUN', time_executed='2021-09-10 12:17:40.184286', time_epoch_executed='1631301460.18' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='280'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/839756

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/839756/ft1_4FGL_J1454.1+1622_daily_bin280.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/839756/ft2_4FGL_J1454.1+1622_daily_bin280.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/839756/ft1_4FGL_J1454.1+1622_daily_bin280.fits outfile=/scratch/kocevski/839756/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin280.fits ra=223.544 dec=16.3747 rad=12.0 tmin=311904001.0 tmax=312163201.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.69
user 3.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/839756/ft2_4FGL_J1454.1+1622_daily_bin280.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/839756/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin280.fits evtable="EVENTS" outfile="/scratch/kocevski/839756/ft1_filtered_4FGL_J1454.1+1622_daily_bin280.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.58
user 0.34
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/839756/ft1_filtered_4FGL_J1454.1+1622_daily_bin280.fits evtable="EVENTS" scfile=/scratch/kocevski/839756/ft2_4FGL_J1454.1+1622_daily_bin280.fits sctable="SC_DATA" expcube=/scratch/kocevski/839756/ltcube_311904001_312163201_4FGL_J1454.1+1622_daily_bin280.fits outfile=/scratch/kocevski/839756/expmap_311904001_312163201_4FGL_J1454.1+1622_daily_bin280.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/839756/ltcube_311904001_312163201_4FGL_J1454.1+1622_daily_bin280.fits
.....................!
real 192.01
user 184.79
sys 4.56

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/839756/ft1_filtered_4FGL_J1454.1+1622_daily_bin280.fits scfile=/scratch/kocevski/839756/ft2_4FGL_J1454.1+1622_daily_bin280.fits outfile=/scratch/kocevski/839756/cmap_311904001_312163201_4FGL_J1454.1+1622_daily_bin280.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.97
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/839756/ft1_filtered_4FGL_J1454.1+1622_daily_bin280.fits scfile=/scratch/kocevski/839756/ft2_4FGL_J1454.1+1622_daily_bin280.fits outfile=/scratch/kocevski/839756/cmap_HighResolution_311904001_312163201_4FGL_J1454.1+1622_daily_bin280.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.61
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.103       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    9.4406       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.946       1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .11626       1.0000         .10000E-03   10000.    
     8 'norm      '    6.1294       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3176       1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.513       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .22183       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    57.141       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.456       1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.748       1.0000         .10000E-03   10000.    
    21 'Prefactor '    41.273       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93945       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0993       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=   7142.566     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2592 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.106        30.987       -.20055E-05    .19777E-04
   2  Prefactor     .10000E-03    2.6637       -.35424E-08** at limit **
   3  norm          9.4408        3.3802       -.11485E-06    .72740E-04
   4  Prefactor     10.952        7.0323       -.25495E-06    .73374E-04
   5  norm          .10000E-03    .98498        .96544E-08** at limit **
   6  Prefactor     .10000E-03    36.336       -.53734E-06** at limit **
   7  norm          .10046E-03    9.2426       -.12354E-05** at limit **
   8  norm          6.1300        4.3745       -.23217E-06   -.17592E-04
   9  Prefactor     2.2545        69.877       -.23003E-04   -.41743E-04
  10  Prefactor     47.495        33.334        .51171E-05    .15861E-03
  11  Prefactor     .10000E-03    22.139        .50072E-07** at limit **
  12  Prefactor     .10000E-03    7.5127        .42264E-07** at limit **
  13  Prefactor     .10000E-03    11.327        .61431E-07** at limit **
  14  Prefactor     .10000E-03    2.1386       -.13160E-07** at limit **
  15  norm          .22216        .22416       -.33016E-06   -.46504E-02
  16  norm          .10000E-03    1.8021       -.13316E-08** at limit **
  17  norm          .10000E-03    13.104        .87292E-07** at limit **
  18  Prefactor     57.149        47.473        .40805E-06    .27017E-04
  19  Prefactor     10.457        9.2443        .24233E-05   -.61445E-05
  20  Prefactor     17.738        40.426        .13124E-06    .34023E-04
  21  Prefactor     41.206        50.823       -.32737E-04    .11131E-04
  22  Normalizat    .93887        .22824        .32293E-05    .20013E-03
  23  Prefactor     1.0997        .13896        .11518E-05    .33916E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.1059
  Prefactor  = 0.0001
  norm       = 9.44084
  Prefactor  = 10.9516
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100461
  norm       = 6.12996
  Prefactor  = 2.25445
  Prefactor  = 47.4955
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.222164
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 57.1486
  Prefactor  = 10.4574
  Prefactor  = 17.7382
  Prefactor  = 41.2064
  Normalizat = 0.938873
  Prefactor  = 1.09974
 **********
 **   18 **HESSE 
 **********

 FCN=   7142.566     FROM HESSE     STATUS=OK           378 CALLS     2970 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.106        31.007        .56655E-04   -1.4291    
   2  Prefactor     .10000E-03    2.6735        .13467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.4408        3.3811        .90040E-04   -1.5093    
   4  Prefactor     10.952        7.0502        .12109E-03   -1.5046    
   5  norm          .10000E-03    .99043        .81864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    36.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10046E-03    15.125        .90515E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.1300        4.3776        .14418E-03   -1.5213    
   9  Prefactor     2.2545        70.664        .26946E-03   -1.5408    
  10  Prefactor     47.495        33.284        .58172E-04   -1.4329    
  11  Prefactor     .10000E-03    22.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.5157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.1405        .12070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .22216        .21516        .36194E-03   -1.5614    
  16  norm          .10000E-03    1.8025        .11080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    13.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     57.149        47.520        .53070E-04   -1.4195    
  19  Prefactor     10.457        9.2358        .12391E-03   -1.5061    
  20  Prefactor     17.738        40.444        .95069E-04   -1.4865    
  21  Prefactor     41.206        50.640        .62396E-04   -1.4423    
  22  Normalizat    .93887        .26658        .33370E-03   -.95107    
  23  Prefactor     1.0997        .16309        .20199E-03   -.89475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.25515e-10
Minuit parameter uncertainties:
  1  31.0171
  2  1.7198e-06
  3  3.38118
  4  7.0507
  5  1.86686e-06
  6  0.000118851
  7  0.00528232
  8  4.37785
  9  25.2756
  10  33.2966
  11  3.39242e-06
  12  2.03263e-05
  13  2.53361e-06
  14  2.95898e-06
  15  0.215159
  16  4.6191e-07
  17  6.70355e-07
  18  47.5513
  19  9.23702
  20  40.5065
  21  50.6932
  22  0.266958
  23  0.163161
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  2.033e-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:  1.100e+00  1.632e-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.389e-01  2.670e-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: 5.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/839756/likelihoodResults_311904001_312163201_4FGL_J1454.1+1622_daily_bin280.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) = 7142.56706234
delta logL = -0.000633044661299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7142.56642935
delta logL = -5.61985871173e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3871       1.0000          .0000       10.000    
     3 'Normalizat'    .93885       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0998       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=   7142.566     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      260 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.088        .18142E-01** at limit **
   2  Index         1.8323        8.6177        .50000        .35834E-06
   3  Normalizat    .93887        .90527E-02    .33370E-03    .55872E-05
   4  Prefactor     1.0997        .59198E-02    .20199E-03    .22738E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.83229
  Normalizat = 0.938872
  Prefactor  = 1.09974
 **********
 **   18 **HESSE 
 **********

 FCN=   7142.566     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      289 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    213.33        .26250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8323        5.6546        .50000       -.68612    
   3  Normalizat    .93887        .24632E-01    .13348E-04   -.95107    
   4  Prefactor     1.0997        .16108E-01    .80797E-05   -.89475    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.30803e-09
Minuit parameter uncertainties:
  1  4.69661e-05
  2  761.535
  3  0.0246326
  4  0.016108
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/839756': 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) = 7142.56642758
delta logL = 1.7161892174e-06

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  4.697e-05  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  1.832e+00  7.615e+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:  1.100e+00  1.611e-02  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.389e-01  2.463e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/839756/cmap_HighResolution_311904001_312163201_4FGL_J1454.1+1622_daily_bin280.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2021-09-10 12:28:09.482120', job_id='839756', GAL2='1.10', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1631302089.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.72e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='280' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:28:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 839756: <4FGL_J1454.1+1622_daily_bin280> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin280> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 12:16:28 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:16:29 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:16:29 2021
Terminated at Fri Sep 10 12:28:10 2021
Results reported at Fri Sep 10 12:28:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin280 223.544 16.3747 311904001 312163201 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 :                                   621.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            702 sec.

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

