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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1762
RA = 352.629, Dec = 11.0479
tmin = 696038401, tmax = 696297601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='123383', job_status='RUN', time_executed='2023-01-25 01:48:33.525112', time_epoch_executed='1674640113.53' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/123383

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/123383/ft1_4FGL_J2330.5+1102_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/123383/ft2_4FGL_J2330.5+1102_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/123383/ft1_4FGL_J2330.5+1102_daily_bin1762.fits outfile=/scratch/kocevski/123383/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1762.fits ra=352.629 dec=11.0479 rad=12.0 tmin=696038401.0 tmax=696297601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.72
user 3.46
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/123383/ft2_4FGL_J2330.5+1102_daily_bin1762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/123383/ft2_4FGL_J2330.5+1102_daily_bin1762.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/123383/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/123383/ft1_filtered_4FGL_J2330.5+1102_daily_bin1762.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 599

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/123383/ft1_filtered_4FGL_J2330.5+1102_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/123383/ft2_4FGL_J2330.5+1102_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/123383/ltcube_696038401_696297601_4FGL_J2330.5+1102_daily_bin1762.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/123383/ft2_4FGL_J2330.5+1102_daily_bin1762.fits
.....................!
real 14.48
user 14.02
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/123383/ft1_filtered_4FGL_J2330.5+1102_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/123383/ft2_4FGL_J2330.5+1102_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/123383/ltcube_696038401_696297601_4FGL_J2330.5+1102_daily_bin1762.fits outfile=/scratch/kocevski/123383/expmap_696038401_696297601_4FGL_J2330.5+1102_daily_bin1762.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/123383/ltcube_696038401_696297601_4FGL_J2330.5+1102_daily_bin1762.fits
.....................!
real 192.44
user 186.03
sys 5.84

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2330.5+1102 @ 352.629 11.0479

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/123383/ft1_filtered_4FGL_J2330.5+1102_daily_bin1762.fits scfile=/scratch/kocevski/123383/ft2_4FGL_J2330.5+1102_daily_bin1762.fits outfile=/scratch/kocevski/123383/cmap_696038401_696297601_4FGL_J2330.5+1102_daily_bin1762.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.629 yref=11.0479 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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/123383/ft1_filtered_4FGL_J2330.5+1102_daily_bin1762.fits scfile=/scratch/kocevski/123383/ft2_4FGL_J2330.5+1102_daily_bin1762.fits outfile=/scratch/kocevski/123383/cmap_HighResolution_696038401_696297601_4FGL_J2330.5+1102_daily_bin1762.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.629 yref=11.0479 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/123383/ft1_filtered_4FGL_J2330.5+1102_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/123383/ft2_4FGL_J2330.5+1102_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/123383/Model_4FGL_J2330.5+1102_daily_bin1762.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/123383/ft1_filtered_4FGL_J2330.5+1102_daily_bin1762.fits.....................!
real 72.14
user 70.72
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/123383/ft1_filtered_4FGL_J2330.5+1102_daily_bin1762.fits', '/scratch/kocevski/123383/ft2_4FGL_J2330.5+1102_daily_bin1762.fits', expMap='/scratch/kocevski/123383/expmap_696038401_696297601_4FGL_J2330.5+1102_daily_bin1762.fits', expCube='/scratch/kocevski/123383/ltcube_696038401_696297601_4FGL_J2330.5+1102_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/123383/Model_4FGL_J2330.5+1102_daily_bin1762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2330.5+1102'

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  2.056e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/123383/ft1_filtered_4FGL_J2330.5+1102_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/123383/ft2_4FGL_J2330.5+1102_daily_bin1762.fits
Exposure map: /scratch/kocevski/123383/expmap_696038401_696297601_4FGL_J2330.5+1102_daily_bin1762.fits
Exposure cube: /scratch/kocevski/123383/ltcube_696038401_696297601_4FGL_J2330.5+1102_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/123383/Model_4FGL_J2330.5+1102_daily_bin1762.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6329.83360279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .82726E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.5879       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .30043E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9217       1.0000          .0000       .10000E+07
     5 'Prefactor '    .93636E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.169       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14131E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.1398       1.0000          .0000       .10000E+07
     9 'Prefactor '    70.093       1.0000          .0000       .10000E+07
    10 'norm      '    .94110E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .63355       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54924E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .52978E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .49677       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.7798       1.0000          .0000       .10000E+07
    16 'Prefactor '    .48064E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .92703       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .86299       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6329.822     FROM MIGRAD    STATUS=CONVERGED    116 CALLS     1290 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24423E-05    9.3864        .83119E-07** at limit **
   2  Prefactor     1.5884        .23342       -.11059E-06   -.86822E-04
   3  Prefactor     .26962E-05    9.3978       -.18227E-06** at limit **
   4  Prefactor     4.8349        7.1588        .56332E-07    .87040E-04
   5  Prefactor     .15543E-06    10.483       -.10663E-06** at limit **
   6  Prefactor     10.127        6.4949       -.24310E-06   -.19626E-03
   7  Prefactor     .77716E-09    4.7851       -.22645E-07** at limit **
   8  Prefactor     5.0872        1.8729       -.74648E-07   -.72564E-02
   9  Prefactor     70.189        4.6574        .48724E-07   -.17466    
  10  norm          .38691E-07    40.371       -.13216E-05** at limit **
  11  Prefactor     .61265        18.358        .33820E-06   -.19380E-01
  12  Prefactor     .23889E-05    22.606        .15254E-06** at limit **
  13  norm          .12212E-08    5.6234       -.81945E-07** at limit **
  14  Prefactor     .60579E-05    16.514        .40657E-06** at limit **
  15  Prefactor     5.7991        5.1879       -.98359E-07   -.34273E-01
  16  Prefactor      .0000        3.5534       -.29180E-06** at limit **
  17  Normalizat    .92807        .22321        .40917E-05    .22823E-05
  18  Prefactor     .86281        .13806       -.13260E-05   -.13485E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.44227e-06
  Prefactor  = 1.5884
  Prefactor  = 2.69623e-06
  Prefactor  = 4.83494
  Prefactor  = 1.55431e-07
  Prefactor  = 10.127
  Prefactor  = 7.77156e-10
  Prefactor  = 5.08717
  Prefactor  = 70.1895
  norm       = 3.86913e-08
  Prefactor  = 0.612646
  Prefactor  = 2.38887e-06
  norm       = 1.22125e-09
  Prefactor  = 6.05788e-06
  Prefactor  = 5.79912
  Prefactor  = 0
  Normalizat = 0.928074
  Prefactor  = 0.862811
 **********
 **   18 **HESSE 
 **********

 FCN=   6329.822     FROM HESSE     STATUS=OK           278 CALLS     1568 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24423E-05    17.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5884        .23373        .31704E-02   -1.5456    
   3  Prefactor     .26962E-05    16.567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.8349        7.1771        .45313E-03   -1.5664    
   5  Prefactor     .15543E-06    10.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.127        6.9530        .31396E-03   -1.5644    
   7  Prefactor     .77716E-09    4.7786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.0872        18.294        .44321E-03   -1.5663    
   9  Prefactor     70.189        58.235        .11945E-03   -1.5540    
  10  norm          .38691E-07    41.747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .61265        20.802        .66275E-03   -1.5692    
  12  Prefactor     .23889E-05    29.865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .12212E-08    5.6271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .60579E-05    89.529        .79035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.7991        17.233        .41753E-03   -1.5660    
  16  Prefactor      .0000        3.5506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .92807        .20095        .67715E-01   -.95481    
  18  Prefactor     .86281        .11843        .44532E-01   -.97453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06188e-06
Minuit parameter uncertainties:
  1  0.0132049
  2  0.233728
  3  0.0133669
  4  7.17714
  5  0.00258542
  6  6.95304
  7  0.000121762
  8  18.2941
  9  58.235
  10  0.00254257
  11  7.1399
  12  0.0168931
  13  0.000165813
  14  0.0465778
  15  17.2333
  16  1.5267e-05
  17  0.201113
  18  0.118469
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  6.126e-01  7.140e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.628e-01  1.185e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  9.281e-01  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 352.629 11.048
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/123383/likelihoodResults_696038401_696297601_4FGL_J2330.5+1102_daily_bin1762.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6328.13489363
delta logL = 1.68704119419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6328.10472502
delta logL = 1.71720980881

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36675E-01   1.0000          .0000       .10000E+07
     2 'Index     '    6.8344       1.0000          .0000       10.000    
     3 'Normalizat'    .80813       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6328.105     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      324 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36037E-01    .40347        .16117E-03** at limit **
   2  Index         6.8456        3.3176        .14878        .12370E-03
   3  Normalizat    .80754        .59877E-01    .72043E-01    .20996E-04
   4  Prefactor     .91105        .37919E-01    .45141E-01    .26323E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0360374
  Index      = 6.84562
  Normalizat = 0.807539
  Prefactor  = 0.911047
 **********
 **   18 **HESSE 
 **********

 FCN=   6328.105     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      357 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36037E-01    .79029        .95635E-06   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.8456        7.8214        .59843E-02    .37807    
   3  Normalizat    .80754        .19873        .31882E-03   -.99790    
   4  Prefactor     .91105        .12286        .19062E-03   -.95756    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.15516e-10
Minuit parameter uncertainties:
  1  0.33752
  2  5.76445
  3  0.198913
  4  0.122894
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/123383': 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) = 6328.10471453
delta logL = 1.71722029428

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  3.604e-02  3.375e-01  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  6.846e+00  5.764e+00  0.000e+00  1.000e+01 (-1.000e+00)
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  9.110e-01  1.229e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.075e-01  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.73
Ra Dec: 352.629 11.048
Photon Index (Free Index): 6.85 +/- 5.76
Photon Flux (Free Index): 8.88e-08 +/- 6.41e-08
Energy Flux (Free Index): 1.07e-05 +/- 8.94e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/123383/cmap_HighResolution_696038401_696297601_4FGL_J2330.5+1102_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.14e-03', comment='SUCCESS', energy_flux2='1.07e-05', dlogl='1.72e+00', photon_flux2='8.88e-08', job_status='DONE', time_completed='2023-01-25 01:57:46.086568', photon_index_error2='5.76', photon_index2='6.85', ts='0.01', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='8.94e-06', EG='0.93', time_epoch_completed='1674640666.09', return_code='0', job_id='123383', GAL2='0.91', EG2='0.81', return_code2='102', photon_flux_error2='6.41e-08', ts2='3.73', photon_index='2.79' WHERE bin_id='1762' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:57:46 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 123383: <4FGL_J2330.5+1102_daily_bin1762> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1762> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan 25 01:45:21 2023
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:46:37 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:46:37 2023
Terminated at Wed Jan 25 01:57:46 2023
Results reported at Wed Jan 25 01:57:46 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1762 352.629 11.0479 696038401 696297601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2330.5+1102 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   554.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            745 sec.

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

