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


Performing analysis on: 4FGL_J1736.0+2033_daily_bin90
RA = 264.019, Dec = 20.5559
tmin = 262656001, tmax = 262915201
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='919463', job_status='RUN', time_executed='2021-09-17 23:40:40.937249', time_epoch_executed='1631947240.94' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='90'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/919463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/919463/ft1_4FGL_J1736.0+2033_daily_bin90.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/919463/ft2_4FGL_J1736.0+2033_daily_bin90.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/919463/ft1_4FGL_J1736.0+2033_daily_bin90.fits outfile=/scratch/kocevski/919463/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin90.fits ra=264.019 dec=20.5559 rad=12.0 tmin=262656001.0 tmax=262915201.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 1.40
user 1.24
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/919463/ft2_4FGL_J1736.0+2033_daily_bin90.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/919463/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin90.fits evtable="EVENTS" outfile="/scratch/kocevski/919463/ft1_filtered_4FGL_J1736.0+2033_daily_bin90.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/919463/ft1_filtered_4FGL_J1736.0+2033_daily_bin90.fits" evtable="EVENTS" scfile=/scratch/kocevski/919463/ft2_4FGL_J1736.0+2033_daily_bin90.fits sctable="SC_DATA" outfile=/scratch/kocevski/919463/ltcube_262656001_262915201_4FGL_J1736.0+2033_daily_bin90.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/919463/ft2_4FGL_J1736.0+2033_daily_bin90.fits
.....................!
real 12.86
user 12.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/919463/ft1_filtered_4FGL_J1736.0+2033_daily_bin90.fits evtable="EVENTS" scfile=/scratch/kocevski/919463/ft2_4FGL_J1736.0+2033_daily_bin90.fits sctable="SC_DATA" expcube=/scratch/kocevski/919463/ltcube_262656001_262915201_4FGL_J1736.0+2033_daily_bin90.fits outfile=/scratch/kocevski/919463/expmap_262656001_262915201_4FGL_J1736.0+2033_daily_bin90.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/919463/ltcube_262656001_262915201_4FGL_J1736.0+2033_daily_bin90.fits
.....................!
real 189.62
user 184.81
sys 4.37

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/919463/ft1_filtered_4FGL_J1736.0+2033_daily_bin90.fits scfile=/scratch/kocevski/919463/ft2_4FGL_J1736.0+2033_daily_bin90.fits outfile=/scratch/kocevski/919463/cmap_262656001_262915201_4FGL_J1736.0+2033_daily_bin90.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/919463/ft1_filtered_4FGL_J1736.0+2033_daily_bin90.fits scfile=/scratch/kocevski/919463/ft2_4FGL_J1736.0+2033_daily_bin90.fits outfile=/scratch/kocevski/919463/cmap_HighResolution_262656001_262915201_4FGL_J1736.0+2033_daily_bin90.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.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.539       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .34178E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.330       1.0000         .10000E-03   10000.    
     6 'norm      '    1.2582       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.391       1.0000         .10000E-03   10000.    
     8 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.5788       1.0000         .10000E-03   10000.    
    10 'norm      '    50.089       1.0000         .10000E-03   10000.    
    11 'Prefactor '    87.347       1.0000         .10000E-03   10000.    
    12 'Prefactor '    59.931       1.0000         .10000E-03   10000.    
    13 'norm      '    1.7134       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5378       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.322       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .79752       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0675       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=   10682.01     FROM MIGRAD    STATUS=CONVERGED    410 CALLS     2042 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4224       -.10094E-06** at limit **
   2  Prefactor     29.540        27.189        .16230E-06   -.34582E-05
   3  Prefactor     .10000E-03    17.216        .13198E-05** at limit **
   4  Prefactor     .10000E-03    120.72        .12583E-04** at limit **
   5  Prefactor     28.327        13.681        .37958E-07   -.57078E-04
   6  norm          1.2581        2.4337        .16940E-06   -.53903E-04
   7  Prefactor     14.389        13.547        .56913E-07   -.25245E-04
   8  norm          .10000E-03    9.5580       -.20899E-06** at limit **
   9  Prefactor     3.5802        2.7225        .91278E-07   -.19555E-04
  10  norm          50.090        49.503       -.13030E-06   -.96737E-06
  11  Prefactor     87.378        130.90       -.31027E-05    .40221E-06
  12  Prefactor     59.939        47.248       -.16819E-05    .10378E-05
  13  norm          1.7133        .86753        .15589E-07   -.66029E-04
  14  Prefactor     .10000E-03    7.8229        .16251E-06** at limit **
  15  Prefactor     .10000E-03    21.240       -.15186E-05** at limit **
  16  Prefactor     2.5396        8.7843        .72064E-05    .11801E-04
  17  norm          .10000E-03    4.3096       -.80488E-08** at limit **
  18  Prefactor     17.321        19.299        .12008E-06   -.35289E-05
  19  Normalizat    .79712        .23643       -.10047E-05   -.86141E-04
  20  Prefactor     1.0676        .82705E-01   -.10713E-06   -.10660E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 29.5397
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 28.327
  norm       = 1.25811
  Prefactor  = 14.3885
  norm       = 0.0001
  Prefactor  = 3.58018
  norm       = 50.0899
  Prefactor  = 87.3782
  Prefactor  = 59.9387
  norm       = 1.71333
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.5396
  norm       = 0.0001
  Prefactor  = 17.3212
  Normalizat = 0.797122
  Prefactor  = 1.06759
 **********
 **   18 **HESSE 
 **********

 FCN=   10682.01     FROM HESSE     STATUS=OK           291 CALLS     2333 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.5389        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     29.540        27.191        .73716E-04   -1.4620    
   3  Prefactor     .10000E-03    17.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    120.92        .21334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     28.327        13.664        .75270E-04   -1.4643    
   6  norm          1.2581        2.3955        .21613E-03   -1.5484    
   7  Prefactor     14.389        13.542        .10558E-03   -1.4949    
   8  norm          .10000E-03    9.6485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.5802        2.7074        .13969E-03   -1.5330    
  10  norm          50.090        49.505        .56663E-04   -1.4291    
  11  Prefactor     87.378        131.29        .42988E-04   -1.3836    
  12  Prefactor     59.939        47.233        .51827E-04   -1.4158    
  13  norm          1.7133        .86675        .66143E-04   -1.5446    
  14  Prefactor     .10000E-03    7.8290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    21.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.5396        8.7935        .12818E-02   -1.5389    
  17  norm          .10000E-03    4.3225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.321        19.317        .96232E-04   -1.4875    
  19  Normalizat    .79712        .26254        .48405E-03   -1.0018    
  20  Prefactor     1.0676        .93141E-01    .15096E-03   -.90509    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87935e-11
Minuit parameter uncertainties:
  1  5.2602e-06
  2  27.2024
  3  4.23218e-06
  4  0.000692019
  5  13.6657
  6  2.39564
  7  13.5445
  8  7.01575e-06
  9  2.70745
  10  49.546
  11  131.731
  12  47.2626
  13  0.866757
  14  8.34476e-06
  15  9.46735e-06
  16  8.79794
  17  5.61928e-07
  18  19.3239
  19  0.262963
  20  0.0931554
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  5.009e+01  4.955e+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:  1.068e+00  9.316e-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:  7.971e-01  2.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.64
Ra Dec: 264.019 20.556
Photon Index (Fixed Index): 1.74 +/- 0.00
Photon Flux (Fixed Index): 9.81e-09 +/- 9.70e-09
Energy Flux (Fixed Index): 1.55e-05 +/- 1.53e-05

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) = 10681.5298816
delta logL = 0.480546545121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10681.4894534
delta logL = 0.520974722047

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    35.424       1.0000         .10000E-03   10000.    
     2 'alpha     '    .84844       1.0000          .0000       5.0000    
     3 'Normalizat'    .79890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0686       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=   10681.49     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      211 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          35.402        46.198       -.10483E-04   -.11372E-03
   2  alpha         .85038        .79998       -.10875E-03    .11489E-04
   3  Normalizat    .79887        .22626        .42792E-06    .12420E-03
   4  Prefactor     1.0687        .81058E-01    .83067E-08    .39501E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 35.4017
  alpha      = 0.850375
  Normalizat = 0.798865
  Prefactor  = 1.06866
 **********
 **   18 **HESSE 
 **********

 FCN=   10681.49     FROM HESSE     STATUS=OK            29 CALLS      240 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          35.402        44.223        .67333E-04   -1.4517    
   2  alpha         .85038        .76921        .35816E-01   -.72062    
   3  Normalizat    .79887        .25135        .48357E-03   -1.0011    
   4  Prefactor     1.0687        .90376E-01    .15088E-03   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.08093e-11
Minuit parameter uncertainties:
  1  44.2637
  2  0.792507
  3  0.251713
  4  0.0903893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/919463': 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) = 10681.4894473
delta logL = 0.520980876836

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  3.540e+01  4.426e+01  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  8.504e-01  7.925e-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:  1.069e+00  9.039e-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:  7.989e-01  2.517e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.68
Ra Dec: 264.019 20.556
Photon Index (Free Index): 0.85 +/- 0.79
Photon Flux (Free Index): 4.05e-09 +/- 4.39e-09
Energy Flux (Free Index): 4.50e-05 +/- 6.60e-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/919463/cmap_HighResolution_262656001_262915201_4FGL_J1736.0+2033_daily_bin90.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.81e-09', energy_flux2='4.50e-05', photon_flux_error='9.70e-09', dlogl='5.21e-01', energy_flux='1.55e-05', photon_flux2='4.05e-09', job_status='DONE', time_completed='2021-09-17 23:53:12.859145', photon_index_error2='0.79', photon_index2='0.85', ts='6.64', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='6.60e-05', EG='0.80', time_epoch_completed='1631947992.86', return_code='0', job_id='919463', GAL2='1.07', EG2='0.80', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='4.39e-09', ts2='7.68', photon_index='1.74' WHERE bin_id='90' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 23:53:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 919463: <4FGL_J1736.0+2033_daily_bin90> in cluster <slac> Done

Job <4FGL_J1736.0+2033_daily_bin90> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 17 23:40:25 2021
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 23:40:26 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:40:26 2021
Terminated at Fri Sep 17 23:53:13 2021
Results reported at Fri Sep 17 23:53:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin90 264.019 20.5559 262656001 262915201 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 :                                   749.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            768 sec.

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

