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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1549
RA = 223.544, Dec = 16.3747
tmin = 640828801, tmax = 641088001
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='846784', job_status='RUN', time_executed='2021-09-10 12:37:49.016038', time_epoch_executed='1631302669.02' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1549'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846784

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846784/ft1_4FGL_J1454.1+1622_daily_bin1549.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846784/ft2_4FGL_J1454.1+1622_daily_bin1549.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846784/ft1_4FGL_J1454.1+1622_daily_bin1549.fits outfile=/scratch/kocevski/846784/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1549.fits ra=223.544 dec=16.3747 rad=12.0 tmin=640828801.0 tmax=641088001.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.42
user 2.95
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846784/ft1_filtered_4FGL_J1454.1+1622_daily_bin1549.fits evtable="EVENTS" scfile=/scratch/kocevski/846784/ft2_4FGL_J1454.1+1622_daily_bin1549.fits sctable="SC_DATA" expcube=/scratch/kocevski/846784/ltcube_640828801_641088001_4FGL_J1454.1+1622_daily_bin1549.fits outfile=/scratch/kocevski/846784/expmap_640828801_641088001_4FGL_J1454.1+1622_daily_bin1549.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/846784/ltcube_640828801_641088001_4FGL_J1454.1+1622_daily_bin1549.fits
.....................!
real 190.29
user 185.25
sys 4.73

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/846784/ft1_filtered_4FGL_J1454.1+1622_daily_bin1549.fits scfile=/scratch/kocevski/846784/ft2_4FGL_J1454.1+1622_daily_bin1549.fits outfile=/scratch/kocevski/846784/cmap_640828801_641088001_4FGL_J1454.1+1622_daily_bin1549.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.69
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846784/ft1_filtered_4FGL_J1454.1+1622_daily_bin1549.fits scfile=/scratch/kocevski/846784/ft2_4FGL_J1454.1+1622_daily_bin1549.fits outfile=/scratch/kocevski/846784/cmap_HighResolution_640828801_641088001_4FGL_J1454.1+1622_daily_bin1549.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/846784/ft1_filtered_4FGL_J1454.1+1622_daily_bin1549.fits evtable="EVENTS" scfile=/scratch/kocevski/846784/ft2_4FGL_J1454.1+1622_daily_bin1549.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/846784/Model_4FGL_J1454.1+1622_daily_bin1549.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/846784/ft1_filtered_4FGL_J1454.1+1622_daily_bin1549.fits.....................!
real 40.78
user 39.24
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.461       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.4684       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.309       1.0000         .10000E-03   10000.    
     5 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    140.38       1.0000         .10000E-03   10000.    
     7 'norm      '    .52397E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    54.269       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.633       1.0000         .10000E-03   10000.    
    15 'norm      '    .53294       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    76.257       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    30.173       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93112       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93423       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=   4453.628     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2489 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.472        52.804        .10352E-04    .83459E-05
   2  Prefactor     .10000E-03    7.6913       -.14903E-06** at limit **
   3  norm          6.4681        3.2373       -.22551E-06   -.38641E-05
   4  Prefactor     14.308        11.373       -.11818E-05    .25498E-05
   5  norm          .10000E-03    2.9796       -.14845E-06** at limit **
   6  Prefactor     140.29        137.71       -.77278E-04   -.35478E-04
   7  norm          .10010E-03    88.152        .15090E-04** at limit **
   8  norm          .10000E-03    3.8923       -.11546E-06** at limit **
   9  Prefactor     .10000E-03    71.931       -.83274E-06** at limit **
  10  Prefactor     54.273        65.496        .55663E-05   -.36566E-05
  11  Prefactor     .10000E-03    13.552       -.64458E-06** at limit **
  12  Prefactor     .10000E-03    19.846       -.67971E-05** at limit **
  13  Prefactor     .10000E-03    28.745        .24003E-05** at limit **
  14  Prefactor     10.632        9.4575       -.47417E-06    .88381E-05
  15  norm          .53287        .37772        .83157E-08    .38450E-03
  16  norm          .10000E-03    5.4042       -.15705E-07** at limit **
  17  norm          .10000E-03    28.226       -.10224E-05** at limit **
  18  Prefactor     76.252        51.567       -.45101E-05    .16152E-04
  19  Prefactor     .10000E-03    3.2908       -.78310E-08** at limit **
  20  Prefactor     30.159        40.067       -.15784E-04    .59651E-05
  21  Prefactor     .10000E-03    18.166        .60248E-05** at limit **
  22  Normalizat    .93089        .25597        .21128E-05    .54889E-04
  23  Prefactor     .93432        .16323        .22553E-05   -.68592E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.4716
  Prefactor  = 0.0001
  norm       = 6.46812
  Prefactor  = 14.3077
  norm       = 0.0001
  Prefactor  = 140.286
  norm       = 0.000100101
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 54.2727
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6319
  norm       = 0.532873
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 76.2516
  Prefactor  = 0.0001
  Prefactor  = 30.1589
  Prefactor  = 0.0001
  Normalizat = 0.930889
  Prefactor  = 0.934317
 **********
 **   18 **HESSE 
 **********

 FCN=   4453.628     FROM HESSE     STATUS=OK           360 CALLS     2849 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.472        52.798        .51601E-04   -1.4151    
   2  Prefactor     .10000E-03    7.7083        .18066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.4681        3.2377        .81561E-04   -1.5199    
   4  Prefactor     14.308        11.388        .10588E-03   -1.4951    
   5  norm          .10000E-03    3.0422        .11233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     140.29        137.85        .17000E-03   -1.3334    
   7  norm          .10010E-03    89.417        .21134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.0395        .25691E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    72.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     54.273        65.381        .54448E-04   -1.4233    
  11  Prefactor     .10000E-03    13.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    28.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.632        9.4621        .12287E-03   -1.5056    
  15  norm          .53287        .36970        .32610E-04   -1.5562    
  16  norm          .10000E-03    5.4054        .15152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    28.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     76.252        51.605        .45982E-04   -1.3959    
  19  Prefactor     .10000E-03    3.2997        .11823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.159        40.065        .72940E-04   -1.4609    
  21  Prefactor     .10000E-03    18.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .93089        .30485        .31972E-03   -.95383    
  23  Prefactor     .93432        .19536        .20433E-03   -.94952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23215e-09
Minuit parameter uncertainties:
  1  52.8393
  2  3.88855e-05
  3  3.23782
  4  11.3894
  5  2.23846e-05
  6  138.171
  7  0.00603258
  8  3.1814e-05
  9  0.000165706
  10  65.4674
  11  8.03946e-06
  12  1.14733e-05
  13  3.33319e-06
  14  9.46339
  15  0.369705
  16  1.35936e-07
  17  5.564e-06
  18  51.6354
  19  6.35771e-06
  20  40.1004
  21  6.31162e-06
  22  0.305415
  23  0.195505
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  1.147e-05  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.343e-01  1.955e-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.309e-01  3.054e-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: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846784/likelihoodResults_640828801_641088001_4FGL_J1454.1+1622_daily_bin1549.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) = 4453.62872427
delta logL = -0.000239842380324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4453.62848533
delta logL = -9.01684870769e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8623       1.0000          .0000       10.000    
     3 'Normalizat'    .93089       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93432       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=   4453.628     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      276 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10281E-03    10.039        .18142E-01** at limit **
   2  Index         2.7739        5.8930        .50000        .13324E-04
   3  Normalizat    .93088        .50387E-02    .31972E-03   -.12253E-03
   4  Prefactor     .93432        .32474E-02    .20433E-03    .33939E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102809
  Index      = 2.77391
  Normalizat = 0.930882
  Prefactor  = 0.93432
 **********
 **   18 **HESSE 
 **********

 FCN=   4453.628     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10281E-03    100.10        .25933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7739        7.5193        .50000       -.46142    
   3  Normalizat    .93088        .15958E-01    .12789E-04   -.95383    
   4  Prefactor     .93432        .10285E-01    .81732E-05   -.94952    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.78995e-09
Minuit parameter uncertainties:
  1  0.0335923
  2  360.956
  3  0.0159584
  4  0.0102851
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846784': 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) = 4453.62848513
delta logL = -7.03304067429e-07

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.028e-04  3.359e-02  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.774e+00  3.610e+02  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.343e-01  1.029e-02  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  9.309e-01  1.596e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.544 16.375

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.20e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-10 12:46:02.200614', job_id='846784', GAL2='0.93', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1631303162.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='-7.03e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1549' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:46:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 846784: <4FGL_J1454.1+1622_daily_bin1549> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1549 223.544 16.3747 640828801 641088001 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 :                                   489.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             402.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   514 sec.
    Turnaround time :                            515 sec.

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

