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


Performing analysis on: 4FGL_J1736.0+2033_daily_bin15
RA = 264.019, Dec = 20.5559
tmin = 243216001, tmax = 243475201
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='919355', job_status='RUN', time_executed='2021-09-17 23:40:37.932770', time_epoch_executed='1631947237.93' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/919355

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/919355/ft1_4FGL_J1736.0+2033_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/919355/ft2_4FGL_J1736.0+2033_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/919355/ft1_4FGL_J1736.0+2033_daily_bin15.fits outfile=/scratch/kocevski/919355/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin15.fits ra=264.019 dec=20.5559 rad=12.0 tmin=243216001.0 tmax=243475201.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.38
user 1.19
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/919355/ft1_filtered_4FGL_J1736.0+2033_daily_bin15.fits" evtable="EVENTS" scfile=/scratch/kocevski/919355/ft2_4FGL_J1736.0+2033_daily_bin15.fits sctable="SC_DATA" outfile=/scratch/kocevski/919355/ltcube_243216001_243475201_4FGL_J1736.0+2033_daily_bin15.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/919355/ft2_4FGL_J1736.0+2033_daily_bin15.fits
.....................!
real 12.70
user 12.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/919355/ft1_filtered_4FGL_J1736.0+2033_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/919355/ft2_4FGL_J1736.0+2033_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/919355/ltcube_243216001_243475201_4FGL_J1736.0+2033_daily_bin15.fits outfile=/scratch/kocevski/919355/expmap_243216001_243475201_4FGL_J1736.0+2033_daily_bin15.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/919355/ltcube_243216001_243475201_4FGL_J1736.0+2033_daily_bin15.fits
.....................!
real 192.67
user 187.65
sys 4.48

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/919355/ft1_filtered_4FGL_J1736.0+2033_daily_bin15.fits scfile=/scratch/kocevski/919355/ft2_4FGL_J1736.0+2033_daily_bin15.fits outfile=/scratch/kocevski/919355/cmap_243216001_243475201_4FGL_J1736.0+2033_daily_bin15.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/919355/ft1_filtered_4FGL_J1736.0+2033_daily_bin15.fits scfile=/scratch/kocevski/919355/ft2_4FGL_J1736.0+2033_daily_bin15.fits outfile=/scratch/kocevski/919355/cmap_HighResolution_243216001_243475201_4FGL_J1736.0+2033_daily_bin15.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60860       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.778       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.213       1.0000         .10000E-03   10000.    
     4 'Prefactor '    44.943       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    20.397       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.282       1.0000         .10000E-03   10000.    
     8 'norm      '    5.4729       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .34368       1.0000         .10000E-03   10000.    
    10 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    70.289       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11749E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.5919       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.671       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .29444E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.4423       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.0693       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .60452       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0313       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=   9278.940     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     2202 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59948        5.0839        .15308E-05   -.11140E-03
   2  Prefactor     18.883        34.627       -.42097E-05   -.11516E-03
   3  Prefactor     20.214        43.319        .87848E-06   -.11152E-04
   4  Prefactor     44.930        42.977        .13020E-05   -.28450E-04
   5  Prefactor     .10000E-03    11.995        .60082E-06** at limit **
   6  norm          20.397        4.6388        .62323E-07   -.72785E-04
   7  Prefactor     10.281        10.064        .55884E-07   -.48723E-04
   8  norm          5.4725        8.5506       -.23834E-06   -.43579E-04
   9  Prefactor     .34294        1.3233        .26682E-06    .40792E-04
  10  norm          .10000E-03    55.340        .62925E-06** at limit **
  11  Prefactor     70.284        127.72        .16088E-05   -.16680E-05
  12  Prefactor     .10001E-03    188.95       -.20623E-04** at limit **
  13  norm          2.5919        .91406        .36702E-07   -.25020E-04
  14  Prefactor     20.546        44.214       -.45024E-05   -.13370E-04
  15  Prefactor     .10002E-03    1583.0       -.28506E-04** at limit **
  16  Prefactor     1.4409        18.204        .21651E-05    .10762E-03
  17  norm          .10000E-03    3.9890       -.82011E-07** at limit **
  18  Prefactor     5.0750        54.201        .20918E-05    .40259E-05
  19  Normalizat    .60476        .26331       -.29072E-05   -.96630E-04
  20  Prefactor     1.0312        .87282E-01   -.30353E-06   -.31648E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.599482
  Prefactor  = 18.8828
  Prefactor  = 20.2144
  Prefactor  = 44.9299
  Prefactor  = 0.0001
  norm       = 20.3973
  Prefactor  = 10.2815
  norm       = 5.47248
  Prefactor  = 0.342936
  norm       = 0.0001
  Prefactor  = 70.2839
  Prefactor  = 0.000100012
  norm       = 2.59192
  Prefactor  = 20.5455
  Prefactor  = 0.000100021
  Prefactor  = 1.44086
  norm       = 0.0001
  Prefactor  = 5.07498
  Normalizat = 0.604755
  Prefactor  = 1.03124
 **********
 **   18 **HESSE 
 **********

 FCN=   9278.940     FROM HESSE     STATUS=OK           303 CALLS     2505 TOTAL
                     EDM=   .69E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59948        14.256        .37797E-02   -1.5553    
   2  Prefactor     18.883        34.201        .92427E-04   -1.4839    
   3  Prefactor     20.214        43.256        .89087E-04   -1.4808    
   4  Prefactor     44.930        42.946        .29902E-03   -1.4366    
   5  Prefactor     .10000E-03    12.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          20.397        4.6339        .88684E-04   -1.4804    
   7  Prefactor     10.281        10.044        .12496E-03   -1.5067    
   8  norm          5.4725        8.5570        .17176E-03   -1.5240    
   9  Prefactor     .34294        6.1518        .19603E-02   -1.5591    
  10  norm          .10000E-03    55.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     70.284        127.77        .47880E-04   -1.4029    
  12  Prefactor     .10001E-03    183.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.5919        .91471        .53061E-04   -1.5386    
  14  Prefactor     20.546        42.069        .88095E-04   -1.4801    
  15  Prefactor     .10002E-03    1464.9        .39697E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.4409        18.360        .35913E-03   -1.5468    
  17  norm          .10000E-03    3.9948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.0750        54.759        .17859E-03   -1.5257    
  19  Normalizat    .60476        .28131        .51195E-03   -1.0778    
  20  Prefactor     1.0312        .96471E-01    .14475E-03   -.91695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.92828e-08
Minuit parameter uncertainties:
  1  5.84789
  2  34.2364
  3  43.3228
  4  42.9753
  5  4.59622e-05
  6  4.63394
  7  10.046
  8  8.55888
  9  2.90487
  10  2.32777e-06
  11  128.271
  12  0.00296527
  13  0.914719
  14  42.1301
  15  0.0113656
  16  10.2903
  17  4.62396e-06
  18  33.3794
  19  0.281979
  20  0.0964876
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.000e-04  2.328e-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:  1.031e+00  9.649e-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:  6.048e-01  2.820e-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: 3.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.29e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/919355/likelihoodResults_243216001_243475201_4FGL_J1736.0+2033_daily_bin15.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) = 9278.94053883
delta logL = -8.58778057591e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9278.94045442
delta logL = -1.46639285958e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7917       1.0000          .0000       5.0000    
     3 'Normalizat'    .60479       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0311       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=   9278.940     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      209 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    80.760        .90712E-02** at limit **
   2  alpha         1.8468        3.3953        .43462       -.45339E-05
   3  Normalizat    .60475        .23074        .11544       -.31422E-03
   4  Prefactor     1.0312        .84171E-01    .41169E-01   -.94750E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.84677
  Normalizat = 0.604752
  Prefactor  = 1.03124
 **********
 **   18 **HESSE 
 **********

 FCN=   9278.940     FROM HESSE     STATUS=OK            29 CALLS      238 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    67.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8468        3.3656        .17385       -.26436    
   3  Normalizat    .60475        .25070        .51193E-03   -1.0778    
   4  Prefactor     1.0312        .91822E-01    .14475E-03   -.91695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62635e-10
Minuit parameter uncertainties:
  1  9.4374e-06
  2  2.41577
  3  0.251176
  4  0.0918362
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/919355': 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) = 9278.94045277
delta logL = 1.83119482244e-07

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.000e-04  9.437e-06  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  1.847e+00  2.416e+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:  1.031e+00  9.184e-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:  6.048e-01  2.512e-01  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/919355/cmap_HighResolution_243216001_243475201_4FGL_J1736.0+2033_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.29e-05', job_status='DONE', photon_flux_upper_limit='3.34e-08', time_completed='2021-09-17 23:54:03.557734', job_id='919355', GAL2='1.03', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1631948043.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.83e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='15' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 23:54:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 919355: <4FGL_J1736.0+2033_daily_bin15> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin15 264.019 20.5559 243216001 243475201 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 :                                   801.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             346.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            828 sec.

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

