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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1667
RA = 352.629, Dec = 11.0479
tmin = 671414401, tmax = 671673601
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='534427', job_status='RUN', time_executed='2022-04-15 03:48:26.231117', time_epoch_executed='1650019706.23' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534427

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534427/ft1_4FGL_J2330.5+1102_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534427/ft2_4FGL_J2330.5+1102_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534427/ft1_4FGL_J2330.5+1102_daily_bin1667.fits outfile=/scratch/kocevski/534427/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1667.fits ra=352.629 dec=11.0479 rad=12.0 tmin=671414401.0 tmax=671673601.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.51
user 3.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534427/ft2_4FGL_J2330.5+1102_daily_bin1667.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/534427/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1667.fits evtable="EVENTS" outfile="/scratch/kocevski/534427/ft1_filtered_4FGL_J2330.5+1102_daily_bin1667.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 723

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534427/ft1_filtered_4FGL_J2330.5+1102_daily_bin1667.fits" evtable="EVENTS" scfile=/scratch/kocevski/534427/ft2_4FGL_J2330.5+1102_daily_bin1667.fits sctable="SC_DATA" outfile=/scratch/kocevski/534427/ltcube_671414401_671673601_4FGL_J2330.5+1102_daily_bin1667.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/534427/ft2_4FGL_J2330.5+1102_daily_bin1667.fits
.....................!
real 13.40
user 13.04
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534427/ft1_filtered_4FGL_J2330.5+1102_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/534427/ft2_4FGL_J2330.5+1102_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/534427/ltcube_671414401_671673601_4FGL_J2330.5+1102_daily_bin1667.fits outfile=/scratch/kocevski/534427/expmap_671414401_671673601_4FGL_J2330.5+1102_daily_bin1667.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/534427/ltcube_671414401_671673601_4FGL_J2330.5+1102_daily_bin1667.fits
.....................!
real 191.34
user 185.92
sys 4.79

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/534427/ft1_filtered_4FGL_J2330.5+1102_daily_bin1667.fits scfile=/scratch/kocevski/534427/ft2_4FGL_J2330.5+1102_daily_bin1667.fits outfile=/scratch/kocevski/534427/cmap_671414401_671673601_4FGL_J2330.5+1102_daily_bin1667.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/534427/ft1_filtered_4FGL_J2330.5+1102_daily_bin1667.fits scfile=/scratch/kocevski/534427/ft2_4FGL_J2330.5+1102_daily_bin1667.fits outfile=/scratch/kocevski/534427/cmap_HighResolution_671414401_671673601_4FGL_J2330.5+1102_daily_bin1667.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/534427/ft1_filtered_4FGL_J2330.5+1102_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/534427/ft2_4FGL_J2330.5+1102_daily_bin1667.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/534427/Model_4FGL_J2330.5+1102_daily_bin1667.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/534427/ft1_filtered_4FGL_J2330.5+1102_daily_bin1667.fits.....................!
real 86.50
user 85.02
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/534427/ft1_filtered_4FGL_J2330.5+1102_daily_bin1667.fits', '/scratch/kocevski/534427/ft2_4FGL_J2330.5+1102_daily_bin1667.fits', expMap='/scratch/kocevski/534427/expmap_671414401_671673601_4FGL_J2330.5+1102_daily_bin1667.fits', expCube='/scratch/kocevski/534427/ltcube_671414401_671673601_4FGL_J2330.5+1102_daily_bin1667.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/534427/Model_4FGL_J2330.5+1102_daily_bin1667.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  1.000e-04  1.000e+04 ( 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/534427/ft1_filtered_4FGL_J2330.5+1102_daily_bin1667.fits
Spacecraft file(s): /scratch/kocevski/534427/ft2_4FGL_J2330.5+1102_daily_bin1667.fits
Exposure map: /scratch/kocevski/534427/expmap_671414401_671673601_4FGL_J2330.5+1102_daily_bin1667.fits
Exposure cube: /scratch/kocevski/534427/ltcube_671414401_671673601_4FGL_J2330.5+1102_daily_bin1667.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/534427/Model_4FGL_J2330.5+1102_daily_bin1667.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) = 8008.54680467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.784       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0367       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .28140       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.607       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.2514       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.417       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.138       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.175       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.796       1.0000         .10000E-03   10000.    
    11 'Prefactor '    40.576       1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13767E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.5626       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2225       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80494       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8008.523     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     1742 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.782        31.082        .19747E-05    .23269E-04
   2  Prefactor     4.0361        7.6656        .27345E-05    .26066E-03
   3  Prefactor     .28140        .13832       -.24665E-07   -.31676E-03
   4  Prefactor     22.604        32.500        .37220E-05    .45288E-05
   5  Prefactor     4.2506        6.0367        .14597E-06   -.45939E-04
   6  Prefactor     .10000E-03    23.046        .25174E-05** at limit **
   7  Prefactor     10.419        11.189       -.12816E-06   -.24887E-04
   8  Prefactor     12.140        7.4260       -.27156E-07   -.40348E-04
   9  Prefactor     11.172        10.981        .11337E-05    .52073E-04
  10  Prefactor     10.797        19.731        .23225E-07   -.11452E-04
  11  Prefactor     40.577        48.230       -.14218E-05   -.29265E-04
  12  norm          .10000E-03    2.3795        .23712E-06** at limit **
  13  Prefactor     .10000E-03    19.038        .12528E-04** at limit **
  14  Prefactor     .10000E-03    5.9115        .20558E-06** at limit **
  15  norm          7.5624        7.9345        .10040E-06   -.10948E-04
  16  Prefactor     .10000E-03    11.905        .18980E-05** at limit **
  17  Prefactor     .10000E-03    7.2613       -.17262E-06** at limit **
  18  Prefactor     .10000E-03    1.2876       -.98982E-07** at limit **
  19  Normalizat    1.2222        .18473        .13180E-06   -.15973E-03
  20  Prefactor     .80506        .10884       -.52929E-06   -.34917E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.7823
  Prefactor  = 4.03609
  Prefactor  = 0.281402
  Prefactor  = 22.6037
  Prefactor  = 4.25061
  Prefactor  = 0.0001
  Prefactor  = 10.4186
  Prefactor  = 12.1398
  Prefactor  = 11.1718
  Prefactor  = 10.7967
  Prefactor  = 40.577
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 7.56236
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.22224
  Prefactor  = 0.80506
 **********
 **   18 **HESSE 
 **********

 FCN=   8008.523     FROM HESSE     STATUS=OK           299 CALLS     2041 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.782        31.129        .71072E-04   -1.4580    
   2  Prefactor     4.0361        10.236        .10035E-02   -1.5306    
   3  Prefactor     .28140        .13609        .21792E-04   -1.5602    
   4  Prefactor     22.604        32.581        .84243E-04   -1.4757    
   5  Prefactor     4.2506        6.0313        .19542E-03   -1.5296    
   6  Prefactor     .10000E-03    23.413        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.419        11.191        .12414E-03   -1.5062    
   8  Prefactor     12.140        7.4132        .11498E-03   -1.5011    
   9  Prefactor     11.172        11.363        .59922E-03   -1.5039    
  10  Prefactor     10.797        19.692        .12194E-03   -1.5051    
  11  Prefactor     40.577        48.332        .62928E-04   -1.4433    
  12  norm          .10000E-03    2.3844        .13469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.942        .32677E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.9147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.5624        7.9346        .14583E-03   -1.5158    
  16  Prefactor     .10000E-03    11.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.2716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.2892        .99165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2222        .21481        .28237E-03   -.85918    
  20  Prefactor     .80506        .12700        .20623E-03   -.99542    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73428e-10
Minuit parameter uncertainties:
  1  31.1451
  2  10.2409
  3  0.136085
  4  32.607
  5  6.03214
  6  0.000210905
  7  11.1933
  8  7.41373
  9  11.3649
  10  19.7034
  11  48.3782
  12  4.54398e-06
  13  0.00030198
  14  1.22546e-06
  15  7.93569
  16  4.48849e-05
  17  4.64379e-06
  18  3.68582e-07
  19  0.214963
  20  0.127046
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.000e-04  3.020e-04  1.000e-04  1.000e+04 ( 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.051e-01  1.270e-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:  1.222e+00  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.629 11.048
Photon Flux Upper Limit: 8.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534427/likelihoodResults_671414401_671673601_4FGL_J2330.5+1102_daily_bin1667.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) = 8008.52277301
delta logL = -0.000223166867727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8008.52255038
delta logL = -5.44227077626e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12006E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6553       1.0000          .0000       10.000    
     3 'Normalizat'    1.2227       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80481       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8008.508     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      332 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .78531        7.5656        .41275E-03    .67234E-04
   2  Index         2.1732        1.8242        .20192E-01    .13554E-04
   3  Normalizat    1.2221        .20598        .28238E-03    .22789E-03
   4  Prefactor     .80371        .12577        .20639E-03    .18056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.785313
  Index      = 2.1732
  Normalizat = 1.2221
  Prefactor  = 0.80371
 **********
 **   18 **HESSE 
 **********

 FCN=   8008.508     FROM HESSE     STATUS=OK            25 CALLS      357 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .78531        7.4636        .16510E-04   -1.5531    
   2  Index         2.1732        1.8148        .80770E-03   -.60087    
   3  Normalizat    1.2221        .20615        .56477E-04   -.85923    
   4  Prefactor     .80371        .12586        .82556E-05   -.99592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21897e-10
Minuit parameter uncertainties:
  1  4.8425
  2  1.87919
  3  0.206285
  4  0.125902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534427': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8008.50818656
delta logL = 0.0143632805093

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  7.853e-01  4.843e+00  1.000e-04  1.000e+04 ( 1.000e-12)
428        Index:  2.173e+00  1.879e+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:  8.037e-01  1.259e-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:  1.222e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.629 11.048

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/534427/cmap_HighResolution_671414401_671673601_4FGL_J2330.5+1102_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.65e-03', job_status='DONE', photon_flux_upper_limit='8.40e-08', time_completed='2022-04-15 03:59:13.126101', job_id='534427', GAL2='0.80', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1650020353.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.44e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1667' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 03:59:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 534427: <4FGL_J2330.5+1102_daily_bin1667> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1667> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Apr 15 03:45:15 2022
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:45:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:45:30 2022
Terminated at Fri Apr 15 03:59:13 2022
Results reported at Fri Apr 15 03:59:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1667 352.629 11.0479 671414401 671673601 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 :                                   648.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            838 sec.

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

