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


Performing analysis on: 4FGL_J1411.8+5249_daily_bin1667
RA = 212.969, Dec = 52.8278
tmin = 671414401, tmax = 671673601
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='477899', job_status='RUN', time_executed='2022-04-15 03:28:59.822478', time_epoch_executed='1650018539.82' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/477899

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/477899/ft1_4FGL_J1411.8+5249_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/477899/ft2_4FGL_J1411.8+5249_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/477899/ft1_4FGL_J1411.8+5249_daily_bin1667.fits outfile=/scratch/kocevski/477899/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1667.fits ra=212.969 dec=52.8278 rad=12.0 tmin=671414401.0 tmax=671673601.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.49
user 3.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/477899/ft2_4FGL_J1411.8+5249_daily_bin1667.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/477899/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1667.fits evtable="EVENTS" outfile="/scratch/kocevski/477899/ft1_filtered_4FGL_J1411.8+5249_daily_bin1667.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.16

Number of photons that the gtmktime cut: 514

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/477899/ft1_filtered_4FGL_J1411.8+5249_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/477899/ft2_4FGL_J1411.8+5249_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/477899/ltcube_671414401_671673601_4FGL_J1411.8+5249_daily_bin1667.fits outfile=/scratch/kocevski/477899/expmap_671414401_671673601_4FGL_J1411.8+5249_daily_bin1667.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/477899/ltcube_671414401_671673601_4FGL_J1411.8+5249_daily_bin1667.fits
.....................!
real 191.45
user 185.22
sys 5.54

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/477899/ft1_filtered_4FGL_J1411.8+5249_daily_bin1667.fits scfile=/scratch/kocevski/477899/ft2_4FGL_J1411.8+5249_daily_bin1667.fits outfile=/scratch/kocevski/477899/cmap_671414401_671673601_4FGL_J1411.8+5249_daily_bin1667.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.95
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/477899/ft1_filtered_4FGL_J1411.8+5249_daily_bin1667.fits scfile=/scratch/kocevski/477899/ft2_4FGL_J1411.8+5249_daily_bin1667.fits outfile=/scratch/kocevski/477899/cmap_HighResolution_671414401_671673601_4FGL_J1411.8+5249_daily_bin1667.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.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9600       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    51.285       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11255E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.5044       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.351       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.941       1.0000         .10000E-03   10000.    
    10 'norm      '    .77283       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5768       1.0000         .10000E-03   10000.    
    13 'Prefactor '    176.31       1.0000         .10000E-03   10000.    
    14 'Prefactor '    36.106       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.4279       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.9945       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    71.041       1.0000         .10000E-03   10000.    
    23 'Prefactor '    36.054       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    7.3529       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .50768E-01   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .86019       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .96975       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=   5586.594     FROM MIGRAD    STATUS=CONVERGED    826 CALLS     4801 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9595        2.9045        .22617E-07   -.32829E-05
   2  Prefactor     .10000E-03    10.247        .16461E-06** at limit **
   3  norm          .10000E-03    1.0740        .48716E-08** at limit **
   4  Prefactor     51.263        36.435       -.32635E-06   -.12941E-04
   5  Prefactor     .10000E-03    10.325        .14427E-06** at limit **
   6  Prefactor     .10000E-03    40.605       -.26009E-08** at limit **
   7  norm          2.5037        2.8658        .25988E-07   -.21333E-04
   8  Prefactor     33.347        34.291       -.11522E-06   -.11269E-04
   9  Prefactor     30.918        43.005       -.15570E-05   -.72924E-04
  10  norm          .77252        1.0743        .87035E-06   -.73467E-03
  11  norm          .10000E-03    27.948       -.12496E-05** at limit **
  12  norm          1.5766        4.1258        .73727E-06   -.59987E-04
  13  Prefactor     176.16        436.42       -.13433E-04   -.31885E-04
  14  Prefactor     36.090        39.311       -.29070E-06   -.15966E-04
  15  Prefactor     .10000E-03    23.878        .11099E-05** at limit **
  16  Prefactor     .10000E-03    1.3651        .14986E-07** at limit **
  17  Prefactor     .10000E-03    11.864       -.62429E-06** at limit **
  18  Prefactor     1.4278        2.3159        .85103E-07   -.67974E-04
  19  Prefactor     3.9968        45.106       -.13435E-05   -.34363E-04
  20  Prefactor     .10000E-03    17.402       -.60727E-06** at limit **
  21  Prefactor     .10000E-03    12.886        .74701E-06** at limit **
  22  Prefactor     71.030        33.904       -.21602E-06   -.32091E-04
  23  Prefactor     36.053        31.953        .17161E-07   -.62150E-06
  24  Prefactor     .10000E-03    24.598        .82069E-06** at limit **
  25  Prefactor     .10000E-03    9.6753        .89094E-07** at limit **
  26  norm          .10000E-03    .57551        .13906E-06** at limit **
  27  Prefactor     7.3760        7.9698       -.10328E-07   -.25466E-04
  28  Prefactor     .10000E-03    5.0120        .16166E-06** at limit **
  29  Prefactor     .11002E-02    3.3660        .41507E-07** at limit **
  30  Normalizat    .86040        .16550        .42179E-06   -.12187E-03
  31  Prefactor     .96966        .18888       -.76774E-06   -.33372E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.95953
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 51.2628
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.50371
  Prefactor  = 33.3469
  Prefactor  = 30.9184
  norm       = 0.772517
  norm       = 0.0001
  norm       = 1.57662
  Prefactor  = 176.155
  Prefactor  = 36.0897
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.42782
  Prefactor  = 3.99681
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 71.0301
  Prefactor  = 36.0535
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.376
  Prefactor  = 0.0001
  Prefactor  = 0.00110019
  Normalizat = 0.860404
  Prefactor  = 0.969662
 **********
 **   18 **HESSE 
 **********

 FCN=   5586.594     FROM HESSE     STATUS=OK           624 CALLS     5425 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9595        2.9054        .10604E-03   -1.5310    
   2  Prefactor     .10000E-03    10.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.0774        .75621E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     51.263        36.436        .56002E-04   -1.4275    
   5  Prefactor     .10000E-03    10.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    40.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.5037        2.8588        .13040E-03   -1.5391    
   8  Prefactor     33.347        34.272        .69388E-04   -1.4552    
   9  Prefactor     30.918        43.454        .72031E-04   -1.4595    
  10  norm          .77252        1.1097        .24676E-03   -1.5532    
  11  norm          .10000E-03    28.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5766        4.0955        .22675E-03   -1.5457    
  13  Prefactor     176.16        453.10        .15197E-03   -1.3046    
  14  Prefactor     36.090        39.209        .66696E-04   -1.4506    
  15  Prefactor     .10000E-03    24.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.3722        .85279E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.4278        2.2513        .13169E-03   -1.5469    
  19  Prefactor     3.9968        44.496        .20179E-03   -1.5308    
  20  Prefactor     .10000E-03    17.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     71.030        33.968        .47628E-04   -1.4020    
  23  Prefactor     36.053        31.775        .66744E-04   -1.4506    
  24  Prefactor     .10000E-03    25.658        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    9.7283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .92759        .10964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     7.3760        8.0410        .14791E-03   -1.5165    
  28  Prefactor     .10000E-03    5.1289        .16332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .11002E-02    7.3183        .42840E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .86040        .20011        .21797E-03   -.97866    
  31  Prefactor     .96966        .22701        .24979E-03   -.93748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35837e-10
Minuit parameter uncertainties:
  1  2.90548
  2  8.81496e-06
  3  1.85206e-07
  4  36.4519
  5  6.77425e-06
  6  1.46258e-05
  7  2.85897
  8  34.2924
  9  43.4988
  10  1.10969
  11  0.000184823
  12  4.09621
  13  462.578
  14  39.2375
  15  0.000133488
  16  7.12652e-07
  17  6.98817e-05
  18  2.25145
  19  26.6965
  20  5.05502e-05
  21  7.11113e-05
  22  33.9774
  23  31.7901
  24  2.72642e-05
  25  7.85601e-06
  26  7.6059e-06
  27  8.04219
  28  1.464e-06
  29  0.171131
  30  0.20028
  31  0.22723
Done.

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

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  3.609e+01  3.924e+01  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:  9.697e-01  2.272e-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:  8.604e-01  2.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.78
Ra Dec: 212.969 52.828
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.83e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 9.85e-06 +/- 1.07e-05

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

Saving results to:
/scratch/kocevski/477899/likelihoodResults_671414401_671673601_4FGL_J1411.8+5249_daily_bin1667.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) = 5586.59361569
delta logL = 9.45490501181e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5586.59360359
delta logL = 2.15568852582e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.879       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1190       1.0000          .0000       10.000    
     3 'Normalizat'    .86011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96979       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=   5586.594     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      261 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.877        60.682        .66906E-04    .11171E-03
   2  Index         2.1209        1.8636        .13464E-01    .33792E-04
   3  Normalizat    .85997        .20218        .21802E-03   -.72483E-04
   4  Prefactor     .96996        .23089        .24976E-03   -.14357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.8766
  Index      = 2.12089
  Normalizat = 0.859968
  Prefactor  = 0.969957
 **********
 **   18 **HESSE 
 **********

 FCN=   5586.594     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.877        50.175        .13381E-04   -1.4509    
   2  Index         2.1209        1.5520        .53856E-03   -.61361    
   3  Normalizat    .85997        .19599        .87207E-05   -.97881    
   4  Prefactor     .96996        .22828        .99903E-05   -.93738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01646e-10
Minuit parameter uncertainties:
  1  50.2338
  2  1.59196
  3  0.196148
  4  0.228511
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/477899': 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) = 5586.59360225
delta logL = 2.28959943342e-05

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  3.588e+01  5.023e+01  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.121e+00  1.592e+00  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:  9.700e-01  2.285e-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:  8.600e-01  1.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 212.969 52.828
Photon Index (Free Index): 2.12 +/- 1.59
Photon Flux (Free Index): 1.86e-08 +/- 4.99e-08
Energy Flux (Free Index): 9.79e-06 +/- 1.35e-05

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/477899/cmap_HighResolution_671414401_671673601_4FGL_J1411.8+5249_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-03', comment='SUCCESS', photon_flux='1.83e-08', energy_flux2='9.79e-06', photon_flux_error='1.99e-08', dlogl='2.29e-05', energy_flux='9.85e-06', photon_flux2='1.86e-08', job_status='DONE', time_completed='2022-04-15 03:45:39.855680', photon_index_error2='1.59', photon_index2='2.12', ts='1.78', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='6.97e-08', energy_flux_error2='1.35e-05', EG='0.86', time_epoch_completed='1650019539.86', return_code='0', job_id='477899', GAL2='0.97', EG2='0.86', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='4.99e-08', ts2='1.78', photon_index='2.11' WHERE bin_id='1667' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 03:45:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 477900: <4FGL_J1411.8+5249_daily_bin1667> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin1667> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Apr 15 00:07:24 2022
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:27:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:27:57 2022
Terminated at Fri Apr 15 03:45:02 2022
Results reported at Fri Apr 15 03:45:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1667 212.969 52.8278 671414401 671673601 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 :                                   988.49 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             322.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1025 sec.
    Turnaround time :                            13058 sec.

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


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

Job <4FGL_J1411.8+5249_daily_bin1667> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Apr 15 00:07:24 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:27:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:27:57 2022
Terminated at Fri Apr 15 03:45:40 2022
Results reported at Fri Apr 15 03:45:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1667 212.969 52.8278 671414401 671673601 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 :                                   1000.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             342.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1063 sec.
    Turnaround time :                            13096 sec.

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

