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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1028
RA = 223.544, Dec = 16.3747
tmin = 505785601, tmax = 506044801
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='844179', job_status='RUN', time_executed='2021-09-10 12:34:11.627313', time_epoch_executed='1631302451.63' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1028'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844179

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844179/ft1_4FGL_J1454.1+1622_daily_bin1028.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844179/ft2_4FGL_J1454.1+1622_daily_bin1028.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844179/ft1_4FGL_J1454.1+1622_daily_bin1028.fits outfile=/scratch/kocevski/844179/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1028.fits ra=223.544 dec=16.3747 rad=12.0 tmin=505785601.0 tmax=506044801.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.36
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844179/ft1_filtered_4FGL_J1454.1+1622_daily_bin1028.fits evtable="EVENTS" scfile=/scratch/kocevski/844179/ft2_4FGL_J1454.1+1622_daily_bin1028.fits sctable="SC_DATA" expcube=/scratch/kocevski/844179/ltcube_505785601_506044801_4FGL_J1454.1+1622_daily_bin1028.fits outfile=/scratch/kocevski/844179/expmap_505785601_506044801_4FGL_J1454.1+1622_daily_bin1028.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/844179/ltcube_505785601_506044801_4FGL_J1454.1+1622_daily_bin1028.fits
.....................!
real 190.65
user 185.35
sys 4.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/844179/ft1_filtered_4FGL_J1454.1+1622_daily_bin1028.fits scfile=/scratch/kocevski/844179/ft2_4FGL_J1454.1+1622_daily_bin1028.fits outfile=/scratch/kocevski/844179/cmap_505785601_506044801_4FGL_J1454.1+1622_daily_bin1028.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844179/ft1_filtered_4FGL_J1454.1+1622_daily_bin1028.fits scfile=/scratch/kocevski/844179/ft2_4FGL_J1454.1+1622_daily_bin1028.fits outfile=/scratch/kocevski/844179/cmap_HighResolution_505785601_506044801_4FGL_J1454.1+1622_daily_bin1028.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4709       1.0000         .10000E-03   10000.    
     3 'norm      '    5.1595       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13004E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    17.058       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10322E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    56.190       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .24701E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.980       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.0760       1.0000         .10000E-03   10000.    
    15 'norm      '    .87027       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2105       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.823       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.6710       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    82.515       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93014       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0440       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=   7253.713     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2653 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.841       -.13982E-05** at limit **
   2  Prefactor     6.4712        6.9959        .34194E-05    .20650E-03
   3  norm          5.1593        2.7754        .44943E-07    .20002E-04
   4  Prefactor     .10002E-03    4.2981       -.97982E-06** at limit **
   5  norm          17.058        4.3509       -.28506E-06    .21777E-03
   6  Prefactor     .10000E-03    22.783        .66873E-05** at limit **
   7  norm          .10000E-03    16.525       -.24983E-06** at limit **
   8  norm          .10000E-03    1.7809       -.45817E-07** at limit **
   9  Prefactor     .10000E-03    13.213        .16155E-05** at limit **
  10  Prefactor     56.166        33.046       -.67440E-06   -.13406E-04
  11  Prefactor     .10000E-03    8.1832        .80429E-06** at limit **
  12  Prefactor     .10000E-03    68.360        .37443E-05** at limit **
  13  Prefactor     14.989        26.190       -.46913E-05   -.12872E-04
  14  Prefactor     9.0750        8.5130       -.38192E-06    .19339E-05
  15  norm          .87024        .22683       -.45156E-08    .21433E-04
  16  norm          1.2119        .54773       -.98032E-09   -.59769E-03
  17  norm          .10000E-03    25.026       -.62330E-05** at limit **
  18  Prefactor     10.819        25.710        .96780E-06    .29959E-05
  19  Prefactor     5.6696        10.581       -.43665E-06    .38572E-06
  20  Prefactor     .10000E-03    16.875       -.10534E-05** at limit **
  21  Prefactor     82.499        44.164       -.58460E-05    .23491E-05
  22  Normalizat    .93049        .21017       -.10578E-05    .99042E-04
  23  Prefactor     1.0438        .13632        .70518E-06    .20490E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.47121
  norm       = 5.15926
  Prefactor  = 0.000100016
  norm       = 17.058
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 56.166
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.9892
  Prefactor  = 9.07497
  norm       = 0.870243
  norm       = 1.21186
  norm       = 0.0001
  Prefactor  = 10.8189
  Prefactor  = 5.66959
  Prefactor  = 0.0001
  Prefactor  = 82.4993
  Normalizat = 0.930492
  Prefactor  = 1.04381
 **********
 **   18 **HESSE 
 **********

 FCN=   7253.713     FROM HESSE     STATUS=OK           380 CALLS     3033 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.4712        7.0655        .15777E-03   -1.5199    
   3  norm          5.1593        2.7744        .10067E-03   -1.5254    
   4  Prefactor     .10002E-03    4.9239        .51524E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          17.058        4.3512        .85252E-04   -1.4882    
   6  Prefactor     .10000E-03    22.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    16.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.7934        .11097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     56.166        33.166        .53515E-04   -1.4208    
  11  Prefactor     .10000E-03    8.2157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    69.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.989        26.202        .10348E-03   -1.4933    
  14  Prefactor     9.0750        8.5159        .13304E-03   -1.5105    
  15  norm          .87024        .22714        .19604E-04   -1.5521    
  16  norm          1.2119        6.8947        .20561E-02   -1.5488    
  17  norm          .10000E-03    25.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.819        25.714        .12179E-03   -1.5050    
  19  Prefactor     5.6696        10.581        .16868E-03   -1.5232    
  20  Prefactor     .10000E-03    16.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     82.499        44.114        .44218E-04   -1.3889    
  22  Normalizat    .93049        .24758        .32012E-03   -.95397    
  23  Prefactor     1.0438        .16170        .20489E-03   -.91283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.98542e-10
Minuit parameter uncertainties:
  1  2.47783e-05
  2  7.06636
  3  2.77448
  4  0.000564426
  5  4.35127
  6  5.14462e-06
  7  5.10994e-06
  8  1.09368e-06
  9  1.39105e-05
  10  33.1771
  11  1.39112e-05
  12  0.000345221
  13  26.222
  14  8.51702
  15  0.227143
  16  5.78194
  17  2.43785e-06
  18  25.7398
  19  10.5849
  20  3.92377e-05
  21  44.1313
  22  0.247884
  23  0.161775
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  3.452e-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:  1.044e+00  1.618e-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.305e-01  2.479e-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: 8.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/844179/likelihoodResults_505785601_506044801_4FGL_J1454.1+1622_daily_bin1028.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) = 7253.7128355
delta logL = -6.8100093813e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7253.71276779
delta logL = -3.88655280403e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3573       1.0000          .0000       10.000    
     3 'Normalizat'    .93049       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0438       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=   7251.757     FROM MIGRAD    STATUS=CONVERGED    145 CALLS      336 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38776E-01    .76906        .22596E-02   -.26696E-02
   2  Index         6.3195        3.3613        .11355        .13189E-03
   3  Normalizat    .80649        .16790        .77026E-01   -.21555E-05
   4  Prefactor     1.0948        .98396E-01    .40286E-01   -.17954E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0387757
  Index      = 6.31952
  Normalizat = 0.806487
  Prefactor  = 1.0948
 **********
 **   18 **HESSE 
 **********

 FCN=   7251.757     FROM HESSE     STATUS=OK            33 CALLS      369 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38776E-01    .96145        .10219E-03   -1.5747    
   2  Index         6.3195        4.0433        .44523E-02    .26707    
   3  Normalizat    .80649        .24357        .34093E-03   -.99829    
   4  Prefactor     1.0948        .16271        .20046E-03   -.89633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54431e-07
Minuit parameter uncertainties:
  1  0.385675
  2  4.79529
  3  0.243899
  4  0.162782
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844179': 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) = 7251.75664798
delta logL = 1.95611941968

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  3.878e-02  3.857e-01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  6.320e+00  4.795e+00  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  1.095e+00  1.628e-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:  8.065e-01  2.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.13
Ra Dec: 223.544 16.375
Photon Index (Free Index): 6.32 +/- 4.80
Photon Flux (Free Index): 9.25e-08 +/- 1.80e-06
Energy Flux (Free Index): 1.13e-05 +/- 2.19e-04

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/844179/cmap_HighResolution_505785601_506044801_4FGL_J1454.1+1622_daily_bin1028.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.56e-03', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='1.96e+00', photon_flux2='9.25e-08', job_status='DONE', time_completed='2021-09-10 12:45:11.516018', photon_index_error2='4.80', photon_index2='6.32', ts='-0.00', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='8.49e-08', energy_flux_error2='2.19e-04', EG='0.93', time_epoch_completed='1631303111.52', return_code='0', job_id='844179', GAL2='1.09', EG2='0.81', return_code2='0', photon_flux_error2='1.80e-06', ts2='4.13', photon_index='2.41' WHERE bin_id='1028' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:45:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 844179: <4FGL_J1454.1+1622_daily_bin1028> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1028> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep 10 12:32:01 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:32:02 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:32:02 2021
Terminated at Fri Sep 10 12:45:14 2021
Results reported at Fri Sep 10 12:45:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1028 223.544 16.3747 505785601 506044801 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 :                                   658.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            793 sec.

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

