/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 73 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 = 7440
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1411.8+5249_daily_bin1179
RA = 212.969, Dec = 52.8278
tmin = 544924801, tmax = 545184001
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='247391', job_status='RUN', time_executed='2021-09-09 04:30:11.846944', time_epoch_executed='1631187011.85' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='1179'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/247391

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/247391/ft1_4FGL_J1411.8+5249_daily_bin1179.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/247391/ft2_4FGL_J1411.8+5249_daily_bin1179.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/247391/ft1_4FGL_J1411.8+5249_daily_bin1179.fits outfile=/scratch/kocevski/247391/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1179.fits ra=212.969 dec=52.8278 rad=12.0 tmin=544924801.0 tmax=545184001.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.40
user 3.91
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/247391/ft1_filtered_4FGL_J1411.8+5249_daily_bin1179.fits" evtable="EVENTS" scfile=/scratch/kocevski/247391/ft2_4FGL_J1411.8+5249_daily_bin1179.fits sctable="SC_DATA" outfile=/scratch/kocevski/247391/ltcube_544924801_545184001_4FGL_J1411.8+5249_daily_bin1179.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/247391/ft2_4FGL_J1411.8+5249_daily_bin1179.fits
.....................!
real 12.64
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/247391/ft1_filtered_4FGL_J1411.8+5249_daily_bin1179.fits evtable="EVENTS" scfile=/scratch/kocevski/247391/ft2_4FGL_J1411.8+5249_daily_bin1179.fits sctable="SC_DATA" expcube=/scratch/kocevski/247391/ltcube_544924801_545184001_4FGL_J1411.8+5249_daily_bin1179.fits outfile=/scratch/kocevski/247391/expmap_544924801_545184001_4FGL_J1411.8+5249_daily_bin1179.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/247391/ltcube_544924801_545184001_4FGL_J1411.8+5249_daily_bin1179.fits
.....................!
real 195.81
user 187.78
sys 4.14

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/247391/ft1_filtered_4FGL_J1411.8+5249_daily_bin1179.fits scfile=/scratch/kocevski/247391/ft2_4FGL_J1411.8+5249_daily_bin1179.fits outfile=/scratch/kocevski/247391/cmap_544924801_545184001_4FGL_J1411.8+5249_daily_bin1179.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.56
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/247391/ft1_filtered_4FGL_J1411.8+5249_daily_bin1179.fits scfile=/scratch/kocevski/247391/ft2_4FGL_J1411.8+5249_daily_bin1179.fits outfile=/scratch/kocevski/247391/cmap_HighResolution_544924801_545184001_4FGL_J1411.8+5249_daily_bin1179.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.59
user 0.37
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/247391/ft1_filtered_4FGL_J1411.8+5249_daily_bin1179.fits', '/scratch/kocevski/247391/ft2_4FGL_J1411.8+5249_daily_bin1179.fits', expMap='/scratch/kocevski/247391/expmap_544924801_545184001_4FGL_J1411.8+5249_daily_bin1179.fits', expCube='/scratch/kocevski/247391/ltcube_544924801_545184001_4FGL_J1411.8+5249_daily_bin1179.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/247391/Model_4FGL_J1411.8+5249_daily_bin1179.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/247391/ft1_filtered_4FGL_J1411.8+5249_daily_bin1179.fits
Spacecraft file(s): /scratch/kocevski/247391/ft2_4FGL_J1411.8+5249_daily_bin1179.fits
Exposure map: /scratch/kocevski/247391/expmap_544924801_545184001_4FGL_J1411.8+5249_daily_bin1179.fits
Exposure cube: /scratch/kocevski/247391/ltcube_544924801_545184001_4FGL_J1411.8+5249_daily_bin1179.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/247391/Model_4FGL_J1411.8+5249_daily_bin1179.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 275.018982869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 272.341239526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8121       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9880       1.0000         .10000E-03   10000.    
     3 'norm      '    59.893       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .36251       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19157       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10478E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .77471E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.7312       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5055       1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.8570       1.0000         .10000E-03   10000.    
    12 'norm      '    2.0332       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.5156       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6070       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .74127E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .20079       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .94891E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.8051       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.3372       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .14241E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .32352E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.1876       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .13069       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .62949E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.1743       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.5975       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .57324       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0712       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   272.3340     FROM MIGRAD    STATUS=CONVERGED    159 CALLS      358 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12406E-02    2047.6        .77585E-02** at limit **
   2  Prefactor     1.9880        1.0358         .0000         .0000    
   3  norm          59.931        1.0003        .14139E-05   -.16457E-02
   4  Prefactor     .10008E-03    .28600        .98161E-05** at limit **
   5  Prefactor     .10593E-03    .24696       -.14007E-02** at limit **
   6  Prefactor     .15606E-03    .20571       -.61213E-03** at limit **
   7  norm          .10000E-03    .21464        .16241E-05** at limit **
   8  Prefactor     7.7312        1.0021         .0000         .0000    
   9  Prefactor     4.5055        1.0063         .0000         .0000    
  10  norm          .10000E-03    .20571        .33012E-05** at limit **
  11  norm          3.8570        1.0087         .0000         .0000    
  12  norm          2.0332        1.0340         .0000         .0000    
  13  Prefactor     7.5156        1.0022         .0000         .0000    
  14  Prefactor     .10017E-03    .17456        .72981E-03** at limit **
  15  Prefactor     .11622E-03    .21636        .41392E-03** at limit **
  16  Prefactor     .10000E-03    .20571       -.13154E-05** at limit **
  17  Prefactor     .10000E-03    .24906       -.44599E-04** at limit **
  18  Prefactor     .11254E-03    .22500        .89459E-03** at limit **
  19  Prefactor     2.8051        1.0168         .0000         .0000    
  20  Prefactor     .45438E-03    .11240       -.12226E-02** at limit **
  21  Prefactor     .10377E-03    .20675        .30997E-03** at limit **
  22  Prefactor     .12103E-03    .21084       -.47214E-03** at limit **
  23  Prefactor     8.1876        1.0019         .0000         .0000    
  24  Prefactor     .10000E-03    .23312       -.38017E-04** at limit **
  25  Prefactor     .10000E-03    .27663       -.11338E-04** at limit **
  26  norm          .10000E-03    .20571       -.68876E-05** at limit **
  27  Prefactor     2.1743        1.0292         .0000         .0000    
  28  Prefactor     .10000E-03    .20571       -.11404E-04** at limit **
  29  Prefactor     1.5975        1.0600         .0000         .0000    
  30  Normalizat    .57414        .91012        .57603E-04   -.99825E-04
  31  Prefactor     1.0707        1.1699       -.39421E-04   -.12976E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0012406
  Prefactor  = 1.98797
  norm       = 59.931
  Prefactor  = 0.000100079
  Prefactor  = 0.000105927
  Prefactor  = 0.000156064
  norm       = 0.0001
  Prefactor  = 7.73116
  Prefactor  = 4.50549
  norm       = 0.0001
  norm       = 3.85705
  norm       = 2.03325
  Prefactor  = 7.51563
  Prefactor  = 0.000100173
  Prefactor  = 0.000116217
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000112541
  Prefactor  = 2.80506
  Prefactor  = 0.000454379
  Prefactor  = 0.000103769
  Prefactor  = 0.000121033
  Prefactor  = 8.18764
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.17435
  Prefactor  = 0.0001
  Prefactor  = 1.5975
  Normalizat = 0.574143
  Prefactor  = 1.07067
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   272.3340     FROM HESSE     STATUS=FAILED        11 CALLS      369 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12406E-02    2047.6        .77585E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     569.19        567.07         .0000       -1.5426    
   3  norm          59.931        1.0003        .14139E-05   -1.4158    
   4  Prefactor     .10008E-03    .28600        .98161E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10593E-03    .24696       -.14007E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .15606E-03    .20571       -.61213E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .21464        .16241E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.7312        1.0021         .0000       -1.5152    
   9  Prefactor     4.5055        1.0063         .0000       -1.5283    
  10  norm          .10000E-03    .20571        .33012E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.8570        1.0087         .0000       -1.5315    
  12  norm          2.0332        1.0340         .0000       -1.5423    
  13  Prefactor     7.5156        1.0022         .0000       -1.5160    
  14  Prefactor     .10017E-03    .17456        .72981E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11622E-03    .21636        .41392E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .20571       -.13154E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .24906       -.44599E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11254E-03    .22500        .89459E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.8051        1.0168         .0000       -1.5373    
  20  Prefactor     .45438E-03    .11240       -.12226E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10377E-03    .20675        .30997E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .12103E-03    .21084       -.47214E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     8.1876        1.0019         .0000       -1.5136    
  24  Prefactor     .10000E-03    .23312       -.38017E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    .27663       -.11338E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .20571       -.68876E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2.1743        1.0292         .0000       -1.5413    
  28  Prefactor     .10000E-03    .20571       -.11404E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     1.5975        1.0600         .0000       -1.5455    
  30  Normalizat    .57414        .91012        .57603E-04   -1.0909    
  31  Prefactor     1.0707        1.1699       -.39421E-04   -.90409    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.18154e-09
Minuit parameter uncertainties:
  1  3.17178
  2  1.03576
  3  1.00035
  4  0.000299691
  5  0.00241962
  6  0.00679214
  7  5.70007e-06
  8  1.00211
  9  1.00629
  10  9.129e-07
  11  1.00866
  12  1.03398
  13  1.00223
  14  0.00034766
  15  0.0037463
  16  1.41593e-06
  17  2.18883e-05
  18  0.00335957
  19  1.01684
  20  0.0126225
  21  0.00176554
  22  0.0042118
  23  1.00188
  24  4.30727e-05
  25  8.29787e-06
  26  4.46122e-06
  27  1.02924
  28  7.39889e-06
  29  1.06005
  30  0.935577
  31  1.19978
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 272.33402756

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.002e-04  3.477e-04  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:  1.071e+00  1.200e+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:  5.741e-01  9.356e-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: 1.75e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.33e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/247391/likelihoodResults_544924801_545184001_4FGL_J1411.8+5249_daily_bin1179.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) = 272.334035826
delta logL = -8.26677347732e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 272.334035825
delta logL = -8.26580048852e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96345E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1102       1.0000          .0000       10.000    
     3 'Normalizat'    .57414       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0707       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=   272.3340     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      198 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10042E-03    871.61        .90714E-02** at limit **
   2  Index         2.0767        5.2384        .50000        .44544E-06
   3  Normalizat    .57414        .21094E-01    .61051E-01    .73275E-05
   4  Prefactor     1.0707        .23605E-01    .38826E-01    .42005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100415
  Index      = 2.07674
  Normalizat = 0.574145
  Prefactor  = 1.07068
 **********
 **   18 **HESSE 
 **********

 FCN=   272.3340     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      229 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10042E-03    6927.9        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0767        8.7100        .50000       -.62445    
   3  Normalizat    .57414        .47339E-01    .27013E-03   -1.0909    
   4  Prefactor     1.0707        .53066E-01    .22544E-03   -.90409    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.39089e-08
Minuit parameter uncertainties:
  1  0.0863205
  2  1824.34
  3  0.0473423
  4  0.0530686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/247391': 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) = 272.334027556
delta logL = 3.73734110326e-09

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.004e-04  8.632e-02  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.077e+00  1.824e+03  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.071e+00  5.307e-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:  5.741e-01  4.734e-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/247391/cmap_HighResolution_544924801_545184001_4FGL_J1411.8+5249_daily_bin1179.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.33e-01', job_status='DONE', photon_flux_upper_limit='1.75e-06', time_completed='2021-09-09 04:36:19.546515', job_id='247391', GAL2='1.07', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1631187379.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.07', dlogl='3.74e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1179' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 04:36:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 247391: <4FGL_J1411.8+5249_daily_bin1179> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin1179> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 04:28:00 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 04:28:01 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:28:01 2021
Terminated at Thu Sep  9 04:36:20 2021
Results reported at Thu Sep  9 04:36:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1179 212.969 52.8278 544924801 545184001 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 :                                   335.03 sec.
    Max Memory :                                 1240 MB
    Average Memory :                             362.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   498 sec.
    Turnaround time :                            500 sec.

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

