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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin1273
RA = 214.029, Dec = 13.347
tmin = 569289601, tmax = 569548801
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='285374', job_status='RUN', time_executed='2021-09-09 06:27:13.266789', time_epoch_executed='1631194033.27' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='1273'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/285374

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/285374/ft1_4FGL_J1416.1+1320_daily_bin1273.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/285374/ft2_4FGL_J1416.1+1320_daily_bin1273.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/285374/ft1_4FGL_J1416.1+1320_daily_bin1273.fits outfile=/scratch/kocevski/285374/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1273.fits ra=214.029 dec=13.347 rad=12.0 tmin=569289601.0 tmax=569548801.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 3.76
user 3.40
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/285374/ft2_4FGL_J1416.1+1320_daily_bin1273.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/285374/ft2_4FGL_J1416.1+1320_daily_bin1273.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/285374/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1273.fits evtable="EVENTS" outfile="/scratch/kocevski/285374/ft1_filtered_4FGL_J1416.1+1320_daily_bin1273.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.50
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/285374/ft1_filtered_4FGL_J1416.1+1320_daily_bin1273.fits" evtable="EVENTS" scfile=/scratch/kocevski/285374/ft2_4FGL_J1416.1+1320_daily_bin1273.fits sctable="SC_DATA" outfile=/scratch/kocevski/285374/ltcube_569289601_569548801_4FGL_J1416.1+1320_daily_bin1273.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/285374/ft2_4FGL_J1416.1+1320_daily_bin1273.fits
.....................!
real 12.25
user 11.90
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/285374/ft1_filtered_4FGL_J1416.1+1320_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/285374/ft2_4FGL_J1416.1+1320_daily_bin1273.fits sctable="SC_DATA" expcube=/scratch/kocevski/285374/ltcube_569289601_569548801_4FGL_J1416.1+1320_daily_bin1273.fits outfile=/scratch/kocevski/285374/expmap_569289601_569548801_4FGL_J1416.1+1320_daily_bin1273.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/285374/ltcube_569289601_569548801_4FGL_J1416.1+1320_daily_bin1273.fits
.....................!
real 191.92
user 185.65
sys 5.53

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 142 point sources and 0 extended sources

Setting source of interest to:
4FGL J1416.1+1320 @ 214.029 13.347

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/285374/ft1_filtered_4FGL_J1416.1+1320_daily_bin1273.fits scfile=/scratch/kocevski/285374/ft2_4FGL_J1416.1+1320_daily_bin1273.fits outfile=/scratch/kocevski/285374/cmap_569289601_569548801_4FGL_J1416.1+1320_daily_bin1273.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=214.029 yref=13.347 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.60
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/285374/ft1_filtered_4FGL_J1416.1+1320_daily_bin1273.fits scfile=/scratch/kocevski/285374/ft2_4FGL_J1416.1+1320_daily_bin1273.fits outfile=/scratch/kocevski/285374/cmap_HighResolution_569289601_569548801_4FGL_J1416.1+1320_daily_bin1273.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=214.029 yref=13.347 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.81
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/285374/ft1_filtered_4FGL_J1416.1+1320_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/285374/ft2_4FGL_J1416.1+1320_daily_bin1273.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/285374/Model_4FGL_J1416.1+1320_daily_bin1273.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/285374/ft1_filtered_4FGL_J1416.1+1320_daily_bin1273.fits.....................!
real 55.32
user 53.77
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/285374/ft1_filtered_4FGL_J1416.1+1320_daily_bin1273.fits', '/scratch/kocevski/285374/ft2_4FGL_J1416.1+1320_daily_bin1273.fits', expMap='/scratch/kocevski/285374/expmap_569289601_569548801_4FGL_J1416.1+1320_daily_bin1273.fits', expCube='/scratch/kocevski/285374/ltcube_569289601_569548801_4FGL_J1416.1+1320_daily_bin1273.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/285374/Model_4FGL_J1416.1+1320_daily_bin1273.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1416.1+1320'

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  8.909e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  2.373e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/285374/ft1_filtered_4FGL_J1416.1+1320_daily_bin1273.fits
Spacecraft file(s): /scratch/kocevski/285374/ft2_4FGL_J1416.1+1320_daily_bin1273.fits
Exposure map: /scratch/kocevski/285374/expmap_569289601_569548801_4FGL_J1416.1+1320_daily_bin1273.fits
Exposure cube: /scratch/kocevski/285374/ltcube_569289601_569548801_4FGL_J1416.1+1320_daily_bin1273.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/285374/Model_4FGL_J1416.1+1320_daily_bin1273.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) = 7437.80815613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0502       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    46.640       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    67.216       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7607       1.0000         .10000E-03   10000.    
    11 'norm      '    3.6993       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2626       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.071       1.0000         .10000E-03   10000.    
    15 'norm      '    30.252       1.0000         .10000E-03   10000.    
    16 'Prefactor '    45.452       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .86485E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2066       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95717       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7437.776     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     1995 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10106E-03    40.888        .14760E-03** at limit **
   2  Prefactor     .10000E-03    1.3237       -.66981E-07** at limit **
   3  Prefactor     2.0503        2.4773        .33274E-07   -.87474E-04
   4  Prefactor     .10000E-03    3.2208        .17370E-06** at limit **
   5  Prefactor     .10000E-03    6.0634       -.11308E-05** at limit **
   6  Prefactor     46.651        2.2020        .15856E-06    .50138E-02
   7  Prefactor     .10243E-03    43.979       -.16945E-03** at limit **
   8  Prefactor     .10112E-03    75.527        .53309E-04** at limit **
   9  norm          67.219        1.3147       -.51944E-06    .34499E-02
  10  Prefactor     3.7603        4.1538        .99453E-06   -.15002E-04
  11  norm          3.6993        2.2802        .20463E-07    .53174E-04
  12  Prefactor     5.2664        6.6707       -.54822E-05    .22548E-03
  13  norm          .10000E-03    .74113        .23183E-06** at limit **
  14  Prefactor     20.335        66.928        .17364E-03   -.10447E-02
  15  norm          30.069        40.614       -.90880E-04    .39837E-02
  16  Prefactor     45.391        11.694       -.13557E-05   -.27617E-01
  17  Prefactor     .10000E-03    9.2710       -.83009E-06** at limit **
  18  Prefactor     .10000E-03    13.397        .24036E-06** at limit **
  19  Prefactor     .10111E-03    6.1010        .42659E-05** at limit **
  20  Prefactor     .10000E-03    27.030       -.52727E-05** at limit **
  21  Normalizat    1.2065        .23511       -.19714E-05    .26695E-03
  22  Prefactor     .95721        .17315        .16686E-05    .28284E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101058
  Prefactor  = 0.0001
  Prefactor  = 2.0503
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.6509
  Prefactor  = 0.000102427
  Prefactor  = 0.000101124
  norm       = 67.2192
  Prefactor  = 3.76035
  norm       = 3.69933
  Prefactor  = 5.26645
  norm       = 0.0001
  Prefactor  = 20.3353
  norm       = 30.0688
  Prefactor  = 45.3913
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000101113
  Prefactor  = 0.000100002
  Normalizat = 1.20651
  Prefactor  = 0.957212
 **********
 **   18 **HESSE 
 **********

 FCN=   7437.776     FROM HESSE     STATUS=OK           390 CALLS     2385 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10106E-03    41.437        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.3132        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.0503        2.4841        .72178E-02   -1.5422    
   4  Prefactor     .10000E-03    3.2158        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.0185        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     46.651        29.893        .14678E-02   -1.4341    
   7  Prefactor     .10243E-03    44.656        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10112E-03    79.663        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          67.219        30.132        .12239E-02   -1.4066    
  10  Prefactor     3.7603        4.1586        .52047E-02   -1.5320    
  11  norm          3.6993        2.2807        .52493E-02   -1.5323    
  12  Prefactor     5.2664        6.6952        .43803E-02   -1.5249    
  13  norm          .10000E-03    .73547        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.335        72.508        .22350E-02   -1.4806    
  15  norm          30.069        46.821        .18211E-02   -1.4611    
  16  Prefactor     45.391        27.332        .14867E-02   -1.4359    
  17  Prefactor     .10000E-03    9.2487        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.310        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10111E-03    16.470        .12727       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    26.974        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2065        .19423        .62350E-01   -.86402    
  22  Prefactor     .95721        .14251        .45730E-01   -.94170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67197e-06
Minuit parameter uncertainties:
  1  0.013253
  2  3.45873e-06
  3  2.48422
  4  8.06219e-06
  5  6.89877e-05
  6  29.9023
  7  0.0208385
  8  0.0189514
  9  30.1392
  10  4.15891
  11  2.28077
  12  6.69617
  13  5.22721e-07
  14  72.8251
  15  46.8783
  16  27.3399
  17  7.76794e-05
  18  2.79624e-05
  19  0.0085659
  20  0.000434979
  21  0.194346
  22  0.142569
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.024e-04  2.084e-02  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  2.373e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
458    Prefactor:  9.572e-01  1.426e-01  0.000e+00  1.000e+01 ( 1.000e+00)
459        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
460        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
457   Normalization:  1.207e+00  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 214.029 13.347
Photon Flux Upper Limit: 7.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/285374/likelihoodResults_569289601_569548801_4FGL_J1416.1+1320_daily_bin1273.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) = 7437.77620012
delta logL = -0.00010475324143

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7437.76857431
delta logL = 0.0075210566738

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7437.768     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      305 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88185        10.415        .90213E-01    .48967E-03
   2  Index         3.3504        .83541        .50000        .79401E-05
   3  Normalizat    1.2002        .82275E-02    .62493E-01   -.29670E-04
   4  Prefactor     .95927        .61248E-02    .45718E-01   -.11384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.881853
  Index      = 3.35038
  Normalizat = 1.20025
  Prefactor  = 0.959268
 **********
 **   18 **HESSE 
 **********

 FCN=   7437.768     FROM HESSE     STATUS=OK            35 CALLS      340 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88185        132.26        .31465E-02   -1.5520    
   2  Index         3.3504        5.7358        .86716E-02   -.33622    
   3  Normalizat    1.2002        .23978        .27642E-03   -.86595    
   4  Prefactor     .95927        .17337        .22614E-03   -.94100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2052e-10
Minuit parameter uncertainties:
  1  21.6468
  2  10.0593
  3  0.240001
  4  0.173469
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/285374': 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) = 7437.76842334
delta logL = 0.00767202458519

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  8.819e-01  2.165e+01  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  3.350e+00  1.006e+01  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
458    Prefactor:  9.593e-01  1.735e-01  0.000e+00  1.000e+01 ( 1.000e+00)
459        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
460        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
457   Normalization:  1.200e+00  2.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 214.029 13.347

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/285374/cmap_HighResolution_569289601_569548801_4FGL_J1416.1+1320_daily_bin1273.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.48e-03', job_status='DONE', photon_flux_upper_limit='7.10e-08', time_completed='2021-09-09 06:37:12.839924', job_id='285374', GAL2='0.96', fit_tolerance='1e-08', EG2='1.20', EG='1.21', time_epoch_completed='1631194632.84', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='7.67e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1273' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:37:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 285374: <4FGL_J1416.1+1320_daily_bin1273> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin1273> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 06:27:00 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 06:27: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 06:27:01 2021
Terminated at Thu Sep  9 06:37:13 2021
Results reported at Thu Sep  9 06:37:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin1273 214.029 13.347 569289601 569548801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1416.1+1320 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   595.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             383.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            613 sec.

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

