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


Performing analysis on: 4FGL_J1411.8+5249_daily_bin1772
RA = 212.969, Dec = 52.8278
tmin = 698630401, tmax = 698889601
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='635726', job_status='RUN', time_executed='2023-02-24 01:51:31.420080', time_epoch_executed='1677232291.42' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/635726

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/635726/ft1_4FGL_J1411.8+5249_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/635726/ft2_4FGL_J1411.8+5249_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/635726/ft1_4FGL_J1411.8+5249_daily_bin1772.fits outfile=/scratch/kocevski/635726/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1772.fits ra=212.969 dec=52.8278 rad=12.0 tmin=698630401.0 tmax=698889601.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.00
user 2.80
sys 0.19

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

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

Number of photons that the gtmktime cut: 635

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/635726/ft1_filtered_4FGL_J1411.8+5249_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/635726/ft2_4FGL_J1411.8+5249_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/635726/ltcube_698630401_698889601_4FGL_J1411.8+5249_daily_bin1772.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/635726/ft2_4FGL_J1411.8+5249_daily_bin1772.fits
.....................!
real 12.41
user 12.09
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/635726/ft1_filtered_4FGL_J1411.8+5249_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/635726/ft2_4FGL_J1411.8+5249_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/635726/ltcube_698630401_698889601_4FGL_J1411.8+5249_daily_bin1772.fits outfile=/scratch/kocevski/635726/expmap_698630401_698889601_4FGL_J1411.8+5249_daily_bin1772.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/635726/ltcube_698630401_698889601_4FGL_J1411.8+5249_daily_bin1772.fits
.....................!
real 190.43
user 185.03
sys 5.05

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/635726/ft1_filtered_4FGL_J1411.8+5249_daily_bin1772.fits scfile=/scratch/kocevski/635726/ft2_4FGL_J1411.8+5249_daily_bin1772.fits outfile=/scratch/kocevski/635726/cmap_698630401_698889601_4FGL_J1411.8+5249_daily_bin1772.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/635726/ft1_filtered_4FGL_J1411.8+5249_daily_bin1772.fits scfile=/scratch/kocevski/635726/ft2_4FGL_J1411.8+5249_daily_bin1772.fits outfile=/scratch/kocevski/635726/cmap_HighResolution_698630401_698889601_4FGL_J1411.8+5249_daily_bin1772.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.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9806       1.0000          .0000       .10000E+07
     2 'Prefactor '    11.329       1.0000          .0000       .10000E+07
     3 'norm      '    4.2469       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15288E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    30.835       1.0000          .0000       .10000E+07
     6 'norm      '    1.4865       1.0000          .0000       .10000E+07
     7 'Prefactor '    .59677E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .49507       1.0000          .0000       .10000E+07
     9 'norm      '    .23670E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .84822E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89632E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .60771       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16342E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.7936       1.0000          .0000       .10000E+07
    15 'Prefactor '    23.353       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12832       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5064       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.9885       1.0000          .0000       .10000E+07
    19 'norm      '    3.8882       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.0072       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.7782       1.0000          .0000       .10000E+07
    22 'Prefactor '    .95346E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1578       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73721       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=   6965.094     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1978 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9854        3.2830        .21837E-06   -.60749E-03
   2  Prefactor     11.265        9.5878        .70772E-06    .63765E-02
   3  norm          4.2669        4.6342        .98755E-07   -.25316E-02
   4  Prefactor     .48073E-07    84.619        .18223E-05** at limit **
   5  Prefactor     31.377        6.9516       -.10418E-06   -.21580E-01
   6  norm          1.4836        2.8238       -.70482E-08   -.23393E-03
   7  Prefactor      .0000        30.715        .38865E-06** at limit **
   8  norm          .49404        1.0305        .10857E-06   -.20370E-02
   9  norm           .0000        1.0610        .14078E-06** at limit **
  10  Prefactor     .22204E-09    12.884       -.25483E-07** at limit **
  11  Prefactor     .55511E-10    10.056       -.16426E-06** at limit **
  12  Prefactor     .65204        6.7940       -.67484E-06    .32748E-03
  13  Prefactor      .0000        7.0019        .41563E-07** at limit **
  14  Prefactor     1.7868        1.9784        .10874E-08    .14760E-03
  15  Prefactor     23.471        1.2263       -.15820E-07    .10390E-01
  16  Prefactor     .44964E-08    39.197       -.41553E-06** at limit **
  17  Prefactor     4.4420        2.2865        .23411E-06   -.26335E-01
  18  Prefactor     9.0776        1.3900       -.10762E-06    .91532E-02
  19  norm          3.8888        1.4258        .50311E-07    .32643E-02
  20  Prefactor     6.9233        8.8086        .10558E-05    .30663E-02
  21  Prefactor     5.7461        4.3790        .13232E-06   -.52065E-03
  22  Prefactor     .24425E-07    26.292       -.34125E-07** at limit **
  23  Normalizat    1.1578        .17228       -.86564E-07   -.11165E-03
  24  Prefactor     .73708        .19827       -.17337E-06   -.41752E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.98539
  Prefactor  = 11.265
  norm       = 4.2669
  Prefactor  = 4.80727e-08
  Prefactor  = 31.3773
  norm       = 1.48362
  Prefactor  = 0
  norm       = 0.494044
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 0.652037
  Prefactor  = 0
  Prefactor  = 1.78681
  Prefactor  = 23.4708
  Prefactor  = 4.4964e-09
  Prefactor  = 4.44199
  Prefactor  = 9.07758
  norm       = 3.88882
  Prefactor  = 6.9233
  Prefactor  = 5.74614
  Prefactor  = 2.44249e-08
  Normalizat = 1.15776
  Prefactor  = 0.737078
 **********
 **   18 **HESSE 
 **********

 FCN=   6965.094     FROM HESSE     STATUS=OK           453 CALLS     2431 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9854        3.2830        .50528E-03   -1.5668    
   2  Prefactor     11.265        9.6115        .29740E-03   -1.5641    
   3  norm          4.2669        4.6468        .48870E-03   -1.5667    
   4  Prefactor     .48073E-07    86.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     31.377        34.931        .18011E-03   -1.5596    
   6  norm          1.4836        2.8670        .87935E-03   -1.5684    
   7  Prefactor      .0000        30.588        .15174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .49404        1.0577        .79207E-03   -1.5694    
   9  norm           .0000        1.0610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22204E-09    12.882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    10.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .65204        6.6674        .68541E-03   -1.5692    
  13  Prefactor      .0000        6.9960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7868        2.2859        .78057E-03   -1.5681    
  15  Prefactor     23.471        24.697        .20698E-03   -1.5611    
  16  Prefactor     .44964E-08    39.157        .13223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.4420        38.128        .47403E-03   -1.5666    
  18  Prefactor     9.0776        16.329        .33407E-03   -1.5648    
  19  norm          3.8888        1.4341        .51146E-03   -1.5669    
  20  Prefactor     6.9233        8.8486        .37874E-03   -1.5655    
  21  Prefactor     5.7461        4.3835        .41759E-03   -1.5660    
  22  Prefactor     .24425E-07    25.455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1578        .15101        .36019E-01   -.87918    
  24  Prefactor     .73708        .17201        .66186E-01   -1.0209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68723e-07
Minuit parameter uncertainties:
  1  3.28299
  2  9.61148
  3  4.64681
  4  0.00408241
  5  34.9309
  6  2.86705
  7  4.12067e-05
  8  1.05765
  9  1.51458e-06
  10  0.000100611
  11  5.53328e-05
  12  4.1701
  13  1.02029e-05
  14  2.28588
  15  24.6976
  16  0.000836886
  17  26.0282
  18  16.3295
  19  1.43407
  20  8.8486
  21  4.38352
  22  0.00157766
  23  0.151063
  24  0.172131
Done.

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

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  2.220e-10  1.006e-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:  7.371e-01  1.721e-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:  1.158e+00  1.511e-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: 2.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/635726/likelihoodResults_698630401_698889601_4FGL_J1411.8+5249_daily_bin1772.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) = 6965.13134583
delta logL = -0.0372901769942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6965.09406245
delta logL = -6.80134417053e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74716E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .65624       1.0000          .0000       10.000    
     3 'Normalizat'    1.1579       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73705       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=   6965.094     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      202 TOTAL
                     EDM=   .20E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        21.091       -.11698E-05** at limit **
   2  Index         1.6145        5.7671        .12879E-04     .0000    
   3  Normalizat    1.1578        .16912       -.78833E-06   -.73274E-05
   4  Prefactor     .73708        .19674       -.29247E-05    .18543E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.61453
  Normalizat = 1.15776
  Prefactor  = 0.737078
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6965.094     FROM HESSE     STATUS=FAILED        11 CALLS      213 TOTAL
                     EDM=   .20E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        21.095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .24911        1.6571        .12879E-04   -.74381    
   3  Normalizat    1.1578        1.1228       -.78833E-06   -.87918    
   4  Prefactor     .73708        1.0867       -.29247E-05   -1.0209    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.04856e-13
Minuit parameter uncertainties:
  1  1.35696e-05
  2  1.5386
  3  1.14741
  4  1.12075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/635726': 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): 101
logL (Free Index) = 6965.09405565
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  0.000e+00  1.357e-05  0.000e+00  1.000e+06 ( 1.000e-14)
323        Index:  1.615e+00  1.539e+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:  7.371e-01  1.121e+00  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:  1.158e+00  1.147e+00  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/635726/cmap_HighResolution_698630401_698889601_4FGL_J1411.8+5249_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-03', job_status='DONE', photon_flux_upper_limit='2.84e-08', time_completed='2023-02-24 02:02:59.289784', job_id='635726', GAL2='0.74', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1677232979.29', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1772' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 02:02:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 635726: <4FGL_J1411.8+5249_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin1772> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb 24 01:50:17 2023
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:50:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:50:18 2023
Terminated at Fri Feb 24 02:03:00 2023
Results reported at Fri Feb 24 02:03:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1772 212.969 52.8278 698630401 698889601 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 :                                   690.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             265.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            763 sec.

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

