Sender: LSF System <lsf@bullet0145>
Subject: Job 513121: <4FGL_J1736.0+2033_weekly_bin209> in cluster <slac> Done

Job <4FGL_J1736.0+2033_weekly_bin209> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jul 27 03:45:32 2021
Job was executed on host(s) <bullet0145>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 27 03:48:53 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:48:53 2021
Terminated at Tue Jul 27 04:19:24 2021
Results reported at Tue Jul 27 04:19:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_weekly_bin209 264.019 20.5559 365385601 365990401 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 :                                   1705.09 sec.
    Max Memory :                                 630 MB
    Average Memory :                             337.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2934 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1831 sec.
    Turnaround time :                            2032 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 99 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 = 17409
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1736.0+2033_weekly_bin209
RA = 264.019, Dec = 20.5559
tmin = 365385601, tmax = 365990401
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='513121', job_status='RUN', time_executed='2021-07-27 03:50:41.329633', time_epoch_executed='1627383041.33' WHERE source_name='4FGL J1736.0+2033' and cadence='weekly' and bin_id='209'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513121

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513121/ft1_4FGL_J1736.0+2033_weekly_bin209.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513121/ft2_4FGL_J1736.0+2033_weekly_bin209.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513121/ft1_4FGL_J1736.0+2033_weekly_bin209.fits outfile=/scratch/kocevski/513121/ft1_filteredMKT_4FGL_J1736.0+2033_weekly_bin209.fits ra=264.019 dec=20.5559 rad=12.0 tmin=365385601.0 tmax=365990401.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 7.60
user 7.14
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/513121/ft2_4FGL_J1736.0+2033_weekly_bin209.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/513121/ft1_filteredMKT_4FGL_J1736.0+2033_weekly_bin209.fits evtable="EVENTS" outfile="/scratch/kocevski/513121/ft1_filtered_4FGL_J1736.0+2033_weekly_bin209.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/513121/ft1_filtered_4FGL_J1736.0+2033_weekly_bin209.fits" evtable="EVENTS" scfile=/scratch/kocevski/513121/ft2_4FGL_J1736.0+2033_weekly_bin209.fits sctable="SC_DATA" outfile=/scratch/kocevski/513121/ltcube_365385601_365990401_4FGL_J1736.0+2033_weekly_bin209.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/513121/ft2_4FGL_J1736.0+2033_weekly_bin209.fits
.....................!
real 31.87
user 31.39
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513121/ft1_filtered_4FGL_J1736.0+2033_weekly_bin209.fits evtable="EVENTS" scfile=/scratch/kocevski/513121/ft2_4FGL_J1736.0+2033_weekly_bin209.fits sctable="SC_DATA" expcube=/scratch/kocevski/513121/ltcube_365385601_365990401_4FGL_J1736.0+2033_weekly_bin209.fits outfile=/scratch/kocevski/513121/expmap_365385601_365990401_4FGL_J1736.0+2033_weekly_bin209.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/513121/ltcube_365385601_365990401_4FGL_J1736.0+2033_weekly_bin209.fits
.....................!
real 192.38
user 186.02
sys 5.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/513121/ft1_filtered_4FGL_J1736.0+2033_weekly_bin209.fits scfile=/scratch/kocevski/513121/ft2_4FGL_J1736.0+2033_weekly_bin209.fits outfile=/scratch/kocevski/513121/cmap_365385601_365990401_4FGL_J1736.0+2033_weekly_bin209.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.59
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513121/ft1_filtered_4FGL_J1736.0+2033_weekly_bin209.fits scfile=/scratch/kocevski/513121/ft2_4FGL_J1736.0+2033_weekly_bin209.fits outfile=/scratch/kocevski/513121/cmap_HighResolution_365385601_365990401_4FGL_J1736.0+2033_weekly_bin209.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.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4325       1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.248       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    59.576       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.3414       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.9335       1.0000         .10000E-03   10000.    
     8 'norm      '    14.401       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14834       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11985E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .75361       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .65987       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.048       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0391       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99362       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24960.69     FROM MIGRAD    STATUS=CONVERGED    429 CALLS     2109 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4320        5.3500         .0000        .21292E-02
   2  Prefactor     25.247        17.410         .0000       -.39169E-03
   3  Prefactor     .10000E-03    8.0033         .0000    ** at limit **
   4  Prefactor     59.576        44.851         .0000       -.19845E-03
   5  Prefactor     .10019E-03    3.2979         .0000    ** at limit **
   6  norm          1.3414        1.2415         .0000        .14511E-02
   7  Prefactor     3.9424        9.9335         .0000        .14929E-02
   8  norm          14.413        7.2099         .0000       -.14138E-02
   9  Prefactor     .12884        .55426         .0000        .45339E-03
  10  norm          .10000E-03    11.512         .0000    ** at limit **
  11  Prefactor     .10001E-03    133.25         .0000    ** at limit **
  12  Prefactor     .10000E-03    9.5744         .0000    ** at limit **
  13  norm          .75359        .41744         .0000       -.15039E-03
  14  Prefactor     .10002E-03    10.982         .0000    ** at limit **
  15  Prefactor     .10008E-03    15.679         .0000    ** at limit **
  16  Prefactor     .64461        2.4866         .0000        .33571E-01
  17  norm          .10000E-03    1.4463         .0000    ** at limit **
  18  Prefactor     11.046        16.108         .0000       -.99867E-03
  19  Normalizat    1.0392        .15957         .0000        .18279E-03
  20  Prefactor     .99363        .53069E-01     .0000       -.20558E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.43201
  Prefactor  = 25.2472
  Prefactor  = 0.0001
  Prefactor  = 59.5761
  Prefactor  = 0.000100187
  norm       = 1.34139
  Prefactor  = 3.94239
  norm       = 14.413
  Prefactor  = 0.128836
  norm       = 0.000100001
  Prefactor  = 0.000100008
  Prefactor  = 0.000100001
  norm       = 0.753589
  Prefactor  = 0.000100022
  Prefactor  = 0.000100079
  Prefactor  = 0.644612
  norm       = 0.0001
  Prefactor  = 11.046
  Normalizat = 1.03917
  Prefactor  = 0.99363
 **********
 **   18 **HESSE 
 **********

 FCN=   24960.69     FROM HESSE     STATUS=OK           299 CALLS     2408 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4320        5.3496        .15825E-03   -1.5201    
   2  Prefactor     25.247        17.391        .79722E-04   -1.4703    
   3  Prefactor     .10000E-03    8.0143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     59.576        44.782        .51980E-04   -1.4163    
   5  Prefactor     .10019E-03    14.222        .55104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.3414        1.2185        .16435E-03   -1.5476    
   7  Prefactor     3.9424        9.8913        .20340E-03   -1.5311    
   8  norm          14.413        7.3669        .10555E-03   -1.4948    
   9  Prefactor     .12884        8.1988        .20779E-02   -1.5636    
  10  norm          .10000E-03    11.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    133.84        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.5823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .75359        .42331        .73540E-04   -1.5534    
  14  Prefactor     .10002E-03    11.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10008E-03    15.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .64461        2.0352        .12190       -1.5547    
  17  norm          .10000E-03    1.4496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.046        16.128        .12053E-03   -1.5043    
  19  Normalizat    1.0392        .18207        .44522E-03   -.91730    
  20  Prefactor     .99363        .61404E-01    .15372E-03   -.92942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07469e-08
Minuit parameter uncertainties:
  1  5.34998
  2  17.3948
  3  0.000111473
  4  44.8077
  5  0.003262
  6  1.21849
  7  9.89543
  8  7.36735
  9  2.05502
  10  0.000203244
  11  0.00203482
  12  0.000174926
  13  0.423309
  14  0.000988224
  15  0.00222818
  16  2.03539
  17  3.59112e-06
  18  16.134
  19  0.182181
  20  0.0614084
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.000e-04  2.032e-04  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.936e-01  6.141e-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.039e+00  1.822e-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.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/513121/likelihoodResults_365385601_365990401_4FGL_J1736.0+2033_weekly_bin209.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) = 24960.6866271
delta logL = -0.000413853103964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24960.6862132
delta logL = 2.30247678701e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7317       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0392       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99363       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   24960.59     FROM MIGRAD    STATUS=FAILED       157 CALLS      309 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3080        213.59        .11439        .25274E-02
   2  alpha         .20012E-09    4.1395        .50000    ** at limit **
   3  Normalizat    1.0355        .42452E-01    .44522E-03    .15239E-03
   4  Prefactor     .99455        .14460E-01    .15372E-03    .48883E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   24960.59     FROM SIMPLEX   STATUS=UNCHANGED    144 CALLS      453 TOTAL
                     EDM=   .48E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3080        213.59        .58167E-05    .25274E-02
   2  alpha         .20012E-09    4.1395        .73576E-02** at limit **
   3  Normalizat    1.0355        .42452E-01    .74875E-07    .15239E-03
   4  Prefactor     .99455        .14460E-01    .49660E-08    .48883E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24960.59     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      494 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3080        3.5425        .47078E-03    .10143E-03
   2  alpha         .39676E-10    3.6779        .50000    ** at limit **
   3  Normalizat    1.0355        .17618        .17809E-04    .15627E-03
   4  Prefactor     .99455        .60103E-01    .30744E-04    .49434E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.308
  alpha      = 3.9676e-11
  Normalizat = 1.03547
  Prefactor  = 0.99455
 **********
 **   18 **HESSE 
 **********

 FCN=   24960.59     FROM HESSE     STATUS=OK            29 CALLS      523 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3080        3.5365        .18831E-04   -1.5479    
   2  alpha         .39676E-10    3.6747        .50000       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0355        .17613        .35618E-05   -.91851    
   4  Prefactor     .99455        .60089E-01    .61487E-05   -.92911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01397e-11
Minuit parameter uncertainties:
  1  3.53708
  2  2.12757e-05
  3  0.176225
  4  0.0600935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513121': 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) = 24960.5934208
delta logL = 0.0927924133939

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.308e+00  3.537e+00  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  3.968e-11  2.128e-05  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.946e-01  6.009e-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.035e+00  1.762e-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/513121/cmap_HighResolution_365385601_365990401_4FGL_J1736.0+2033_weekly_bin209.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-05', job_status='DONE', photon_flux_upper_limit='1.23e-08', time_completed='2021-07-27 04:19:23.910090', job_id='513121', GAL2='0.99', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1627384763.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='9.28e-02', ts2='0.19', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='209' AND source_name='4FGL J1736.0+2033' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 27 04:19:23 PDT 2021

