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


Performing analysis on: 4FGL_J1411.8+5249_daily_bin1674
RA = 212.969, Dec = 52.8278
tmin = 673228801, tmax = 673488001
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='670561', job_status='RUN', time_executed='2022-05-06 02:53:28.609253', time_epoch_executed='1651830808.61' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/670561

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/670561/ft1_4FGL_J1411.8+5249_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/670561/ft2_4FGL_J1411.8+5249_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/670561/ft1_4FGL_J1411.8+5249_daily_bin1674.fits outfile=/scratch/kocevski/670561/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1674.fits ra=212.969 dec=52.8278 rad=12.0 tmin=673228801.0 tmax=673488001.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.76
user 2.55
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/670561/ft2_4FGL_J1411.8+5249_daily_bin1674.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/670561/ft2_4FGL_J1411.8+5249_daily_bin1674.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/670561/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/670561/ft1_filtered_4FGL_J1411.8+5249_daily_bin1674.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.50
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 998

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/670561/ft1_filtered_4FGL_J1411.8+5249_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/670561/ft2_4FGL_J1411.8+5249_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/670561/ltcube_673228801_673488001_4FGL_J1411.8+5249_daily_bin1674.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/670561/ft2_4FGL_J1411.8+5249_daily_bin1674.fits
.....................!
real 13.98
user 13.56
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/670561/ft1_filtered_4FGL_J1411.8+5249_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/670561/ft2_4FGL_J1411.8+5249_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/670561/ltcube_673228801_673488001_4FGL_J1411.8+5249_daily_bin1674.fits outfile=/scratch/kocevski/670561/expmap_673228801_673488001_4FGL_J1411.8+5249_daily_bin1674.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/670561/ltcube_673228801_673488001_4FGL_J1411.8+5249_daily_bin1674.fits
.....................!
real 190.24
user 185.56
sys 4.24

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 212 point sources and 0 extended sources

Setting source of interest to:
4FGL J1411.8+5249 @ 212.969 52.8278

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/670561/ft1_filtered_4FGL_J1411.8+5249_daily_bin1674.fits scfile=/scratch/kocevski/670561/ft2_4FGL_J1411.8+5249_daily_bin1674.fits outfile=/scratch/kocevski/670561/cmap_673228801_673488001_4FGL_J1411.8+5249_daily_bin1674.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=212.969 yref=52.8278 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.57
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/670561/ft1_filtered_4FGL_J1411.8+5249_daily_bin1674.fits scfile=/scratch/kocevski/670561/ft2_4FGL_J1411.8+5249_daily_bin1674.fits outfile=/scratch/kocevski/670561/cmap_HighResolution_673228801_673488001_4FGL_J1411.8+5249_daily_bin1674.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=212.969 yref=52.8278 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/670561/ft1_filtered_4FGL_J1411.8+5249_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/670561/ft2_4FGL_J1411.8+5249_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/670561/Model_4FGL_J1411.8+5249_daily_bin1674.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/670561/ft1_filtered_4FGL_J1411.8+5249_daily_bin1674.fits.....................!
real 79.76
user 78.31
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/670561/ft1_filtered_4FGL_J1411.8+5249_daily_bin1674.fits', '/scratch/kocevski/670561/ft2_4FGL_J1411.8+5249_daily_bin1674.fits', expMap='/scratch/kocevski/670561/expmap_673228801_673488001_4FGL_J1411.8+5249_daily_bin1674.fits', expCube='/scratch/kocevski/670561/ltcube_673228801_673488001_4FGL_J1411.8+5249_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/670561/Model_4FGL_J1411.8+5249_daily_bin1674.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1411.8+5249'

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  5.211e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.110e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/670561/ft1_filtered_4FGL_J1411.8+5249_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/670561/ft2_4FGL_J1411.8+5249_daily_bin1674.fits
Exposure map: /scratch/kocevski/670561/expmap_673228801_673488001_4FGL_J1411.8+5249_daily_bin1674.fits
Exposure cube: /scratch/kocevski/670561/ltcube_673228801_673488001_4FGL_J1411.8+5249_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/670561/Model_4FGL_J1411.8+5249_daily_bin1674.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) = 10924.9853967

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1880       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.1701       1.0000         .10000E-03   10000.    
     3 'norm      '    1.0021       1.0000         .10000E-03   10000.    
     4 'Prefactor '    64.050       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.3638       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .70782E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.597       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10435E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.011       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .52625E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    22.437       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.6512       1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.5721       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.8126       1.0000         .10000E-03   10000.    
    26 'norm      '    2.8166       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.9914       1.0000         .10000E-03   10000.    
    29 'Prefactor '    5.0962       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .91926       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0945       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10924.95     FROM MIGRAD    STATUS=CONVERGED    816 CALLS     4217 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1882        1.5155        .87570E-07    .13874E-04
   2  Prefactor     3.1717        7.7482        .42921E-06   -.35282E-05
   3  norm          1.0028        1.9960       -.18987E-06   -.79584E-03
   4  Prefactor     64.044        28.798        .60458E-06    .13327E-03
   5  Prefactor     .10000E-03    9.9179       -.51649E-06** at limit **
   6  Prefactor     .10000E-03    8.4759       -.16468E-06** at limit **
   7  norm          .10000E-03    .91419        .19210E-07** at limit **
   8  Prefactor     .10000E-03    9.5372        .67996E-06** at limit **
   9  Prefactor     .10000E-03    36.461        .18759E-06** at limit **
  10  norm          .10000E-03    .28956       -.57741E-08** at limit **
  11  norm          .10000E-03    13.698        .67553E-06** at limit **
  12  norm          4.3645        3.2104        .12761E-06    .75433E-06
  13  Prefactor     .10003E-03    338.68        .19057E-04** at limit **
  14  Prefactor     .10000E-03    22.219        .74770E-06** at limit **
  15  Prefactor     22.596        31.299        .57062E-07    .33797E-05
  16  Prefactor     .10000E-03    1.9121        .10313E-06** at limit **
  17  Prefactor     .10000E-03    15.242        .10279E-06** at limit **
  18  Prefactor     .10037E-03    .66528        .23764E-06** at limit **
  19  Prefactor     20.039        19.345        .90155E-06    .14623E-03
  20  Prefactor     .10001E-03    6.3578       -.29225E-06** at limit **
  21  Prefactor     .10000E-03    17.820       -.10174E-05** at limit **
  22  Prefactor     22.437        23.487        .25920E-06    .59498E-05
  23  Prefactor     1.6409        59.640       -.10167E-05   -.20687E-04
  24  Prefactor     7.5744        9.0816        .71130E-06    .30723E-05
  25  Prefactor     5.8142        11.420        .14122E-05   -.43851E-04
  26  norm          2.8169        1.3101       -.64590E-07    .83989E-04
  27  Prefactor     .10000E-03    3.0203        .67685E-07** at limit **
  28  Prefactor     4.9916        3.9434        .58478E-06   -.15053E-03
  29  Prefactor     5.0979        5.1649        .18464E-05   -.27251E-03
  30  Normalizat    .91920        .12662       -.62425E-06    .20806E-03
  31  Prefactor     1.0945        .14398       -.18855E-06    .87876E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.18817
  Prefactor  = 3.17166
  norm       = 1.00277
  Prefactor  = 64.0442
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.36449
  Prefactor  = 0.000100027
  Prefactor  = 0.0001
  Prefactor  = 22.596
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100375
  Prefactor  = 20.0391
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 22.4367
  Prefactor  = 1.64086
  Prefactor  = 7.57435
  Prefactor  = 5.81424
  norm       = 2.81686
  Prefactor  = 0.0001
  Prefactor  = 4.99159
  Prefactor  = 5.09791
  Normalizat = 0.919205
  Prefactor  = 1.09446
 **********
 **   18 **HESSE 
 **********

 FCN=   10924.95     FROM HESSE     STATUS=OK           642 CALLS     4859 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1882        1.4822        .14125E-03   -1.5490    
   2  Prefactor     3.1717        7.7506        .22762E-03   -1.5352    
   3  norm          1.0028        1.7029        .20124E-02   -1.5508    
   4  Prefactor     64.044        28.544        .50143E-04   -1.4106    
   5  Prefactor     .10000E-03    10.295        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.4841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .93437        .97555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.5409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    36.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .29696        .10977E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    13.697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.3645        3.2041        .15118E-03   -1.5290    
  13  Prefactor     .10003E-03    337.96        .20973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.596        31.308        .84263E-04   -1.4757    
  16  Prefactor     .10000E-03    1.9508        .14086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10037E-03    1.5212        .28385E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.039        19.123        .89535E-04   -1.4812    
  20  Prefactor     .10001E-03    9.8931        .90590E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    17.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     22.437        23.522        .84562E-04   -1.4760    
  23  Prefactor     1.6409        58.459        .32855E-03   -1.5452    
  24  Prefactor     7.5744        9.0576        .72869E-03   -1.5157    
  25  Prefactor     5.8142        11.349        .83291E-03   -1.5226    
  26  norm          2.8169        1.3047        .75590E-04   -1.5372    
  27  Prefactor     .10000E-03    3.0485        .17733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.9916        3.9339        .87334E-03   -1.5261    
  29  Prefactor     5.0979        5.2031        .89052E-03   -1.5256    
  30  Normalizat    .91920        .15492        .22926E-03   -.95789    
  31  Prefactor     1.0945        .17616        .25654E-03   -.89644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.95648e-10
Minuit parameter uncertainties:
  1  1.48221
  2  7.75306
  3  1.70298
  4  28.5501
  5  8.81911e-06
  6  1.4373e-05
  7  8.94438e-07
  8  3.63352e-05
  9  1.65749e-06
  10  8.03221e-08
  11  4.35727e-05
  12  3.20427
  13  0.00606849
  14  6.44286e-05
  15  31.331
  16  7.15514e-06
  17  1.66337e-05
  18  0.00150997
  19  19.1291
  20  0.000671826
  21  7.08155e-05
  22  23.5322
  23  19.6082
  24  9.05923
  25  11.3533
  26  1.30474
  27  3.41805e-07
  28  3.93412
  29  5.20358
  30  0.154993
  31  0.176251
Done.

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

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  6.443e-05  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.110e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  1.094e+00  1.763e-01  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  9.192e-01  1.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 212.969 52.828
Photon Flux Upper Limit: 3.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/670561/likelihoodResults_673228801_673488001_4FGL_J1411.8+5249_daily_bin1674.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) = 10924.9493388
delta logL = -0.000213840563447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10924.9491247
delta logL = 2.50158336712e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1950       1.0000          .0000       10.000    
     3 'Normalizat'    .91920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0945       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10924.95     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      237 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    533.77        .90712E-02** at limit **
   2  Index         2.2373        8.7132        .50000       -.15567E-04
   3  Normalizat    .91920        .13242E-01    .45147E-01   -.10481E-03
   4  Prefactor     1.0945        .16098E-01    .58013E-01   -.78846E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.23731
  Normalizat = 0.919203
  Prefactor  = 1.09447
 **********
 **   18 **HESSE 
 **********

 FCN=   10924.95     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7431.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2373        5.6667        .50000       -.58541    
   3  Normalizat    .91920        .79777E-01    .22926E-03   -.95789    
   4  Prefactor     1.0945        .96908E-01    .25654E-03   -.89644    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.10576e-08
Minuit parameter uncertainties:
  1  0.00388983
  2  61.8142
  3  0.0797875
  4  0.0969238
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/670561': 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) = 10924.9491245
delta logL = 4.15107933804e-07

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  3.890e-03  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.237e+00  6.181e+01  0.000e+00  1.000e+01 (-1.000e+00)
324        Scale:  2.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
671    Prefactor:  1.094e+00  9.692e-02  0.000e+00  1.000e+01 ( 1.000e+00)
672        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
673        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
670   Normalization:  9.192e-01  7.979e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 212.969 52.828

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/670561/cmap_HighResolution_673228801_673488001_4FGL_J1411.8+5249_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-03', job_status='DONE', photon_flux_upper_limit='3.30e-08', time_completed='2022-05-06 03:18:41.101061', job_id='670561', GAL2='1.09', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1651832321.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.15e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1674' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:18:41 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 670484: <4FGL_J1411.8+5249_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:07:40 2022
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:51:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:51:37 2022
Terminated at Fri May  6 03:17:05 2022
Results reported at Fri May  6 03:17:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1674 212.969 52.8278 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1411.8+5249 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1500.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             357.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1527 sec.
    Turnaround time :                            11365 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 670561: <4FGL_J1411.8+5249_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:07:45 2022
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:52:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:52:07 2022
Terminated at Fri May  6 03:18:41 2022
Results reported at Fri May  6 03:18:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1674 212.969 52.8278 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1411.8+5249 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1513.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1594 sec.
    Turnaround time :                            11456 sec.

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

