/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 73 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7432
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1736.0+2033_daily_bin1013
RA = 264.019, Dec = 20.5559
tmin = 501897601, tmax = 502156801
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='926184', job_status='RUN', time_executed='2021-09-18 00:02:05.160138', time_epoch_executed='1631948525.16' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='1013'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/926184

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/926184/ft1_4FGL_J1736.0+2033_daily_bin1013.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/926184/ft2_4FGL_J1736.0+2033_daily_bin1013.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/926184/ft1_4FGL_J1736.0+2033_daily_bin1013.fits outfile=/scratch/kocevski/926184/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin1013.fits ra=264.019 dec=20.5559 rad=12.0 tmin=501897601.0 tmax=502156801.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.45
user 3.24
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/926184/ft2_4FGL_J1736.0+2033_daily_bin1013.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/926184/ft2_4FGL_J1736.0+2033_daily_bin1013.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/926184/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin1013.fits evtable="EVENTS" outfile="/scratch/kocevski/926184/ft1_filtered_4FGL_J1736.0+2033_daily_bin1013.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/926184/ft1_filtered_4FGL_J1736.0+2033_daily_bin1013.fits" evtable="EVENTS" scfile=/scratch/kocevski/926184/ft2_4FGL_J1736.0+2033_daily_bin1013.fits sctable="SC_DATA" outfile=/scratch/kocevski/926184/ltcube_501897601_502156801_4FGL_J1736.0+2033_daily_bin1013.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/926184/ft2_4FGL_J1736.0+2033_daily_bin1013.fits
.....................!
real 12.43
user 12.06
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/926184/ft1_filtered_4FGL_J1736.0+2033_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/926184/ft2_4FGL_J1736.0+2033_daily_bin1013.fits sctable="SC_DATA" expcube=/scratch/kocevski/926184/ltcube_501897601_502156801_4FGL_J1736.0+2033_daily_bin1013.fits outfile=/scratch/kocevski/926184/expmap_501897601_502156801_4FGL_J1736.0+2033_daily_bin1013.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/926184/ltcube_501897601_502156801_4FGL_J1736.0+2033_daily_bin1013.fits
.....................!
real 190.95
user 185.01
sys 5.62

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

Setting source of interest to:
4FGL J1736.0+2033 @ 264.019 20.5559

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/926184/ft1_filtered_4FGL_J1736.0+2033_daily_bin1013.fits scfile=/scratch/kocevski/926184/ft2_4FGL_J1736.0+2033_daily_bin1013.fits outfile=/scratch/kocevski/926184/cmap_501897601_502156801_4FGL_J1736.0+2033_daily_bin1013.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=264.019 yref=20.5559 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/926184/ft1_filtered_4FGL_J1736.0+2033_daily_bin1013.fits scfile=/scratch/kocevski/926184/ft2_4FGL_J1736.0+2033_daily_bin1013.fits outfile=/scratch/kocevski/926184/cmap_HighResolution_501897601_502156801_4FGL_J1736.0+2033_daily_bin1013.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=264.019 yref=20.5559 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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/926184/ft1_filtered_4FGL_J1736.0+2033_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/926184/ft2_4FGL_J1736.0+2033_daily_bin1013.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/926184/Model_4FGL_J1736.0+2033_daily_bin1013.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/926184/ft1_filtered_4FGL_J1736.0+2033_daily_bin1013.fits.....................!
real 76.79
user 75.26
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/926184/ft1_filtered_4FGL_J1736.0+2033_daily_bin1013.fits', '/scratch/kocevski/926184/ft2_4FGL_J1736.0+2033_daily_bin1013.fits', expMap='/scratch/kocevski/926184/expmap_501897601_502156801_4FGL_J1736.0+2033_daily_bin1013.fits', expCube='/scratch/kocevski/926184/ltcube_501897601_502156801_4FGL_J1736.0+2033_daily_bin1013.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/926184/Model_4FGL_J1736.0+2033_daily_bin1013.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1736.0+2033'

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  9.104e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  1.744e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
286         beta:  1.473e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
287           Eb:  2.550e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/926184/ft1_filtered_4FGL_J1736.0+2033_daily_bin1013.fits
Spacecraft file(s): /scratch/kocevski/926184/ft2_4FGL_J1736.0+2033_daily_bin1013.fits
Exposure map: /scratch/kocevski/926184/expmap_501897601_502156801_4FGL_J1736.0+2033_daily_bin1013.fits
Exposure cube: /scratch/kocevski/926184/ltcube_501897601_502156801_4FGL_J1736.0+2033_daily_bin1013.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/926184/Model_4FGL_J1736.0+2033_daily_bin1013.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) = 9555.41272661

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.881       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.560       1.0000         .10000E-03   10000.    
     8 'norm      '    .71190E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.2971       1.0000         .10000E-03   10000.    
    10 'norm      '    41.132       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.234       1.0000         .10000E-03   10000.    
    13 'norm      '    1.1935       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.2964       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0690       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96316       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9555.409     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     2024 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    3.4202       -.28158E-06** at limit **
   2  Prefactor     13.872        26.841        .11049E-09   -.52627E-04
   3  Prefactor     .10000E-03    12.339        .34870E-06** at limit **
   4  Prefactor     .10000E-03    23.664        .21603E-06** at limit **
   5  Prefactor     .10000E-03    6.9999        .49002E-07** at limit **
   6  norm          .10000E-03    1.2724        .89921E-07** at limit **
   7  Prefactor     11.559        10.213       -.12463E-07    .31885E-04
   8  norm          .10001E-03    6.7180       -.62041E-06** at limit **
   9  Prefactor     4.2944        3.2675        .15327E-06    .26352E-03
  10  norm          41.134        45.238        .10210E-06    .20095E-04
  11  Prefactor     .10000E-03    36.846       -.12422E-06** at limit **
  12  Prefactor     40.211        51.978       -.21393E-05   -.15538E-03
  13  norm          1.1935        .89897        .57237E-07   -.38347E-04
  14  Prefactor     .10000E-03    13.879       -.62214E-06** at limit **
  15  Prefactor     .10000E-03    23.289       -.11332E-06** at limit **
  16  Prefactor     8.2977        8.8203        .23712E-05   -.22990E-03
  17  norm          .10000E-03    3.6555        .52842E-08** at limit **
  18  Prefactor     .10000E-03    9.1425       -.19122E-07** at limit **
  19  Normalizat    1.0690        .23014        .39583E-07    .15181E-04
  20  Prefactor     .96317        .82287E-01   -.22785E-06    .12737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010001
  Prefactor  = 13.8721
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.5588
  norm       = 0.000100008
  Prefactor  = 4.29442
  norm       = 41.1338
  Prefactor  = 0.0001
  Prefactor  = 40.2108
  norm       = 1.19346
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.29767
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06901
  Prefactor  = 0.963168
 **********
 **   18 **HESSE 
 **********

 FCN=   9555.409     FROM HESSE     STATUS=OK           291 CALLS     2315 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    21.997        .34315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.872        26.654        .10751E-03   -1.4963    
   3  Prefactor     .10000E-03    12.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.0322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.5265        .21423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.559        10.203        .11783E-03   -1.5028    
   8  norm          .10001E-03    27.400        .45877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2944        3.0883        .13814E-03   -1.5293    
  10  norm          41.134        45.249        .62503E-04   -1.4424    
  11  Prefactor     .10000E-03    36.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     40.211        52.956        .63194E-04   -1.4439    
  13  norm          1.1935        .88786        .77685E-04   -1.5489    
  14  Prefactor     .10000E-03    13.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    23.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.2977        8.8551        .69592E-03   -1.5132    
  17  norm          .10000E-03    3.6737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.1465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0690        .26230        .40516E-03   -.90753    
  20  Prefactor     .96317        .94435E-01    .15276E-03   -.93967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.99036e-10
Minuit parameter uncertainties:
  1  0.000933349
  2  26.6764
  3  0.000111968
  4  9.00872e-05
  5  2.80267e-06
  6  9.20072e-06
  7  10.2046
  8  0.000945402
  9  3.08843
  10  45.2868
  11  7.35335e-05
  12  53.0185
  13  0.887873
  14  0.000126677
  15  5.99294e-05
  16  8.85647
  17  2.84056e-07
  18  1.24212e-05
  19  0.262617
  20  0.0944512
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  4.113e+01  4.529e+01  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  1.744e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
286         beta:  1.473e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
287           Eb:  2.550e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.632e-01  9.445e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
631   Normalization:  1.069e+00  2.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.74
Ra Dec: 264.019 20.556
Photon Index (Fixed Index): 1.74 +/- 0.00
Photon Flux (Fixed Index): 8.05e-09 +/- 8.87e-09
Energy Flux (Fixed Index): 1.27e-05 +/- 1.40e-05

TS (Fixed Index): 2.74
Ra Dec: 264.019 20.556
Photon Flux Upper Limit: 3.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/926184/likelihoodResults_501897601_502156801_4FGL_J1736.0+2033_daily_bin1013.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) = 9555.3959833
delta logL = 0.0126758411207

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9555.39390418
delta logL = 0.0147549659196

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    38.100       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9208       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96317       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9555.394     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      236 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          38.100        1543.1        .16233E-02    .19712E-03
   2  alpha         1.9208        3.4133        .42642        .31894E-04
   3  Normalizat    1.0676        .15984        .91528E-01    .29916E-04
   4  Prefactor     .96319        .39000E-01    .34573E-01   -.35365E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 38.0997
  alpha      = 1.92084
  Normalizat = 1.06758
  Prefactor  = 0.963191
 **********
 **   18 **HESSE 
 **********

 FCN=   9555.394     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          38.100        48.473        .64933E-04   -1.4473    
   2  alpha         1.9208        1.0523        .27060E-01   -.23379    
   3  Normalizat    1.0676        .25605        .40540E-03   -.90800    
   4  Prefactor     .96319        .92847E-01    .15276E-03   -.93967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9529e-10
Minuit parameter uncertainties:
  1  48.5232
  2  1.08829
  3  0.256344
  4  0.0928621
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/926184': 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) = 9555.39390415
delta logL = 0.0147549909689

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  3.810e+01  4.852e+01  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  1.921e+00  1.088e+00  0.000e+00  5.000e+00 ( 1.000e+00)
286         beta:  1.473e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
287           Eb:  2.550e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.632e-01  9.286e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
631   Normalization:  1.068e+00  2.563e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.77
Ra Dec: 264.019 20.556
Photon Index (Free Index): 1.92 +/- 1.09
Photon Flux (Free Index): 9.92e-09 +/- 1.63e-08
Energy Flux (Free Index): 1.09e-05 +/- 1.56e-05

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/926184/cmap_HighResolution_501897601_502156801_4FGL_J1736.0+2033_daily_bin1013.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-05', comment='SUCCESS', photon_flux='8.05e-09', energy_flux2='1.09e-05', photon_flux_error='8.87e-09', dlogl='1.48e-02', energy_flux='1.27e-05', photon_flux2='9.92e-09', job_status='DONE', time_completed='2021-09-18 00:15:33.401575', photon_index_error2='1.09', photon_index2='1.92', ts='2.74', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='3.92e-08', energy_flux_error2='1.56e-05', EG='1.07', time_epoch_completed='1631949333.4', return_code='0', job_id='926184', GAL2='0.96', EG2='1.07', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='1.63e-08', ts2='2.77', photon_index='1.74' WHERE bin_id='1013' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 00:15:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 926184: <4FGL_J1736.0+2033_daily_bin1013> in cluster <slac> Done

Job <4FGL_J1736.0+2033_daily_bin1013> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 18 00:00:41 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 00:00:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 00:00:43 2021
Terminated at Sat Sep 18 00:15:33 2021
Results reported at Sat Sep 18 00:15:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin1013 264.019 20.5559 501897601 502156801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1736.0+2033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   798.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            892 sec.

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

