aklog: Couldn't determine realm of user:aklog: No credentials cache found  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 100 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7416
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1736.0+2033_daily_bin1762
RA = 264.019, Dec = 20.5559
tmin = 696038401, tmax = 696297601
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='114905', job_status='RUN', time_executed='2023-01-25 01:19:04.579717', time_epoch_executed='1674638344.58' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/114905

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/114905/ft1_4FGL_J1736.0+2033_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/114905/ft2_4FGL_J1736.0+2033_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/114905/ft1_4FGL_J1736.0+2033_daily_bin1762.fits outfile=/scratch/kocevski/114905/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin1762.fits ra=264.019 dec=20.5559 rad=12.0 tmin=696038401.0 tmax=696297601.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.72
user 3.45
sys 0.22

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

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

Number of photons that the gtmktime cut: 928

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/114905/ft1_filtered_4FGL_J1736.0+2033_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/114905/ft2_4FGL_J1736.0+2033_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/114905/ltcube_696038401_696297601_4FGL_J1736.0+2033_daily_bin1762.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/114905/ft2_4FGL_J1736.0+2033_daily_bin1762.fits
.....................!
real 14.08
user 13.60
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/114905/ft1_filtered_4FGL_J1736.0+2033_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/114905/ft2_4FGL_J1736.0+2033_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/114905/ltcube_696038401_696297601_4FGL_J1736.0+2033_daily_bin1762.fits outfile=/scratch/kocevski/114905/expmap_696038401_696297601_4FGL_J1736.0+2033_daily_bin1762.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/114905/ltcube_696038401_696297601_4FGL_J1736.0+2033_daily_bin1762.fits
.....................!
real 193.41
user 186.41
sys 5.84

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/114905/ft1_filtered_4FGL_J1736.0+2033_daily_bin1762.fits scfile=/scratch/kocevski/114905/ft2_4FGL_J1736.0+2033_daily_bin1762.fits outfile=/scratch/kocevski/114905/cmap_696038401_696297601_4FGL_J1736.0+2033_daily_bin1762.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.75
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/114905/ft1_filtered_4FGL_J1736.0+2033_daily_bin1762.fits scfile=/scratch/kocevski/114905/ft2_4FGL_J1736.0+2033_daily_bin1762.fits outfile=/scratch/kocevski/114905/cmap_HighResolution_696038401_696297601_4FGL_J1736.0+2033_daily_bin1762.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.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/114905/ft1_filtered_4FGL_J1736.0+2033_daily_bin1762.fits', '/scratch/kocevski/114905/ft2_4FGL_J1736.0+2033_daily_bin1762.fits', expMap='/scratch/kocevski/114905/expmap_696038401_696297601_4FGL_J1736.0+2033_daily_bin1762.fits', expCube='/scratch/kocevski/114905/ltcube_696038401_696297601_4FGL_J1736.0+2033_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/114905/Model_4FGL_J1736.0+2033_daily_bin1762.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  0.000e+00  1.000e+06 ( 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 -5.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/114905/ft1_filtered_4FGL_J1736.0+2033_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/114905/ft2_4FGL_J1736.0+2033_daily_bin1762.fits
Exposure map: /scratch/kocevski/114905/expmap_696038401_696297601_4FGL_J1736.0+2033_daily_bin1762.fits
Exposure cube: /scratch/kocevski/114905/ltcube_696038401_696297601_4FGL_J1736.0+2033_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/114905/Model_4FGL_J1736.0+2033_daily_bin1762.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) = 10006.0697571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4219       1.0000          .0000       .10000E+07
     2 'Prefactor '    11.103       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2352       1.0000          .0000       .10000E+07
     4 'Prefactor '    29.217       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12212E-08   1.0000          .0000       .10000E+07
     6 'norm      '    .19429E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    31.454       1.0000          .0000       .10000E+07
     8 'norm      '    .10100E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.0625       1.0000          .0000       .10000E+07
    10 'norm      '     .0000       1.0000          .0000       .10000E+07
    11 'Prefactor '    18.769       1.0000          .0000       .10000E+07
    12 'norm      '    2.0999       1.0000          .0000       .10000E+07
    13 'Prefactor '    .33307E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15810E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.3209       1.0000          .0000       .10000E+07
    16 'norm      '    10.361       1.0000          .0000       .10000E+07
    17 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.4308       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .85087       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=   10006.07     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1631 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4241        6.5802        .43009E-05    .17082E-02
   2  Prefactor     11.091        1.2207       -.28564E-07    .17992E-01
   3  Prefactor     1.2367        1.1382        .35550E-07    .53360E-03
   4  Prefactor     29.217        1.0084       -.16059E-07    .85913E-02
   5  Prefactor     .22204E-09    5.9199        .19397E-05** at limit **
   6  norm           .0000        2.8427        .11309E-05** at limit **
   7  Prefactor     31.446        1.2533       -.16129E-07   -.87497E-02
   8  norm          .11102E-09    4.7409        .16126E-05** at limit **
   9  Prefactor     1.0605        3.1887       -.14290E-07   -.10686E-02
  10  norm          .70592E-05    9.5531        .17828E-06** at limit **
  11  Prefactor     18.744        1.4764       -.14123E-06    .61842E-01
  12  norm          2.0997        1.0678       -.62067E-07    .75003E-02
  13  Prefactor     .45186E-07    13.224       -.21838E-05** at limit **
  14  Prefactor     .38588E-05    17.498       -.22265E-05** at limit **
  15  Prefactor     6.3212        6.7920        .18283E-05    .89865E-03
  16  norm          10.361        7.8091        .58627E-06    .25375E-02
  17  Prefactor     .79337E-06    15.914        .32832E-05** at limit **
  18  Normalizat    1.4304        .27463        .11507E-04    .94893E-04
  19  Prefactor     .85100        .92986E-01   -.21705E-04    .43408E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.42413
  Prefactor  = 11.091
  Prefactor  = 1.23673
  Prefactor  = 29.2174
  Prefactor  = 2.22045e-10
  norm       = 0
  Prefactor  = 31.4463
  norm       = 1.11022e-10
  Prefactor  = 1.06047
  norm       = 7.05919e-06
  Prefactor  = 18.7436
  norm       = 2.09972
  Prefactor  = 4.51861e-08
  Prefactor  = 3.8588e-06
  Prefactor  = 6.32123
  norm       = 10.3612
  Prefactor  = 7.93365e-07
  Normalizat = 1.43035
  Prefactor  = 0.850996
 **********
 **   18 **HESSE 
 **********

 FCN=   10006.07     FROM HESSE     STATUS=OK           304 CALLS     1935 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4241        6.7676        .65740E-03   -1.5677    
   2  Prefactor     11.091        33.142        .30042E-03   -1.5641    
   3  Prefactor     1.2367        75.463        .10101E-02   -1.5686    
   4  Prefactor     29.217        76.922        .18503E-03   -1.5600    
   5  Prefactor     .22204E-09    5.9341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        2.7951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     31.446        21.575        .17833E-03   -1.5596    
   8  norm          .11102E-09    4.7393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.0605        3.5113        .11862E-02   -1.5687    
  10  norm          .70592E-05    23.360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.744        329.84        .23091E-03   -1.5621    
  12  norm          2.0997        1.0661        .71190E-04   -1.5679    
  13  Prefactor     .45186E-07    13.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .38588E-05    25.872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.3212        6.8093        .39901E-03   -1.5658    
  16  norm          10.361        7.8101        .31103E-03   -1.5644    
  17  Prefactor     .79337E-06    17.346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.4304        .23861        .86716E-01   -.79755    
  19  Prefactor     .85100        .78471E-01    .44376E-01   -.97875    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67867e-06
Minuit parameter uncertainties:
  1  6.7676
  2  33.143
  3  19.3214
  4  76.9246
  5  7.26347e-05
  6  7.01258e-06
  7  21.5748
  8  4.53634e-05
  9  3.51134
  10  0.0256828
  11  157.266
  12  1.06615
  13  0.00155071
  14  0.0199835
  15  6.80927
  16  7.81013
  17  0.00741934
  18  0.238796
  19  0.0784817
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  7.059e-06  2.568e-02  0.000e+00  1.000e+06 ( 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 -5.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:  8.510e-01  7.848e-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.430e+00  2.388e-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: 2.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.87e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/114905/likelihoodResults_696038401_696297601_4FGL_J1736.0+2033_daily_bin1762.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) = 10006.0681002
delta logL = -1.98237448785e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10006.0680804
delta logL = -2.04072421184e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29787E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .31490       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85096       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=   10006.07     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      269 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12768E-08    1.0532        .42118E-03** at limit **
   2  alpha         2.7194        2.5216        .50000        .81855E-10
   3  Normalizat    1.4303        .16296E-02    .86717E-01   -.12664E-02
   4  Prefactor     .85100        .55236E-03    .44377E-01   -.18748E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.27676e-09
  alpha      = 2.71938
  Normalizat = 1.43034
  Prefactor  = 0.850998
 **********
 **   18 **HESSE 
 **********

 FCN=   10006.07     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      294 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12768E-08    5.7785        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7194        3.2519        .50000        .87866E-01
   3  Normalizat    1.4303        .38087E-02    .38395E-03   -.79755    
   4  Prefactor     .85100        .12929E-02    .16272E-03   -.97875    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.10836e-11
Minuit parameter uncertainties:
  1  0.000172965
  2  88699.2
  3  0.00380866
  4  0.00129294
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/114905': 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) = 10006.0680802
delta logL = 1.49528204929e-07

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.277e-09  1.730e-04  0.000e+00  1.000e+06 ( 1.000e-14)
285        alpha:  2.719e+00  8.870e+04  0.000e+00  5.000e+00 ( 1.000e+00)
286         beta:  1.473e-01  0.000e+00 -5.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:  8.510e-01  1.293e-03  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.430e+00  3.809e-03  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/114905/cmap_HighResolution_696038401_696297601_4FGL_J1736.0+2033_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.87e-05', job_status='DONE', photon_flux_upper_limit='2.45e-08', time_completed='2023-01-25 01:31:30.269485', job_id='114905', GAL2='0.85', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1674639090.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.50e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='1762' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:31:30 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 114905: <4FGL_J1736.0+2033_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1736.0+2033_daily_bin1762> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Jan 25 01:15:26 2023
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:17:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:17:15 2023
Terminated at Wed Jan 25 01:31:31 2023
Results reported at Wed Jan 25 01:31:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin1762 264.019 20.5559 696038401 696297601 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 :                                   746.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            965 sec.

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

