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


Performing analysis on: 4FGL_J1935.2+2029_weekly_bin716
RA = 293.818, Dec = 20.4908
tmin = 672019201, tmax = 672624001
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='659232', job_status='RUN', time_executed='2022-04-26 01:19:39.862529', time_epoch_executed='1650961179.86' WHERE source_name='4FGL J1935.2+2029' and cadence='weekly' and bin_id='716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659232

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659232/ft1_4FGL_J1935.2+2029_weekly_bin716.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659232/ft2_4FGL_J1935.2+2029_weekly_bin716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659232/ft1_4FGL_J1935.2+2029_weekly_bin716.fits outfile=/scratch/kocevski/659232/ft1_filteredMKT_4FGL_J1935.2+2029_weekly_bin716.fits ra=293.818 dec=20.4908 rad=12.0 tmin=672019201.0 tmax=672624001.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 8.93
user 8.51
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/659232/ft2_4FGL_J1935.2+2029_weekly_bin716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/659232/ft2_4FGL_J1935.2+2029_weekly_bin716.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/659232/ft1_filteredMKT_4FGL_J1935.2+2029_weekly_bin716.fits evtable="EVENTS" outfile="/scratch/kocevski/659232/ft1_filtered_4FGL_J1935.2+2029_weekly_bin716.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.58
user 0.38
sys 0.17

Number of photons that the gtmktime cut: 12287

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659232/ft1_filtered_4FGL_J1935.2+2029_weekly_bin716.fits" evtable="EVENTS" scfile=/scratch/kocevski/659232/ft2_4FGL_J1935.2+2029_weekly_bin716.fits sctable="SC_DATA" outfile=/scratch/kocevski/659232/ltcube_672019201_672624001_4FGL_J1935.2+2029_weekly_bin716.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/659232/ft2_4FGL_J1935.2+2029_weekly_bin716.fits
.....................!
real 29.33
user 28.79
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659232/ft1_filtered_4FGL_J1935.2+2029_weekly_bin716.fits evtable="EVENTS" scfile=/scratch/kocevski/659232/ft2_4FGL_J1935.2+2029_weekly_bin716.fits sctable="SC_DATA" expcube=/scratch/kocevski/659232/ltcube_672019201_672624001_4FGL_J1935.2+2029_weekly_bin716.fits outfile=/scratch/kocevski/659232/expmap_672019201_672624001_4FGL_J1935.2+2029_weekly_bin716.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/659232/ltcube_672019201_672624001_4FGL_J1935.2+2029_weekly_bin716.fits
.....................!
real 193.07
user 186.39
sys 5.53

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
Extended source W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 278 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1935.2+2029 @ 293.818 20.4908

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/659232/ft1_filtered_4FGL_J1935.2+2029_weekly_bin716.fits scfile=/scratch/kocevski/659232/ft2_4FGL_J1935.2+2029_weekly_bin716.fits outfile=/scratch/kocevski/659232/cmap_672019201_672624001_4FGL_J1935.2+2029_weekly_bin716.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=293.818 yref=20.4908 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.65
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659232/ft1_filtered_4FGL_J1935.2+2029_weekly_bin716.fits scfile=/scratch/kocevski/659232/ft2_4FGL_J1935.2+2029_weekly_bin716.fits outfile=/scratch/kocevski/659232/cmap_HighResolution_672019201_672624001_4FGL_J1935.2+2029_weekly_bin716.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=293.818 yref=20.4908 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.63
user 0.45
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/659232/ft1_filtered_4FGL_J1935.2+2029_weekly_bin716.fits evtable="EVENTS" scfile=/scratch/kocevski/659232/ft2_4FGL_J1935.2+2029_weekly_bin716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/659232/Model_4FGL_J1935.2+2029_weekly_bin716.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 Cygnus Loop
adding source EG_v02
adding source G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source W 44
adding source W 51C
Working on...
/scratch/kocevski/659232/ft1_filtered_4FGL_J1935.2+2029_weekly_bin716.fits.....................!
real 3944.87
user 3918.41
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/659232/ft1_filtered_4FGL_J1935.2+2029_weekly_bin716.fits', '/scratch/kocevski/659232/ft2_4FGL_J1935.2+2029_weekly_bin716.fits', expMap='/scratch/kocevski/659232/expmap_672019201_672624001_4FGL_J1935.2+2029_weekly_bin716.fits', expCube='/scratch/kocevski/659232/ltcube_672019201_672624001_4FGL_J1935.2+2029_weekly_bin716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/659232/Model_4FGL_J1935.2+2029_weekly_bin716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1935.2+2029'

4FGL J1935.2+2029
   Spectrum: PLSuperExpCutoff2
577    Prefactor:  1.362e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
578       Index1:  1.389e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
579        Scale:  1.411e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
580    Expfactor:  1.546e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
581       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/659232/ft1_filtered_4FGL_J1935.2+2029_weekly_bin716.fits
Spacecraft file(s): /scratch/kocevski/659232/ft2_4FGL_J1935.2+2029_weekly_bin716.fits
Exposure map: /scratch/kocevski/659232/expmap_672019201_672624001_4FGL_J1935.2+2029_weekly_bin716.fits
Exposure cube: /scratch/kocevski/659232/ltcube_672019201_672624001_4FGL_J1935.2+2029_weekly_bin716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/659232/Model_4FGL_J1935.2+2029_weekly_bin716.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) = 113141.200459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.143       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.379       1.0000         .10000E-03   10000.    
     3 'norm      '    11.488       1.0000         .10000E-03   10000.    
     4 'norm      '    2.4660       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .55763       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.818       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.8018       1.0000         .10000E-03   10000.    
    10 'Normalizat'    1.0540       1.0000         .10000E-01   10.000    
    11 'Prefactor '    1.0007       1.0000          .0000       10.000    
    12 'norm      '    6.9699       1.0000         .10000E-03   10000.    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1027E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   113141.2     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     1001 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.111        49.960        .58589E-05    .96850E-04
   2  Prefactor     12.380        12.415       -.50594E-06    .78342E-05
   3  norm          11.487        12.883       -.54306E-06    .87730E-05
   4  norm          2.4660        2.2183        .89658E-06   -.10022E-03
   5  Prefactor     .10000E-03    .50819       -.28916E-08** at limit **
   6  Prefactor     .55759        .92803        .14979E-06   -.13938E-02
   7  Prefactor     13.820        16.752       -.70951E-06   -.75849E-04
   8  Prefactor     .10000E-03    6.7540        .60223E-08** at limit **
   9  norm          2.8020        2.0937        .16232E-06    .52894E-04
  10  Normalizat    1.0538        .21103        .53180E-06   -.13189E-03
  11  Prefactor     1.0007        .16391E-01   -.17287E-06   -.13434E-04
  12  norm          6.9699        1.4218        .86379E-06   -.36289E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.1112
  Prefactor  = 12.3801
  norm       = 11.4874
  norm       = 2.46603
  Prefactor  = 0.0001
  Prefactor  = 0.55759
  Prefactor  = 13.8199
  Prefactor  = 0.0001
  norm       = 2.80204
  Normalizat = 1.05384
  Prefactor  = 1.00074
  norm       = 6.96992
 **********
 **   18 **HESSE 
 **********

 FCN=   113141.2     FROM HESSE     STATUS=OK           135 CALLS     1136 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.111        50.044        .64065E-04   -1.4456    
   2  Prefactor     12.380        12.410        .11385E-03   -1.5004    
   3  norm          11.487        12.890        .11820E-03   -1.5030    
   4  norm          2.4660        2.2159        .13021E-02   -1.5394    
   5  Prefactor     .10000E-03    .52803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55759        1.4119        .40360E-02   -1.5559    
   7  Prefactor     13.820        16.657        .10775E-03   -1.4964    
   8  Prefactor     .10000E-03    6.7601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8020        2.0827        .24304E-03   -1.5373    
  10  Normalizat    1.0538        .19421        .14584E-02   -.91248    
  11  Prefactor     1.0007        .15560E-01    .11434E-03   -.92705    
  12  norm          6.9699        1.4224        .75980E-03   -1.5180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07124e-07
Minuit parameter uncertainties:
  1  50.0976
  2  12.413
  3  12.8936
  4  2.21592
  5  1.77305e-07
  6  1.41201
  7  16.6628
  8  1.47604e-06
  9  2.08272
  10  0.194342
  11  0.0155601
  12  1.42241
Done.

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

Extracting fit parameters...

4FGL J1935.2+2029
   Spectrum: PLSuperExpCutoff2
577    Prefactor:  1.000e-04  1.773e-07  1.000e-04  1.000e+04 ( 1.000e-11)
578       Index1:  1.389e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
579        Scale:  1.411e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
580    Expfactor:  1.546e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
581       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1013    Prefactor:  1.001e+00  1.556e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1014        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1015        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1009   Normalization:  1.054e+00  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 293.818 20.491
Photon Flux Upper Limit: 6.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.33e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659232/likelihoodResults_672019201_672624001_4FGL_J1935.2+2029_weekly_bin716.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) = 113141.194887
delta logL = -0.00903236513841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 113141.185849
delta logL = 5.78109757043e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index1    '    1.3480       1.0000          .0000       10.000    
     3 'Normalizat'    1.0538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0007       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1027E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   113141.2     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      247 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .10879        .90712E-01** at limit **
   2  Index1        .43342        5.6331        .50000        .24338E-06
   3  Normalizat    1.0538        .33044E-02    .32461        .57965E-03
   4  Prefactor     1.0007        .25442E-03    .25871E-01   -.49443E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index1     = 0.433424
  Normalizat = 1.05384
  Prefactor  = 1.00074
 **********
 **   18 **HESSE 
 **********

 FCN=   113141.2     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      282 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.068        .39771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index1        .43342        7.1407        .50000       -1.1514    
   3  Normalizat    1.0538        .23437E-01    .14584E-02   -.91248    
   4  Prefactor     1.0007        .18351E-02    .11434E-03   -.92705    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.44401e-10
Minuit parameter uncertainties:
  1  1.66675e-05
  2  266.451
  3  0.0234376
  4  0.0018351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659232': 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) = 113141.185799
delta logL = 5.57470339118e-05

Extracting fit parameters...

4FGL J1935.2+2029
   Spectrum: PLSuperExpCutoff2
577    Prefactor:  1.000e-04  1.667e-05  1.000e-04  1.000e+04 ( 1.000e-11)
578       Index1:  4.334e-01  2.665e+02  0.000e+00  1.000e+01 (-1.000e+00)
579        Scale:  1.411e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
580    Expfactor:  1.546e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
581       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1013    Prefactor:  1.001e+00  1.835e-03  0.000e+00  1.000e+01 ( 1.000e+00)
1014        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1015        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1009   Normalization:  1.054e+00  2.344e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 293.818 20.491

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/659232/cmap_HighResolution_672019201_672624001_4FGL_J1935.2+2029_weekly_bin716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.33e-05', job_status='DONE', photon_flux_upper_limit='6.61e-08', time_completed='2022-04-26 03:50:58.156360', job_id='659232', GAL2='1.00', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1650970258.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='5.57e-05', ts2='-0.00', photon_index_error='0.00', photon_index='1.39' WHERE bin_id='716' AND source_name='4FGL J1935.2+2029' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 26 03:50:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 659232: <4FGL_J1935.2+2029_weekly_bin716> in cluster <slac> Done

Job <4FGL_J1935.2+2029_weekly_bin716> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 26 00:50:22 2022
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 26 01:18:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 26 01:18:28 2022
Terminated at Tue Apr 26 03:51:00 2022
Results reported at Tue Apr 26 03:51:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9029.00 sec.
    Max Memory :                                 1272 MB
    Average Memory :                             598.51 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9151 sec.
    Turnaround time :                            10838 sec.

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

