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


Performing analysis on: 4FGL_J1411.8+5249_daily_bin1398
RA = 212.969, Dec = 52.8278
tmin = 601689601, tmax = 601948801
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='248643', job_status='RUN', time_executed='2021-09-09 04:34:51.630147', time_epoch_executed='1631187291.63' WHERE source_name='4FGL J1411.8+5249' and cadence='daily' and bin_id='1398'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248643

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248643/ft1_4FGL_J1411.8+5249_daily_bin1398.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248643/ft2_4FGL_J1411.8+5249_daily_bin1398.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248643/ft1_4FGL_J1411.8+5249_daily_bin1398.fits outfile=/scratch/kocevski/248643/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1398.fits ra=212.969 dec=52.8278 rad=12.0 tmin=601689601.0 tmax=601948801.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 2.78
user 2.53
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/248643/ft2_4FGL_J1411.8+5249_daily_bin1398.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/248643/ft1_filteredMKT_4FGL_J1411.8+5249_daily_bin1398.fits evtable="EVENTS" outfile="/scratch/kocevski/248643/ft1_filtered_4FGL_J1411.8+5249_daily_bin1398.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.42
user 0.27
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248643/ft1_filtered_4FGL_J1411.8+5249_daily_bin1398.fits" evtable="EVENTS" scfile=/scratch/kocevski/248643/ft2_4FGL_J1411.8+5249_daily_bin1398.fits sctable="SC_DATA" outfile=/scratch/kocevski/248643/ltcube_601689601_601948801_4FGL_J1411.8+5249_daily_bin1398.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/248643/ft2_4FGL_J1411.8+5249_daily_bin1398.fits
.....................!
real 9.10
user 8.75
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248643/ft1_filtered_4FGL_J1411.8+5249_daily_bin1398.fits evtable="EVENTS" scfile=/scratch/kocevski/248643/ft2_4FGL_J1411.8+5249_daily_bin1398.fits sctable="SC_DATA" expcube=/scratch/kocevski/248643/ltcube_601689601_601948801_4FGL_J1411.8+5249_daily_bin1398.fits outfile=/scratch/kocevski/248643/expmap_601689601_601948801_4FGL_J1411.8+5249_daily_bin1398.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/248643/ltcube_601689601_601948801_4FGL_J1411.8+5249_daily_bin1398.fits
.....................!
real 145.26
user 140.96
sys 3.68

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/248643/ft1_filtered_4FGL_J1411.8+5249_daily_bin1398.fits scfile=/scratch/kocevski/248643/ft2_4FGL_J1411.8+5249_daily_bin1398.fits outfile=/scratch/kocevski/248643/cmap_601689601_601948801_4FGL_J1411.8+5249_daily_bin1398.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.96
user 0.29
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248643/ft1_filtered_4FGL_J1411.8+5249_daily_bin1398.fits scfile=/scratch/kocevski/248643/ft2_4FGL_J1411.8+5249_daily_bin1398.fits outfile=/scratch/kocevski/248643/cmap_HighResolution_601689601_601948801_4FGL_J1411.8+5249_daily_bin1398.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.82
user 0.30
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6720       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.8542       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1492       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.1835       1.0000         .10000E-03   10000.    
     7 'norm      '    1.8415       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.895       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.7411       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.6704       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .26124E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.475       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.0670       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.355       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.3589       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.9798       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.148       1.0000         .10000E-03   10000.    
    21 'Prefactor '    48.695       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.7331       1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.8091       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    16.489       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .66699       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2403       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=   5960.818     FROM MIGRAD    STATUS=CONVERGED    763 CALLS     4053 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6724        3.4449        .20808E-06   -.17080E-04
   2  Prefactor     7.8553        7.3632       -.36133E-06   -.59829E-03
   3  norm          .10000E-03    1.3084        .15661E-06** at limit **
   4  Prefactor     .10000E-03    10.943       -.65091E-05** at limit **
   5  Prefactor     1.1400        47.783       -.43572E-05   -.28329E-03
   6  Prefactor     6.1852        14.689        .59308E-06   -.26309E-04
   7  norm          1.8348        3.5895        .17672E-06   -.39414E-03
   8  Prefactor     15.889        37.037       -.11542E-04    .53359E-05
   9  Prefactor     .10000E-03    24.425        .49284E-05** at limit **
  10  norm          5.7418        1.8044       -.94333E-07   -.18301E-04
  11  norm          .10000E-03    25.157        .20987E-05** at limit **
  12  norm          2.6708        3.7328       -.74027E-06   -.49641E-03
  13  Prefactor     .10000E-03    405.56       -.19430E-03** at limit **
  14  Prefactor     30.481        49.003        .98140E-05   -.69936E-05
  15  Prefactor     .10000E-03    9.9224        .63504E-05** at limit **
  16  Prefactor     3.0675        3.4873       -.40187E-06   -.24478E-03
  17  Prefactor     16.362        16.823        .26857E-05   -.14375E-04
  18  Prefactor     1.3603        1.8800        .37336E-06   -.17374E-04
  19  Prefactor     3.9778        33.000       -.32466E-05   -.57001E-04
  20  Prefactor     12.141        27.228       -.12517E-04   -.81435E-04
  21  Prefactor     48.706        47.821        .12512E-04   -.53950E-05
  22  Prefactor     .10000E-03    17.448       -.40212E-05** at limit **
  23  Prefactor     .10000E-03    18.990        .32565E-05** at limit **
  24  Prefactor     .10000E-03    7.4182       -.10054E-05** at limit **
  25  Prefactor     .10000E-03    4.3454       -.32332E-06** at limit **
  26  norm          1.7335        1.2349       -.10373E-06   -.28336E-03
  27  Prefactor     1.8321        23.890        .20482E-04   -.79123E-04
  28  Prefactor     .10000E-03    1.6001        .34272E-07** at limit **
  29  Prefactor     16.466        12.027       -.62402E-05   -.75736E-03
  30  Normalizat    .66668        .17414        .18218E-05   -.16492E-03
  31  Prefactor     1.2404        .19850       -.55569E-06   -.47813E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.67244
  Prefactor  = 7.85527
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.14
  Prefactor  = 6.18515
  norm       = 1.83483
  Prefactor  = 15.8889
  Prefactor  = 0.0001
  norm       = 5.74184
  norm       = 0.0001
  norm       = 2.67084
  Prefactor  = 0.0001
  Prefactor  = 30.4815
  Prefactor  = 0.0001
  Prefactor  = 3.06747
  Prefactor  = 16.3619
  Prefactor  = 1.36031
  Prefactor  = 3.97784
  Prefactor  = 12.1412
  Prefactor  = 48.7057
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.73346
  Prefactor  = 1.83205
  Prefactor  = 0.0001
  Prefactor  = 16.4655
  Normalizat = 0.666683
  Prefactor  = 1.24044
 **********
 **   18 **HESSE 
 **********

 FCN=   5960.818     FROM HESSE     STATUS=OK           628 CALLS     4681 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6724        3.4442        .99661E-04   -1.5191    
   2  Prefactor     7.8553        7.3710        .71538E-03   -1.5147    
   3  norm          .10000E-03    1.3173        .86230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1400        43.133        .43198E-03   -1.5494    
   6  Prefactor     6.1852        14.675        .16144E-03   -1.5211    
   7  norm          1.8348        3.3373        .16723E-03   -1.5437    
   8  Prefactor     15.889        36.874        .10046E-03   -1.4911    
   9  Prefactor     .10000E-03    24.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.7418        1.8063        .55324E-04   -1.5229    
  11  norm          .10000E-03    25.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.6708        3.7135        .16685E-03   -1.5381    
  13  Prefactor     .10000E-03    401.43        .21447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.481        48.829        .72579E-04   -1.4603    
  15  Prefactor     .10000E-03    9.9150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0675        3.4786        .14847E-03   -1.5358    
  17  Prefactor     16.362        16.839        .99037E-04   -1.4899    
  18  Prefactor     1.3603        1.8263        .11257E-03   -1.5475    
  19  Prefactor     3.9778        32.498        .20218E-03   -1.5309    
  20  Prefactor     12.141        26.927        .11493E-03   -1.5011    
  21  Prefactor     48.706        47.760        .57464E-04   -1.4311    
  22  Prefactor     .10000E-03    17.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    19.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    7.4485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    4.3512        .15717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.7335        1.2330        .70142E-04   -1.5445    
  27  Prefactor     1.8321        21.767        .31065E-03   -1.5437    
  28  Prefactor     .10000E-03    1.6049        .95369E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     16.466        11.613        .98634E-04   -1.4896    
  30  Normalizat    .66668        .20840        .25824E-03   -1.0522    
  31  Prefactor     1.2404        .23946        .24133E-03   -.85096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05128e-09
Minuit parameter uncertainties:
  1  3.44434
  2  7.37186
  3  4.93114e-07
  4  2.97258e-06
  5  14.0347
  6  14.6836
  7  3.3376
  8  36.9271
  9  5.67619e-05
  10  1.80631
  11  3.3374e-06
  12  3.71377
  13  8.05178e-05
  14  48.8926
  15  2.36064e-05
  16  3.47882
  17  16.844
  18  1.82633
  19  22.756
  20  26.9539
  21  47.7977
  22  2.17157e-05
  23  3.95288e-05
  24  5.90769e-05
  25  1.08345e-05
  26  1.23297
  27  12.6353
  28  2.47308e-06
  29  11.6146
  30  0.208645
  31  0.239674
Done.

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

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  3.048e+01  4.889e+01  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.240e+00  2.397e-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:  6.667e-01  2.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.51
Ra Dec: 212.969 52.828
Photon Flux Upper Limit: 7.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/248643/likelihoodResults_601689601_601948801_4FGL_J1411.8+5249_daily_bin1398.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5960.59864157
delta logL = 0.219120483017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5960.58262849
delta logL = 0.235133562376

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3677       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9056       1.0000          .0000       10.000    
     3 'Normalizat'    .64406       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2591       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=   5960.583     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      315 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3624        597.95        .13094E-03   -.30692E-03
   2  Index         2.9060        6.3304        .60675E-02   -.10469E-03
   3  Normalizat    .64352        .18660        .26266E-03    .48699E-03
   4  Prefactor     1.2597        .23342        .23970E-03    .51937E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.3624
  Index      = 2.90602
  Normalizat = 0.643517
  Prefactor  = 1.25974
 **********
 **   18 **HESSE 
 **********

 FCN=   5960.583     FROM HESSE     STATUS=OK            25 CALLS      340 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3624        31.850        .52376E-05   -1.5096    
   2  Index         2.9060        1.3706        .24270E-03   -.43212    
   3  Normalizat    .64352        .19408        .52532E-04   -1.0617    
   4  Prefactor     1.2597        .23870        .47939E-04   -.84512    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.24925e-10
Minuit parameter uncertainties:
  1  31.9077
  2  1.39228
  3  0.194285
  4  0.238905
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248643': 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): 0
logL (Free Index) = 5960.58262426
delta logL = 0.23513779232

Extracting fit parameters...

4FGL J1411.8+5249
   Spectrum: PowerLaw
322    Prefactor:  9.362e+00  3.191e+01  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.906e+00  1.392e+00  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.260e+00  2.389e-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:  6.435e-01  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.51
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/248643/cmap_HighResolution_601689601_601948801_4FGL_J1411.8+5249_daily_bin1398.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.56e-03', job_status='DONE', photon_flux_upper_limit='7.35e-08', time_completed='2021-09-09 04:47:15.839252', job_id='248643', GAL2='1.26', fit_tolerance='1e-08', EG2='0.64', EG='0.67', time_epoch_completed='1631188035.84', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='2.35e-01', ts2='0.99', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1398' AND source_name='4FGL J1411.8+5249' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 04:47:15 PDT 2021


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

Job <4FGL_J1411.8+5249_daily_bin1398> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 04:32:23 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 04:32:24 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:32:24 2021
Terminated at Thu Sep  9 04:47:16 2021
Results reported at Thu Sep  9 04:47:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1411.8+5249_daily_bin1398 212.969 52.8278 601689601 601948801 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 :                                   716.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            893 sec.

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

