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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1442
RA = 223.544, Dec = 16.3747
tmin = 613094401, tmax = 613353601
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='846610', job_status='RUN', time_executed='2021-09-10 12:40:12.224901', time_epoch_executed='1631302812.22' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1442'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846610

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846610/ft1_4FGL_J1454.1+1622_daily_bin1442.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846610/ft2_4FGL_J1454.1+1622_daily_bin1442.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846610/ft1_4FGL_J1454.1+1622_daily_bin1442.fits outfile=/scratch/kocevski/846610/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1442.fits ra=223.544 dec=16.3747 rad=12.0 tmin=613094401.0 tmax=613353601.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.26
user 2.72
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846610/ft1_filtered_4FGL_J1454.1+1622_daily_bin1442.fits" evtable="EVENTS" scfile=/scratch/kocevski/846610/ft2_4FGL_J1454.1+1622_daily_bin1442.fits sctable="SC_DATA" outfile=/scratch/kocevski/846610/ltcube_613094401_613353601_4FGL_J1454.1+1622_daily_bin1442.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/846610/ft2_4FGL_J1454.1+1622_daily_bin1442.fits
.....................!
real 37.04
user 12.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846610/ft1_filtered_4FGL_J1454.1+1622_daily_bin1442.fits evtable="EVENTS" scfile=/scratch/kocevski/846610/ft2_4FGL_J1454.1+1622_daily_bin1442.fits sctable="SC_DATA" expcube=/scratch/kocevski/846610/ltcube_613094401_613353601_4FGL_J1454.1+1622_daily_bin1442.fits outfile=/scratch/kocevski/846610/expmap_613094401_613353601_4FGL_J1454.1+1622_daily_bin1442.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/846610/ltcube_613094401_613353601_4FGL_J1454.1+1622_daily_bin1442.fits
.....................!
real 193.43
user 186.17
sys 5.68

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/846610/ft1_filtered_4FGL_J1454.1+1622_daily_bin1442.fits scfile=/scratch/kocevski/846610/ft2_4FGL_J1454.1+1622_daily_bin1442.fits outfile=/scratch/kocevski/846610/cmap_613094401_613353601_4FGL_J1454.1+1622_daily_bin1442.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=223.544 yref=16.3747 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846610/ft1_filtered_4FGL_J1454.1+1622_daily_bin1442.fits scfile=/scratch/kocevski/846610/ft2_4FGL_J1454.1+1622_daily_bin1442.fits outfile=/scratch/kocevski/846610/cmap_HighResolution_613094401_613353601_4FGL_J1454.1+1622_daily_bin1442.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.387       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.3770       1.0000         .10000E-03   10000.    
     3 'norm      '    5.4843       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.7047       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.953       1.0000         .10000E-03   10000.    
     7 'norm      '    .15135E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0194       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.706       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6301       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.8837       1.0000         .10000E-03   10000.    
    15 'norm      '    1.4392       1.0000         .10000E-03   10000.    
    16 'norm      '    .10135E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    15.423       1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.168       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    59.151       1.0000         .10000E-03   10000.    
    21 'Prefactor '    45.504       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5794       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .49587       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=   6346.186     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2869 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.382        34.886       -.10149E-05   -.14399E-04
   2  Prefactor     7.3754        7.9677        .25072E-05    .77636E-04
   3  norm          5.4840        2.5260        .99290E-09   -.13235E-05
   4  Prefactor     .10000E-03    12.256       -.46297E-06** at limit **
   5  norm          2.7043        2.3435       -.30539E-07    .22754E-04
   6  Prefactor     12.934        44.876        .13777E-05   -.42914E-05
   7  norm          .10000E-03    56.345       -.42748E-05** at limit **
   8  norm          2.0194        3.6493        .55221E-06    .33566E-04
   9  Prefactor     .10000E-03    25.203       -.28411E-05** at limit **
  10  Prefactor     10.708        32.323        .24004E-06    .16145E-04
  11  Prefactor     .10000E-03    18.281       -.17428E-05** at limit **
  12  Prefactor     2.5873        91.491       -.75165E-06   -.36289E-04
  13  Prefactor     .10000E-03    28.636       -.15389E-05** at limit **
  14  Prefactor     6.8832        5.7056       -.98129E-07   -.12012E-03
  15  norm          1.4392        .36445       -.10617E-07    .59410E-05
  16  norm          .10000E-03    12.106        .29403E-06** at limit **
  17  norm          15.423        39.754        .29249E-06    .17677E-05
  18  Prefactor     31.165        34.755       -.10180E-06   -.11246E-04
  19  Prefactor     .10000E-03    4.0186        .20301E-06** at limit **
  20  Prefactor     59.129        51.877       -.44583E-06   -.76070E-04
  21  Prefactor     45.499        44.179        .14227E-06   -.21831E-04
  22  Normalizat    1.5796        .22376        .16384E-05   -.66166E-04
  23  Prefactor     .49576        .13766       -.27330E-05    .96692E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.3816
  Prefactor  = 7.37536
  norm       = 5.48404
  Prefactor  = 0.0001
  norm       = 2.70434
  Prefactor  = 12.9344
  norm       = 0.0001
  norm       = 2.01942
  Prefactor  = 0.0001
  Prefactor  = 10.7083
  Prefactor  = 0.0001
  Prefactor  = 2.58727
  Prefactor  = 0.0001
  Prefactor  = 6.88324
  norm       = 1.43924
  norm       = 0.0001
  norm       = 15.4232
  Prefactor  = 31.1651
  Prefactor  = 0.0001
  Prefactor  = 59.1293
  Prefactor  = 45.4993
  Normalizat = 1.5796
  Prefactor  = 0.49576
 **********
 **   18 **HESSE 
 **********

 FCN=   6346.186     FROM HESSE     STATUS=OK           374 CALLS     3243 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.382        34.885        .66439E-04   -1.4501    
   2  Prefactor     7.3754        8.0921        .73834E-03   -1.5165    
   3  norm          5.4840        2.5266        .82764E-04   -1.5240    
   4  Prefactor     .10000E-03    12.740        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.7043        2.3418        .10880E-03   -1.5379    
   6  Prefactor     12.934        44.741        .11130E-03   -1.4989    
   7  norm          .10000E-03    56.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0194        3.6351        .19511E-03   -1.5424    
   9  Prefactor     .10000E-03    25.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.708        32.324        .12245E-03   -1.5053    
  11  Prefactor     .10000E-03    18.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.5873        91.696        .25145E-03   -1.5386    
  13  Prefactor     .10000E-03    28.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.8832        5.7065        .15292E-03   -1.5183    
  15  norm          1.4392        .36438        .22765E-04   -1.5468    
  16  norm          .10000E-03    12.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          15.423        39.764        .10199E-03   -1.4922    
  18  Prefactor     31.165        34.769        .71770E-04   -1.4591    
  19  Prefactor     .10000E-03    4.0395        .15596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     59.129        51.945        .52165E-04   -1.4169    
  21  Prefactor     45.499        44.174        .59436E-04   -1.4358    
  22  Normalizat    1.5796        .26012        .25293E-03   -.75566    
  23  Prefactor     .49576        .15574        .26484E-03   -1.1217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38768e-10
Minuit parameter uncertainties:
  1  34.9047
  2  8.09331
  3  2.52663
  4  0.000145461
  5  2.34187
  6  44.8578
  7  3.13926e-05
  8  3.63553
  9  0.000104647
  10  32.3769
  11  3.01188e-05
  12  30.856
  13  5.48401e-05
  14  5.70696
  15  0.364379
  16  1.81345e-05
  17  39.8321
  18  34.7919
  19  2.57867e-06
  20  51.9847
  21  44.2057
  22  0.260347
  23  0.15587
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  2.587e+00  3.086e+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:  4.958e-01  1.559e-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.580e+00  2.603e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/846610/likelihoodResults_613094401_613353601_4FGL_J1454.1+1622_daily_bin1442.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) = 6345.12008788
delta logL = 1.0660820489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6345.10881379
delta logL = 1.07735614511

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .91303       1.0000         .10000E-03   10000.    
     2 'Index     '    4.8421       1.0000          .0000       10.000    
     3 'Normalizat'    1.4658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53882       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.

 FCN=   6345.109     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      241 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91320        9.4790        .12388E-01   -.36319E-03
   2  Index         4.8422        2.4379        .13102        .17875E-03
   3  Normalizat    1.4659        .49174E-01    .58889E-01   -.21542E-04
   4  Prefactor     .53873        .30770E-01    .57559E-01    .23220E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.913196
  Index      = 4.84224
  Normalizat = 1.46591
  Prefactor  = 0.538725
 **********
 **   18 **HESSE 
 **********

 FCN=   6345.109     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      276 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91320        25.335        .56405E-03   -1.5517    
   2  Index         4.8422        7.1499        .46666E-02   -.31556E-01
   3  Normalizat    1.4659        .19682        .26041E-03   -.78741    
   4  Prefactor     .53873        .12089        .25461E-03   -1.1023    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.98239e-08
Minuit parameter uncertainties:
  1  9.62401
  2  5.34271
  3  0.196927
  4  0.120948
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846610': 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) = 6345.10881328
delta logL = 1.07735665354

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  9.132e-01  9.624e+00  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  4.842e+00  5.343e+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:  5.387e-01  1.209e-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.466e+00  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.29
Ra Dec: 223.544 16.375
Photon Index (Free Index): 4.84 +/- 5.34
Photon Flux (Free Index): 1.13e-07 +/- 8.23e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.36e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/846610/cmap_HighResolution_613094401_613353601_4FGL_J1454.1+1622_daily_bin1442.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.69e-03', comment='SUCCESS', energy_flux2='1.52e-05', dlogl='1.08e+00', photon_flux2='1.13e-07', job_status='DONE', time_completed='2021-09-10 12:50:48.177260', photon_index_error2='5.34', photon_index2='4.84', ts='0.01', fit_tolerance='1e-08', GAL='0.50', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='1.36e-05', EG='1.58', time_epoch_completed='1631303448.18', return_code='0', job_id='846610', GAL2='0.54', EG2='1.47', return_code2='102', photon_flux_error2='8.23e-08', ts2='2.29', photon_index='2.41' WHERE bin_id='1442' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:50:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 846610: <4FGL_J1454.1+1622_daily_bin1442> in cluster <slac> Done

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

Your job looked like:

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

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

