/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 90 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 = 7670
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.1+1622_daily_bin101
RA = 223.544, Dec = 16.3747
tmin = 265507201, tmax = 265766401
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='838138', job_status='RUN', time_executed='2021-09-10 12:13:05.523229', time_epoch_executed='1631301185.52' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='101'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/838138

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/838138/ft1_4FGL_J1454.1+1622_daily_bin101.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/838138/ft2_4FGL_J1454.1+1622_daily_bin101.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/838138/ft1_4FGL_J1454.1+1622_daily_bin101.fits outfile=/scratch/kocevski/838138/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin101.fits ra=223.544 dec=16.3747 rad=12.0 tmin=265507201.0 tmax=265766401.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 2.55
user 1.35
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/838138/ft1_filtered_4FGL_J1454.1+1622_daily_bin101.fits evtable="EVENTS" scfile=/scratch/kocevski/838138/ft2_4FGL_J1454.1+1622_daily_bin101.fits sctable="SC_DATA" expcube=/scratch/kocevski/838138/ltcube_265507201_265766401_4FGL_J1454.1+1622_daily_bin101.fits outfile=/scratch/kocevski/838138/expmap_265507201_265766401_4FGL_J1454.1+1622_daily_bin101.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/838138/ltcube_265507201_265766401_4FGL_J1454.1+1622_daily_bin101.fits
.....................!
real 190.20
user 185.57
sys 4.01

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/838138/ft1_filtered_4FGL_J1454.1+1622_daily_bin101.fits scfile=/scratch/kocevski/838138/ft2_4FGL_J1454.1+1622_daily_bin101.fits outfile=/scratch/kocevski/838138/cmap_265507201_265766401_4FGL_J1454.1+1622_daily_bin101.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.81
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/838138/ft1_filtered_4FGL_J1454.1+1622_daily_bin101.fits scfile=/scratch/kocevski/838138/ft2_4FGL_J1454.1+1622_daily_bin101.fits outfile=/scratch/kocevski/838138/cmap_HighResolution_265507201_265766401_4FGL_J1454.1+1622_daily_bin101.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.346       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.4952       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .62824       1.0000         .10000E-03   10000.    
     5 'norm      '    3.1714       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.893       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2905       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.376       1.0000         .10000E-03   10000.    
    15 'norm      '    2.5081       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 '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.855       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6017       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .69442       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=   11669.44     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2517 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.349        28.091        .21464E-05    .22912E-04
   2  Prefactor     .10000E-03    2.0947       -.58347E-07** at limit **
   3  norm          7.4950        2.3835        .17704E-07    .31128E-05
   4  Prefactor     .61734        2.4783       -.16270E-06   -.25130E-03
   5  norm          3.1717        2.4602       -.11659E-06   -.10015E-03
   6  Prefactor     .10000E-03    15.371       -.62397E-05** at limit **
   7  norm          .10000E-03    9.1828       -.37871E-05** at limit **
   8  norm          .10000E-03    1.6533        .25075E-07** at limit **
   9  Prefactor     25.900        21.929        .44652E-05    .72485E-04
  10  Prefactor     1.2879        4.3338        .12031E-05   -.71438E-03
  11  Prefactor     .10000E-03    11.070        .45541E-05** at limit **
  12  Prefactor     .10000E-03    14.629       -.58220E-05** at limit **
  13  Prefactor     .10000E-03    33.985       -.61783E-05** at limit **
  14  Prefactor     15.375        6.3763       -.49464E-07   -.21733E-04
  15  norm          2.5081        .26083       -.17161E-08   -.19567E-03
  16  norm          .10000E-03    3.0181       -.47084E-07** at limit **
  17  norm          .10000E-03    11.438        .42662E-05** at limit **
  18  Prefactor     .10000E-03    22.367        .11601E-04** at limit **
  19  Prefactor     .10000E-03    2.2036       -.11751E-07** at limit **
  20  Prefactor     .10000E-03    7.3193        .40602E-06** at limit **
  21  Prefactor     20.851        20.991       -.23077E-05   -.25820E-04
  22  Normalizat    1.6018        .17944       -.96627E-06    .10966E-03
  23  Prefactor     .69441        .10986        .90101E-07   -.34737E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.3485
  Prefactor  = 0.0001
  norm       = 7.49504
  Prefactor  = 0.617343
  norm       = 3.17166
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 25.8996
  Prefactor  = 1.28785
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.3754
  norm       = 2.50806
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.851
  Normalizat = 1.6018
  Prefactor  = 0.694411
 **********
 **   18 **HESSE 
 **********

 FCN=   11669.44     FROM HESSE     STATUS=OK           368 CALLS     2885 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.349        28.125        .63900E-04   -1.4453    
   2  Prefactor     .10000E-03    2.1014        .15260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.4950        2.3854        .91441E-04   -1.5160    
   4  Prefactor     .61734        11.928        .31077E-02   -1.5551    
   5  norm          3.1717        2.4469        .14164E-03   -1.5352    
   6  Prefactor     .10000E-03    15.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    9.2090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.7141        .27122E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.900        21.982        .78725E-04   -1.4690    
  10  Prefactor     1.2879        32.280        .19491E-02   -1.5481    
  11  Prefactor     .10000E-03    11.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    34.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.375        6.3791        .10214E-03   -1.4924    
  15  norm          2.5081        .26192        .16997E-04   -1.5391    
  16  norm          .10000E-03    3.0442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    11.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    22.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.2077        .15660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.3281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     20.851        21.008        .87707E-04   -1.4794    
  22  Normalizat    1.6018        .21678        .27633E-03   -.74957    
  23  Prefactor     .69441        .13204        .25309E-03   -1.0375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.71515e-09
Minuit parameter uncertainties:
  1  28.1348
  2  3.62366e-06
  3  2.3854
  4  5.42811
  5  2.44694
  6  1.33609e-05
  7  6.62916e-07
  8  1.66282e-06
  9  21.9892
  10  12.9026
  11  2.15186e-05
  12  0.000110678
  13  7.00196e-05
  14  6.37939
  15  0.261923
  16  1.20976e-06
  17  2.12889e-05
  18  7.56425e-05
  19  9.96041e-07
  20  6.7898e-06
  21  21.0158
  22  0.216908
  23  0.132096
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  1.107e-04  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:  6.944e-01  1.321e-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.602e+00  2.169e-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: 6.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/838138/likelihoodResults_265507201_265766401_4FGL_J1454.1+1622_daily_bin101.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) = 11669.439508
delta logL = -0.00032235533763

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11669.4391857
delta logL = -3.11574694933e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4190       1.0000          .0000       10.000    
     3 'Normalizat'    1.6017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69445       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=   11669.44     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      244 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10095E-03    314.90        .18142E-02** at limit **
   2  Index         2.4835        5.2984        .50000       -.48489E-05
   3  Normalizat    1.6018        .19992E-01    .27633E-03    .16045E-04
   4  Prefactor     .69441        .12731E-01    .25309E-03    .14734E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100953
  Index      = 2.48347
  Normalizat = 1.6018
  Prefactor  = 0.694412
 **********
 **   18 **HESSE 
 **********

 FCN=   11669.44     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10095E-03    1439.5        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4835        5.1767        .50000       -.52742    
   3  Normalizat    1.6018        .48856E-01    .11053E-04   -.74957    
   4  Prefactor     .69441        .31102E-01    .10123E-04   -1.0375    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.70869e-08
Minuit parameter uncertainties:
  1  0.0759854
  2  2090.66
  3  0.0488571
  4  0.0311028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/838138': 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) = 11669.4391856
delta logL = 6.3506377046e-08

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.010e-04  7.599e-02  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.483e+00  2.091e+03  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:  6.944e-01  3.110e-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:  1.602e+00  4.886e-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/838138/cmap_HighResolution_265507201_265766401_4FGL_J1454.1+1622_daily_bin101.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.85e-03', job_status='DONE', photon_flux_upper_limit='6.27e-08', time_completed='2021-09-10 12:27:31.598932', job_id='838138', GAL2='0.69', fit_tolerance='1e-08', EG2='1.60', EG='1.60', time_epoch_completed='1631302051.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='6.35e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='101' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:27:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 838138: <4FGL_J1454.1+1622_daily_bin101> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin101> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Fri Sep 10 12:11:11 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:11:13 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:11:13 2021
Terminated at Fri Sep 10 12:27:32 2021
Results reported at Fri Sep 10 12:27:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin101 223.544 16.3747 265507201 265766401 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 :                                   842.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            981 sec.

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

