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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1531
RA = 223.544, Dec = 16.3747
tmin = 636163201, tmax = 636422401
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='846751', job_status='RUN', time_executed='2021-09-10 12:40:04.395163', time_epoch_executed='1631302804.4' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1531'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846751

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846751/ft1_4FGL_J1454.1+1622_daily_bin1531.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846751/ft2_4FGL_J1454.1+1622_daily_bin1531.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846751/ft1_4FGL_J1454.1+1622_daily_bin1531.fits outfile=/scratch/kocevski/846751/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1531.fits ra=223.544 dec=16.3747 rad=12.0 tmin=636163201.0 tmax=636422401.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.70
user 3.41
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846751/ft1_filtered_4FGL_J1454.1+1622_daily_bin1531.fits evtable="EVENTS" scfile=/scratch/kocevski/846751/ft2_4FGL_J1454.1+1622_daily_bin1531.fits sctable="SC_DATA" expcube=/scratch/kocevski/846751/ltcube_636163201_636422401_4FGL_J1454.1+1622_daily_bin1531.fits outfile=/scratch/kocevski/846751/expmap_636163201_636422401_4FGL_J1454.1+1622_daily_bin1531.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/846751/ltcube_636163201_636422401_4FGL_J1454.1+1622_daily_bin1531.fits
.....................!
real 190.80
user 185.43
sys 4.93

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/846751/ft1_filtered_4FGL_J1454.1+1622_daily_bin1531.fits scfile=/scratch/kocevski/846751/ft2_4FGL_J1454.1+1622_daily_bin1531.fits outfile=/scratch/kocevski/846751/cmap_636163201_636422401_4FGL_J1454.1+1622_daily_bin1531.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24205E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.9355       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.6343       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.667       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.3248       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .30937       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .53721       1.0000         .10000E-03   10000.    
    16 'norm      '    6.3287       1.0000         .10000E-03   10000.    
    17 'norm      '    28.975       1.0000         .10000E-03   10000.    
    18 'Prefactor '    63.757       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3365       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.7408       1.0000         .10000E-03   10000.    
    21 'Prefactor '    49.427       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0375       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90877       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=   7947.045     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2635 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10009E-03    8.6664        .12552E-05** at limit **
   2  Prefactor     .10000E-03    2.1622        .64505E-07** at limit **
   3  norm          3.9347        2.4296        .14160E-06   -.19240E-03
   4  Prefactor     .10000E-03    4.2768        .19985E-06** at limit **
   5  norm          1.6344        2.6242        .42845E-07   -.99711E-03
   6  Prefactor     11.655        16.019       -.16950E-04   -.56969E-04
   7  norm          .10000E-03    5.9752        .11235E-05** at limit **
   8  norm          5.3240        3.3962        .14142E-06    .23146E-05
   9  Prefactor     .10000E-03    12.355        .18988E-06** at limit **
  10  Prefactor     .10000E-03    5.1715        .63306E-07** at limit **
  11  Prefactor     .10000E-03    4.7929       -.19828E-07** at limit **
  12  Prefactor     .72501E-02    17.101       -.16557E-06    .64437E-04
  13  Prefactor     .10000E-03    46.416        .43391E-06** at limit **
  14  Prefactor     .10000E-03    8.5761        .42510E-07** at limit **
  15  norm          .53716        .17578        .11562E-07   -.17657E-02
  16  norm          6.3282        4.6785        .59511E-06    .78413E-04
  17  norm          28.972        44.674        .39026E-05   -.48607E-05
  18  Prefactor     63.745        52.936        .35874E-05   -.59479E-04
  19  Prefactor     2.3330        8.1867       -.11151E-05   -.33570E-03
  20  Prefactor     6.7163        39.793        .47988E-04   -.20330E-04
  21  Prefactor     49.410        39.557        .24943E-05   -.53374E-04
  22  Normalizat    1.0377        .18613       -.31637E-05   -.15157E-03
  23  Prefactor     .90885        .11859       -.82671E-06   -.31393E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100086
  Prefactor  = 0.0001
  norm       = 3.93472
  Prefactor  = 0.0001
  norm       = 1.63438
  Prefactor  = 11.6552
  norm       = 0.000100003
  norm       = 5.32395
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00725013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.537163
  norm       = 6.32818
  norm       = 28.9723
  Prefactor  = 63.745
  Prefactor  = 2.33299
  Prefactor  = 6.71632
  Prefactor  = 49.4102
  Normalizat = 1.03766
  Prefactor  = 0.908848
 **********
 **   18 **HESSE 
 **********

 FCN=   7947.045     FROM HESSE     STATUS=OK           386 CALLS     3021 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10009E-03    11.807        .10113       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.1704        .12799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.9347        2.4281        .10568E-03   -1.5311    
   4  Prefactor     .10000E-03    4.3624        .17985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.6344        2.6050        .17369E-03   -1.5452    
   6  Prefactor     11.655        16.043        .11729E-03   -1.5025    
   7  norm          .10000E-03    6.0143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.3240        3.3975        .12746E-03   -1.5246    
   9  Prefactor     .10000E-03    12.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.1763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.7991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .72501E-02    21.931        .10577       -1.5691    
  13  Prefactor     .10000E-03    46.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.7630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .53716        .17472        .20310E-04   -1.5561    
  16  norm          6.3282        4.6813        .15956E-03   -1.5205    
  17  norm          28.972        44.758        .74429E-04   -1.4631    
  18  Prefactor     63.745        53.027        .50257E-04   -1.4109    
  19  Prefactor     2.3330        8.1920        .26825E-03   -1.5402    
  20  Prefactor     6.7163        39.198        .15455E-03   -1.5190    
  21  Prefactor     49.410        39.547        .57039E-04   -1.4301    
  22  Normalizat    1.0377        .22666        .28557E-03   -.91779    
  23  Prefactor     .90885        .14525        .19808E-03   -.95833    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47588e-09
Minuit parameter uncertainties:
  1  0.00201103
  2  7.53873e-06
  3  2.42819
  4  3.74386e-05
  5  2.60523
  6  16.0493
  7  0.000270027
  8  3.39761
  9  2.96008e-05
  10  1.84682e-05
  11  7.4054e-06
  12  0.792277
  13  6.74527e-06
  14  3.79359e-05
  15  0.174718
  16  4.6816
  17  44.8095
  18  53.0665
  19  8.19592
  20  32.4827
  21  39.5684
  22  0.226873
  23  0.145311
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  7.250e-03  7.923e-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:  9.088e-01  1.453e-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.038e+00  2.269e-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.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846751/likelihoodResults_636163201_636422401_4FGL_J1454.1+1622_daily_bin1531.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) = 7947.04515439
delta logL = 2.45563569479e-11

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7947.04515439
delta logL = 3.18323145621e-11

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72501E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4087       1.0000          .0000       10.000    
     3 'Normalizat'    1.0377       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90885       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=   7947.045     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      250 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71006E-02    1.4441        .11510       -.19030E-02
   2  Index         2.5158        7.4342        .50000       -.41424E-05
   3  Normalizat    1.0377        .13429E-02    .64561E-01    .93942E-04
   4  Prefactor     .90885        .88222E-03    .45118E-01    .65215E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00710062
  Index      = 2.5158
  Normalizat = 1.03766
  Prefactor  = 0.908849
 **********
 **   18 **HESSE 
 **********

 FCN=   7947.045     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      293 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71006E-02    1.9393        .10049       -1.5691    
   2  Index         2.5158        7.7421        .50000       -.51995    
   3  Normalizat    1.0377        .14038E-02    .28557E-03   -.91779    
   4  Prefactor     .90885        .92302E-03    .19808E-03   -.95833    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.54593e-09
Minuit parameter uncertainties:
  1  0.233042
  2  14.1682
  3  0.00140382
  4  0.000923022
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846751': 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) = 7947.04515269
delta logL = 1.70080602402e-06

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  7.101e-03  2.330e-01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.516e+00  1.417e+01  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:  9.088e-01  9.230e-04  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.038e+00  1.404e-03  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/846751/cmap_HighResolution_636163201_636422401_4FGL_J1454.1+1622_daily_bin1531.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.48e-03', job_status='DONE', photon_flux_upper_limit='8.38e-08', time_completed='2021-09-10 12:51:15.442173', job_id='846751', GAL2='0.91', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631303475.44', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.70e-06', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1531' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:51:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 846751: <4FGL_J1454.1+1622_daily_bin1531> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1531 223.544 16.3747 636163201 636422401 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 :                                   664.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            831 sec.

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

