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


Performing analysis on: 4FGL_J1411.8+5249_daily_bin1748
RA = 212.969, Dec = 52.8278
tmin = 692409601, tmax = 692668801
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='887844', job_status='RUN', time_executed='2022-12-14 00:48:55.588636', time_epoch_executed='1671007735.59' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887844

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887844/ft1_4FGL_J1411.8+5249_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887844/ft2_4FGL_J1411.8+5249_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887844/ft1_4FGL_J1411.8+5249_daily_bin1748.fits outfile=/scratch/kocevski/887844/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1748.fits ra=212.969 dec=52.8278 rad=12.0 tmin=692409601.0 tmax=692668801.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.59
user 3.35
sys 0.22

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

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

Number of photons that the gtmktime cut: 676

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887844/ft1_filtered_4FGL_J1411.8+5249_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/887844/ft2_4FGL_J1411.8+5249_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/887844/ltcube_692409601_692668801_4FGL_J1411.8+5249_daily_bin1748.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/887844/ft2_4FGL_J1411.8+5249_daily_bin1748.fits
.....................!
real 12.05
user 11.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887844/ft1_filtered_4FGL_J1411.8+5249_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/887844/ft2_4FGL_J1411.8+5249_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/887844/ltcube_692409601_692668801_4FGL_J1411.8+5249_daily_bin1748.fits outfile=/scratch/kocevski/887844/expmap_692409601_692668801_4FGL_J1411.8+5249_daily_bin1748.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/887844/ltcube_692409601_692668801_4FGL_J1411.8+5249_daily_bin1748.fits
.....................!
real 190.50
user 184.90
sys 5.25

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/887844/ft1_filtered_4FGL_J1411.8+5249_daily_bin1748.fits scfile=/scratch/kocevski/887844/ft2_4FGL_J1411.8+5249_daily_bin1748.fits outfile=/scratch/kocevski/887844/cmap_692409601_692668801_4FGL_J1411.8+5249_daily_bin1748.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887844/ft1_filtered_4FGL_J1411.8+5249_daily_bin1748.fits scfile=/scratch/kocevski/887844/ft2_4FGL_J1411.8+5249_daily_bin1748.fits outfile=/scratch/kocevski/887844/cmap_HighResolution_692409601_692668801_4FGL_J1411.8+5249_daily_bin1748.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/887844/ft1_filtered_4FGL_J1411.8+5249_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/887844/ft2_4FGL_J1411.8+5249_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887844/Model_4FGL_J1411.8+5249_daily_bin1748.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/887844/ft1_filtered_4FGL_J1411.8+5249_daily_bin1748.fits.....................!
real 58.85
user 57.29
sys 1.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54923E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .32177E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .24227E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    60.592       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10258E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .50835E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    24.528       1.0000          .0000       .10000E+07
     8 'norm      '    3.6426       1.0000          .0000       .10000E+07
     9 'norm      '    .21440E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .34678E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .40011E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.9853       1.0000          .0000       .10000E+07
    13 'Prefactor '    .53625E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .31075E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    46.365       1.0000          .0000       .10000E+07
    16 'Prefactor '    69.282       1.0000          .0000       .10000E+07
    17 'Prefactor '    .98438E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.5542       1.0000          .0000       .10000E+07
    19 'norm      '    1.4644       1.0000          .0000       .10000E+07
    20 'Prefactor '    .18744E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .16310E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .28549E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0752       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96858       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=   7323.177     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     2095 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .80536        .18771E-06** at limit **
   2  Prefactor     .61062E-09    8.0593        .87656E-07** at limit **
   3  norm          .55511E-10    3.7760       -.23668E-06** at limit **
   4  Prefactor     60.550        3.9160       -.12092E-06    .10633    
   5  Prefactor     .37192E-08    51.853        .16330E-05** at limit **
   6  norm           .0000        2.3084       -.69656E-06** at limit **
   7  Prefactor     24.636        2.5219        .56738E-07   -.94188E-03
   8  norm          3.6426        1.3529       -.49341E-07   -.29012E-02
   9  norm           .0000        1.4390       -.85814E-07** at limit **
  10  Prefactor     .12462E-06    29.649       -.83685E-06** at limit **
  11  Prefactor     .17969E-05    44.464       -.37528E-05** at limit **
  12  Prefactor     2.9826        3.2874       -.21146E-06   -.11572E-02
  13  Prefactor     .44353E-06    224.48        .78398E-05** at limit **
  14  Prefactor      .0000        2.0397        .16505E-06** at limit **
  15  Prefactor     46.442        4.1566       -.10785E-06    .26275    
  16  Prefactor     69.300        1.1289       -.16946E-07    .25253E-01
  17  Prefactor     .33307E-09    10.047        .66707E-06** at limit **
  18  Prefactor     2.5926        3.1569       -.58527E-06    .33822E-01
  19  norm          1.4647        1.0083        .12556E-06    .11783E-02
  20  Prefactor     .55511E-10    3.2826        .54232E-06** at limit **
  21  Prefactor     .44409E-09    3.4757        .65280E-06** at limit **
  22  Prefactor     .55511E-10    6.0897       -.51977E-06** at limit **
  23  Normalizat    1.0752        .18001       -.69677E-05   -.33069E-04
  24  Prefactor     .96862        .21656        .39826E-05   -.20787E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 6.10623e-10
  norm       = 5.55112e-11
  Prefactor  = 60.5495
  Prefactor  = 3.71925e-09
  norm       = 0
  Prefactor  = 24.6361
  norm       = 3.64258
  norm       = 0
  Prefactor  = 1.24623e-07
  Prefactor  = 1.7969e-06
  Prefactor  = 2.98262
  Prefactor  = 4.43534e-07
  Prefactor  = 0
  Prefactor  = 46.4417
  Prefactor  = 69.3
  Prefactor  = 3.33067e-10
  Prefactor  = 2.59257
  norm       = 1.46475
  Prefactor  = 5.55112e-11
  Prefactor  = 4.44089e-10
  Prefactor  = 5.55112e-11
  Normalizat = 1.07519
  Prefactor  = 0.968618
 **********
 **   18 **HESSE 
 **********

 FCN=   7323.177     FROM HESSE     STATUS=OK           441 CALLS     2536 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .80517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61062E-09    8.0542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    3.7308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     60.550        33.626        .12848E-03   -1.5552    
   5  Prefactor     .37192E-08    53.477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        2.2997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.636        42.452        .20196E-03   -1.5609    
   8  norm          3.6426        1.3573        .52907E-03   -1.5670    
   9  norm           .0000        1.4443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .12462E-06    30.107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .17969E-05    45.787        .15963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.9826        3.3018        .58731E-03   -1.5673    
  13  Prefactor     .44353E-06    220.83        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.0163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     46.442        25.129        .14687E-03   -1.5572    
  16  Prefactor     69.300        70.021        .12015E-03   -1.5541    
  17  Prefactor     .33307E-09    10.077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.5926        24.971        .63858E-03   -1.5676    
  19  norm          1.4647        1.0078        .88839E-03   -1.5684    
  20  Prefactor     .55511E-10    3.2819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .44409E-09    3.4584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .55511E-10    6.0605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0752        .15773        .39111E-01   -.90552    
  24  Prefactor     .96862        .18452        .45873E-01   -.93783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29229e-06
Minuit parameter uncertainties:
  1  4.20813e-06
  2  0.00013833
  3  2.52089e-05
  4  33.626
  5  0.000893734
  6  1.42737e-05
  7  42.4523
  8  1.35727
  9  3.8619e-06
  10  0.00387376
  11  0.0181412
  12  3.3018
  13  0.0197938
  14  6.88248e-06
  15  25.1295
  16  70.0218
  17  0.000117395
  18  16.0924
  19  1.00784
  20  2.70352e-05
  21  7.7666e-05
  22  4.2267e-05
  23  0.157802
  24  0.184644
Done.

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

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.246e-07  3.874e-03  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:  9.686e-01  1.846e-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.075e+00  1.578e-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.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887844/likelihoodResults_692409601_692668801_4FGL_J1411.8+5249_daily_bin1748.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) = 7323.19344526
delta logL = -0.0162631957328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7322.96589494
delta logL = 0.211287117951

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19650E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.0185       1.0000          .0000       10.000    
     3 'Normalizat'    1.0360       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0004       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=   7323.177     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      337 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15543E-08    42.207        .35090E-05** at limit **
   2  Index         2.3882        .11871       -.15099E-04   -.15727E-09
   3  Normalizat    1.0752        .17937       -.55745E-04   -.69399E-03
   4  Prefactor     .96862        .21633       -.64386E-04    .43019E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.55431e-09
  Index      = 2.38823
  Normalizat = 1.07519
  Prefactor  = 0.968619
 **********
 **   18 **HESSE 
 **********

 FCN=   7323.177     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      372 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15543E-08    1991.5        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3882        5.9555        .50000       -277.01    
   3  Normalizat    1.0752        .26289E-01    .41612E-01   -19.755    
   4  Prefactor     .96862        .31693E-01    .45767E-01   -8.4869    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.73107e-09
Minuit parameter uncertainties:
  1  0.00350412
  2  29.2651
  3  0.0262895
  4  0.0316936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887844': 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) = 7323.17718206
delta logL = 1.87174009625e-09

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.554e-09  3.504e-03  0.000e+00  1.000e+06 ( 1.000e-14)
323        Index:  2.388e+00  2.927e+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:  9.686e-01  3.169e-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:  1.075e+00  2.629e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/887844/cmap_HighResolution_692409601_692668801_4FGL_J1411.8+5249_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.87e-03', job_status='DONE', photon_flux_upper_limit='3.80e-08', time_completed='2022-12-14 01:01:27.137513', job_id='887844', GAL2='0.97', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1671008487.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1748' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:01:27 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 887844: <4FGL_J1411.8+5249_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:45:19 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:45:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:45:20 2022
Terminated at Wed Dec 14 01:01:27 2022
Results reported at Wed Dec 14 01:01:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1748 212.969 52.8278 692409601 692668801 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 :                                   753.48 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             279.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            968 sec.

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

