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


Performing analysis on: 4FGL_J1411.8+5249_daily_bin653
RA = 212.969, Dec = 52.8278
tmin = 408585601, tmax = 408844801
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='244412', job_status='RUN', time_executed='2021-09-09 04:16:15.866981', time_epoch_executed='1631186175.87' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='653'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/244412

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/244412/ft1_4FGL_J1411.8+5249_daily_bin653.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/244412/ft2_4FGL_J1411.8+5249_daily_bin653.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/244412/ft1_4FGL_J1411.8+5249_daily_bin653.fits outfile=/scratch/kocevski/244412/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin653.fits ra=212.969 dec=52.8278 rad=12.0 tmin=408585601.0 tmax=408844801.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 4.95
user 4.16
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/244412/ft1_filtered_4FGL_J1411.8+5249_daily_bin653.fits" evtable="EVENTS" scfile=/scratch/kocevski/244412/ft2_4FGL_J1411.8+5249_daily_bin653.fits sctable="SC_DATA" outfile=/scratch/kocevski/244412/ltcube_408585601_408844801_4FGL_J1411.8+5249_daily_bin653.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/244412/ft2_4FGL_J1411.8+5249_daily_bin653.fits
.....................!
real 12.92
user 11.63
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/244412/ft1_filtered_4FGL_J1411.8+5249_daily_bin653.fits evtable="EVENTS" scfile=/scratch/kocevski/244412/ft2_4FGL_J1411.8+5249_daily_bin653.fits sctable="SC_DATA" expcube=/scratch/kocevski/244412/ltcube_408585601_408844801_4FGL_J1411.8+5249_daily_bin653.fits outfile=/scratch/kocevski/244412/expmap_408585601_408844801_4FGL_J1411.8+5249_daily_bin653.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/244412/ltcube_408585601_408844801_4FGL_J1411.8+5249_daily_bin653.fits
.....................!
real 196.37
user 185.99
sys 5.01

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/244412/ft1_filtered_4FGL_J1411.8+5249_daily_bin653.fits scfile=/scratch/kocevski/244412/ft2_4FGL_J1411.8+5249_daily_bin653.fits outfile=/scratch/kocevski/244412/cmap_408585601_408844801_4FGL_J1411.8+5249_daily_bin653.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 2.28
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/244412/ft1_filtered_4FGL_J1411.8+5249_daily_bin653.fits scfile=/scratch/kocevski/244412/ft2_4FGL_J1411.8+5249_daily_bin653.fits outfile=/scratch/kocevski/244412/cmap_HighResolution_408585601_408844801_4FGL_J1411.8+5249_daily_bin653.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 1.76
user 0.37
sys 0.20

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.189       1.0000         .10000E-03   10000.    
     3 'norm      '    4.5269       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    70.412       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10400E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .91794       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12769E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    14.229       1.0000         .10000E-03   10000.    
    11 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    10.391       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1127.3       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.9366       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.1141       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    39.454       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .26826E-01   1.0000         .10000E-03   10000.    
    26 'norm      '    3.1445       1.0000         .10000E-03   10000.    
    27 'Prefactor '    21.791       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10478E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .89205       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0250       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=   1502.860     FROM MIGRAD    STATUS=CONVERGED    846 CALLS     4736 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.9313        .94884E-07** at limit **
   2  Prefactor     11.184        33.766       -.29861E-06   -.32812E-05
   3  norm          4.5268        6.2868       -.62004E-07   -.90182E-06
   4  Prefactor     .10000E-03    58.679        .89291E-06** at limit **
   5  Prefactor     70.549        84.490       -.10385E-04    .10476E-03
   6  Prefactor     .10000E-03    151.21        .63513E-05** at limit **
   7  norm          .89252        44.013        .83521E-05    .13495E-03
   8  Prefactor     .10000E-03    290.51        .73586E-05** at limit **
   9  Prefactor     .10000E-03    155.39        .14279E-05** at limit **
  10  norm          14.230        5.7323       -.40896E-07    .50905E-05
  11  norm          .10000E-03    164.50       -.10223E-04** at limit **
  12  norm          10.390        9.9332       -.15964E-07    .15282E-04
  13  Prefactor     1127.4        1319.4        .45391E-05    .11924E-05
  14  Prefactor     .10000E-03    45.716       -.29744E-05** at limit **
  15  Prefactor     .10000E-03    30.738        .19043E-05** at limit **
  16  Prefactor     .10000E-03    6.6591       -.15132E-06** at limit **
  17  Prefactor     5.9925        133.91       -.64986E-05   -.22332E-06
  18  Prefactor     9.1137        6.9389       -.26848E-07    .29946E-04
  19  Prefactor     .10000E-03    38.830        .16130E-05** at limit **
  20  Prefactor     .10000E-03    22.346       -.14852E-05** at limit **
  21  Prefactor     .10000E-03    40.409        .21713E-05** at limit **
  22  Prefactor     .10000E-03    32.980       -.34635E-05** at limit **
  23  Prefactor     39.429        78.553        .41211E-06   -.88977E-06
  24  Prefactor     .10000E-03    19.272       -.82448E-07** at limit **
  25  Prefactor     .11066E-03    85.454       -.23950E-05** at limit **
  26  norm          3.1447        3.0605       -.19654E-08    .23177E-03
  27  Prefactor     21.796        30.728       -.36954E-07   -.12220E-04
  28  Prefactor     .10000E-03    20.535        .39241E-06** at limit **
  29  Prefactor     .10000E-03    22.582        .11488E-05** at limit **
  30  Normalizat    .89176        .39677        .13239E-05    .41862E-04
  31  Prefactor     1.0252        .41965       -.12210E-05    .76202E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 11.1844
  norm       = 4.52677
  Prefactor  = 0.0001
  Prefactor  = 70.5492
  Prefactor  = 0.0001
  norm       = 0.892522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.2302
  norm       = 0.000100001
  norm       = 10.3902
  Prefactor  = 1127.37
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.99251
  Prefactor  = 9.11375
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.4287
  Prefactor  = 0.0001
  Prefactor  = 0.000110664
  norm       = 3.14468
  Prefactor  = 21.7958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.891764
  Prefactor  = 1.02521
 **********
 **   18 **HESSE 
 **********

 FCN=   1502.860     FROM HESSE     STATUS=OK           622 CALLS     5358 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.0319        .99669E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.184        34.327        .11977E-03   -1.5039    
   3  norm          4.5268        6.2816        .11166E-03   -1.5282    
   4  Prefactor     .10000E-03    58.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     70.549        98.232        .47839E-04   -1.4026    
   6  Prefactor     .10000E-03    152.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .89252        91.462        .29499E-02   -1.5519    
   8  Prefactor     .10000E-03    291.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    155.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          14.230        5.7489        .56314E-04   -1.4953    
  11  norm          .10000E-03    165.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.390        9.9371        .11442E-03   -1.5063    
  13  Prefactor     1127.4        1319.9        .63239E-04   -.88597    
  14  Prefactor     .10000E-03    45.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    30.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.6718        .97647E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.9925        136.68        .16481E-03   -1.5218    
  18  Prefactor     9.1137        6.9415        .85062E-04   -1.5104    
  19  Prefactor     .10000E-03    38.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.362        .17910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    40.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    33.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     39.429        78.573        .63813E-04   -1.4451    
  24  Prefactor     .10000E-03    19.281        .16624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .11066E-03    117.23        .85243E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          3.1447        3.0671        .63822E-04   -1.5353    
  27  Prefactor     21.796        30.816        .85805E-04   -1.4774    
  28  Prefactor     .10000E-03    20.640        .17128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    22.689        .17975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .89176        .48710        .26068E-03   -.96750    
  31  Prefactor     1.0252        .50995        .28748E-03   -.91894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0878e-09
Minuit parameter uncertainties:
  1  4.50671e-06
  2  34.3875
  3  6.28248
  4  2.37966e-05
  5  98.4586
  6  0.000345803
  7  18.0976
  8  0.000735766
  9  6.00421e-05
  10  5.74916
  11  0.000695227
  12  9.9387
  13  1361.54
  14  9.97988e-05
  15  7.94078e-05
  16  4.03453e-05
  17  57.3869
  18  6.94212
  19  4.33082e-05
  20  3.48e-05
  21  8.46617e-05
  22  7.58108e-05
  23  78.7806
  24  2.07957e-05
  25  0.0708553
  26  3.06726
  27  30.8389
  28  5.83555e-05
  29  2.19027e-05
  30  0.489531
  31  0.512384
Done.

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

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  9.980e-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.025e+00  5.124e-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:  8.918e-01  4.895e-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.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/244412/likelihoodResults_408585601_408844801_4FGL_J1411.8+5249_daily_bin653.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) = 1502.85995134
delta logL = -0.000103181059785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1502.85984894
delta logL = -7.80623167884e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12547E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3212       1.0000          .0000       10.000    
     3 'Normalizat'    .89177       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0252       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=   1502.860     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      276 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10220E-03    189.08        .18142E-02** at limit **
   2  Index         2.2510        5.4234        .50000        .87775E-05
   3  Normalizat    .89177        .19745E-01    .26068E-03   -.13160E-04
   4  Prefactor     1.0252        .23292E-01    .28748E-03   -.63076E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102197
  Index      = 2.25103
  Normalizat = 0.891766
  Prefactor  = 1.0252
 **********
 **   18 **HESSE 
 **********

 FCN=   1502.860     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10220E-03    795.70        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2510        6.9793        .50000       -.58212    
   3  Normalizat    .89177        .41673E-01    .10427E-04   -.96750    
   4  Prefactor     1.0252        .49160E-01    .11499E-04   -.91894    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.319e-09
Minuit parameter uncertainties:
  1  0.0847752
  2  562.787
  3  0.0416742
  4  0.049162
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/244412': 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) = 1502.85984843
delta logL = -2.74498006547e-07

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  1.022e-04  8.478e-02  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.251e+00  5.628e+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.025e+00  4.916e-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:  8.918e-01  4.167e-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/244412/cmap_HighResolution_408585601_408844801_4FGL_J1411.8+5249_daily_bin653.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.61e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2021-09-09 04:24:59.486915', job_id='244412', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1631186699.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-2.74e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='653' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 04:24:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 244412: <4FGL_J1411.8+5249_daily_bin653> in cluster <slac> Done

Job <4FGL_J1411.8+5249_daily_bin653> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 04:15:58 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 04:16: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:16:01 2021
Terminated at Thu Sep  9 04:25:00 2021
Results reported at Thu Sep  9 04:25:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin653 212.969 52.8278 408585601 408844801 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 :                                   500.24 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             311.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   539 sec.
    Turnaround time :                            542 sec.

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

