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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin622
RA = 223.544, Dec = 16.3747
tmin = 400550401, tmax = 400809601
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='841554', job_status='RUN', time_executed='2021-09-10 12:25:55.105803', time_epoch_executed='1631301955.11' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='622'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/841554

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/841554/ft1_4FGL_J1454.1+1622_daily_bin622.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/841554/ft2_4FGL_J1454.1+1622_daily_bin622.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/841554/ft1_4FGL_J1454.1+1622_daily_bin622.fits outfile=/scratch/kocevski/841554/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin622.fits ra=223.544 dec=16.3747 rad=12.0 tmin=400550401.0 tmax=400809601.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 4.64
user 4.16
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/841554/ft1_filtered_4FGL_J1454.1+1622_daily_bin622.fits" evtable="EVENTS" scfile=/scratch/kocevski/841554/ft2_4FGL_J1454.1+1622_daily_bin622.fits sctable="SC_DATA" outfile=/scratch/kocevski/841554/ltcube_400550401_400809601_4FGL_J1454.1+1622_daily_bin622.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/841554/ft2_4FGL_J1454.1+1622_daily_bin622.fits
.....................!
real 15.23
user 14.61
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/841554/ft1_filtered_4FGL_J1454.1+1622_daily_bin622.fits evtable="EVENTS" scfile=/scratch/kocevski/841554/ft2_4FGL_J1454.1+1622_daily_bin622.fits sctable="SC_DATA" expcube=/scratch/kocevski/841554/ltcube_400550401_400809601_4FGL_J1454.1+1622_daily_bin622.fits outfile=/scratch/kocevski/841554/expmap_400550401_400809601_4FGL_J1454.1+1622_daily_bin622.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/841554/ltcube_400550401_400809601_4FGL_J1454.1+1622_daily_bin622.fits
.....................!
real 198.15
user 186.08
sys 5.67

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/841554/ft1_filtered_4FGL_J1454.1+1622_daily_bin622.fits scfile=/scratch/kocevski/841554/ft2_4FGL_J1454.1+1622_daily_bin622.fits outfile=/scratch/kocevski/841554/cmap_400550401_400809601_4FGL_J1454.1+1622_daily_bin622.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.17
user 0.38
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.5620       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.2047       1.0000         .10000E-03   10000.    
     5 'norm      '    .22864       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0322       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10655E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.608       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.2505       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10286E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10744       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    48.024       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4471       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .79873       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=   6690.959     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2134 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.691       -.41343E-05** at limit **
   2  Prefactor     .10000E-03    3.4664       -.47996E-07** at limit **
   3  norm          6.5620        2.8993       -.47921E-07    .61986E-04
   4  Prefactor     1.2049        4.6088       -.19448E-05   -.10255E-02
   5  norm          .22916        1.4946       -.13722E-06   -.48452E-04
   6  Prefactor     .10000E-03    17.198       -.58275E-05** at limit **
   7  norm          .10000E-03    6.4088       -.46210E-06** at limit **
   8  norm          2.0323        3.1496       -.36869E-06   -.51328E-03
   9  Prefactor     .10000E-03    19.849        .36819E-05** at limit **
  10  Prefactor     .10000E-03    19.012       -.17356E-07** at limit **
  11  Prefactor     24.608        17.080        .26195E-05    .34014E-05
  12  Prefactor     8.2368        26.748       -.21974E-04    .18060E-03
  13  Prefactor     .10000E-03    20.492        .52697E-05** at limit **
  14  Prefactor     .10000E-03    4.3862       -.41664E-07** at limit **
  15  norm          .10743        .13112       -.57184E-07   -.28221E-02
  16  norm          .10000E-03    3.5429        .56743E-07** at limit **
  17  norm          48.023        38.738       -.13539E-06    .69500E-05
  18  Prefactor     .10000E-03    31.411       -.19322E-05** at limit **
  19  Prefactor     .10000E-03    6.2022       -.70538E-06** at limit **
  20  Prefactor     .10000E-03    12.222        .41707E-05** at limit **
  21  Prefactor     .10000E-03    5.8629        .86089E-06** at limit **
  22  Normalizat    1.4471        .20024        .13233E-05    .82787E-04
  23  Prefactor     .79874        .12916        .46163E-06    .14605E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.562
  Prefactor  = 1.2049
  norm       = 0.22916
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 2.03232
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.6077
  Prefactor  = 8.23683
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.107432
  norm       = 0.0001
  norm       = 48.0234
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.44708
  Prefactor  = 0.798737
 **********
 **   18 **HESSE 
 **********

 FCN=   6690.959     FROM HESSE     STATUS=OK           366 CALLS     2500 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.4876        .14864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.5620        2.8997        .89754E-04   -1.5196    
   4  Prefactor     1.2049        4.7491        .33898E-03   -1.5488    
   5  norm          .22916        9.6194        .18743E-02   -1.5612    
   6  Prefactor     .10000E-03    17.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    6.4241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0323        3.1399        .17588E-03   -1.5423    
   9  Prefactor     .10000E-03    20.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.608        17.037        .80751E-04   -1.4715    
  12  Prefactor     8.2368        26.356        .13957E-03   -1.5134    
  13  Prefactor     .10000E-03    20.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.4234        .16728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10743        .11953        .31447E-03   -1.5642    
  16  norm          .10000E-03    3.5715        .15035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          48.023        38.741        .57863E-04   -1.4321    
  18  Prefactor     .10000E-03    31.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.2745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.8611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4471        .24038        .25294E-03   -.79277    
  23  Prefactor     .79874        .15560        .21574E-03   -.99775    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70435e-08
Minuit parameter uncertainties:
  1  0.000131149
  2  8.03554e-06
  3  2.89978
  4  4.75057
  5  2.9693
  6  0.000210009
  7  9.28198e-06
  8  3.14012
  9  0.000111422
  10  2.55076e-05
  11  17.0399
  12  26.3933
  13  4.93467e-05
  14  2.27044e-06
  15  0.119526
  16  3.18259e-06
  17  38.7613
  18  8.08463e-05
  19  6.25655e-06
  20  0.000142493
  21  1.97444e-05
  22  0.240566
  23  0.15569
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  8.237e+00  2.639e+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:  7.987e-01  1.557e-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.447e+00  2.406e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/841554/likelihoodResults_400550401_400809601_4FGL_J1454.1+1622_daily_bin622.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) = 6690.95590145
delta logL = 0.00353708043531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6690.95472
delta logL = 0.0047185371368

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5541       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2350       1.0000          .0000       10.000    
     3 'Normalizat'    1.4494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79749       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=   6690.955     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      278 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5605        29.952        .12965E-03   -.61381E-06
   2  Index         2.2340        1.6634        .66691E-02    .23139E-04
   3  Normalizat    1.4495        .23733        .25277E-03    .11972E-02
   4  Prefactor     .79744        .15591        .21590E-03    .14404E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.5605
  Index      = 2.23403
  Normalizat = 1.44953
  Prefactor  = 0.797435
 **********
 **   18 **HESSE 
 **********

 FCN=   6690.955     FROM HESSE     STATUS=OK            23 CALLS      301 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5605        29.563        .51860E-05   -1.5089    
   2  Index         2.2340        1.6431        .26676E-03   -.58619    
   3  Normalizat    1.4495        .23751        .50553E-04   -.79207    
   4  Prefactor     .79744        .15601        .43179E-04   -.99823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67163e-09
Minuit parameter uncertainties:
  1  29.6088
  2  1.68896
  3  0.237694
  4  0.156094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/841554': 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) = 6690.95471979
delta logL = 0.00471874650339

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  9.561e+00  2.961e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.234e+00  1.689e+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:  7.974e-01  1.561e-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.450e+00  2.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/841554/cmap_HighResolution_400550401_400809601_4FGL_J1454.1+1622_daily_bin622.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-10 12:36:04.603514', job_id='841554', GAL2='0.80', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1631302564.6', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='4.72e-03', ts2='0.12', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='622' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:36:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 841554: <4FGL_J1454.1+1622_daily_bin622> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin622> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 12:22:34 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:22:35 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:22:35 2021
Terminated at Fri Sep 10 12:36:05 2021
Results reported at Fri Sep 10 12:36:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin622 223.544 16.3747 400550401 400809601 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 :                                   594.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            811 sec.

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

