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


Performing analysis on: 4FGL_J1736.0+2033_daily_bin1121
RA = 264.019, Dec = 20.5559
tmin = 529891201, tmax = 530150401
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='927459', job_status='RUN', time_executed='2021-09-18 00:07:08.593148', time_epoch_executed='1631948828.59' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='1121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/927459

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/927459/ft1_4FGL_J1736.0+2033_daily_bin1121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/927459/ft2_4FGL_J1736.0+2033_daily_bin1121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/927459/ft1_4FGL_J1736.0+2033_daily_bin1121.fits outfile=/scratch/kocevski/927459/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin1121.fits ra=264.019 dec=20.5559 rad=12.0 tmin=529891201.0 tmax=530150401.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.53
user 3.31
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/927459/ft2_4FGL_J1736.0+2033_daily_bin1121.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/927459/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin1121.fits evtable="EVENTS" outfile="/scratch/kocevski/927459/ft1_filtered_4FGL_J1736.0+2033_daily_bin1121.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/927459/ft1_filtered_4FGL_J1736.0+2033_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/927459/ft2_4FGL_J1736.0+2033_daily_bin1121.fits sctable="SC_DATA" expcube=/scratch/kocevski/927459/ltcube_529891201_530150401_4FGL_J1736.0+2033_daily_bin1121.fits outfile=/scratch/kocevski/927459/expmap_529891201_530150401_4FGL_J1736.0+2033_daily_bin1121.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/927459/ltcube_529891201_530150401_4FGL_J1736.0+2033_daily_bin1121.fits
.....................!
real 190.29
user 185.46
sys 4.52

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/927459/ft1_filtered_4FGL_J1736.0+2033_daily_bin1121.fits scfile=/scratch/kocevski/927459/ft2_4FGL_J1736.0+2033_daily_bin1121.fits outfile=/scratch/kocevski/927459/cmap_529891201_530150401_4FGL_J1736.0+2033_daily_bin1121.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/927459/ft1_filtered_4FGL_J1736.0+2033_daily_bin1121.fits scfile=/scratch/kocevski/927459/ft2_4FGL_J1736.0+2033_daily_bin1121.fits outfile=/scratch/kocevski/927459/cmap_HighResolution_529891201_530150401_4FGL_J1736.0+2033_daily_bin1121.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.045       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.888       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.046       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.621       1.0000         .10000E-03   10000.    
     8 'norm      '    7.7060       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4596       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .67717E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10464E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    49.167       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.840       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .97910       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99955       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10114.03     FROM MIGRAD    STATUS=CONVERGED     68 CALLS     1707 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.045        1.0093        .26871E-06   -.15698E-03
   2  Prefactor     19.881        1.5076       -.23566E-05    .23452E-02
   3  Prefactor     .10014E-03    17.457       -.52209E-04** at limit **
   4  Prefactor     13.045        1.0246       -.58331E-06    .47620E-03
   5  Prefactor     .10000E-03    6.1094        .36528E-06** at limit **
   6  norm          .10000E-03    1.3871        .77087E-06** at limit **
   7  Prefactor     19.622        1.0230        .11664E-06    .93399E-05
   8  norm          7.7064        1.1169        .79087E-06    .19409E-03
   9  Prefactor     3.4587        3.5810        .53125E-05   -.38048E-04
  10  norm          .10203E-03    18.471        .20287E-04** at limit **
  11  Prefactor     .10146E-03    39.588       -.73312E-04** at limit **
  12  Prefactor     .10024E-03    16.422        .64482E-04** at limit **
  13  norm          .67890E-01    2.3631        .52983E-06    .42685E-04
  14  Prefactor     .10030E-03    8.5018        .16905E-04** at limit **
  15  Prefactor     49.168        1.0394        .38806E-06   -.12831E-02
  16  Prefactor     .10000E-03    10.305        .28118E-05** at limit **
  17  norm          .10000E-03    2.5623       -.19125E-05** at limit **
  18  Prefactor     15.837        1.1168       -.11966E-05    .10963E-02
  19  Normalizat    .97908        .26832       -.24261E-05   -.21287E-03
  20  Prefactor     .99958        .94150E-01   -.11341E-05   -.57209E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0454
  Prefactor  = 19.8814
  Prefactor  = 0.000100138
  Prefactor  = 13.0449
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.6218
  norm       = 7.70638
  Prefactor  = 3.45869
  norm       = 0.000102033
  Prefactor  = 0.000101462
  Prefactor  = 0.000100238
  norm       = 0.06789
  Prefactor  = 0.000100302
  Prefactor  = 49.1683
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 15.8372
  Normalizat = 0.979083
  Prefactor  = 0.999577
 **********
 **   18 **HESSE 
 **********

 FCN=   10114.03     FROM HESSE     STATUS=OK           341 CALLS     2048 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.045        8.4327        .31608E-02   -1.5074    
   2  Prefactor     19.881        25.453        .22453E-02   -1.4816    
   3  Prefactor     .10014E-03    20.853        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.045        44.345        .27725E-02   -1.4985    
   5  Prefactor     .10000E-03    6.0883        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.3695        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.622        14.381        .22605E-02   -1.4822    
   8  norm          7.7064        8.0456        .36114E-02   -1.5153    
   9  Prefactor     3.4587        3.8984        .54356E-02   -1.5336    
  10  norm          .10203E-03    40.400        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10146E-03    53.700        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10024E-03    26.604        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .67890E-01    .37510        .35409E-01   -1.5656    
  14  Prefactor     .10030E-03    23.292        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     49.168        68.269        .14297E-02   -1.4304    
  16  Prefactor     .10000E-03    10.028        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.5604        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.837        34.062        .25159E-02   -1.4912    
  19  Normalizat    .97908        .24375        .10138       -.93735    
  20  Prefactor     .99958        .83482E-01    .34550E-01   -.92744    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5409e-07
Minuit parameter uncertainties:
  1  8.4337
  2  25.4673
  3  0.0033982
  4  44.4569
  5  5.2425e-05
  6  1.56895e-05
  7  14.3839
  8  8.04672
  9  3.89866
  10  0.0181365
  11  0.0177354
  12  0.00503358
  13  0.318928
  14  0.00530684
  15  68.3779
  16  0.000393319
  17  1.11379e-05
  18  34.1036
  19  0.244024
  20  0.0834928
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.020e-04  1.814e-02  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.996e-01  8.349e-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:  9.791e-01  2.440e-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.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/927459/likelihoodResults_529891201_530150401_4FGL_J1736.0+2033_daily_bin1121.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) = 10114.0340197
delta logL = -0.000117567098641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10114.0339022
delta logL = 8.82027961779e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7306       1.0000          .0000       5.0000    
     3 'Normalizat'    .97909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99958       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=   10114.03     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      205 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    42.953        .90712E-02** at limit **
   2  alpha         1.7507        3.3425        .43934       -.23785E-05
   3  Normalizat    .97908        .23448        .10138        .24889E-04
   4  Prefactor     .99958        .80992E-01    .34550E-01   -.49589E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.75068
  Normalizat = 0.979084
  Prefactor  = 0.999577
 **********
 **   18 **HESSE 
 **********

 FCN=   10114.03     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    40.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7507        3.3320        .50000       -.30441    
   3  Normalizat    .97908        .26543        .44922E-03   -.93734    
   4  Prefactor     .99958        .91989E-01    .15267E-03   -.92744    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.23981e-12
Minuit parameter uncertainties:
  1  4.30782e-05
  2  2.39069
  3  0.265786
  4  0.0920037
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/927459': 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) = 10114.0339021
delta logL = 3.21579136653e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.996e-01  9.200e-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:  9.791e-01  2.658e-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/927459/cmap_HighResolution_529891201_530150401_4FGL_J1736.0+2033_daily_bin1121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-05', job_status='DONE', photon_flux_upper_limit='3.57e-08', time_completed='2021-09-18 00:19:59.825692', job_id='927459', GAL2='1.00', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1631949599.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.22e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='1121' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 00:19:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 927459: <4FGL_J1736.0+2033_daily_bin1121> in cluster <slac> Done

Job <4FGL_J1736.0+2033_daily_bin1121> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 18 00:05:17 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 00:05:19 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:05:19 2021
Terminated at Sat Sep 18 00:20:00 2021
Results reported at Sat Sep 18 00:20:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin1121 264.019 20.5559 529891201 530150401 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 :                                   764.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            883 sec.

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

