aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 124 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 = 74112
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1615.6+4712_monthly_bin169
RA = 243.922, Dec = 47.2028
tmin = 675043201, tmax = 677635201
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='177651', job_status='RUN', time_executed='2022-06-23 02:34:43.846412', time_epoch_executed='1655976883.85' WHERE source_name='4FGL J1615.6+4712' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/177651

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/177651/ft1_4FGL_J1615.6+4712_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/177651/ft2_4FGL_J1615.6+4712_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/177651/ft1_4FGL_J1615.6+4712_monthly_bin169.fits outfile=/scratch/kocevski/177651/ft1_filteredMKT_4FGL_J1615.6+4712_monthly_bin169.fits ra=243.922 dec=47.2028 rad=12.0 tmin=675043201.0 tmax=677635201.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 27.71
user 26.89
sys 0.69

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/177651/ft2_4FGL_J1615.6+4712_monthly_bin169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/177651/ft2_4FGL_J1615.6+4712_monthly_bin169.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/177651/ft1_filteredMKT_4FGL_J1615.6+4712_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/177651/ft1_filtered_4FGL_J1615.6+4712_monthly_bin169.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.88
user 0.68
sys 0.19

Number of photons that the gtmktime cut: 9009

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/177651/ft1_filtered_4FGL_J1615.6+4712_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/177651/ft2_4FGL_J1615.6+4712_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/177651/ltcube_675043201_677635201_4FGL_J1615.6+4712_monthly_bin169.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/177651/ft2_4FGL_J1615.6+4712_monthly_bin169.fits
.....................!
real 146.77
user 146.00
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/177651/ft1_filtered_4FGL_J1615.6+4712_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/177651/ft2_4FGL_J1615.6+4712_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/177651/ltcube_675043201_677635201_4FGL_J1615.6+4712_monthly_bin169.fits outfile=/scratch/kocevski/177651/expmap_675043201_677635201_4FGL_J1615.6+4712_monthly_bin169.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/177651/ltcube_675043201_677635201_4FGL_J1615.6+4712_monthly_bin169.fits
.....................!
real 192.77
user 186.93
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 211 point sources and 0 extended sources

Setting source of interest to:
4FGL J1615.6+4712 @ 243.922 47.2028

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/177651/ft1_filtered_4FGL_J1615.6+4712_monthly_bin169.fits scfile=/scratch/kocevski/177651/ft2_4FGL_J1615.6+4712_monthly_bin169.fits outfile=/scratch/kocevski/177651/cmap_675043201_677635201_4FGL_J1615.6+4712_monthly_bin169.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=243.922 yref=47.2028 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.81
user 0.62
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/177651/ft1_filtered_4FGL_J1615.6+4712_monthly_bin169.fits scfile=/scratch/kocevski/177651/ft2_4FGL_J1615.6+4712_monthly_bin169.fits outfile=/scratch/kocevski/177651/cmap_HighResolution_675043201_677635201_4FGL_J1615.6+4712_monthly_bin169.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=243.922 yref=47.2028 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.81
user 0.64
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/177651/ft1_filtered_4FGL_J1615.6+4712_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/177651/ft2_4FGL_J1615.6+4712_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/177651/Model_4FGL_J1615.6+4712_monthly_bin169.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/177651/ft1_filtered_4FGL_J1615.6+4712_monthly_bin169.fits.....................!
real 607.75
user 603.90
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/177651/ft1_filtered_4FGL_J1615.6+4712_monthly_bin169.fits', '/scratch/kocevski/177651/ft2_4FGL_J1615.6+4712_monthly_bin169.fits', expMap='/scratch/kocevski/177651/expmap_675043201_677635201_4FGL_J1615.6+4712_monthly_bin169.fits', expCube='/scratch/kocevski/177651/ltcube_675043201_677635201_4FGL_J1615.6+4712_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/177651/Model_4FGL_J1615.6+4712_monthly_bin169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1615.6+4712'

4FGL J1615.6+4712
   Spectrum: PowerLaw
300    Prefactor:  1.421e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.761e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/177651/ft1_filtered_4FGL_J1615.6+4712_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/177651/ft2_4FGL_J1615.6+4712_monthly_bin169.fits
Exposure map: /scratch/kocevski/177651/expmap_675043201_677635201_4FGL_J1615.6+4712_monthly_bin169.fits
Exposure cube: /scratch/kocevski/177651/ltcube_675043201_677635201_4FGL_J1615.6+4712_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/177651/Model_4FGL_J1615.6+4712_monthly_bin169.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) = 97354.2107713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56216E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2706       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10962E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10532E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7117       1.0000         .10000E-03   10000.    
     8 'norm      '    .11567       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.3777       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .42111E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.9893       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .53242E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    .36328E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .91159E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .72020       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .75163       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .79868       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14393E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    .10184E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1980       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.5471       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.3659       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.2630       1.0000         .10000E-03   10000.    
    26 'norm      '    3.6585       1.0000         .10000E-03   10000.    
    27 'norm      '    .64191E-01   1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.1401       1.0000         .10000E-03   10000.    
    29 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .95302       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0871       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   97354.14     FROM MIGRAD    STATUS=CONVERGED    857 CALLS     3829 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57319E-01    .17089       -.91831E-08   -.15951E-02
   2  Prefactor     .10000E-03    .40760        .38075E-08** at limit **
   3  Prefactor     1.2691        2.7004       -.43362E-07   -.58973E-03
   4  Prefactor     .10000E-03    .35092        .12525E-07** at limit **
   5  norm          .10000E-03    1.0491       -.23533E-07** at limit **
   6  Prefactor     .10000E-03    1.3326       -.68864E-07** at limit **
   7  Prefactor     2.7171        1.5034        .54133E-07   -.59201E-03
   8  norm          .10404        .37911       -.46516E-07   -.34144E-03
   9  Prefactor     7.3091        13.503       -.51164E-05   -.13416E-03
  10  Prefactor     .10000E-03    .46561        .32285E-07** at limit **
  11  Prefactor     .10000E-03    1.1364        .25399E-06** at limit **
  12  Prefactor     6.9897        1.6098        .72118E-07   -.36785E-03
  13  Prefactor     .52579E-01    .14508       -.37130E-07    .24914E-03
  14  norm          .10004E-03    .85538       -.15087E-06** at limit **
  15  norm          .91148E-01    .31669E-01    .56141E-08    .79291E-03
  16  norm          .71993        1.0807        .23043E-06   -.10359E-02
  17  Prefactor     .75481        1.4785       -.19984E-06    .13928E-03
  18  Prefactor     .79870        .64906        .90449E-07   -.14029E-02
  19  Prefactor     .10059E-03    .21869        .10087E-06** at limit **
  20  norm          .10000E-03    2.1080       -.55420E-07** at limit **
  21  Prefactor     3.1980        .54196       -.47513E-08    .20332E-03
  22  Prefactor     2.5470        .52459        .63925E-08   -.31527E-03
  23  Prefactor     1.3658        .62095        .16246E-07   -.17260E-02
  24  Prefactor     .10000E-03    .10031        .14875E-07** at limit **
  25  Prefactor     1.2624        1.2505        .16019E-06   -.99572E-03
  26  norm          3.6586        .47827        .27739E-08    .64456E-04
  27  norm          .64155E-01    .80768E-01    .44161E-07   -.48561E-02
  28  Prefactor     3.1393        1.6328       -.11430E-06   -.12132E-02
  29  norm          .10000E-03    .25754E-01    .44865E-10** at limit **
  30  Normalizat    .95307        .47995E-01   -.62912E-07   -.42208E-03
  31  Prefactor     1.0872        .45885E-01   -.49038E-07   -.31118E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0573185
  Prefactor  = 0.0001
  Prefactor  = 1.26906
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.71708
  norm       = 0.104044
  Prefactor  = 7.3091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.98974
  Prefactor  = 0.0525795
  norm       = 0.000100042
  norm       = 0.0911482
  norm       = 0.719926
  Prefactor  = 0.754813
  Prefactor  = 0.798703
  Prefactor  = 0.000100594
  norm       = 0.0001
  Prefactor  = 3.19801
  Prefactor  = 2.54697
  Prefactor  = 1.36583
  Prefactor  = 0.0001
  Prefactor  = 1.26242
  norm       = 3.65856
  norm       = 0.0641551
  Prefactor  = 3.13931
  norm       = 0.0001
  Normalizat = 0.953068
  Prefactor  = 1.08716
 **********
 **   18 **HESSE 
 **********

 FCN=   97354.14     FROM HESSE     STATUS=OK           680 CALLS     4509 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57319E-01    .71190        .22627E-02   -1.5660    
   2  Prefactor     .10000E-03    .41441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2691        2.8087        .39470E-03   -1.5483    
   4  Prefactor     .10000E-03    1.1718        .34537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.0580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.3442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7171        1.5019        .24734E-03   -1.5378    
   8  norm          .10404        .39535        .54414E-01   -1.5643    
   9  Prefactor     7.3091        13.607        .14766E-03   -1.5167    
  10  Prefactor     .10000E-03    .47801        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.210        .62466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.9897        1.6113        .15175E-03   -1.5179    
  13  Prefactor     .52579E-01    1.2255        .18754E-02   -1.5662    
  14  norm          .10004E-03    .96755        .94791E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .91148E-01    .28397E-01    .28695E-03   -1.5648    
  16  norm          .71993        1.1402        .40810E-03   -1.5538    
  17  Prefactor     .75481        3.9043        .49129E-02   -1.5534    
  18  Prefactor     .79870        .64416        .21947E-03   -1.5529    
  19  Prefactor     .10059E-03    .53393        .45743E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.1130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.1980        .56080        .61082E-04   -1.5350    
  22  Prefactor     2.5470        .54402        .67424E-04   -1.5389    
  23  Prefactor     1.3658        .60706        .15647E-03   -1.5474    
  24  Prefactor     .10000E-03    .35602        .18668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.2624        1.2763        .34886E-03   -1.5483    
  26  norm          3.6586        .47767        .74924E-04   -1.5325    
  27  norm          .64155E-01    .90027E-01    .97147E-03   -1.5657    
  28  Prefactor     3.1393        1.6212        .22876E-03   -1.5354    
  29  norm          .10000E-03    .51720E-01    .95947E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .95307        .56285E-01    .25250E-03   -.94620    
  31  Prefactor     1.0872        .54443E-01    .23787E-03   -.89878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48867e-06
Minuit parameter uncertainties:
  1  0.403659
  2  6.02394e-07
  3  2.80899
  4  1.12237e-05
  5  1.06607e-07
  6  1.58242e-07
  7  1.50194
  8  0.395357
  9  13.6124
  10  1.41069e-06
  11  1.23113e-05
  12  1.61135
  13  0.50722
  14  0.000401756
  15  0.0283971
  16  1.14024
  17  3.43352
  18  0.644169
  19  0.00112668
  20  2.97854e-07
  21  0.560803
  22  0.544024
  23  0.607064
  24  3.73231e-07
  25  1.27631
  26  0.477666
  27  0.0900274
  28  1.6212
  29  4.39066e-07
  30  0.0562887
  31  0.0544461
Done.

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

Extracting fit parameters...

4FGL J1615.6+4712
   Spectrum: PowerLaw
300    Prefactor:  1.000e-04  1.411e-06  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.761e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
673    Prefactor:  1.087e+00  5.445e-02  0.000e+00  1.000e+01 ( 1.000e+00)
674        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
675        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  9.531e-01  5.629e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.922 47.203
Photon Flux Upper Limit: 8.10e-09 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/177651/likelihoodResults_675043201_677635201_4FGL_J1615.6+4712_monthly_bin169.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) = 97354.1461954
delta logL = -0.00992004737782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 97354.1362674
delta logL = 7.96643143985e-06

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.2315       1.0000          .0000       10.000    
     3 'Normalizat'    .95306       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0872       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   97352.81     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      290 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40047E-01    .22906E-01    .84920E-02   -.72765E-01
   2  Index         4.1153        .18959        .10754        .25265E-02
   3  Normalizat    .92824        .47959E-01    .45576E-01    .46344E-02
   4  Prefactor     1.1020        .46258E-01    .38096E-01    .42455E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0400468
  Index      = 4.11535
  Normalizat = 0.928238
  Prefactor  = 1.10204
 **********
 **   18 **HESSE 
 **********

 FCN=   97352.81     FROM HESSE     STATUS=OK            31 CALLS      321 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40047E-01    .91613E-01    .33610E-03   -1.5748    
   2  Index         4.1153        .89382        .10514E-01   -.17787    
   3  Normalizat    .92824        .56176E-01    .25552E-03   -.95475    
   4  Prefactor     1.1020        .54939E-01    .23647E-03   -.89402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09529e-07
Minuit parameter uncertainties:
  1  0.0916131
  2  0.898813
  3  0.05618
  4  0.0549415
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/177651': 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) = 97352.8116444
delta logL = 1.32463093942

Extracting fit parameters...

4FGL J1615.6+4712
   Spectrum: PowerLaw
300    Prefactor:  4.005e-02  9.161e-02  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  4.115e+00  8.988e-01  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.761e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
673    Prefactor:  1.102e+00  5.494e-02  0.000e+00  1.000e+01 ( 1.000e+00)
674        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
675        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  9.282e-01  5.618e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.80
Ra Dec: 243.922 47.203
Photon Index (Free Index): 4.12 +/- 0.90
Photon Flux (Free Index): 1.73e-08 +/- 7.80e-08
Energy Flux (Free Index): 2.54e-06 +/- 1.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/177651/cmap_HighResolution_675043201_677635201_4FGL_J1615.6+4712_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-04', comment='SUCCESS', energy_flux2='2.54e-06', dlogl='1.32e+00', photon_flux2='1.73e-08', job_status='DONE', time_completed='2022-06-23 05:40:22.541573', photon_index_error2='0.90', photon_index2='4.12', ts='-0.00', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='8.10e-09', energy_flux_error2='1.12e-05', EG='0.95', time_epoch_completed='1655988022.54', return_code='0', job_id='177651', GAL2='1.10', EG2='0.93', return_code2='0', photon_flux_error2='7.80e-08', ts2='2.80', photon_index='2.19' WHERE bin_id='169' AND source_name='4FGL J1615.6+4712' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 05:40:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 177651: <4FGL_J1615.6+4712_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1615.6+4712_monthly_bin169> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun 23 02:20:27 2022
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:32:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:32:30 2022
Terminated at Thu Jun 23 05:40:23 2022
Results reported at Thu Jun 23 05:40:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+4712_monthly_bin169 243.922 47.2028 675043201 677635201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1615.6+4712 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11093.00 sec.
    Max Memory :                                 633 MB
    Average Memory :                             446.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11273 sec.
    Turnaround time :                            11996 sec.

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

