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


Performing analysis on: 4FGL_J1849.2+6705_daily_bin1692
RA = 282.319, Dec = 67.0909
tmin = 677894401, tmax = 678153601
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='406374', job_status='RUN', time_executed='2022-06-29 04:54:04.448484', time_epoch_executed='1656503644.45' WHERE source_name='4FGL J1849.2+6705' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406374

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406374/ft1_4FGL_J1849.2+6705_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406374/ft2_4FGL_J1849.2+6705_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406374/ft1_4FGL_J1849.2+6705_daily_bin1692.fits outfile=/scratch/kocevski/406374/ft1_filteredMKT_4FGL_J1849.2+6705_daily_bin1692.fits ra=282.319 dec=67.0909 rad=12.0 tmin=677894401.0 tmax=678153601.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 4.58
user 4.23
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/406374/ft2_4FGL_J1849.2+6705_daily_bin1692.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/406374/ft2_4FGL_J1849.2+6705_daily_bin1692.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/406374/ft1_filteredMKT_4FGL_J1849.2+6705_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/406374/ft1_filtered_4FGL_J1849.2+6705_daily_bin1692.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.57
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 1543

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406374/ft1_filtered_4FGL_J1849.2+6705_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/406374/ft2_4FGL_J1849.2+6705_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/406374/ltcube_677894401_678153601_4FGL_J1849.2+6705_daily_bin1692.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/406374/ft2_4FGL_J1849.2+6705_daily_bin1692.fits
.....................!
real 14.39
user 14.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406374/ft1_filtered_4FGL_J1849.2+6705_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/406374/ft2_4FGL_J1849.2+6705_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/406374/ltcube_677894401_678153601_4FGL_J1849.2+6705_daily_bin1692.fits outfile=/scratch/kocevski/406374/expmap_677894401_678153601_4FGL_J1849.2+6705_daily_bin1692.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/406374/ltcube_677894401_678153601_4FGL_J1849.2+6705_daily_bin1692.fits
.....................!
real 194.17
user 188.22
sys 5.34

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
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Added 184 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1849.2+6705 @ 282.319 67.0909

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/406374/ft1_filtered_4FGL_J1849.2+6705_daily_bin1692.fits scfile=/scratch/kocevski/406374/ft2_4FGL_J1849.2+6705_daily_bin1692.fits outfile=/scratch/kocevski/406374/cmap_677894401_678153601_4FGL_J1849.2+6705_daily_bin1692.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=282.319 yref=67.0909 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406374/ft1_filtered_4FGL_J1849.2+6705_daily_bin1692.fits scfile=/scratch/kocevski/406374/ft2_4FGL_J1849.2+6705_daily_bin1692.fits outfile=/scratch/kocevski/406374/cmap_HighResolution_677894401_678153601_4FGL_J1849.2+6705_daily_bin1692.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=282.319 yref=67.0909 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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406374/ft1_filtered_4FGL_J1849.2+6705_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/406374/ft2_4FGL_J1849.2+6705_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406374/Model_4FGL_J1849.2+6705_daily_bin1692.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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
Working on...
/scratch/kocevski/406374/ft1_filtered_4FGL_J1849.2+6705_daily_bin1692.fits.....................!
real 176.20
user 174.34
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/406374/ft1_filtered_4FGL_J1849.2+6705_daily_bin1692.fits', '/scratch/kocevski/406374/ft2_4FGL_J1849.2+6705_daily_bin1692.fits', expMap='/scratch/kocevski/406374/expmap_677894401_678153601_4FGL_J1849.2+6705_daily_bin1692.fits', expCube='/scratch/kocevski/406374/ltcube_677894401_678153601_4FGL_J1849.2+6705_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/406374/Model_4FGL_J1849.2+6705_daily_bin1692.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1849.2+6705'

4FGL J1849.2+6705
   Spectrum: LogParabola
347         norm:  6.898e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
348        alpha:  2.257e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
349         beta:  9.598e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
350           Eb:  9.504e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/406374/ft1_filtered_4FGL_J1849.2+6705_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/406374/ft2_4FGL_J1849.2+6705_daily_bin1692.fits
Exposure map: /scratch/kocevski/406374/expmap_677894401_678153601_4FGL_J1849.2+6705_daily_bin1692.fits
Exposure cube: /scratch/kocevski/406374/ltcube_677894401_678153601_4FGL_J1849.2+6705_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/406374/Model_4FGL_J1849.2+6705_daily_bin1692.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) = 15403.6985912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.159       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .60355       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13102E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    39.559       1.0000         .10000E-03   10000.    
     7 'norm      '    2.5520       1.0000         .10000E-03   10000.    
     8 'norm      '    5.0149       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.7582       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.814       1.0000         .10000E-03   10000.    
    14 'norm      '    14.057       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5985       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.879       1.0000         .10000E-03   10000.    
    19 'norm      '    .21378       1.0000         .10000E-03   10000.    
    20 'norm      '    4.2296       1.0000         .10000E-03   10000.    
    21 'norm      '    3.2420       1.0000         .10000E-03   10000.    
    22 'norm      '    .52439       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.4370       1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.4158       1.0000         .10000E-03   10000.    
    25 'norm      '    1.8520       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    6.8391       1.0000         .10000E-03   10000.    
    28 'Prefactor '    41.327       1.0000         .10000E-03   10000.    
    29 'norm      '    2.2417       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    15.893       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0002       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .92451       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15403.69     FROM MIGRAD    STATUS=CONVERGED    880 CALLS     4633 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .20285        .58666E-07** at limit **
   2  Prefactor     17.156        7.8227        .19696E-06   -.31174E-03
   3  Prefactor     .60327        13.445        .59259E-05   -.40142E-04
   4  Prefactor     .10000E-03    3.5667        .34059E-05** at limit **
   5  Prefactor     .10000E-03    35.666       -.13540E-05** at limit **
   6  Prefactor     39.526        54.561       -.84519E-06   -.11207E-03
   7  norm          2.5518        2.2144        .50629E-07   -.81034E-04
   8  norm          5.0148        1.1148        .18974E-07    .22291E-05
   9  Prefactor     .10000E-03    3.1983        .12641E-06** at limit **
  10  norm          2.7579        3.6411        .80447E-07   -.58273E-04
  11  Prefactor     .10000E-03    10.182        .10805E-07** at limit **
  12  Prefactor     .10000E-03    45.294        .39447E-06** at limit **
  13  Prefactor     11.812        6.5765        .73241E-07   -.27126E-03
  14  norm          14.056        7.7450        .17876E-06   -.26150E-04
  15  Prefactor     .10000E-03    3.8334        .51550E-08** at limit **
  16  Prefactor     2.5935        14.824       -.23774E-05   -.16357E-03
  17  Prefactor     .10000E-03    34.579       -.46236E-06** at limit **
  18  Prefactor     25.797        57.059        .67291E-06    .36577E-04
  19  norm          .21551        1.5188        .26990E-05    .12036E-03
  20  norm          4.2295        1.9382        .29628E-07    .11702E-04
  21  norm          3.2424        3.0452        .61837E-08   -.13666E-04
  22  norm          .52278        2.9466        .21124E-06   -.10954E-03
  23  Prefactor     1.4388        10.155        .12588E-06   -.12117E-04
  24  Prefactor     7.4147        5.4360        .26285E-06   -.27395E-04
  25  norm          1.8521        1.0115       -.26500E-08    .25195E-04
  26  norm          .10000E-03    8.1586       -.22675E-07** at limit **
  27  norm          6.8401        10.230       -.14091E-07    .50274E-05
  28  Prefactor     41.326        18.576        .13649E-06   -.21858E-05
  29  norm          2.2429        2.6458        .50123E-07   -.68512E-05
  30  Prefactor     .10000E-03    27.928        .89243E-06** at limit **
  31  norm          15.895        8.4376       -.56213E-07    .20270E-04
  32  Normalizat    1.0004        .16733       -.27291E-05   -.18075E-03
  33  Prefactor     .92442        .68838E-01    .76228E-06   -.75831E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 17.156
  Prefactor  = 0.603268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.526
  norm       = 2.55182
  norm       = 5.0148
  Prefactor  = 0.0001
  norm       = 2.75788
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8121
  norm       = 14.0557
  Prefactor  = 0.0001
  Prefactor  = 2.59348
  Prefactor  = 0.0001
  Prefactor  = 25.7971
  norm       = 0.215512
  norm       = 4.22952
  norm       = 3.24241
  norm       = 0.522783
  Prefactor  = 1.43881
  Prefactor  = 7.41472
  norm       = 1.85211
  norm       = 0.0001
  norm       = 6.84015
  Prefactor  = 41.3264
  norm       = 2.24294
  Prefactor  = 0.0001
  norm       = 15.8952
  Normalizat = 1.00041
  Prefactor  = 0.924418
 **********
 **   18 **HESSE 
 **********

 FCN=   15403.69     FROM HESSE     STATUS=OK           705 CALLS     5338 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .52425        .10631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.156        7.7655        .96688E-04   -1.4879    
   3  Prefactor     .60327        13.517        .23373E-02   -1.5553    
   4  Prefactor     .10000E-03    3.5653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    36.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     39.526        54.827        .63728E-04   -1.4450    
   7  norm          2.5518        2.1942        .15928E-03   -1.5388    
   8  norm          5.0148        1.1161        .59761E-04   -1.5260    
   9  Prefactor     .10000E-03    3.2139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.7579        3.5909        .24179E-03   -1.5376    
  11  Prefactor     .10000E-03    10.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    45.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.812        6.5196        .11655E-03   -1.5020    
  14  norm          14.056        7.7558        .10683E-03   -1.4958    
  15  Prefactor     .10000E-03    3.8437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.5935        14.626        .12655E-02   -1.5386    
  17  Prefactor     .10000E-03    34.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.797        57.006        .78747E-04   -1.4692    
  19  norm          .21551        1.5167        .29362E-03   -1.5615    
  20  norm          4.2295        1.9400        .11395E-03   -1.5297    
  21  norm          3.2424        3.3277        .19976E-03   -1.5348    
  22  norm          .52278        15.516        .40203E-02   -1.5563    
  23  Prefactor     1.4388        10.108        .36006E-03   -1.5468    
  24  Prefactor     7.4147        5.4037        .14728E-03   -1.5163    
  25  norm          1.8521        1.0094        .87226E-04   -1.5436    
  26  norm          .10000E-03    8.1590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          6.8401        10.220        .15342E-03   -1.5185    
  28  Prefactor     41.326        18.543        .62355E-04   -1.4421    
  29  norm          2.2429        2.6221        .20426E-03   -1.5408    
  30  Prefactor     .10000E-03    29.162        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          15.895        8.4611        .10046E-03   -1.4910    
  32  Normalizat    1.0004        .18301        .38890E-03   -.93017    
  33  Prefactor     .92442        .75947E-01    .17985E-03   -.95293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03228e-07
Minuit parameter uncertainties:
  1  2.50934e-05
  2  7.76597
  3  5.71213
  4  2.27427e-05
  5  2.01981e-05
  6  54.8967
  7  2.19424
  8  1.11609
  9  4.20424e-06
  10  3.59122
  11  4.86703e-06
  12  5.37937e-05
  13  6.51995
  14  7.75638
  15  3.00777e-06
  16  12.3222
  17  5.52689e-05
  18  57.1269
  19  1.14323
  20  1.94001
  21  3.32785
  22  5.69726
  23  7.62864
  24  5.40402
  25  1.00945
  26  1.61257e-06
  27  10.2222
  28  18.5452
  29  2.62227
  30  1.36471e-05
  31  8.46171
  32  0.183121
  33  0.0759556
Done.

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

Extracting fit parameters...

4FGL J1849.2+6705
   Spectrum: LogParabola
347         norm:  2.155e-01  1.143e+00  1.000e-04  1.000e+04 ( 1.000e-12)
348        alpha:  2.257e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
349         beta:  9.598e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
350           Eb:  9.504e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  9.244e-01  7.596e-02  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
607   Normalization:  1.000e+00  1.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 282.319 67.091
Photon Flux Upper Limit: 4.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/406374/likelihoodResults_677894401_678153601_4FGL_J1849.2+6705_daily_bin1692.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) = 15403.6728443
delta logL = 0.0143746042959

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15403.6672893
delta logL = 0.0199296325845

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35436       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8154       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0005       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92426       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+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=   15403.67     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      287 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35429        1.5279        .23387E-02    .55364E-03
   2  alpha         1.8152        1.8100        .80467E-01    .10478E-05
   3  Normalizat    1.0009        .15991        .38879E-03   -.13644E-03
   4  Prefactor     .92413        .71922E-01    .17987E-03   -.32505E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.354293
  alpha      = 1.81525
  Normalizat = 1.00093
  Prefactor  = 0.924126
 **********
 **   18 **HESSE 
 **********

 FCN=   15403.67     FROM HESSE     STATUS=OK            27 CALLS      314 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35429        1.3662        .93548E-04   -1.5589    
   2  alpha         1.8152        1.7219        .32187E-02   -.27745    
   3  Normalizat    1.0009        .15997        .15552E-04   -.92999    
   4  Prefactor     .92413        .71943E-01    .35975E-04   -.95303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89776e-11
Minuit parameter uncertainties:
  1  1.36628
  2  1.91928
  3  0.160043
  4  0.07195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406374': 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) = 15403.667285
delta logL = 0.0199338718921

Extracting fit parameters...

4FGL J1849.2+6705
   Spectrum: LogParabola
347         norm:  3.543e-01  1.366e+00  1.000e-04  1.000e+04 ( 1.000e-12)
348        alpha:  1.815e+00  1.919e+00  0.000e+00  5.000e+00 ( 1.000e+00)
349         beta:  9.598e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
350           Eb:  9.504e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  9.241e-01  7.195e-02  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
607   Normalization:  1.001e+00  1.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 282.319 67.091

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/406374/cmap_HighResolution_677894401_678153601_4FGL_J1849.2+6705_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.64e-05', job_status='DONE', photon_flux_upper_limit='4.10e-08', time_completed='2022-06-29 05:30:21.680821', job_id='406374', GAL2='0.92', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1656505821.68', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.99e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1692' AND source_name='4FGL J1849.2+6705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 05:30:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 406374: <4FGL_J1849.2+6705_daily_bin1692> in cluster <slac> Done

Job <4FGL_J1849.2+6705_daily_bin1692> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jun 29 00:07:41 2022
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:52:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:52:44 2022
Terminated at Wed Jun 29 05:30:22 2022
Results reported at Wed Jun 29 05:30:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1849.2+6705_daily_bin1692 282.319 67.0909 677894401 678153601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1849.2+6705 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2173.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             338.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2260 sec.
    Turnaround time :                            19361 sec.

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

