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


Performing analysis on: 4FGL_J1411.8+5249_daily_bin1694
RA = 212.969, Dec = 52.8278
tmin = 678412801, tmax = 678672001
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='640367', job_status='RUN', time_executed='2022-07-05 03:49:25.101508', time_epoch_executed='1657018165.1' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='1694'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/640367

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/640367/ft1_4FGL_J1411.8+5249_daily_bin1694.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/640367/ft2_4FGL_J1411.8+5249_daily_bin1694.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/640367/ft1_4FGL_J1411.8+5249_daily_bin1694.fits outfile=/scratch/kocevski/640367/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1694.fits ra=212.969 dec=52.8278 rad=12.0 tmin=678412801.0 tmax=678672001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.65
user 3.41
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/640367/ft2_4FGL_J1411.8+5249_daily_bin1694.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/640367/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1694.fits evtable="EVENTS" outfile="/scratch/kocevski/640367/ft1_filtered_4FGL_J1411.8+5249_daily_bin1694.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 564

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/640367/ft1_filtered_4FGL_J1411.8+5249_daily_bin1694.fits" evtable="EVENTS" scfile=/scratch/kocevski/640367/ft2_4FGL_J1411.8+5249_daily_bin1694.fits sctable="SC_DATA" outfile=/scratch/kocevski/640367/ltcube_678412801_678672001_4FGL_J1411.8+5249_daily_bin1694.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/640367/ft2_4FGL_J1411.8+5249_daily_bin1694.fits
.....................!
real 14.01
user 13.60
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/640367/ft1_filtered_4FGL_J1411.8+5249_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/640367/ft2_4FGL_J1411.8+5249_daily_bin1694.fits sctable="SC_DATA" expcube=/scratch/kocevski/640367/ltcube_678412801_678672001_4FGL_J1411.8+5249_daily_bin1694.fits outfile=/scratch/kocevski/640367/expmap_678412801_678672001_4FGL_J1411.8+5249_daily_bin1694.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/640367/ltcube_678412801_678672001_4FGL_J1411.8+5249_daily_bin1694.fits
.....................!
real 193.20
user 187.09
sys 5.67

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/640367/ft1_filtered_4FGL_J1411.8+5249_daily_bin1694.fits scfile=/scratch/kocevski/640367/ft2_4FGL_J1411.8+5249_daily_bin1694.fits outfile=/scratch/kocevski/640367/cmap_678412801_678672001_4FGL_J1411.8+5249_daily_bin1694.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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/640367/ft1_filtered_4FGL_J1411.8+5249_daily_bin1694.fits scfile=/scratch/kocevski/640367/ft2_4FGL_J1411.8+5249_daily_bin1694.fits outfile=/scratch/kocevski/640367/cmap_HighResolution_678412801_678672001_4FGL_J1411.8+5249_daily_bin1694.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/640367/ft1_filtered_4FGL_J1411.8+5249_daily_bin1694.fits', '/scratch/kocevski/640367/ft2_4FGL_J1411.8+5249_daily_bin1694.fits', expMap='/scratch/kocevski/640367/expmap_678412801_678672001_4FGL_J1411.8+5249_daily_bin1694.fits', expCube='/scratch/kocevski/640367/ltcube_678412801_678672001_4FGL_J1411.8+5249_daily_bin1694.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/640367/Model_4FGL_J1411.8+5249_daily_bin1694.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/640367/ft1_filtered_4FGL_J1411.8+5249_daily_bin1694.fits
Spacecraft file(s): /scratch/kocevski/640367/ft2_4FGL_J1411.8+5249_daily_bin1694.fits
Exposure map: /scratch/kocevski/640367/expmap_678412801_678672001_4FGL_J1411.8+5249_daily_bin1694.fits
Exposure cube: /scratch/kocevski/640367/ltcube_678412801_678672001_4FGL_J1411.8+5249_daily_bin1694.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/640367/Model_4FGL_J1411.8+5249_daily_bin1694.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) = 6207.58053353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9534       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .41584E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    57.109       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.5758       1.0000         .10000E-03   10000.    
     8 'Prefactor '    85.902       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .58383       1.0000         .10000E-03   10000.    
    10 'norm      '    .16599       1.0000         .10000E-03   10000.    
    11 'norm      '    48.049       1.0000         .10000E-03   10000.    
    12 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.3478       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.066       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.0417       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0274       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.1729       1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.295       1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.118       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10260E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.5351       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.8098       1.0000         .10000E-03   10000.    
    26 'norm      '    .93037       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.9740       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .92701       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .88665       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6207.556     FROM MIGRAD    STATUS=CONVERGED   1482 CALLS     4911 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9534        2.4413        .94095E-04    .11116E-04
   2  Prefactor     .10000E-03    5.6349        .58975E-01** at limit **
   3  norm          .10000E-03    3.2978        .27558E-03** at limit **
   4  Prefactor     57.098        36.546        .53085E-04    .44460E-04
   5  Prefactor     .10000E-03    4.7147        .16696E-02** at limit **
   6  Prefactor     .10000E-03    28.940        .18142E-02** at limit **
   7  norm          1.5763        1.9886        .12189E-03    .11081E-03
   8  Prefactor     85.773        58.570        .21673E-03    .84455E-05
   9  Prefactor     .60678        41.868        .12367        .15890E-03
  10  norm          .16622        .52416        .10078E-03   -.19911E-03
  11  norm          48.047        66.285        .57848E-04    .29479E-05
  12  norm          .10000E-03    3.6908        .28940E-03** at limit **
  13  Prefactor     .10000E-03    164.91        .18142E-02** at limit **
  14  Prefactor     .10000E-03    16.401        .18142E-02** at limit **
  15  Prefactor     .10000E-03    15.601        .18142E-02** at limit **
  16  Prefactor     5.3489        4.1892        .13735E-03   -.17465E-04
  17  Prefactor     12.063        16.205        .57660E-03    .25454E-04
  18  Prefactor     6.0415        3.7844        .91436E-04    .58276E-03
  19  Prefactor     8.0121        22.327        .14151E-03    .42016E-04
  20  Prefactor     1.1569        154.41        .42337E-02    .41397E-03
  21  Prefactor     21.303        46.429        .86796E-04    .16766E-04
  22  Prefactor     18.115        31.755        .94095E-04    .12203E-04
  23  Prefactor     .10000E-03    28.897        .18142E-02** at limit **
  24  Prefactor     3.5362        6.8709        .21499E-03    .19407E-04
  25  Prefactor     4.8091        9.9203        .18344E-03    .23365E-04
  26  norm          .93083        .92677        .76564E-03    .12743E-02
  27  Prefactor     .10000E-03    3.7243        .14799E-02** at limit **
  28  Prefactor     .10000E-03    1.7450        .10131E-02** at limit **
  29  Prefactor     2.9729        5.2832        .11511E-02    .90172E-04
  30  Normalizat    .92753        .19686        .21555E-03   -.10812E-04
  31  Prefactor     .88593        .21742        .26304E-03   -.44733E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.95339
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 57.0983
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.5763
  Prefactor  = 85.7732
  Prefactor  = 0.606778
  norm       = 0.166217
  norm       = 48.0474
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.34887
  Prefactor  = 12.0634
  Prefactor  = 6.0415
  Prefactor  = 8.01214
  Prefactor  = 1.15687
  Prefactor  = 21.3026
  Prefactor  = 18.1154
  Prefactor  = 0.0001
  Prefactor  = 3.5362
  Prefactor  = 4.80906
  norm       = 0.930829
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.97287
  Normalizat = 0.927528
  Prefactor  = 0.885933
 **********
 **   18 **HESSE 
 **********

 FCN=   6207.556     FROM HESSE     STATUS=OK           616 CALLS     5527 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9534        2.4412        .37638E-05   -1.5310    
   2  Prefactor     .10000E-03    5.5992        .59286E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.2979        .55116E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     57.098        36.540        .10617E-04   -1.4195    
   5  Prefactor     .10000E-03    4.7149        .33392E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    28.943        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.5763        1.9885        .48755E-05   -1.5457    
   8  Prefactor     85.773        58.539        .86690E-05   -1.3853    
   9  Prefactor     .60678        39.440        .12873       -1.5552    
  10  norm          .16622        .52414        .40311E-05   -1.5626    
  11  norm          48.047        66.287        .11570E-04   -1.4321    
  12  norm          .10000E-03    3.6910        .57880E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    164.91        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.401        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.602        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.3489        4.1889        .54939E-05   -1.5245    
  17  Prefactor     12.063        16.201        .23064E-04   -1.5013    
  18  Prefactor     6.0415        3.6634        .36574E-05   -1.5216    
  19  Prefactor     8.0121        22.263        .56605E-05   -1.5142    
  20  Prefactor     1.1569        142.87        .84673E-03   -1.5493    
  21  Prefactor     21.303        46.390        .34719E-05   -1.4785    
  22  Prefactor     18.115        31.741        .37638E-05   -1.4856    
  23  Prefactor     .10000E-03    28.900        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.5362        6.8704        .85997E-05   -1.5332    
  25  Prefactor     4.8091        9.9189        .73376E-05   -1.5269    
  26  norm          .93083        .92648        .15313E-03   -1.5515    
  27  Prefactor     .10000E-03    3.7248        .29598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    1.7451        .20262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     2.9729        5.2801        .46044E-04   -1.5363    
  30  Normalizat    .92753        .19676        .86221E-05   -.95499    
  31  Prefactor     .88593        .21757        .10522E-04   -.96634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.84927e-10
Minuit parameter uncertainties:
  1  2.44128
  2  0.000104127
  3  1.24777e-05
  4  36.5541
  5  2.55593e-05
  6  9.72188e-06
  7  1.98858
  8  58.5781
  9  9.78985
  10  0.524154
  11  66.3885
  12  5.36181e-05
  13  0.000724977
  14  4.08508e-06
  15  2.80818e-05
  16  4.18916
  17  16.2072
  18  3.6635
  19  22.2863
  20  25.7747
  21  46.4683
  22  31.7709
  23  5.47521e-05
  24  6.87188
  25  9.92225
  26  0.926497
  27  1.34253e-05
  28  5.23341e-06
  29  5.28088
  30  0.196918
  31  0.217784
Done.

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

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  4.085e-06  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:  8.859e-01  2.178e-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.275e-01  1.969e-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.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/640367/likelihoodResults_678412801_678672001_4FGL_J1411.8+5249_daily_bin1694.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) = 6207.55646319
delta logL = -0.00029037092736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6207.55617299
delta logL = -1.71433384821e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2096       1.0000          .0000       10.000    
     3 'Normalizat'    .92752       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88594       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=   6207.556     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      228 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1332.6        .90712E-02** at limit **
   2  Index         2.1955        7.9035        .50000        .74319E-05
   3  Normalizat    .92753        .38411E-01    .45252E-01    .36414E-05
   4  Prefactor     .88593        .46148E-01    .44826E-01    .11460E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.19555
  Normalizat = 0.927528
  Prefactor  = 0.885933
 **********
 **   18 **HESSE 
 **********

 FCN=   6207.556     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      261 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6212.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1955        5.8035        .50000       -.59546    
   3  Normalizat    .92753        .65183E-01    .21555E-03   -.95499    
   4  Prefactor     .88593        .78321E-01    .26304E-03   -.96634    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.07501e-08
Minuit parameter uncertainties:
  1  0.000209678
  2  54.0265
  3  0.0651887
  4  0.078331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/640367': 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) = 6207.55617296
delta logL = -1.44363184518e-07

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  2.097e-04  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.196e+00  5.403e+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:  8.859e-01  7.833e-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.275e-01  6.519e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/640367/cmap_HighResolution_678412801_678672001_4FGL_J1411.8+5249_daily_bin1694.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-03', job_status='DONE', photon_flux_upper_limit='3.98e-08', time_completed='2022-07-05 04:07:02.667004', job_id='640367', GAL2='0.89', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1657019222.67', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-1.44e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1694' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  5 04:07:02 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 640289: <4FGL_J1411.8+5249_daily_bin1694> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin1694> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Jul  5 00:06:36 2022
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 03:47:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 03:47:42 2022
Terminated at Tue Jul  5 04:06:00 2022
Results reported at Tue Jul  5 04:06:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1694 212.969 52.8278 678412801 678672001 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 :                                   1060.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             319.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1099 sec.
    Turnaround time :                            14364 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 640367: <4FGL_J1411.8+5249_daily_bin1694> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin1694> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Jul  5 00:06:39 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 03:48:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 03:48:47 2022
Terminated at Tue Jul  5 04:07:03 2022
Results reported at Tue Jul  5 04:07:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1694 212.969 52.8278 678412801 678672001 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 :                                   1059.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             293.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1098 sec.
    Turnaround time :                            14424 sec.

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

