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


Performing analysis on: 4FGL_J1736.0+2033_daily_bin1764
RA = 264.019, Dec = 20.5559
tmin = 696556801, tmax = 696816001
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='458005', job_status='RUN', time_executed='2023-01-31 01:32:28.449341', time_epoch_executed='1675157548.45' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/458005

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/458005/ft1_4FGL_J1736.0+2033_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/458005/ft2_4FGL_J1736.0+2033_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/458005/ft1_4FGL_J1736.0+2033_daily_bin1764.fits outfile=/scratch/kocevski/458005/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin1764.fits ra=264.019 dec=20.5559 rad=12.0 tmin=696556801.0 tmax=696816001.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.74
user 3.47
sys 0.22

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

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

Number of photons that the gtmktime cut: 944

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/458005/ft1_filtered_4FGL_J1736.0+2033_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/458005/ft2_4FGL_J1736.0+2033_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/458005/ltcube_696556801_696816001_4FGL_J1736.0+2033_daily_bin1764.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/458005/ft2_4FGL_J1736.0+2033_daily_bin1764.fits
.....................!
real 15.69
user 15.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/458005/ft1_filtered_4FGL_J1736.0+2033_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/458005/ft2_4FGL_J1736.0+2033_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/458005/ltcube_696556801_696816001_4FGL_J1736.0+2033_daily_bin1764.fits outfile=/scratch/kocevski/458005/expmap_696556801_696816001_4FGL_J1736.0+2033_daily_bin1764.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/458005/ltcube_696556801_696816001_4FGL_J1736.0+2033_daily_bin1764.fits
.....................!
real 193.40
user 186.78
sys 5.69

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/458005/ft1_filtered_4FGL_J1736.0+2033_daily_bin1764.fits scfile=/scratch/kocevski/458005/ft2_4FGL_J1736.0+2033_daily_bin1764.fits outfile=/scratch/kocevski/458005/cmap_696556801_696816001_4FGL_J1736.0+2033_daily_bin1764.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/458005/ft1_filtered_4FGL_J1736.0+2033_daily_bin1764.fits scfile=/scratch/kocevski/458005/ft2_4FGL_J1736.0+2033_daily_bin1764.fits outfile=/scratch/kocevski/458005/cmap_HighResolution_696556801_696816001_4FGL_J1736.0+2033_daily_bin1764.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.67
user 0.42
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10880E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.091       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58399E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    116.67       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16879E-03   1.0000          .0000       .10000E+07
     6 'norm      '    1.6235       1.0000          .0000       .10000E+07
     7 'Prefactor '    29.504       1.0000          .0000       .10000E+07
     8 'norm      '    9.2817       1.0000          .0000       .10000E+07
     9 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    10 'norm      '    .56735E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    139.19       1.0000          .0000       .10000E+07
    12 'norm      '    .58744       1.0000          .0000       .10000E+07
    13 'Prefactor '    .27893E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .52040       1.0000          .0000       .10000E+07
    15 'Prefactor '    15.275       1.0000          .0000       .10000E+07
    16 'norm      '    5.2152       1.0000          .0000       .10000E+07
    17 'Prefactor '    38.191       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0264       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98522       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=   9925.501     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1529 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14283E-06    37.728        .10441E-04** at limit **
   2  Prefactor     12.121        7.2664       -.19257E-05   -.56490E-01
   3  Prefactor     .51070E-08    9.6495        .73812E-09** at limit **
   4  Prefactor     116.62        2.9721       -.12836E-07    .59799E-02
   5  Prefactor     .13545E-07    18.542       -.83856E-06** at limit **
   6  norm          1.6233        2.1595        .21481E-06    .16626E-02
   7  Prefactor     29.497        16.145        .18772E-05    .14329E-01
   8  norm          9.2473        9.2888        .39037E-06   -.58884E-03
   9  Prefactor     .55511E-10    1.1590       -.72031E-06** at limit **
  10  norm          .37859E-07    23.127       -.17886E-05** at limit **
  11  Prefactor     139.50        20.746        .36991E-06   -.14416    
  12  norm          .58737        .69839        .13373E-06   -.21419E-02
  13  Prefactor     .13545E-07    13.413        .55728E-06** at limit **
  14  Prefactor     .95103E-04    1796.6        .25098E-04** at limit **
  15  Prefactor     15.322        10.676       -.60524E-06   -.31126E-02
  16  norm          5.2131        5.6090       -.34761E-06   -.28489E-03
  17  Prefactor     37.995        34.293        .60656E-05    .37945E-02
  18  Normalizat    1.0264        .26240        .16833E-04   -.17951E-03
  19  Prefactor     .98530        .95955E-01   -.76803E-05   -.26147E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4283e-07
  Prefactor  = 12.121
  Prefactor  = 5.10703e-09
  Prefactor  = 116.621
  Prefactor  = 1.35447e-08
  norm       = 1.62329
  Prefactor  = 29.4968
  norm       = 9.24731
  Prefactor  = 5.55112e-11
  norm       = 3.78586e-08
  Prefactor  = 139.501
  norm       = 0.587367
  Prefactor  = 1.35447e-08
  Prefactor  = 9.51034e-05
  Prefactor  = 15.3218
  norm       = 5.21309
  Prefactor  = 37.9952
  Normalizat = 1.02635
  Prefactor  = 0.985303
 **********
 **   18 **HESSE 
 **********

 FCN=   9925.501     FROM HESSE     STATUS=OK           324 CALLS     1853 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14283E-06    3.9394        .64032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.121        21.436        .28784E-03   -1.5638    
   3  Prefactor     .51070E-08    9.6909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     116.62        88.386        .92589E-04   -1.5492    
   5  Prefactor     .13545E-07    18.717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6233        2.1834        .83010E-03   -1.5682    
   7  Prefactor     29.497        16.186        .18413E-03   -1.5599    
   8  norm          9.2473        9.2906        .32872E-03   -1.5647    
   9  Prefactor     .55511E-10    1.1575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .37859E-07    23.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     139.50        132.59        .84767E-04   -1.5472    
  12  norm          .58737        .70885        .70361E-03   -1.5693    
  13  Prefactor     .13545E-07    13.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .95103E-04    46.301        .17071E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.322        10.718        .25600E-03   -1.5630    
  16  norm          5.2131        5.6096        .43994E-03   -1.5662    
  17  Prefactor     37.995        35.090        .16183E-03   -1.5585    
  18  Normalizat    1.0264        .23637        .95997E-01   -.92153    
  19  Prefactor     .98530        .83863E-01    .35140E-01   -.93221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7589e-06
Minuit parameter uncertainties:
  1  0.00150029
  2  21.4359
  3  0.000446104
  4  88.3874
  5  0.00100632
  6  2.18338
  7  16.1858
  8  9.29063
  9  1.61294e-05
  10  0.00188578
  11  132.596
  12  0.708852
  13  0.000857168
  14  0.132717
  15  10.7183
  16  5.60957
  17  35.0898
  18  0.236614
  19  0.0838743
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  3.786e-08  1.886e-03  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:  9.853e-01  8.387e-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.026e+00  2.366e-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.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/458005/likelihoodResults_696556801_696816001_4FGL_J1736.0+2033_daily_bin1764.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) = 9925.50154267
delta logL = -0.000486200913656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9925.5010565
delta logL = -3.11410985887e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46957E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .76784       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0263       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98532       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=   9925.501     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      260 TOTAL
                     EDM=   .39E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44409E-09    .97277        .42118E-03** at limit **
   2  alpha         1.8600        3.1506        .51000        .17833E-10
   3  Normalizat    1.0264        .12378E-02    .95997E-01   -.15685E-04
   4  Prefactor     .98530        .44598E-03    .35140E-01   -.15133E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.44089e-10
  alpha      = 1.85997
  Normalizat = 1.02635
  Prefactor  = 0.985303
 **********
 **   18 **HESSE 
 **********

 FCN=   9925.501     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      287 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44409E-09    5.0646        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8600        3.8999        .50000       -.25889    
   3  Normalizat    1.0264        .28162E-02    .42527E-03   -.92153    
   4  Prefactor     .98530        .10175E-02    .15527E-03   -.93221    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.05586e-12
Minuit parameter uncertainties:
  1  9.68756e-05
  2  101095
  3  0.00281622
  4  0.00101752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/458005': 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) = 9925.50105647
delta logL = 8.38554115035e-10

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  4.441e-10  9.688e-05  0.000e+00  1.000e+06 ( 1.000e-14)
285        alpha:  1.860e+00  1.011e+05  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:  9.853e-01  1.018e-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.026e+00  2.816e-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/458005/cmap_HighResolution_696556801_696816001_4FGL_J1736.0+2033_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.74e-05', job_status='DONE', photon_flux_upper_limit='2.37e-08', time_completed='2023-01-31 01:45:23.387403', job_id='458005', GAL2='0.99', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1675158323.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='8.39e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='1764' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 01:45:23 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 458005: <4FGL_J1736.0+2033_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1736.0+2033_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 01:30:22 2023
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:31:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:31:20 2023
Terminated at Tue Jan 31 01:45:24 2023
Results reported at Tue Jan 31 01:45:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin1764 264.019 20.5559 696556801 696816001 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 :                                   775.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            902 sec.

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

