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 203 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1411.8+5249_daily_bin1776
RA = 212.969, Dec = 52.8278
tmin = 699667201, tmax = 699926401
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='835725', job_status='RUN', time_executed='2023-03-08 00:48:56.843092', time_epoch_executed='1678265336.84' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835725

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835725/ft1_4FGL_J1411.8+5249_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835725/ft2_4FGL_J1411.8+5249_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835725/ft1_4FGL_J1411.8+5249_daily_bin1776.fits outfile=/scratch/kocevski/835725/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1776.fits ra=212.969 dec=52.8278 rad=12.0 tmin=699667201.0 tmax=699926401.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.91
user 3.66
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/835725/ft2_4FGL_J1411.8+5249_daily_bin1776.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/835725/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/835725/ft1_filtered_4FGL_J1411.8+5249_daily_bin1776.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 633

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835725/ft1_filtered_4FGL_J1411.8+5249_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/835725/ft2_4FGL_J1411.8+5249_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/835725/ltcube_699667201_699926401_4FGL_J1411.8+5249_daily_bin1776.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/835725/ft2_4FGL_J1411.8+5249_daily_bin1776.fits
.....................!
real 17.45
user 17.04
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835725/ft1_filtered_4FGL_J1411.8+5249_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/835725/ft2_4FGL_J1411.8+5249_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/835725/ltcube_699667201_699926401_4FGL_J1411.8+5249_daily_bin1776.fits outfile=/scratch/kocevski/835725/expmap_699667201_699926401_4FGL_J1411.8+5249_daily_bin1776.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/835725/ltcube_699667201_699926401_4FGL_J1411.8+5249_daily_bin1776.fits
.....................!
real 190.83
user 185.23
sys 5.11

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/835725/ft1_filtered_4FGL_J1411.8+5249_daily_bin1776.fits scfile=/scratch/kocevski/835725/ft2_4FGL_J1411.8+5249_daily_bin1776.fits outfile=/scratch/kocevski/835725/cmap_699667201_699926401_4FGL_J1411.8+5249_daily_bin1776.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835725/ft1_filtered_4FGL_J1411.8+5249_daily_bin1776.fits scfile=/scratch/kocevski/835725/ft2_4FGL_J1411.8+5249_daily_bin1776.fits outfile=/scratch/kocevski/835725/cmap_HighResolution_699667201_699926401_4FGL_J1411.8+5249_daily_bin1776.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.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/835725/ft1_filtered_4FGL_J1411.8+5249_daily_bin1776.fits', '/scratch/kocevski/835725/ft2_4FGL_J1411.8+5249_daily_bin1776.fits', expMap='/scratch/kocevski/835725/expmap_699667201_699926401_4FGL_J1411.8+5249_daily_bin1776.fits', expCube='/scratch/kocevski/835725/ltcube_699667201_699926401_4FGL_J1411.8+5249_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/835725/Model_4FGL_J1411.8+5249_daily_bin1776.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  0.000e+00  1.000e+06 ( 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/835725/ft1_filtered_4FGL_J1411.8+5249_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/835725/ft2_4FGL_J1411.8+5249_daily_bin1776.fits
Exposure map: /scratch/kocevski/835725/expmap_699667201_699926401_4FGL_J1411.8+5249_daily_bin1776.fits
Exposure cube: /scratch/kocevski/835725/ltcube_699667201_699926401_4FGL_J1411.8+5249_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/835725/Model_4FGL_J1411.8+5249_daily_bin1776.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) = 6985.41591321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9259       1.0000          .0000       .10000E+07
     2 'Prefactor '    .51317E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .17005E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    91.738       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16883       1.0000          .0000       .10000E+07
     6 'norm      '    .11090E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    65.401       1.0000          .0000       .10000E+07
     8 'norm      '    .19270       1.0000          .0000       .10000E+07
     9 'norm      '    .24216E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15803E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.8908       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36512E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .76388E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .35822       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.190       1.0000          .0000       .10000E+07
    16 'Prefactor '    .56802       1.0000          .0000       .10000E+07
    17 'Prefactor '    21.208       1.0000          .0000       .10000E+07
    18 'Prefactor '    .29067E-03   1.0000          .0000       .10000E+07
    19 'norm      '    2.2426       1.0000          .0000       .10000E+07
    20 'Prefactor '    .67547E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    7.6543       1.0000          .0000       .10000E+07
    22 'Prefactor '    .84001E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .70118       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.4894       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6985.414     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2150 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9252        2.1513        .14878E-07    .56875E-03
   2  Prefactor     .13600E-07    5.4809        .24152E-06** at limit **
   3  norm          .13345E-06    7.7117        .38622E-06** at limit **
   4  Prefactor     91.866        7.2651       -.12120E-07   -.77944E-01
   5  Prefactor     .14589E-04    252.11       -.44982E-06** at limit **
   6  norm          .26590E-06    4.4315       -.25851E-06** at limit **
   7  Prefactor     65.133        13.062       -.50327E-09    .24348    
   8  norm          .19369        2.4390       -.13677E-06** at limit **
   9  norm          .12768E-08    2.4117        .17843E-07** at limit **
  10  Prefactor     .72164E-09    29.149       -.77539E-06** at limit **
  11  Prefactor     9.9525        5.7683        .44097E-07   -.17498E-01
  12  Prefactor     .16098E-08    2.4479        .14421E-06** at limit **
  13  Prefactor     .61617E-08    10.476       -.10608E-06** at limit **
  14  Prefactor     .35856        2.9854        .22231E-07   -.85668E-03
  15  Prefactor     17.206        4.1238       -.60862E-07    .39929E-01
  16  Prefactor     .16815E-04    190.22        .85409E-06** at limit **
  17  Prefactor     21.144        4.4934       -.14933E-07    .66754E-02
  18  Prefactor     .35694E-07    4.9949        .26066E-06** at limit **
  19  norm          2.2432        1.5620       -.55921E-07   -.42926E-02
  20  Prefactor     .37748E-08    3.5699        .64029E-07** at limit **
  21  Prefactor     7.6535        8.5219        .36840E-08    .16347E-02
  22  Prefactor     .83156E-07    4.2034       -.74720E-07** at limit **
  23  Normalizat    .70144        .18525       -.54542E-06   -.75303E-04
  24  Prefactor     1.4894        .22824       -.54262E-06   -.84950E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.92515
  Prefactor  = 1.36002e-08
  norm       = 1.33449e-07
  Prefactor  = 91.866
  Prefactor  = 1.45895e-05
  norm       = 2.65898e-07
  Prefactor  = 65.133
  norm       = 0.193691
  norm       = 1.27676e-09
  Prefactor  = 7.21645e-10
  Prefactor  = 9.95252
  Prefactor  = 1.60982e-09
  Prefactor  = 6.16174e-09
  Prefactor  = 0.35856
  Prefactor  = 17.2058
  Prefactor  = 1.68148e-05
  Prefactor  = 21.1436
  Prefactor  = 3.56937e-08
  norm       = 2.24319
  Prefactor  = 3.77476e-09
  Prefactor  = 7.65347
  Prefactor  = 8.31557e-08
  Normalizat = 0.701443
  Prefactor  = 1.48941
 **********
 **   18 **HESSE 
 **********

 FCN=   6985.414     FROM HESSE     STATUS=OK           463 CALLS     2613 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9252        2.1577        .59362E-03   -1.5674    
   2  Prefactor     .13600E-07    6.9826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .13345E-06    8.7618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     91.866        50.014        .10441E-03   -1.5516    
   5  Prefactor     .14589E-04    41.721        .14419E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .26590E-06    5.6547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     65.133        55.780        .12366E-03   -1.5547    
   8  norm          .19369        1.0138        .26402E-02   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .12768E-08    2.4211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .72164E-09    28.740        .17330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.9525        25.500        .31838E-03   -1.5645    
  12  Prefactor     .16098E-08    2.4619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .61617E-08    10.498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .35856        1.9244        .33845E-02   -1.5696    
  15  Prefactor     17.206        20.590        .24130E-03   -1.5625    
  16  Prefactor     .16815E-04    195.51        .72143E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     21.144        28.179        .21721E-03   -1.5616    
  18  Prefactor     .35694E-07    6.6463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.2432        1.5683        .68600E-03   -1.5678    
  20  Prefactor     .37748E-08    3.6084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.6535        8.5695        .36223E-03   -1.5653    
  22  Prefactor     .83156E-07    4.9667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .70144        .16231        .61117E-01   -1.0384    
  24  Prefactor     1.4894        .18969        .54260E-01   -.77837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28038e-06
Minuit parameter uncertainties:
  1  2.15772
  2  0.000616807
  3  0.00216271
  4  50.0138
  5  0.0493434
  6  0.00245241
  7  55.7805
  8  0.886275
  9  0.000110004
  10  0.000284094
  11  25.5004
  12  0.000125142
  13  0.000509386
  14  1.66133
  15  20.5905
  16  0.114675
  17  28.179
  18  0.00097382
  19  1.56829
  20  0.000233566
  21  8.56949
  22  0.00128553
  23  0.162423
  24  0.189777
Done.

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

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  7.216e-10  2.841e-04  0.000e+00  1.000e+06 ( 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.489e+00  1.898e-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:  7.014e-01  1.624e-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.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/835725/likelihoodResults_699667201_699926401_4FGL_J1411.8+5249_daily_bin1776.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) = 6985.43097063
delta logL = -0.0166828567335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6985.41428792
delta logL = -1.51712811203e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39652E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1714       1.0000          .0000       10.000    
     3 'Normalizat'    .70135       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4895       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6985.414     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      199 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    33.016       -.28797E-05** at limit **
   2  Index         1.9116        5.7705        .43794E-04    .98776E-12
   3  Normalizat    .70144        .18155        .11475E-05   -.14798E-04
   4  Prefactor     1.4894        .22677       -.59248E-05    .47393E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.91159
  Normalizat = 0.701443
  Prefactor  = 1.48941
 **********
 **   18 **HESSE 
 **********

 FCN=   6985.414     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      234 TOTAL
                     EDM=   .13E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .17862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9116        5.9558        .35346       -.66579    
   3  Normalizat    .70144        .27609E-03    .61117E-01   -1.0384    
   4  Prefactor     1.4894        .34400E-03    .54260E-01   -.77837    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26081e-15
Minuit parameter uncertainties:
  1  6.5729e-06
  2  22856.9
  3  0.000276095
  4  0.000343996
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835725': 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) = 6985.41428777
delta logL = 1.36424205266e-11

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  5.551e-11  6.573e-06  0.000e+00  1.000e+06 ( 1.000e-14)
323        Index:  1.912e+00  2.286e+04  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.489e+00  3.440e-04  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:  7.014e-01  2.761e-04  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/835725/cmap_HighResolution_699667201_699926401_4FGL_J1411.8+5249_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.92e-03', job_status='DONE', photon_flux_upper_limit='3.86e-08', time_completed='2023-03-08 01:01:50.897681', job_id='835725', GAL2='1.49', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1678266110.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.49', dlogl='1.36e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1776' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:01:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 835725: <4FGL_J1411.8+5249_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 00:45:24 2023
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:45:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:45:25 2023
Terminated at Wed Mar  8 01:01:51 2023
Results reported at Wed Mar  8 01:01:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1776 212.969 52.8278 699667201 699926401 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 :                                   776.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             281.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   986 sec.
    Turnaround time :                            987 sec.

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

