Sender: LSF System <lsf@bullet0113>
Subject: Job 509245: <4FGL_J1736.0+2033_weekly_bin36> in cluster <slac> Done

Job <4FGL_J1736.0+2033_weekly_bin36> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Jul 27 03:30:29 2021
Job was executed on host(s) <bullet0113>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 27 03:31:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 27 03:31:34 2021
Terminated at Tue Jul 27 04:05:48 2021
Results reported at Tue Jul 27 04:05:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_weekly_bin36 264.019 20.5559 260755201 261360001 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 :                                   1909.78 sec.
    Max Memory :                                 1103 MB
    Average Memory :                             355.99 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3409 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   2054 sec.
    Turnaround time :                            2119 sec.

The output (if any) follows:

aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 113 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 = 17198
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1736.0+2033_weekly_bin36
RA = 264.019, Dec = 20.5559
tmin = 260755201, tmax = 261360001
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='509245', job_status='RUN', time_executed='2021-07-27 03:33:42.028491', time_epoch_executed='1627382022.03' WHERE source_name='4FGL J1736.0+2033' and cadence='weekly' and bin_id='36'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/509245

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/509245/ft1_4FGL_J1736.0+2033_weekly_bin36.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/509245/ft2_4FGL_J1736.0+2033_weekly_bin36.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/509245/ft1_4FGL_J1736.0+2033_weekly_bin36.fits outfile=/scratch/kocevski/509245/ft1_filteredMKT_4FGL_J1736.0+2033_weekly_bin36.fits ra=264.019 dec=20.5559 rad=12.0 tmin=260755201.0 tmax=261360001.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 2.75
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/509245/ft2_4FGL_J1736.0+2033_weekly_bin36.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/509245/ft1_filteredMKT_4FGL_J1736.0+2033_weekly_bin36.fits evtable="EVENTS" outfile="/scratch/kocevski/509245/ft1_filtered_4FGL_J1736.0+2033_weekly_bin36.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.55
user 0.38
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/509245/ft1_filtered_4FGL_J1736.0+2033_weekly_bin36.fits" evtable="EVENTS" scfile=/scratch/kocevski/509245/ft2_4FGL_J1736.0+2033_weekly_bin36.fits sctable="SC_DATA" outfile=/scratch/kocevski/509245/ltcube_260755201_261360001_4FGL_J1736.0+2033_weekly_bin36.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/509245/ft2_4FGL_J1736.0+2033_weekly_bin36.fits
.....................!
real 36.01
user 33.70
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/509245/ft1_filtered_4FGL_J1736.0+2033_weekly_bin36.fits evtable="EVENTS" scfile=/scratch/kocevski/509245/ft2_4FGL_J1736.0+2033_weekly_bin36.fits sctable="SC_DATA" expcube=/scratch/kocevski/509245/ltcube_260755201_261360001_4FGL_J1736.0+2033_weekly_bin36.fits outfile=/scratch/kocevski/509245/expmap_260755201_261360001_4FGL_J1736.0+2033_weekly_bin36.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/509245/ltcube_260755201_261360001_4FGL_J1736.0+2033_weekly_bin36.fits
.....................!
real 192.83
user 186.46
sys 5.60

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/509245/ft1_filtered_4FGL_J1736.0+2033_weekly_bin36.fits scfile=/scratch/kocevski/509245/ft2_4FGL_J1736.0+2033_weekly_bin36.fits outfile=/scratch/kocevski/509245/cmap_260755201_261360001_4FGL_J1736.0+2033_weekly_bin36.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.60
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/509245/ft1_filtered_4FGL_J1736.0+2033_weekly_bin36.fits scfile=/scratch/kocevski/509245/ft2_4FGL_J1736.0+2033_weekly_bin36.fits outfile=/scratch/kocevski/509245/cmap_HighResolution_260755201_261360001_4FGL_J1736.0+2033_weekly_bin36.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.59
user 0.43
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11311E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9055       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.9659       1.0000         .10000E-03   10000.    
     6 'norm      '    .97039       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.6758       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.6339       1.0000         .10000E-03   10000.    
    10 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.562       1.0000         .10000E-03   10000.    
    13 'norm      '    .56409       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.487       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.0652       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10430E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2229       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0041       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=   31087.39     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     1860 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    .98418       -.43284E-06** at limit **
   2  Prefactor     3.9036        8.0113        .28189E-05   -.99534E-03
   3  Prefactor     .10000E-03    7.4728        .32914E-06** at limit **
   4  Prefactor     .10000E-03    28.199       -.11569E-07** at limit **
   5  Prefactor     3.9661        5.5472        .48367E-06    .34211E-05
   6  norm          .97033        .89160       -.13584E-07   -.42694E-04
   7  Prefactor     .10000E-03    2.8785       -.11735E-07** at limit **
   8  norm          1.6757        2.8232        .14574E-06   -.48898E-03
   9  Prefactor     3.6339        1.7470        .35013E-08   -.74698E-03
  10  norm          .10000E-03    17.544       -.14995E-06** at limit **
  11  Prefactor     .10000E-03    18.546        .33768E-06** at limit **
  12  Prefactor     15.569        21.866       -.72595E-05   -.39299E-03
  13  norm          .56397        .37885        .41815E-07   -.79485E-03
  14  Prefactor     14.625        27.503        .25795E-05    .90079E-04
  15  Prefactor     3.7520        140.33        .71163E-06    .27833E-05
  16  Prefactor     .10000E-03    1.0936        .15478E-06** at limit **
  17  norm          .10000E-03    1.6245       -.88356E-08** at limit **
  18  Prefactor     .10000E-03    7.1245        .72138E-06** at limit **
  19  Normalizat    1.2229        .13725       -.48201E-07    .65980E-04
  20  Prefactor     1.0041        .46565E-01    .12685E-07    .80635E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Prefactor  = 3.90364
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.96607
  norm       = 0.970335
  Prefactor  = 0.0001
  norm       = 1.67566
  Prefactor  = 3.63389
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.5692
  norm       = 0.563971
  Prefactor  = 14.6254
  Prefactor  = 3.75198
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.22287
  Prefactor  = 1.00408
 **********
 **   18 **HESSE 
 **********

 FCN=   31087.39     FROM HESSE     STATUS=OK           301 CALLS     2161 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    7.1527        .33209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.9036        11.228        .10208E-02   -1.5313    
   3  Prefactor     .10000E-03    7.4941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9661        5.5358        .20254E-03   -1.5310    
   6  norm          .97033        .90158        .15509E-03   -1.5511    
   7  Prefactor     .10000E-03    2.9067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6757        2.7986        .32553E-03   -1.5449    
   9  Prefactor     3.6339        1.7372        .14954E-03   -1.5327    
  10  norm          .10000E-03    17.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    18.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.569        22.802        .10153E-03   -1.4919    
  13  norm          .56397        .33060        .86489E-03   -1.5558    
  14  Prefactor     14.625        26.557        .10523E-03   -1.4943    
  15  Prefactor     3.7520        128.68        .19997E-03   -1.5321    
  16  Prefactor     .10000E-03    3.6032        .35635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    10.244        .43812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.1440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2229        .16106        .41173E-03   -.85899    
  20  Prefactor     1.0041        .55301E-01    .15671E-03   -.92594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.86429e-09
Minuit parameter uncertainties:
  1  0.000451069
  2  11.2343
  3  1.52685e-05
  4  9.22068e-06
  5  5.53652
  6  0.901592
  7  5.93974e-07
  8  2.79881
  9  1.73721
  10  1.16238e-05
  11  2.25117e-05
  12  22.8144
  13  0.330601
  14  26.5784
  15  44.0485
  16  6.58095e-05
  17  9.29733e-06
  18  3.22888e-05
  19  0.161128
  20  0.0553046
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.000e-04  1.162e-05  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.004e+00  5.530e-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.223e+00  1.611e-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: 1.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/509245/likelihoodResults_260755201_261360001_4FGL_J1736.0+2033_weekly_bin36.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 31087.3861695
delta logL = -0.000271310309472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 31087.3859024
delta logL = -4.22250377596e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    .71429       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2229       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0041       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=   31087.39     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      319 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .46312E-01    .12435    ** at limit **
   2  alpha         3.1874        2.8508        .50000        .11260E-06
   3  Normalizat    1.2229        .66777E-03    .41173E-03    .46476E-03
   4  Prefactor     1.0041        .23464E-03    .15671E-03    .11548E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 3.18739
  Normalizat = 1.22287
  Prefactor  = 1.00408
 **********
 **   18 **HESSE 
 **********

 FCN=   31087.39     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      358 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .18427        .68155E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.1874        3.9122        .50000        .27854    
   3  Normalizat    1.2229        .89992E-03    .16469E-04   -.85899    
   4  Prefactor     1.0041        .31621E-03    .31342E-04   -.92594    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.53133e-12
Minuit parameter uncertainties:
  1  2.32512e-05
  2  33.3389
  3  0.000899917
  4  0.000316207
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/509245': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 31087.3858954
delta logL = 2.76539867627e-06

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.000e-04  2.325e-05  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  3.187e+00  3.334e+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.004e+00  3.162e-04  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.223e+00  8.999e-04  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/509245/cmap_HighResolution_260755201_261360001_4FGL_J1736.0+2033_weekly_bin36.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.21e-05', job_status='DONE', photon_flux_upper_limit='1.40e-08', time_completed='2021-07-27 04:05:47.902850', job_id='509245', GAL2='1.00', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1627383947.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.77e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='36' AND source_name='4FGL J1736.0+2033' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 27 04:05:47 PDT 2021

