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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1765
RA = 352.629, Dec = 11.0479
tmin = 696816001, tmax = 697075201
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='649830', job_status='RUN', time_executed='2023-02-03 01:54:44.117636', time_epoch_executed='1675418084.12' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649830

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649830/ft1_4FGL_J2330.5+1102_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649830/ft2_4FGL_J2330.5+1102_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649830/ft1_4FGL_J2330.5+1102_daily_bin1765.fits outfile=/scratch/kocevski/649830/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1765.fits ra=352.629 dec=11.0479 rad=12.0 tmin=696816001.0 tmax=697075201.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.69
user 3.43
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/649830/ft2_4FGL_J2330.5+1102_daily_bin1765.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/649830/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/649830/ft1_filtered_4FGL_J2330.5+1102_daily_bin1765.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 679

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/649830/ft1_filtered_4FGL_J2330.5+1102_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/649830/ft2_4FGL_J2330.5+1102_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/649830/ltcube_696816001_697075201_4FGL_J2330.5+1102_daily_bin1765.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/649830/ft2_4FGL_J2330.5+1102_daily_bin1765.fits
.....................!
real 15.45
user 14.88
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649830/ft1_filtered_4FGL_J2330.5+1102_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649830/ft2_4FGL_J2330.5+1102_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/649830/ltcube_696816001_697075201_4FGL_J2330.5+1102_daily_bin1765.fits outfile=/scratch/kocevski/649830/expmap_696816001_697075201_4FGL_J2330.5+1102_daily_bin1765.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/649830/ltcube_696816001_697075201_4FGL_J2330.5+1102_daily_bin1765.fits
.....................!
real 193.29
user 186.25
sys 5.51

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/649830/ft1_filtered_4FGL_J2330.5+1102_daily_bin1765.fits scfile=/scratch/kocevski/649830/ft2_4FGL_J2330.5+1102_daily_bin1765.fits outfile=/scratch/kocevski/649830/cmap_696816001_697075201_4FGL_J2330.5+1102_daily_bin1765.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.58
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649830/ft1_filtered_4FGL_J2330.5+1102_daily_bin1765.fits scfile=/scratch/kocevski/649830/ft2_4FGL_J2330.5+1102_daily_bin1765.fits outfile=/scratch/kocevski/649830/cmap_HighResolution_696816001_697075201_4FGL_J2330.5+1102_daily_bin1765.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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/649830/ft1_filtered_4FGL_J2330.5+1102_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649830/ft2_4FGL_J2330.5+1102_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/649830/Model_4FGL_J2330.5+1102_daily_bin1765.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/649830/ft1_filtered_4FGL_J2330.5+1102_daily_bin1765.fits.....................!
real 83.58
user 81.20
sys 1.55

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/649830/ft1_filtered_4FGL_J2330.5+1102_daily_bin1765.fits', '/scratch/kocevski/649830/ft2_4FGL_J2330.5+1102_daily_bin1765.fits', expMap='/scratch/kocevski/649830/expmap_696816001_697075201_4FGL_J2330.5+1102_daily_bin1765.fits', expCube='/scratch/kocevski/649830/ltcube_696816001_697075201_4FGL_J2330.5+1102_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/649830/Model_4FGL_J2330.5+1102_daily_bin1765.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/649830/ft1_filtered_4FGL_J2330.5+1102_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/649830/ft2_4FGL_J2330.5+1102_daily_bin1765.fits
Exposure map: /scratch/kocevski/649830/expmap_696816001_697075201_4FGL_J2330.5+1102_daily_bin1765.fits
Exposure cube: /scratch/kocevski/649830/ltcube_696816001_697075201_4FGL_J2330.5+1102_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/649830/Model_4FGL_J2330.5+1102_daily_bin1765.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) = 7246.60933501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26046E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.4777       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .77590E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11923       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19180       1.0000          .0000       .10000E+07
     6 'Prefactor '    .83463       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1191       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.6447       1.0000          .0000       .10000E+07
     9 'Prefactor '    31.228       1.0000          .0000       .10000E+07
    10 'norm      '    .20717E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .48383       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16000       1.0000          .0000       .10000E+07
    13 'norm      '    7.3775       1.0000          .0000       .10000E+07
    14 'Prefactor '    .22586E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.997       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19405E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .93255       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1004       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=   7246.599     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1341 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    14.500       -.21256E-05** at limit **
   2  Prefactor     1.4779        .23009       -.21324E-07    .18835E-02
   3  Prefactor     .55511E-10    12.197        .14297E-05** at limit **
   4  Prefactor     .15954E-06    46.259       -.12537E-04** at limit **
   5  Prefactor     .21488E-06    27.096       -.16830E-05** at limit **
   6  Prefactor     .85592        1.4620       -.13088E-05    .62781E-02
   7  Prefactor     1.0509        15.302        .95931E-06   -.68626E-03
   8  Prefactor     9.5331        3.3079       -.54185E-07   -.21367E-01
   9  Prefactor     30.780        40.012       -.35416E-05    .29292E-02
  10  norm           .0000        2.6907       -.48016E-06** at limit **
  11  Prefactor     .46913        15.274       -.84633E-07   -.44287E-03
  12  Prefactor     .19723E-06    32.577        .10617E-04** at limit **
  13  norm          7.3747        4.9532        .10271E-05   -.10055E-02
  14  Prefactor     .31641E-08    19.686        .26941E-05** at limit **
  15  Prefactor     10.995        1.4580       -.25208E-06    .91088E-02
  16  Prefactor     .55511E-10    5.2581       -.37449E-06** at limit **
  17  Normalizat    .93359        .23491        .80452E-05   -.11839E-03
  18  Prefactor     1.1006        .14822       -.30334E-05   -.30215E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 1.47791
  Prefactor  = 5.55112e-11
  Prefactor  = 1.59539e-07
  Prefactor  = 2.14884e-07
  Prefactor  = 0.855919
  Prefactor  = 1.05092
  Prefactor  = 9.5331
  Prefactor  = 30.7801
  norm       = 0
  Prefactor  = 0.469134
  Prefactor  = 1.97231e-07
  norm       = 7.37467
  Prefactor  = 3.16414e-09
  Prefactor  = 10.9949
  Prefactor  = 5.55112e-11
  Normalizat = 0.933588
  Prefactor  = 1.10059
 **********
 **   18 **HESSE 
 **********

 FCN=   7246.599     FROM HESSE     STATUS=OK           296 CALLS     1637 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    14.580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4779        .23356        .34983E-02   -1.5465    
   3  Prefactor     .55511E-10    12.216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15954E-06    3.9455        .10603E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .21488E-06    49.469        .11924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .85592        13.929        .50389E-03   -1.5689    
   7  Prefactor     1.0509        15.370        .11106E-02   -1.5687    
   8  Prefactor     9.5331        23.872        .32244E-03   -1.5646    
   9  Prefactor     30.780        40.204        .17898E-03   -1.5597    
  10  norm           .0000        2.6895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .46913        3.0249        .80353E-02   -1.5694    
  12  Prefactor     .19723E-06    9.7378        .12536E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.3747        11.734        .36902E-03   -1.5654    
  14  Prefactor     .31641E-08    19.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.995        13.831        .30186E-03   -1.5642    
  16  Prefactor     .55511E-10    5.2883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .93359        .21121        .75145E-01   -.95290    
  18  Prefactor     1.1006        .12880        .37573E-01   -.89448    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05647e-06
Minuit parameter uncertainties:
  1  8.59122e-05
  2  0.233558
  3  6.19721e-05
  4  0.00158667
  5  0.00652052
  6  6.9056
  7  8.03796
  8  23.8725
  9  40.2047
  10  5.25661e-06
  11  2.38251
  12  0.0027717
  13  11.7339
  14  0.000499772
  15  13.8313
  16  2.70889e-05
  17  0.211393
  18  0.128832
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  4.691e-01  2.383e+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:  1.101e+00  1.288e-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.336e-01  2.114e-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: 9.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/649830/likelihoodResults_696816001_697075201_4FGL_J2330.5+1102_daily_bin1765.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) = 7246.4818074
delta logL = 0.116968721255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7246.46879442
delta logL = 0.129981700475

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36133       1.0000          .0000       .10000E+07
     2 'Index     '    4.4492       1.0000          .0000       10.000    
     3 'Normalizat'    .90592       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1109       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=   7246.469     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      234 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36066        11.085        .94111E-03    .20676E-01
   2  Index         4.4504        3.2058        .32677        .42964E-04
   3  Normalizat    .90589        .29785E-01    .76185E-01    .22666E-04
   4  Prefactor     1.1109        .19115E-01    .37186E-01   -.77062E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.360665
  Index      = 4.45043
  Normalizat = 0.905894
  Prefactor  = 1.11095
 **********
 **   18 **HESSE 
 **********

 FCN=   7246.469     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      265 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36066        75.174        .99483E-05   -1.5696    
   2  Index         4.4504        7.0731        .10475E-01   -.11014    
   3  Normalizat    .90589        .21236        .33718E-03   -.96253    
   4  Prefactor     1.1109        .13496        .19651E-03   -.89117    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.70196e-07
Minuit parameter uncertainties:
  1  10.4141
  2  19.0552
  3  0.212554
  4  0.134998
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649830': 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) = 7246.4687943
delta logL = 0.129981814874

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  3.607e-01  1.041e+01  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  4.450e+00  1.906e+01  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:  1.111e+00  1.350e-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.059e-01  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/649830/cmap_HighResolution_696816001_697075201_4FGL_J2330.5+1102_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.85e-03', job_status='DONE', photon_flux_upper_limit='9.93e-08', time_completed='2023-02-03 02:04:35.231250', job_id='649830', GAL2='1.11', fit_tolerance='1e-08', EG2='0.91', EG='0.93', time_epoch_completed='1675418675.23', return_code2='102', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.30e-01', ts2='0.28', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1765' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:04:35 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 649830: <4FGL_J2330.5+1102_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:50:29 2023
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:51:31 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:51:31 2023
Terminated at Fri Feb  3 02:04:35 2023
Results reported at Fri Feb  3 02:04:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1765 352.629 11.0479 696816001 697075201 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 :                                   590.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            846 sec.

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

