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


Performing analysis on: 4FGL_J1411.8+5249_daily_bin1300
RA = 212.969, Dec = 52.8278
tmin = 576288001, tmax = 576547201
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='247558', job_status='RUN', time_executed='2021-09-09 04:30:36.974192', time_epoch_executed='1631187036.97' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='1300'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/247558

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/247558/ft1_4FGL_J1411.8+5249_daily_bin1300.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/247558/ft2_4FGL_J1411.8+5249_daily_bin1300.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/247558/ft1_4FGL_J1411.8+5249_daily_bin1300.fits outfile=/scratch/kocevski/247558/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1300.fits ra=212.969 dec=52.8278 rad=12.0 tmin=576288001.0 tmax=576547201.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 6.63
user 3.00
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/247558/ft2_4FGL_J1411.8+5249_daily_bin1300.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/247558/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1300.fits evtable="EVENTS" outfile="/scratch/kocevski/247558/ft1_filtered_4FGL_J1411.8+5249_daily_bin1300.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 2.87
user 0.44
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/247558/ft1_filtered_4FGL_J1411.8+5249_daily_bin1300.fits" evtable="EVENTS" scfile=/scratch/kocevski/247558/ft2_4FGL_J1411.8+5249_daily_bin1300.fits sctable="SC_DATA" outfile=/scratch/kocevski/247558/ltcube_576288001_576547201_4FGL_J1411.8+5249_daily_bin1300.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/247558/ft2_4FGL_J1411.8+5249_daily_bin1300.fits
.....................!
real 10.39
user 8.20
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/247558/ft1_filtered_4FGL_J1411.8+5249_daily_bin1300.fits evtable="EVENTS" scfile=/scratch/kocevski/247558/ft2_4FGL_J1411.8+5249_daily_bin1300.fits sctable="SC_DATA" expcube=/scratch/kocevski/247558/ltcube_576288001_576547201_4FGL_J1411.8+5249_daily_bin1300.fits outfile=/scratch/kocevski/247558/expmap_576288001_576547201_4FGL_J1411.8+5249_daily_bin1300.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/247558/ltcube_576288001_576547201_4FGL_J1411.8+5249_daily_bin1300.fits
.....................!
real 152.88
user 138.49
sys 3.56

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/247558/ft1_filtered_4FGL_J1411.8+5249_daily_bin1300.fits scfile=/scratch/kocevski/247558/ft2_4FGL_J1411.8+5249_daily_bin1300.fits outfile=/scratch/kocevski/247558/cmap_576288001_576547201_4FGL_J1411.8+5249_daily_bin1300.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.48
user 0.27
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/247558/ft1_filtered_4FGL_J1411.8+5249_daily_bin1300.fits scfile=/scratch/kocevski/247558/ft2_4FGL_J1411.8+5249_daily_bin1300.fits outfile=/scratch/kocevski/247558/cmap_HighResolution_576288001_576547201_4FGL_J1411.8+5249_daily_bin1300.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.47
user 0.30
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35543E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.564       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.9546       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    23.186       1.0000         .10000E-03   10000.    
    11 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .79289       1.0000         .10000E-03   10000.    
    13 'Prefactor '    506.60       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    32.642       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.6208       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4752       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.200       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.1835       1.0000         .10000E-03   10000.    
    23 'Prefactor '    44.791       1.0000         .10000E-03   10000.    
    24 'Prefactor '    31.588       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .49679       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.1957       1.0000         .10000E-03   10000.    
    29 'Prefactor '    22.571       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .41593       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.5510       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=   6157.416     FROM MIGRAD    STATUS=CONVERGED    797 CALLS     4825 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7372        .15577E-06** at limit **
   2  Prefactor     .10000E-03    4.0853        .93361E-07** at limit **
   3  norm          .10000E-03    1.2926        .54351E-07** at limit **
   4  Prefactor     .10000E-03    39.232       -.11925E-05** at limit **
   5  Prefactor     12.552        19.464       -.29518E-05   -.47990E-05
   6  Prefactor     .10000E-03    57.438        .19324E-05** at limit **
   7  norm          3.9556        6.3488        .38582E-05   -.24957E-03
   8  Prefactor     .10000E-03    14.681       -.31659E-06** at limit **
   9  Prefactor     .10000E-03    28.600        .88987E-06** at limit **
  10  norm          23.186        3.2854        .18278E-07   -.17679E-03
  11  norm          .10000E-03    37.821       -.12749E-05** at limit **
  12  norm          .79838        3.3323        .75226E-06   -.20638E-05
  13  Prefactor     506.35        681.09        .15767E-04    .72963E-05
  14  Prefactor     .10000E-03    24.425        .77101E-06** at limit **
  15  Prefactor     32.631        38.658        .15322E-05    .31018E-05
  16  Prefactor     1.6241        4.4897        .38235E-07   -.15149E-03
  17  Prefactor     .10000E-03    13.600        .62358E-06** at limit **
  18  Prefactor     2.4746        2.5465       -.16071E-08   -.24839E-03
  19  Prefactor     10.203        19.003        .69038E-06   -.30252E-04
  20  Prefactor     .10000E-03    22.802        .46920E-06** at limit **
  21  Prefactor     .10000E-03    31.622        .13006E-06** at limit **
  22  Prefactor     6.1800        21.911        .86977E-06   -.61703E-06
  23  Prefactor     44.792        46.182       -.71702E-07   -.12519E-04
  24  Prefactor     31.575        18.800        .31965E-06    .34055E-04
  25  Prefactor     .10000E-03    18.026       -.10106E-05** at limit **
  26  norm          .49827        1.4806        .44646E-06    .17033E-03
  27  Prefactor     .10000E-03    9.8785       -.20804E-07** at limit **
  28  Prefactor     1.2052        6.4558        .18949E-05    .84585E-04
  29  Prefactor     22.570        10.399        .45937E-06   -.47467E-05
  30  Normalizat    .41599        .18509       -.33160E-05   -.16805E-03
  31  Prefactor     1.5509        .22174        .72784E-07   -.92422E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.5524
  Prefactor  = 0.0001
  norm       = 3.95561
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.1856
  norm       = 0.0001
  norm       = 0.798376
  Prefactor  = 506.351
  Prefactor  = 0.0001
  Prefactor  = 32.6315
  Prefactor  = 1.62409
  Prefactor  = 0.0001
  Prefactor  = 2.4746
  Prefactor  = 10.2031
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.18001
  Prefactor  = 44.7917
  Prefactor  = 31.5755
  Prefactor  = 0.0001
  norm       = 0.498271
  Prefactor  = 0.0001
  Prefactor  = 1.20517
  Prefactor  = 22.5697
  Normalizat = 0.415988
  Prefactor  = 1.55091
 **********
 **   18 **HESSE 
 **********

 FCN=   6157.416     FROM HESSE     STATUS=OK           622 CALLS     5447 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.5793        .19973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.1196        .15490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.2968        .87125E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    39.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.552        19.481        .11301E-03   -1.4999    
   6  Prefactor     .10000E-03    57.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.9556        6.3698        .99840E-03   -1.5310    
   8  Prefactor     .10000E-03    14.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    28.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          23.186        3.2785        .51038E-04   -1.4745    
  11  norm          .10000E-03    37.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .79838        3.2676        .27061E-03   -1.5529    
  13  Prefactor     506.35        681.55        .91198E-04   -1.1169    
  14  Prefactor     .10000E-03    24.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.631        38.488        .70134E-04   -1.4565    
  16  Prefactor     1.6241        4.4397        .26082E-03   -1.5453    
  17  Prefactor     .10000E-03    13.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4746        2.5195        .11868E-03   -1.5393    
  19  Prefactor     10.203        18.963        .62731E-03   -1.5069    
  20  Prefactor     .10000E-03    22.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    31.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.1800        21.899        .16144E-03   -1.5211    
  23  Prefactor     44.792        46.206        .59906E-04   -1.4368    
  24  Prefactor     31.575        18.731        .71292E-04   -1.4584    
  25  Prefactor     .10000E-03    18.289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .49827        1.4735        .15578E-03   -1.5567    
  27  Prefactor     .10000E-03    9.9947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     1.2052        6.4833        .37885E-03   -1.5488    
  29  Prefactor     22.570        10.356        .42156E-03   -1.4757    
  30  Normalizat    .41599        .20731        .34737E-03   -1.1648    
  31  Prefactor     1.5509        .25523        .23878E-03   -.76124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93909e-10
Minuit parameter uncertainties:
  1  3.49414e-05
  2  1.18732e-05
  3  3.17427e-06
  4  4.37816e-05
  5  19.4905
  6  0.000225152
  7  6.3709
  8  2.99252e-06
  9  5.86409e-05
  10  3.27851
  11  5.22564e-05
  12  3.23043
  13  693.028
  14  1.2575e-05
  15  38.5177
  16  4.44058
  17  1.36595e-05
  18  2.51961
  19  18.9741
  20  1.72883e-05
  21  2.41943e-05
  22  21.9279
  23  46.2429
  24  18.7343
  25  1.1303e-05
  26  1.47359
  27  6.22458e-06
  28  5.59123
  29  10.3567
  30  0.207695
  31  0.255444
Done.

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

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  1.257e-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:  1.551e+00  2.554e-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:  4.160e-01  2.077e-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: 5.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/247558/likelihoodResults_576288001_576547201_4FGL_J1411.8+5249_daily_bin1300.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) = 6157.4158367
delta logL = -0.0001946743796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6157.41564314
delta logL = -1.10914970719e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11055E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3944       1.0000          .0000       10.000    
     3 'Normalizat'    .41599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5509       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6157.416     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      284 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10255E-03    3.0580        .18142E-01** at limit **
   2  Index         2.3203        8.8381        .50000        .14480E-04
   3  Normalizat    .41599        .15884E-02    .34737E-03   -.40910E-05
   4  Prefactor     1.5509        .20084E-02    .23878E-03   -.14283E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102555
  Index      = 2.32031
  Normalizat = 0.41599
  Prefactor  = 1.5509
 **********
 **   18 **HESSE 
 **********

 FCN=   6157.416     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      313 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10255E-03    55.081        .33624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3203        5.1066        .50000       -.56562    
   3  Normalizat    .41599        .67480E-02    .13895E-04   -1.1648    
   4  Prefactor     1.5509        .85325E-02    .95514E-05   -.76124    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.3696e-09
Minuit parameter uncertainties:
  1  0.0237459
  2  185.879
  3  0.00674799
  4  0.00853247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/247558': 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) = 6157.41564263
delta logL = -6.04330125498e-07

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.026e-04  2.375e-02  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.320e+00  1.859e+02  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.551e+00  8.532e-03  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:  4.160e-01  6.748e-03  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/247558/cmap_HighResolution_576288001_576547201_4FGL_J1411.8+5249_daily_bin1300.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-03', job_status='DONE', photon_flux_upper_limit='5.11e-08', time_completed='2021-09-09 04:43:52.084725', job_id='247558', GAL2='1.55', fit_tolerance='1e-08', EG2='0.42', EG='0.42', time_epoch_completed='1631187832.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.55', dlogl='-6.04e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1300' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 04:43:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 247558: <4FGL_J1411.8+5249_daily_bin1300> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1300 212.969 52.8278 576288001 576547201 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 :                                   774.41 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             296.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            941 sec.

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

