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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1621
RA = 223.544, Dec = 16.3747
tmin = 659491201, tmax = 659750401
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='376007', job_status='RUN', time_executed='2021-12-08 01:40:54.109902', time_epoch_executed='1638956454.11' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1621'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/376007

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/376007/ft1_4FGL_J1454.1+1622_daily_bin1621.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/376007/ft2_4FGL_J1454.1+1622_daily_bin1621.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/376007/ft1_4FGL_J1454.1+1622_daily_bin1621.fits outfile=/scratch/kocevski/376007/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1621.fits ra=223.544 dec=16.3747 rad=12.0 tmin=659491201.0 tmax=659750401.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.58
user 2.35
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/376007/ft2_4FGL_J1454.1+1622_daily_bin1621.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/376007/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1621.fits evtable="EVENTS" outfile="/scratch/kocevski/376007/ft1_filtered_4FGL_J1454.1+1622_daily_bin1621.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/376007/ft1_filtered_4FGL_J1454.1+1622_daily_bin1621.fits" evtable="EVENTS" scfile=/scratch/kocevski/376007/ft2_4FGL_J1454.1+1622_daily_bin1621.fits sctable="SC_DATA" outfile=/scratch/kocevski/376007/ltcube_659491201_659750401_4FGL_J1454.1+1622_daily_bin1621.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/376007/ft2_4FGL_J1454.1+1622_daily_bin1621.fits
.....................!
real 14.60
user 13.94
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/376007/ft1_filtered_4FGL_J1454.1+1622_daily_bin1621.fits evtable="EVENTS" scfile=/scratch/kocevski/376007/ft2_4FGL_J1454.1+1622_daily_bin1621.fits sctable="SC_DATA" expcube=/scratch/kocevski/376007/ltcube_659491201_659750401_4FGL_J1454.1+1622_daily_bin1621.fits outfile=/scratch/kocevski/376007/expmap_659491201_659750401_4FGL_J1454.1+1622_daily_bin1621.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/376007/ltcube_659491201_659750401_4FGL_J1454.1+1622_daily_bin1621.fits
.....................!
real 192.19
user 187.29
sys 4.08

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/376007/ft1_filtered_4FGL_J1454.1+1622_daily_bin1621.fits scfile=/scratch/kocevski/376007/ft2_4FGL_J1454.1+1622_daily_bin1621.fits outfile=/scratch/kocevski/376007/cmap_659491201_659750401_4FGL_J1454.1+1622_daily_bin1621.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/376007/ft1_filtered_4FGL_J1454.1+1622_daily_bin1621.fits scfile=/scratch/kocevski/376007/ft2_4FGL_J1454.1+1622_daily_bin1621.fits outfile=/scratch/kocevski/376007/cmap_HighResolution_659491201_659750401_4FGL_J1454.1+1622_daily_bin1621.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    156.46       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.7387       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1055       1.0000         .10000E-03   10000.    
     5 'norm      '    3.9798       1.0000         .10000E-03   10000.    
     6 'Prefactor '    47.782       1.0000         .10000E-03   10000.    
     7 'norm      '    25.741       1.0000         .10000E-03   10000.    
     8 'norm      '    2.2965       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.028       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.6902       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.518       1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.388       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7489       1.0000         .10000E-03   10000.    
    15 'norm      '    .13949       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1049       1.0000         .10000E-03   10000.    
    17 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.9365       1.0000         .10000E-03   10000.    
    20 'Prefactor '    35.947       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0980       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95810       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8556.974     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2624 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     156.46        41.839         .0000       -.52913E-03
   2  Prefactor     .10000E-03    2.0946         .0000    ** at limit **
   3  norm          4.7387        2.0708         .0000       -.64316E-04
   4  Prefactor     1.1057        3.6530         .0000        .14789E-02
   5  norm          3.9799        2.2916         .0000        .18794E-03
   6  Prefactor     47.782        50.379         .0000       -.41307E-03
   7  norm          25.738        28.616         .0000       -.53051E-03
   8  norm          2.2966        2.4083         .0000        .25940E-03
   9  Prefactor     .10000E-03    6.5043         .0000    ** at limit **
  10  Prefactor     10.029        18.444         .0000        .18578E-03
  11  Prefactor     5.6899        15.907         .0000        .14558E-02
  12  Prefactor     10.518        15.112         .0000        .29481E-03
  13  Prefactor     37.392        33.155         .0000        .87694E-04
  14  Prefactor     1.7489        3.6545         .0000        .61837E-03
  15  norm          .13949        .12085         .0000       -.16314E-03
  16  norm          1.1148        6.4854         .0000        .36444E-01
  17  norm          .10000E-03    37.922         .0000    ** at limit **
  18  Prefactor     .10000E-03    241.75         .0000    ** at limit **
  19  Prefactor     3.9368        7.6354         .0000        .66916E-02
  20  Prefactor     35.946        33.327         .0000       -.13612E-03
  21  Prefactor     .10000E-03    45.469         .0000    ** at limit **
  22  Normalizat    1.0979        .19229         .0000        .46683E-05
  23  Prefactor     .95816        .12293         .0000       -.15536E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 156.461
  Prefactor  = 0.0001
  norm       = 4.73873
  Prefactor  = 1.1057
  norm       = 3.9799
  Prefactor  = 47.7819
  norm       = 25.7384
  norm       = 2.29662
  Prefactor  = 0.0001
  Prefactor  = 10.0292
  Prefactor  = 5.68989
  Prefactor  = 10.5176
  Prefactor  = 37.3916
  Prefactor  = 1.74886
  norm       = 0.139486
  norm       = 1.11478
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.93679
  Prefactor  = 35.9457
  Prefactor  = 0.0001
  Normalizat = 1.09789
  Prefactor  = 0.958161
 **********
 **   18 **HESSE 
 **********

 FCN=   8556.974     FROM HESSE     STATUS=OK           374 CALLS     2998 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     156.46        41.888        .32232E-04   -1.3200    
   2  Prefactor     .10000E-03    2.0997        .13071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.7387        2.0719        .85455E-04   -1.5273    
   4  Prefactor     1.1057        3.6217        .30873E-03   -1.5498    
   5  norm          3.9799        2.2893        .10236E-03   -1.5309    
   6  Prefactor     47.782        50.464        .58008E-04   -1.4324    
   7  norm          25.738        28.661        .78958E-04   -1.4693    
   8  norm          2.2966        2.3996        .14262E-03   -1.5405    
   9  Prefactor     .10000E-03    6.5109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.029        18.420        .12654E-03   -1.5074    
  11  Prefactor     5.6899        15.881        .84195E-03   -1.5231    
  12  Prefactor     10.518        15.100        .61771E-03   -1.5059    
  13  Prefactor     37.392        33.137        .65546E-04   -1.4484    
  14  Prefactor     1.7489        3.6155        .24827E-03   -1.5443    
  15  norm          .13949        .12759        .28633E-03   -1.5633    
  16  norm          1.1148        6.4322        .22543E-02   -1.5497    
  17  norm          .10000E-03    38.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    248.01        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.9368        7.6292        .10166E-02   -1.5311    
  20  Prefactor     35.946        33.364        .66842E-04   -1.4508    
  21  Prefactor     .10000E-03    45.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0979        .23244        .30295E-03   -.89820    
  23  Prefactor     .95816        .14901        .20941E-03   -.94137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39381e-09
Minuit parameter uncertainties:
  1  41.8959
  2  1.1051e-07
  3  2.07194
  4  3.62237
  5  2.28934
  6  50.5088
  7  28.6762
  8  2.39974
  9  3.44023e-06
  10  18.4303
  11  15.8928
  12  15.1051
  13  33.1535
  14  3.61594
  15  0.127587
  16  5.35622
  17  1.97065e-05
  18  0.000347393
  19  7.63106
  20  33.3814
  21  3.27016e-06
  22  0.232661
  23  0.149074
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.052e+01  1.511e+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.582e-01  1.491e-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.098e+00  2.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.91
Ra Dec: 223.544 16.375
Photon Flux Upper Limit: 8.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/376007/likelihoodResults_659491201_659750401_4FGL_J1454.1+1622_daily_bin1621.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8556.91227055
delta logL = 0.061867910119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8556.90193636
delta logL = 0.0722020967114

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.924       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0184       1.0000          .0000       10.000    
     3 'Normalizat'    1.1040       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95550       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=   8556.902     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      254 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.927        17.907        .11142E-03   -.15924E-02
   2  Index         2.0183        .94558        .15594E-01   -.44429E-03
   3  Normalizat    1.1040        .22589        .30221E-03    .33360E-03
   4  Prefactor     .95549        .14772        .20966E-03    .63044E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.9275
  Index      = 2.01831
  Normalizat = 1.10398
  Prefactor  = 0.95549
 **********
 **   18 **HESSE 
 **********

 FCN=   8556.902     FROM HESSE     STATUS=OK            23 CALLS      277 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.927        17.804        .22284E-04   -1.4989    
   2  Index         2.0183        .94078        .62374E-03   -.63893    
   3  Normalizat    1.1040        .22609        .12088E-04   -.89624    
   4  Prefactor     .95549        .14786        .41931E-04   -.94228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62777e-08
Minuit parameter uncertainties:
  1  17.8116
  2  0.949619
  3  0.226286
  4  0.147925
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/376007': 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) = 8556.90193633
delta logL = 0.0722021262227

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.293e+01  1.781e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.018e+00  9.496e-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.555e-01  1.479e-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.104e+00  2.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.05
Ra Dec: 223.544 16.375
Photon Index (Free Index): 2.02 +/- 0.95
Photon Flux (Free Index): 1.13e-08 +/- 1.95e-08
Energy Flux (Free Index): 7.44e-06 +/- 1.37e-05

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/376007/cmap_HighResolution_659491201_659750401_4FGL_J1454.1+1622_daily_bin1621.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-03', comment='SUCCESS', energy_flux2='7.44e-06', dlogl='7.22e-02', photon_flux2='1.13e-08', job_status='DONE', time_completed='2021-12-08 01:52:35.208636', photon_index_error2='0.95', photon_index2='2.02', ts='0.91', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='8.36e-08', energy_flux_error2='1.37e-05', EG='1.10', time_epoch_completed='1638957155.21', return_code='0', job_id='376007', GAL2='0.96', EG2='1.10', return_code2='0', photon_flux_error2='1.95e-08', ts2='1.05', photon_index='2.41' WHERE bin_id='1621' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 01:52:35 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 376007: <4FGL_J1454.1+1622_daily_bin1621> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1621> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Dec  8 01:40:20 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 01:40:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 01:40:41 2021
Terminated at Wed Dec  8 01:52:35 2021
Results reported at Wed Dec  8 01:52:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1621 223.544 16.3747 659491201 659750401 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 :                                   694.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            735 sec.

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

