/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 12 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 = 7429
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1411.8+5249_daily_bin709
RA = 212.969, Dec = 52.8278
tmin = 423100801, tmax = 423360001
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='244491', job_status='RUN', time_executed='2021-09-09 04:17:03.364058', time_epoch_executed='1631186223.36' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/244491

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/244491/ft1_4FGL_J1411.8+5249_daily_bin709.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/244491/ft2_4FGL_J1411.8+5249_daily_bin709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/244491/ft1_4FGL_J1411.8+5249_daily_bin709.fits outfile=/scratch/kocevski/244491/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin709.fits ra=212.969 dec=52.8278 rad=12.0 tmin=423100801.0 tmax=423360001.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 5.23
user 4.83
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/244491/ft2_4FGL_J1411.8+5249_daily_bin709.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/244491/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin709.fits evtable="EVENTS" outfile="/scratch/kocevski/244491/ft1_filtered_4FGL_J1411.8+5249_daily_bin709.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.60
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/244491/ft1_filtered_4FGL_J1411.8+5249_daily_bin709.fits" evtable="EVENTS" scfile=/scratch/kocevski/244491/ft2_4FGL_J1411.8+5249_daily_bin709.fits sctable="SC_DATA" outfile=/scratch/kocevski/244491/ltcube_423100801_423360001_4FGL_J1411.8+5249_daily_bin709.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/244491/ft2_4FGL_J1411.8+5249_daily_bin709.fits
.....................!
real 12.01
user 11.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/244491/ft1_filtered_4FGL_J1411.8+5249_daily_bin709.fits evtable="EVENTS" scfile=/scratch/kocevski/244491/ft2_4FGL_J1411.8+5249_daily_bin709.fits sctable="SC_DATA" expcube=/scratch/kocevski/244491/ltcube_423100801_423360001_4FGL_J1411.8+5249_daily_bin709.fits outfile=/scratch/kocevski/244491/expmap_423100801_423360001_4FGL_J1411.8+5249_daily_bin709.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/244491/ltcube_423100801_423360001_4FGL_J1411.8+5249_daily_bin709.fits
.....................!
real 195.03
user 185.60
sys 4.89

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/244491/ft1_filtered_4FGL_J1411.8+5249_daily_bin709.fits scfile=/scratch/kocevski/244491/ft2_4FGL_J1411.8+5249_daily_bin709.fits outfile=/scratch/kocevski/244491/cmap_423100801_423360001_4FGL_J1411.8+5249_daily_bin709.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.68
user 0.37
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.600       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    44.898       1.0000         .10000E-03   10000.    
     7 'norm      '    .93254       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.149       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .52887       1.0000         .10000E-03   10000.    
    10 'norm      '    7.6958       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.694       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1437       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.0302       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.262       1.0000         .10000E-03   10000.    
    19 'Prefactor '    39.096       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10199E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    47.458       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.6319       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    2.8366       1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.8853       1.0000         .10000E-03   10000.    
    28 'Prefactor '    8.7387       1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.9772       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.0219       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .79775       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=   4330.187     FROM MIGRAD    STATUS=CONVERGED    825 CALLS     4187 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.2231        .25751E-06** at limit **
   2  Prefactor     .10000E-03    5.8560        .12928E-06** at limit **
   3  norm          .10000E-03    3.4525        .48827E-06** at limit **
   4  Prefactor     39.594        41.683        .49894E-06   -.27669E-04
   5  Prefactor     .10000E-03    11.744       -.29848E-07** at limit **
   6  Prefactor     44.893        45.712        .56321E-06   -.17495E-04
   7  norm          .93282        3.5952        .14559E-05    .96371E-05
   8  Prefactor     22.138        39.550        .90511E-06   -.33304E-05
   9  Prefactor     .49104        44.134        .63414E-06    .42651E-04
  10  norm          7.6955        2.3092        .39841E-07   -.55812E-04
  11  norm          .10000E-03    31.852        .66846E-07** at limit **
  12  norm          .10000E-03    1.9932        .21118E-06** at limit **
  13  Prefactor     .10000E-03    175.54        .48893E-05** at limit **
  14  Prefactor     .10000E-03    16.455       -.87354E-06** at limit **
  15  Prefactor     26.693        35.653       -.48268E-06   -.25856E-04
  16  Prefactor     2.1425        5.4160        .78059E-06    .43429E-04
  17  Prefactor     3.9392        43.340       -.65546E-05   -.49268E-04
  18  Prefactor     12.261        4.3715       -.20275E-06   -.22531E-03
  19  Prefactor     39.080        39.817       -.75696E-06   -.97988E-05
  20  Prefactor     .10000E-03    16.623        .11025E-05** at limit **
  21  Prefactor     .10000E-03    16.587        .16940E-06** at limit **
  22  Prefactor     47.458        41.501       -.45483E-06   -.25110E-04
  23  Prefactor     1.3637        507.54        .29128E-04   -.60897E-05
  24  Prefactor     .10000E-03    5.3755       -.66283E-07** at limit **
  25  Prefactor     .10000E-03    13.418        .22831E-07** at limit **
  26  norm          2.8363        2.1187        .67541E-06   -.70763E-04
  27  Prefactor     8.8827        13.080       -.13590E-05   -.97367E-04
  28  Prefactor     8.7385        6.6044        .10868E-06   -.83090E-05
  29  Prefactor     2.9764        8.8385        .11374E-05    .47655E-06
  30  Normalizat    1.0222        .20427       -.11991E-05   -.21228E-03
  31  Prefactor     .79743        .22924       -.15401E-05   -.14258E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 39.5938
  Prefactor  = 0.0001
  Prefactor  = 44.8934
  norm       = 0.932821
  Prefactor  = 22.1379
  Prefactor  = 0.491041
  norm       = 7.69555
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.6933
  Prefactor  = 2.14253
  Prefactor  = 3.93917
  Prefactor  = 12.2608
  Prefactor  = 39.0803
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.4576
  Prefactor  = 1.36373
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.83633
  Prefactor  = 8.88273
  Prefactor  = 8.73846
  Prefactor  = 2.97639
  Normalizat = 1.02217
  Prefactor  = 0.797427
 **********
 **   18 **HESSE 
 **********

 FCN=   4330.187     FROM HESSE     STATUS=OK           632 CALLS     4819 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.3632        .23075E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.8835        .15553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    8.9865        .23503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     39.594        41.457        .63696E-04   -1.4449    
   5  Prefactor     .10000E-03    11.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.893        45.688        .59835E-04   -1.4367    
   7  norm          .93282        3.5653        .23363E-03   -1.5515    
   8  Prefactor     22.138        39.553        .85109E-04   -1.4767    
   9  Prefactor     .49104        57.511        .11707       -1.5568    
  10  norm          7.6955        2.3106        .52566E-04   -1.5153    
  11  norm          .10000E-03    31.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.0154        .90714E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    175.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.693        35.621        .77537E-04   -1.4674    
  16  Prefactor     2.1425        5.4058        .23026E-03   -1.5415    
  17  Prefactor     3.9392        44.095        .20087E-03   -1.5311    
  18  Prefactor     12.261        4.3812        .76072E-04   -1.5008    
  19  Prefactor     39.080        39.605        .64103E-04   -1.4457    
  20  Prefactor     .10000E-03    16.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     47.458        41.467        .58205E-04   -1.4329    
  23  Prefactor     1.3637        509.33        .33099E-03   -1.5474    
  24  Prefactor     .10000E-03    5.3802        .14900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    13.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          2.8363        2.1136        .39856E-03   -1.5371    
  27  Prefactor     8.8827        12.996        .13447E-03   -1.5112    
  28  Prefactor     8.7385        6.6044        .13560E-03   -1.5117    
  29  Prefactor     2.9764        8.7918        .23530E-03   -1.5363    
  30  Normalizat    1.0222        .24774        .22310E-03   -.92291    
  31  Prefactor     .79743        .27348        .29676E-03   -.99823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36135e-10
Minuit parameter uncertainties:
  1  1.11705e-05
  2  9.59959e-06
  3  0.000157756
  4  41.487
  5  2.22071e-05
  6  45.724
  7  3.56608
  8  39.6
  9  10.6377
  10  2.31065
  11  3.64945e-06
  12  4.28561e-06
  13  0.00057365
  14  2.2991e-05
  15  35.649
  16  5.40706
  17  26.3831
  18  4.38129
  19  39.632
  20  3.14386e-05
  21  1.22969e-05
  22  41.4921
  23  53.1697
  24  2.8269e-06
  25  3.2065e-06
  26  2.11367
  27  12.9997
  28  6.60496
  29  8.79559
  30  0.248016
  31  0.273943
Done.

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

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  2.299e-05  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:  7.974e-01  2.739e-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.022e+00  2.480e-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: 4.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/244491/likelihoodResults_423100801_423360001_4FGL_J1411.8+5249_daily_bin709.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) = 4330.18758174
delta logL = -0.00028343710801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4330.18730505
delta logL = -6.74696821079e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1490       1.0000          .0000       10.000    
     3 'Normalizat'    1.0221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79746       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4330.187     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      229 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.7561        .90712E-02** at limit **
   2  Index         3.1267        6.5620        .50000        .41520E-04
   3  Normalizat    1.0222        .57102E-02    .43056E-01    .33245E-04
   4  Prefactor     .79743        .68224E-02    .67079E-01    .61101E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 3.12674
  Normalizat = 1.02217
  Prefactor  = 0.797428
 **********
 **   18 **HESSE 
 **********

 FCN=   4330.187     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      262 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    149.06        .14689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1267        7.2721        .50000       -.38402    
   3  Normalizat    1.0222        .25698E-01    .22310E-03   -.92291    
   4  Prefactor     .79743        .30665E-01    .29676E-03   -.99823    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.62297e-08
Minuit parameter uncertainties:
  1  0.000629386
  2  24.735
  3  0.0256983
  4  0.0306658
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/244491': 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) = 4330.18730474
delta logL = -6.44193187327e-06

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  6.294e-04  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  3.127e+00  2.473e+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:  7.974e-01  3.067e-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.022e+00  2.570e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/244491/cmap_HighResolution_423100801_423360001_4FGL_J1411.8+5249_daily_bin709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-03', job_status='DONE', photon_flux_upper_limit='4.61e-08', time_completed='2021-09-09 04:30:36.335491', job_id='244491', GAL2='0.80', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1631187036.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='-6.44e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='709' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 04:30:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 244491: <4FGL_J1411.8+5249_daily_bin709> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin709> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 04:16:07 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 04:16:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 04:16:09 2021
Terminated at Thu Sep  9 04:30:37 2021
Results reported at Thu Sep  9 04:30:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin709 212.969 52.8278 423100801 423360001 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 :                                   802.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            870 sec.

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

