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


Performing analysis on: 4FGL_J1736.0+2033_daily_bin1770
RA = 264.019, Dec = 20.5559
tmin = 698112001, tmax = 698371201
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='493770', job_status='RUN', time_executed='2023-02-18 01:22:15.965690', time_epoch_executed='1676712135.97' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/493770

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/493770/ft1_4FGL_J1736.0+2033_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/493770/ft2_4FGL_J1736.0+2033_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/493770/ft1_4FGL_J1736.0+2033_daily_bin1770.fits outfile=/scratch/kocevski/493770/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin1770.fits ra=264.019 dec=20.5559 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.32
user 4.10
sys 0.20

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

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

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

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

Number of photons that the gtmktime cut: 1228

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/493770/ft1_filtered_4FGL_J1736.0+2033_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/493770/ft2_4FGL_J1736.0+2033_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/493770/ltcube_698112001_698371201_4FGL_J1736.0+2033_daily_bin1770.fits outfile=/scratch/kocevski/493770/expmap_698112001_698371201_4FGL_J1736.0+2033_daily_bin1770.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/493770/ltcube_698112001_698371201_4FGL_J1736.0+2033_daily_bin1770.fits
.....................!
real 189.49
user 184.55
sys 4.59

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/493770/ft1_filtered_4FGL_J1736.0+2033_daily_bin1770.fits scfile=/scratch/kocevski/493770/ft2_4FGL_J1736.0+2033_daily_bin1770.fits outfile=/scratch/kocevski/493770/cmap_698112001_698371201_4FGL_J1736.0+2033_daily_bin1770.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/493770/ft1_filtered_4FGL_J1736.0+2033_daily_bin1770.fits scfile=/scratch/kocevski/493770/ft2_4FGL_J1736.0+2033_daily_bin1770.fits outfile=/scratch/kocevski/493770/cmap_HighResolution_698112001_698371201_4FGL_J1736.0+2033_daily_bin1770.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.54
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22655E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18221E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.1952       1.0000          .0000       .10000E+07
     4 'Prefactor '    115.62       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17371E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .53200       1.0000          .0000       .10000E+07
     7 'Prefactor '    .43262E-01   1.0000          .0000       .10000E+07
     8 'norm      '    29.156       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.0123       1.0000          .0000       .10000E+07
    10 'norm      '    28.650       1.0000          .0000       .10000E+07
    11 'Prefactor '    23.628       1.0000          .0000       .10000E+07
    12 'norm      '    .21932E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.5119       1.0000          .0000       .10000E+07
    14 'Prefactor '    106.84       1.0000          .0000       .10000E+07
    15 'Prefactor '    .64347E-03   1.0000          .0000       .10000E+07
    16 'norm      '    4.8937       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18164E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .61227       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1251       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=   12722.98     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     1513 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    7.2828        .48343E-05** at limit **
   2  Prefactor     .61062E-09    8.2633       -.41788E-06** at limit **
   3  Prefactor     3.3349        77.081        .17938E-04    .11644E-02
   4  Prefactor     116.13        7.2382        .75809E-06   -.42268E-01
   5  Prefactor     .32752E-08    6.0961        .74107E-06** at limit **
   6  norm          .53371        1.5441        .51233E-06   -.32644E-03
   7  Prefactor     .28866E-08    43.987       -.58460E-05** at limit **
   8  norm          28.879        14.510       -.40525E-07   -.33571E-02
   9  Prefactor     1.0572        3.1578        .73599E-06   -.90547E-02
  10  norm          27.111        42.511       -.89248E-05   -.98509E-02
  11  Prefactor     41.167        93.382        .24320E-05    .11277E-01
  12  norm          .38858E-09    2.7033        .30783E-06** at limit **
  13  Prefactor     .85111E-05    395.44        .29376E-04** at limit **
  14  Prefactor     110.01        22.596        .19648E-05   -.98731E-01
  15  Prefactor      .0000        8.3226       -.10547E-06** at limit **
  16  norm          4.8553        4.5586       -.37091E-06   -.42351E-03
  17  Prefactor     .83267E-08    22.723       -.66842E-06** at limit **
  18  Normalizat    .60592        .22926       -.35310E-04   -.40950E-03
  19  Prefactor     1.1264        .83687E-01    .71565E-05   -.65300E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Prefactor  = 6.10623e-10
  Prefactor  = 3.33489
  Prefactor  = 116.131
  Prefactor  = 3.27516e-09
  norm       = 0.533706
  Prefactor  = 2.88658e-09
  norm       = 28.8789
  Prefactor  = 1.05722
  norm       = 27.1114
  Prefactor  = 41.1666
  norm       = 3.88578e-10
  Prefactor  = 8.51108e-06
  Prefactor  = 110.006
  Prefactor  = 0
  norm       = 4.85525
  Prefactor  = 8.32667e-09
  Normalizat = 0.605921
  Prefactor  = 1.12641
 **********
 **   18 **HESSE 
 **********

 FCN=   12722.98     FROM HESSE     STATUS=OK           322 CALLS     1835 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    7.2246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61062E-09    8.2761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.3349        77.562        .56660E-03   -1.5671    
   4  Prefactor     116.13        65.942        .93006E-04   -1.5492    
   5  Prefactor     .32752E-08    6.1066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .53371        1.5606        .75554E-03   -1.5693    
   7  Prefactor     .28866E-08    8.1106        .10356E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          28.879        14.827        .18523E-03   -1.5600    
   9  Prefactor     1.0572        3.3355        .44199E-03   -1.5687    
  10  norm          27.111        42.642        .18686E-03   -1.5604    
  11  Prefactor     41.167        97.588        .20577E-03   -1.5580    
  12  norm          .38858E-09    .47261        .24805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .85111E-05    53.436        .12873E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     110.01        95.419        .96751E-04   -1.5498    
  15  Prefactor      .0000        8.2910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.8553        4.5571        .45445E-03   -1.5664    
  17  Prefactor     .83267E-08    22.713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .60592        .22009        .11669       -1.0773    
  19  Prefactor     1.1264        .78369E-01    .36702E-01   -.88627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52434e-06
Minuit parameter uncertainties:
  1  0.000174531
  2  0.000140872
  3  32.1664
  4  65.942
  5  0.000283275
  6  1.5606
  7  0.00030497
  8  14.8269
  9  3.33555
  10  42.6428
  11  97.5919
  12  2.63377e-05
  13  0.0426524
  14  95.4203
  15  2.6948e-05
  16  4.5571
  17  0.000868461
  18  0.220409
  19  0.0783766
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  2.711e+01  4.264e+01  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:  1.126e+00  7.838e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
631   Normalization:  6.059e-01  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.67
Ra Dec: 264.019 20.556
Photon Flux Upper Limit: 3.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.11e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/493770/likelihoodResults_698112001_698371201_4FGL_J1736.0+2033_daily_bin1770.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) = 12722.9568604
delta logL = 0.0256578542248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12722.9551727
delta logL = 0.0273455756906

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.778       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0266       1.0000          .0000       5.0000    
     3 'Normalizat'    .60430       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1263       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=   12722.96     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      252 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.741        43.674        .80375E-05   -.42434E-04
   2  alpha         2.0201        1.2243        .32738E-01    .14718E-03
   3  Normalizat    .60433        .22169        .51810E-03    .53980E-04
   4  Prefactor     1.1263        .82676E-01    .14380E-03   -.20998E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 24.7409
  alpha      = 2.02011
  Normalizat = 0.604326
  Prefactor  = 1.12633
 **********
 **   18 **HESSE 
 **********

 FCN=   12722.96     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.741        41.803        .32150E-06   -1.5608    
   2  alpha         2.0201        1.1767        .65475E-02   -.19316    
   3  Normalizat    .60433        .22162        .20724E-04   -1.0780    
   4  Prefactor     1.1263        .82686E-01    .57521E-05   -.88629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03452e-10
Minuit parameter uncertainties:
  1  41.8039
  2  1.22729
  3  0.221948
  4  0.0826956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/493770': 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) = 12722.9551517
delta logL = 0.0273665230452

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  2.474e+01  4.180e+01  0.000e+00  1.000e+06 ( 1.000e-14)
285        alpha:  2.020e+00  1.227e+00  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:  1.126e+00  8.270e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
631   Normalization:  6.043e-01  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.67
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/493770/cmap_HighResolution_698112001_698371201_4FGL_J1736.0+2033_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.11e-05', job_status='DONE', photon_flux_upper_limit='3.23e-08', time_completed='2023-02-18 01:36:10.487419', job_id='493770', GAL2='1.13', fit_tolerance='1e-08', EG2='0.60', EG='0.61', time_epoch_completed='1676712970.49', return_code2='0', ts='0.67', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.74e-02', ts2='0.72', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='1770' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 01:36:10 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 493770: <4FGL_J1736.0+2033_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1736.0+2033_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 01:20:16 2023
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 01:20:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 01:20:18 2023
Terminated at Sat Feb 18 01:36:11 2023
Results reported at Sat Feb 18 01:36:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin1770 264.019 20.5559 698112001 698371201 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 :                                   836.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            955 sec.

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

