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


Performing analysis on: 4FGL_J2334.8+1432_weekly_bin763
RA = 353.723, Dec = 14.5346
tmin = 700444801, tmax = 701049601
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='450750', job_status='RUN', time_executed='2023-03-21 03:12:43.038432', time_epoch_executed='1679393563.04' WHERE source_name='4FGL J2334.8+1432' and cadence='weekly' and bin_id='763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/450750

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/450750/ft1_4FGL_J2334.8+1432_weekly_bin763.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/450750/ft2_4FGL_J2334.8+1432_weekly_bin763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/450750/ft1_4FGL_J2334.8+1432_weekly_bin763.fits outfile=/scratch/kocevski/450750/ft1_filteredMKT_4FGL_J2334.8+1432_weekly_bin763.fits ra=353.723 dec=14.5346 rad=12.0 tmin=700444801.0 tmax=701049601.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 9.73
user 9.39
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/450750/ft2_4FGL_J2334.8+1432_weekly_bin763.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/450750/ft2_4FGL_J2334.8+1432_weekly_bin763.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/450750/ft1_filteredMKT_4FGL_J2334.8+1432_weekly_bin763.fits evtable="EVENTS" outfile="/scratch/kocevski/450750/ft1_filtered_4FGL_J2334.8+1432_weekly_bin763.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 890

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/450750/ft1_filtered_4FGL_J2334.8+1432_weekly_bin763.fits" evtable="EVENTS" scfile=/scratch/kocevski/450750/ft2_4FGL_J2334.8+1432_weekly_bin763.fits sctable="SC_DATA" outfile=/scratch/kocevski/450750/ltcube_700444801_701049601_4FGL_J2334.8+1432_weekly_bin763.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/450750/ft2_4FGL_J2334.8+1432_weekly_bin763.fits
.....................!
real 27.70
user 27.15
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/450750/ft1_filtered_4FGL_J2334.8+1432_weekly_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/450750/ft2_4FGL_J2334.8+1432_weekly_bin763.fits sctable="SC_DATA" expcube=/scratch/kocevski/450750/ltcube_700444801_701049601_4FGL_J2334.8+1432_weekly_bin763.fits outfile=/scratch/kocevski/450750/expmap_700444801_701049601_4FGL_J2334.8+1432_weekly_bin763.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/450750/ltcube_700444801_701049601_4FGL_J2334.8+1432_weekly_bin763.fits
.....................!
real 190.41
user 185.62
sys 4.03

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2334.8+1432 @ 353.723 14.5346

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/450750/ft1_filtered_4FGL_J2334.8+1432_weekly_bin763.fits scfile=/scratch/kocevski/450750/ft2_4FGL_J2334.8+1432_weekly_bin763.fits outfile=/scratch/kocevski/450750/cmap_700444801_701049601_4FGL_J2334.8+1432_weekly_bin763.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=353.723 yref=14.5346 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.42
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/450750/ft1_filtered_4FGL_J2334.8+1432_weekly_bin763.fits scfile=/scratch/kocevski/450750/ft2_4FGL_J2334.8+1432_weekly_bin763.fits outfile=/scratch/kocevski/450750/cmap_HighResolution_700444801_701049601_4FGL_J2334.8+1432_weekly_bin763.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=353.723 yref=14.5346 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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/450750/ft1_filtered_4FGL_J2334.8+1432_weekly_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/450750/ft2_4FGL_J2334.8+1432_weekly_bin763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/450750/Model_4FGL_J2334.8+1432_weekly_bin763.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/450750/ft1_filtered_4FGL_J2334.8+1432_weekly_bin763.fits.....................!
real 101.11
user 99.64
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/450750/ft1_filtered_4FGL_J2334.8+1432_weekly_bin763.fits', '/scratch/kocevski/450750/ft2_4FGL_J2334.8+1432_weekly_bin763.fits', expMap='/scratch/kocevski/450750/expmap_700444801_701049601_4FGL_J2334.8+1432_weekly_bin763.fits', expCube='/scratch/kocevski/450750/ltcube_700444801_701049601_4FGL_J2334.8+1432_weekly_bin763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/450750/Model_4FGL_J2334.8+1432_weekly_bin763.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2334.8+1432'

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  4.331e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/450750/ft1_filtered_4FGL_J2334.8+1432_weekly_bin763.fits
Spacecraft file(s): /scratch/kocevski/450750/ft2_4FGL_J2334.8+1432_weekly_bin763.fits
Exposure map: /scratch/kocevski/450750/expmap_700444801_701049601_4FGL_J2334.8+1432_weekly_bin763.fits
Exposure cube: /scratch/kocevski/450750/ltcube_700444801_701049601_4FGL_J2334.8+1432_weekly_bin763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/450750/Model_4FGL_J2334.8+1432_weekly_bin763.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) = 9633.68761119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15324E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    25.931       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13983E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .61747E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19139       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .62902E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.1227       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.2465       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3081       1.0000          .0000       .10000E+07
    10 'Prefactor '    .21871E-01   1.0000          .0000       .10000E+07
    11 'norm      '    14.264       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.0406       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.262       1.0000          .0000       .10000E+07
    14 'norm      '    .11376E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    102.84       1.0000          .0000       .10000E+07
    16 'Prefactor '    .62019E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25904E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    .87236       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0478       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9633.687     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1433 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    4.2545        .27270E-06** at limit **
   2  Prefactor     25.818        10.694        .99954E-08   -.22914E-01
   3  Prefactor     .22760E-08    6.4239       -.32687E-06** at limit **
   4  Prefactor     .12146E-06    2.5144       -.22291E-06** at limit **
   5  Prefactor     .19118        .91080E-01   -.30290E-07   -.45981E-03
   6  Prefactor     .30920E-07    22.398        .69420E-06** at limit **
   7  Prefactor     8.2379        6.0808       -.52026E-07   -.91777E-04
   8  Prefactor     5.2004        5.4561       -.46576E-07   -.13390E-02
   9  Prefactor     4.2980        5.3604        .85391E-07    .32768E-02
  10  Prefactor     .14821E-07    27.859        .72692E-07** at limit **
  11  norm          14.258        2.2864        .11432E-07   -.24449E-01
  12  Prefactor     6.0448        4.9180        .46967E-07    .58844E-02
  13  Prefactor     14.272        1.0543       -.26193E-09    .22363E-02
  14  norm          .58842E-07    5.4039       -.12608E-06** at limit **
  15  Prefactor     102.91        3.0736        .43036E-08   -.32236    
  16  Prefactor     .19373E-07    14.477        .21402E-06** at limit **
  17  Prefactor      .0000        2.3637       -.15437E-06** at limit **
  18  Normalizat    .87282        .19537        .59876E-05    .30251E-06
  19  Prefactor     1.0477        .12019       -.35300E-05   -.10876E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 25.8176
  Prefactor  = 2.27596e-09
  Prefactor  = 1.21458e-07
  Prefactor  = 0.191182
  Prefactor  = 3.09197e-08
  Prefactor  = 8.23787
  Prefactor  = 5.20043
  Prefactor  = 4.29804
  Prefactor  = 1.48215e-08
  norm       = 14.2584
  Prefactor  = 6.04475
  Prefactor  = 14.2715
  norm       = 5.88418e-08
  Prefactor  = 102.909
  Prefactor  = 1.93734e-08
  Prefactor  = 0
  Normalizat = 0.872823
  Prefactor  = 1.04768
 **********
 **   18 **HESSE 
 **********

 FCN=   9633.687     FROM HESSE     STATUS=OK           314 CALLS     1747 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    1.0247        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.818        11.070        .19641E-03   -1.5606    
   3  Prefactor     .22760E-08    7.7507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12146E-06    6.9721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19118        .92976E-01    .44483E-02   -1.5621    
   6  Prefactor     .30920E-07    22.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.2379        6.0951        .35154E-03   -1.5651    
   8  Prefactor     5.2004        5.7343        .43860E-03   -1.5662    
   9  Prefactor     4.2980        5.5080        .48511E-03   -1.5666    
  10  Prefactor     .14821E-07    9.8588        .92935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.258        8.5085        .26494E-03   -1.5632    
  12  Prefactor     6.0448        5.7757        .40829E-03   -1.5659    
  13  Prefactor     14.272        14.696        .26496E-03   -1.5632    
  14  norm          .58842E-07    6.4858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     102.91        54.981        .98615E-04   -1.5505    
  16  Prefactor     .19373E-07    14.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.3618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .87282        .17212        .73607E-01   -.97422    
  19  Prefactor     1.0477        .10407        .40038E-01   -.91157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13597e-06
Minuit parameter uncertainties:
  1  1.11882e-05
  2  11.0705
  3  0.000267089
  4  0.00184054
  5  0.0929758
  6  0.00166541
  7  6.09506
  8  5.73433
  9  5.50801
  10  0.000764488
  11  8.5085
  12  5.77569
  13  14.696
  14  0.00123545
  15  54.9818
  16  0.00106029
  17  1.35204e-06
  18  0.172226
  19  0.104087
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  5.884e-08  1.235e-03  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.048e+00  1.041e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  8.728e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 353.723 14.535
Photon Flux Upper Limit: 3.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/450750/likelihoodResults_700444801_701049601_4FGL_J2334.8+1432_weekly_bin763.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) = 9633.6867814
delta logL = -2.59926437138e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9633.68676764
delta logL = -1.22352012113e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32859E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    1.1781       1.0000          .0000       5.0000    
     3 'Normalizat'    .87218       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0479       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9633.687     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      238 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.4844        .42118E-03** at limit **
   2  alpha         2.7322        1.2605       -.13647E-04     .0000    
   3  Normalizat    .87282        1.2091       -.33209E-05   -.11244E-04
   4  Prefactor     1.0477        1.1936       -.16702E-05    .11997E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.73224
  Normalizat = 0.872821
  Prefactor  = 1.04768
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9633.687     FROM HESSE     STATUS=FAILED         7 CALLS      245 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.4844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4875        1.2605       -.13647E-04    .93032E-01
   3  Normalizat    .87282        1.2091       -.33209E-05   -.97422    
   4  Prefactor     1.0477        1.1936       -.16702E-05   -.91157    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.73464e-11
Minuit parameter uncertainties:
  1  2.35365e-06
  2  1.32172
  3  1.25005
  4  1.22608
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/450750': 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): 101
logL (Free Index) = 9633.6867554
delta logL = 4.52746462543e-09

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  0.000e+00  2.354e-06  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  2.732e+00  1.322e+00  0.000e+00  5.000e+00 ( 1.000e+00)
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.048e+00  1.226e+00  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  8.728e-01  1.250e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 353.723 14.535

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/450750/cmap_HighResolution_700444801_701049601_4FGL_J2334.8+1432_weekly_bin763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-05', job_status='DONE', photon_flux_upper_limit='3.73e-08', time_completed='2023-03-21 03:24:38.934931', job_id='450750', GAL2='1.05', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1679394278.93', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='4.53e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='763' AND source_name='4FGL J2334.8+1432' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 21 03:24:38 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 450750: <4FGL_J2334.8+1432_weekly_bin763> in cluster <slac> Done

Job <4FGL_J2334.8+1432_weekly_bin763> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Mar 21 03:10:21 2023
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 21 03:10:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 21 03:10:21 2023
Terminated at Tue Mar 21 03:24:39 2023
Results reported at Tue Mar 21 03:24:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_weekly_bin763 353.723 14.5346 700444801 701049601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2334.8+1432 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   714.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             308.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            858 sec.

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

