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


Performing analysis on: 4FGL_J1736.0+2033_daily_bin900
RA = 264.019, Dec = 20.5559
tmin = 472608001, tmax = 472867201
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='926017', job_status='RUN', time_executed='2021-09-18 00:00:46.174545', time_epoch_executed='1631948446.17' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='900'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/926017

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/926017/ft1_4FGL_J1736.0+2033_daily_bin900.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/926017/ft2_4FGL_J1736.0+2033_daily_bin900.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/926017/ft1_4FGL_J1736.0+2033_daily_bin900.fits outfile=/scratch/kocevski/926017/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin900.fits ra=264.019 dec=20.5559 rad=12.0 tmin=472608001.0 tmax=472867201.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.50
user 3.27
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/926017/ft2_4FGL_J1736.0+2033_daily_bin900.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/926017/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin900.fits evtable="EVENTS" outfile="/scratch/kocevski/926017/ft1_filtered_4FGL_J1736.0+2033_daily_bin900.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.49
user 0.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/926017/ft1_filtered_4FGL_J1736.0+2033_daily_bin900.fits evtable="EVENTS" scfile=/scratch/kocevski/926017/ft2_4FGL_J1736.0+2033_daily_bin900.fits sctable="SC_DATA" expcube=/scratch/kocevski/926017/ltcube_472608001_472867201_4FGL_J1736.0+2033_daily_bin900.fits outfile=/scratch/kocevski/926017/expmap_472608001_472867201_4FGL_J1736.0+2033_daily_bin900.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/926017/ltcube_472608001_472867201_4FGL_J1736.0+2033_daily_bin900.fits
.....................!
real 189.71
user 185.43
sys 3.94

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/926017/ft1_filtered_4FGL_J1736.0+2033_daily_bin900.fits scfile=/scratch/kocevski/926017/ft2_4FGL_J1736.0+2033_daily_bin900.fits outfile=/scratch/kocevski/926017/cmap_472608001_472867201_4FGL_J1736.0+2033_daily_bin900.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/926017/ft1_filtered_4FGL_J1736.0+2033_daily_bin900.fits scfile=/scratch/kocevski/926017/ft2_4FGL_J1736.0+2033_daily_bin900.fits outfile=/scratch/kocevski/926017/cmap_HighResolution_472608001_472867201_4FGL_J1736.0+2033_daily_bin900.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/926017/ft1_filtered_4FGL_J1736.0+2033_daily_bin900.fits', '/scratch/kocevski/926017/ft2_4FGL_J1736.0+2033_daily_bin900.fits', expMap='/scratch/kocevski/926017/expmap_472608001_472867201_4FGL_J1736.0+2033_daily_bin900.fits', expCube='/scratch/kocevski/926017/ltcube_472608001_472867201_4FGL_J1736.0+2033_daily_bin900.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/926017/Model_4FGL_J1736.0+2033_daily_bin900.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/926017/ft1_filtered_4FGL_J1736.0+2033_daily_bin900.fits
Spacecraft file(s): /scratch/kocevski/926017/ft2_4FGL_J1736.0+2033_daily_bin900.fits
Exposure map: /scratch/kocevski/926017/expmap_472608001_472867201_4FGL_J1736.0+2033_daily_bin900.fits
Exposure cube: /scratch/kocevski/926017/ltcube_472608001_472867201_4FGL_J1736.0+2033_daily_bin900.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/926017/Model_4FGL_J1736.0+2033_daily_bin900.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) = 9851.19236605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.348       1.0000         .10000E-03   10000.    
     3 'Prefactor '    56.222       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    16.565       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8399       1.0000         .10000E-03   10000.    
     8 'norm      '    6.6153       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1508       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.513       1.0000         .10000E-03   10000.    
    13 'norm      '    .64311E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12575E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1330       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93769       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=   9851.172     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     2090 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1044        .99190E-07** at limit **
   2  Prefactor     24.350        25.034       -.75810E-06    .10962E-04
   3  Prefactor     56.200        43.445       -.16704E-04    .15555E-04
   4  Prefactor     .10000E-03    18.524       -.81311E-06** at limit **
   5  Prefactor     .10000E-03    3.0776       -.24979E-06** at limit **
   6  norm          16.564        4.6571       -.17371E-05   -.13229E-04
   7  Prefactor     2.8379        7.0190        .41784E-05   -.26060E-03
   8  norm          6.6148        6.8987        .12690E-05   -.34471E-04
   9  Prefactor     4.1508        2.8698       -.62549E-06   -.55575E-03
  10  norm          .10000E-03    25.908        .10733E-04** at limit **
  11  Prefactor     .10000E-03    93.984       -.54134E-05** at limit **
  12  Prefactor     14.469        41.817       -.59555E-04   -.78362E-05
  13  norm          .60580E-01    .38694        .10082E-06   -.26166E-02
  14  Prefactor     .10000E-03    48.703        .21941E-04** at limit **
  15  Prefactor     .10000E-03    33.423       -.22626E-04** at limit **
  16  Prefactor     .10000E-03    2.8053        .81561E-07** at limit **
  17  norm          .10000E-03    2.6238       -.77051E-07** at limit **
  18  Prefactor     .10000E-03    12.736       -.90408E-07** at limit **
  19  Normalizat    1.1325        .23235        .86547E-05   -.24418E-03
  20  Prefactor     .93791        .80065E-01   -.71422E-06    .36608E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 24.35
  Prefactor  = 56.1995
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.5645
  Prefactor  = 2.83786
  norm       = 6.61477
  Prefactor  = 4.15075
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.469
  norm       = 0.0605802
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.13251
  Prefactor  = 0.937915
 **********
 **   18 **HESSE 
 **********

 FCN=   9851.172     FROM HESSE     STATUS=OK           289 CALLS     2379 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.1522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.350        25.055        .81180E-04   -1.4721    
   3  Prefactor     56.200        43.487        .53499E-04   -1.4207    
   4  Prefactor     .10000E-03    18.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.0804        .17005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          16.564        4.6574        .98408E-04   -1.4894    
   7  Prefactor     2.8379        6.9775        .24129E-03   -1.5371    
   8  norm          6.6148        6.8964        .15602E-03   -1.5194    
   9  Prefactor     4.1508        2.8653        .13194E-03   -1.5300    
  10  norm          .10000E-03    25.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    94.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.469        41.903        .10514E-03   -1.4947    
  13  norm          .60580E-01    3.2945        .11852E-02   -1.5659    
  14  Prefactor     .10000E-03    49.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    33.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.8155        .16233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.6251        .15701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1325        .27266        .41180E-03   -.88715    
  20  Prefactor     .93791        .95481E-01    .15700E-03   -.94829    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90812e-09
Minuit parameter uncertainties:
  1  1.28822e-05
  2  25.0655
  3  43.5115
  4  1.44534e-05
  5  1.06969e-06
  6  4.65748
  7  6.97948
  8  6.89727
  9  2.86542
  10  5.69894e-06
  11  9.66411e-06
  12  41.988
  13  0.892807
  14  0.000541939
  15  0.000158738
  16  2.60163e-05
  17  3.00277e-07
  18  1.37812e-05
  19  0.272997
  20  0.095498
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.000e-04  5.699e-06  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.379e-01  9.550e-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.133e+00  2.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/926017/likelihoodResults_472608001_472867201_4FGL_J1736.0+2033_daily_bin900.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) = 9851.17236433
delta logL = -0.00018383400311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9851.17218286
delta logL = -2.36392952502e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10425E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5818       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1325       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93791       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9851.172     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      289 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    164.53        .18142E-01** at limit **
   2  alpha         1.5761        3.8996        .50000        .35379E-07
   3  Normalizat    1.1325        .15024E-01    .41180E-03    .85561E-03
   4  Prefactor     .93791        .53053E-02    .15700E-03    .22234E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010001
  alpha      = 1.57608
  Normalizat = 1.13252
  Prefactor  = 0.937913
 **********
 **   18 **HESSE 
 **********

 FCN=   9851.172     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      318 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    772.46        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5761        3.2340        .50000       -.37854    
   3  Normalizat    1.1325        .33758E-01    .82360E-04   -.88714    
   4  Prefactor     .93791        .11920E-01    .31401E-04   -.94829    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.30972e-09
Minuit parameter uncertainties:
  1  0.00549517
  2  2582.08
  3  0.0337586
  4  0.0119205
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/926017': 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) = 9851.17218045
delta logL = 4.0441591409e-08

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.000e-04  5.495e-03  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  1.576e+00  2.582e+03  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.379e-01  1.192e-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.133e+00  3.376e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 264.019 20.556

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/926017/cmap_HighResolution_472608001_472867201_4FGL_J1736.0+2033_daily_bin900.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-05', job_status='DONE', photon_flux_upper_limit='2.72e-08', time_completed='2021-09-18 00:14:25.809155', job_id='926017', GAL2='0.94', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1631949265.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.04e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='900' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 00:14:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 926017: <4FGL_J1736.0+2033_daily_bin900> in cluster <slac> Done

Job <4FGL_J1736.0+2033_daily_bin900> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 18 00:00:27 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 00:00:29 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:29 2021
Terminated at Sat Sep 18 00:14:26 2021
Results reported at Sat Sep 18 00:14:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin900 264.019 20.5559 472608001 472867201 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 :                                   815.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             383.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            839 sec.

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

