/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 = 7411
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1736.0+2033_daily_bin415
RA = 264.019, Dec = 20.5559
tmin = 346896001, tmax = 347155201
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='921170', job_status='RUN', time_executed='2021-09-17 23:46:11.841440', time_epoch_executed='1631947571.84' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/921170

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/921170/ft1_4FGL_J1736.0+2033_daily_bin415.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/921170/ft2_4FGL_J1736.0+2033_daily_bin415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/921170/ft1_4FGL_J1736.0+2033_daily_bin415.fits outfile=/scratch/kocevski/921170/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin415.fits ra=264.019 dec=20.5559 rad=12.0 tmin=346896001.0 tmax=347155201.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.42
user 3.22
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/921170/ft1_filtered_4FGL_J1736.0+2033_daily_bin415.fits" evtable="EVENTS" scfile=/scratch/kocevski/921170/ft2_4FGL_J1736.0+2033_daily_bin415.fits sctable="SC_DATA" outfile=/scratch/kocevski/921170/ltcube_346896001_347155201_4FGL_J1736.0+2033_daily_bin415.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/921170/ft2_4FGL_J1736.0+2033_daily_bin415.fits
.....................!
real 12.09
user 11.76
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/921170/ft1_filtered_4FGL_J1736.0+2033_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/921170/ft2_4FGL_J1736.0+2033_daily_bin415.fits sctable="SC_DATA" expcube=/scratch/kocevski/921170/ltcube_346896001_347155201_4FGL_J1736.0+2033_daily_bin415.fits outfile=/scratch/kocevski/921170/expmap_346896001_347155201_4FGL_J1736.0+2033_daily_bin415.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/921170/ltcube_346896001_347155201_4FGL_J1736.0+2033_daily_bin415.fits
.....................!
real 190.15
user 185.22
sys 4.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/921170/ft1_filtered_4FGL_J1736.0+2033_daily_bin415.fits scfile=/scratch/kocevski/921170/ft2_4FGL_J1736.0+2033_daily_bin415.fits outfile=/scratch/kocevski/921170/cmap_346896001_347155201_4FGL_J1736.0+2033_daily_bin415.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/921170/ft1_filtered_4FGL_J1736.0+2033_daily_bin415.fits scfile=/scratch/kocevski/921170/ft2_4FGL_J1736.0+2033_daily_bin415.fits outfile=/scratch/kocevski/921170/cmap_HighResolution_346896001_347155201_4FGL_J1736.0+2033_daily_bin415.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/921170/ft1_filtered_4FGL_J1736.0+2033_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/921170/ft2_4FGL_J1736.0+2033_daily_bin415.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/921170/Model_4FGL_J1736.0+2033_daily_bin415.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/921170/ft1_filtered_4FGL_J1736.0+2033_daily_bin415.fits.....................!
real 88.51
user 87.18
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    50.941       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.883       1.0000         .10000E-03   10000.    
     8 'norm      '    6.1489       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0192       1.0000         .10000E-03   10000.    
    10 'norm      '    49.435       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.795       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.1978       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3629       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91604       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=   10602.36     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     2001 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0772        .45997E-08** at limit **
   2  Prefactor     .10000E-03    17.896       -.22537E-05** at limit **
   3  Prefactor     50.945        58.818        .45236E-05    .98636E-05
   4  Prefactor     .10000E-03    25.693        .69737E-05** at limit **
   5  Prefactor     .10000E-03    15.230        .59879E-05** at limit **
   6  norm          .10000E-03    .55007       -.56609E-08** at limit **
   7  Prefactor     18.883        14.838       -.14083E-07   -.98175E-05
   8  norm          6.1484        8.6285        .24873E-07   -.24572E-03
   9  Prefactor     3.0190        2.7184       -.12178E-09   -.68207E-04
  10  norm          49.434        59.681       -.92706E-06   -.21170E-05
  11  Prefactor     .10000E-03    39.723       -.30561E-05** at limit **
  12  Prefactor     .10000E-03    23.733        .50247E-06** at limit **
  13  norm          .10000E-03    .23090        .67010E-08** at limit **
  14  Prefactor     .10000E-03    14.101       -.22880E-05** at limit **
  15  Prefactor     17.789        50.980       -.93160E-05   -.40963E-05
  16  Prefactor     .10000E-03    2.3142        .21348E-08** at limit **
  17  norm          2.1975        3.0535        .40215E-06   -.98594E-03
  18  Prefactor     .10000E-03    20.016       -.63003E-05** at limit **
  19  Normalizat    1.3628        .23183       -.22440E-06   -.23735E-04
  20  Prefactor     .91606        .76919E-01    .48704E-07   -.91561E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.945
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.8834
  norm       = 6.14841
  Prefactor  = 3.01903
  norm       = 49.4342
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.7893
  Prefactor  = 0.0001
  norm       = 2.19745
  Prefactor  = 0.0001
  Normalizat = 1.36283
  Prefactor  = 0.91606
 **********
 **   18 **HESSE 
 **********

 FCN=   10602.36     FROM HESSE     STATUS=OK           285 CALLS     2286 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     50.945        59.072        .56190E-04   -1.4279    
   4  Prefactor     .10000E-03    25.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.529        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .55071        .74576E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.883        14.811        .92169E-04   -1.4839    
   8  norm          6.1484        8.7084        .80950E-03   -1.5212    
   9  Prefactor     3.0190        2.7071        .14973E-03   -1.5360    
  10  norm          49.434        59.702        .57035E-04   -1.4301    
  11  Prefactor     .10000E-03    39.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    23.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .29844        .96317E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.789        50.966        .94945E-04   -1.4864    
  16  Prefactor     .10000E-03    2.3172        .15297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.1975        8.3564        .13878E-02   -1.5411    
  18  Prefactor     .10000E-03    20.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3628        .27523        .40444E-03   -.81710    
  20  Prefactor     .91606        .91664E-01    .16070E-03   -.95582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07668e-09
Minuit parameter uncertainties:
  1  4.08346e-06
  2  1.78902e-05
  3  59.1402
  4  5.00926e-05
  5  3.71194e-05
  6  1.14076e-07
  7  14.8138
  8  8.71015
  9  2.70721
  10  59.7744
  11  2.45579e-05
  12  2.90828e-05
  13  4.68428e-08
  14  4.14154e-05
  15  51.0914
  16  1.69156e-06
  17  8.36085
  18  3.79157e-05
  19  0.275527
  20  0.0916798
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  4.943e+01  5.977e+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.161e-01  9.168e-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.363e+00  2.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.20
Ra Dec: 264.019 20.556
Photon Index (Fixed Index): 1.74 +/- 0.00
Photon Flux (Fixed Index): 9.68e-09 +/- 1.17e-08
Energy Flux (Fixed Index): 1.53e-05 +/- 1.85e-05

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

Saving results to:
/scratch/kocevski/921170/likelihoodResults_346896001_347155201_4FGL_J1736.0+2033_daily_bin415.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) = 10602.2567746
delta logL = 0.103931900809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10602.2538396
delta logL = 0.106866891987

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    54.255       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3865       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91632       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=   10602.25     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      263 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          54.257        63.735        .54456E-04   -.30430E-03
   2  alpha         1.3864        .74632        .27894E-01   -.97104E-04
   3  Normalizat    1.3641        .26947        .40427E-03    .50224E-04
   4  Prefactor     .91626        .90687E-01    .16068E-03    .14810E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 54.2567
  alpha      = 1.38636
  Normalizat = 1.36409
  Prefactor  = 0.91626
 **********
 **   18 **HESSE 
 **********

 FCN=   10602.25     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          54.257        64.108        .10891E-04   -1.4233    
   2  alpha         1.3864        .75099        .11158E-02   -.46168    
   3  Normalizat    1.3641        .26969        .16171E-04   -.81673    
   4  Prefactor     .91626        .90762E-01    .32136E-04   -.95575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08381e-09
Minuit parameter uncertainties:
  1  64.1896
  2  0.765849
  3  0.269969
  4  0.090777
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/921170': 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) = 10602.2538393
delta logL = 0.106867165547

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  5.426e+01  6.419e+01  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  1.386e+00  7.658e-01  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.163e-01  9.078e-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.364e+00  2.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 264.019 20.556
Photon Index (Free Index): 1.39 +/- 0.77
Photon Flux (Free Index): 6.99e-09 +/- 9.92e-09
Energy Flux (Free Index): 2.48e-05 +/- 3.75e-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/921170/cmap_HighResolution_346896001_347155201_4FGL_J1736.0+2033_daily_bin415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.78e-05', comment='SUCCESS', photon_flux='9.68e-09', energy_flux2='2.48e-05', photon_flux_error='1.17e-08', dlogl='1.07e-01', energy_flux='1.53e-05', photon_flux2='6.99e-09', job_status='DONE', time_completed='2021-09-18 00:00:23.371204', photon_index_error2='0.77', photon_index2='1.39', ts='1.20', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='4.29e-08', energy_flux_error2='3.75e-05', EG='1.36', time_epoch_completed='1631948423.37', return_code='0', job_id='921170', GAL2='0.92', EG2='1.36', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='9.92e-09', ts2='1.41', photon_index='1.74' WHERE bin_id='415' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 00:00:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 921170: <4FGL_J1736.0+2033_daily_bin415> in cluster <slac> Done

Job <4FGL_J1736.0+2033_daily_bin415> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 17 23:45:54 2021
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 23:45:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 17 23:45:56 2021
Terminated at Sat Sep 18 00:00:24 2021
Results reported at Sat Sep 18 00:00:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin415 264.019 20.5559 346896001 347155201 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 :                                   837.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            870 sec.

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

