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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1694
RA = 352.629, Dec = 11.0479
tmin = 678412801, tmax = 678672001
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='698727', job_status='RUN', time_executed='2022-07-05 04:04:49.454933', time_epoch_executed='1657019089.45' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1694'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698727

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698727/ft1_4FGL_J2330.5+1102_daily_bin1694.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698727/ft2_4FGL_J2330.5+1102_daily_bin1694.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698727/ft1_4FGL_J2330.5+1102_daily_bin1694.fits outfile=/scratch/kocevski/698727/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1694.fits ra=352.629 dec=11.0479 rad=12.0 tmin=678412801.0 tmax=678672001.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.68
user 3.42
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/698727/ft2_4FGL_J2330.5+1102_daily_bin1694.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/698727/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1694.fits evtable="EVENTS" outfile="/scratch/kocevski/698727/ft1_filtered_4FGL_J2330.5+1102_daily_bin1694.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.32
sys 0.17

Number of photons that the gtmktime cut: 716

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/698727/ft1_filtered_4FGL_J2330.5+1102_daily_bin1694.fits" evtable="EVENTS" scfile=/scratch/kocevski/698727/ft2_4FGL_J2330.5+1102_daily_bin1694.fits sctable="SC_DATA" outfile=/scratch/kocevski/698727/ltcube_678412801_678672001_4FGL_J2330.5+1102_daily_bin1694.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/698727/ft2_4FGL_J2330.5+1102_daily_bin1694.fits
.....................!
real 13.73
user 13.33
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698727/ft1_filtered_4FGL_J2330.5+1102_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/698727/ft2_4FGL_J2330.5+1102_daily_bin1694.fits sctable="SC_DATA" expcube=/scratch/kocevski/698727/ltcube_678412801_678672001_4FGL_J2330.5+1102_daily_bin1694.fits outfile=/scratch/kocevski/698727/expmap_678412801_678672001_4FGL_J2330.5+1102_daily_bin1694.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/698727/ltcube_678412801_678672001_4FGL_J2330.5+1102_daily_bin1694.fits
.....................!
real 191.91
user 186.71
sys 4.56

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/698727/ft1_filtered_4FGL_J2330.5+1102_daily_bin1694.fits scfile=/scratch/kocevski/698727/ft2_4FGL_J2330.5+1102_daily_bin1694.fits outfile=/scratch/kocevski/698727/cmap_678412801_678672001_4FGL_J2330.5+1102_daily_bin1694.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/698727/ft1_filtered_4FGL_J2330.5+1102_daily_bin1694.fits scfile=/scratch/kocevski/698727/ft2_4FGL_J2330.5+1102_daily_bin1694.fits outfile=/scratch/kocevski/698727/cmap_HighResolution_678412801_678672001_4FGL_J2330.5+1102_daily_bin1694.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.685       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .98065       1.0000         .10000E-03   10000.    
     4 'Prefactor '    46.343       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9379       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.031       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .79562E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4895       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.3342       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    43.749       1.0000         .10000E-03   10000.    
    12 'norm      '    .34014       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.6015       1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.025       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.0801       1.0000         .10000E-03   10000.    
    17 'Prefactor '    36.506       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10665E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0012       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0127       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=   7593.110     FROM MIGRAD    STATUS=CONVERGED    433 CALLS     2096 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.684        32.103       -.15109E-06    .52600E-05
   2  Prefactor     .10000E-03    5.8025       -.37856E-07** at limit **
   3  Prefactor     .98077        .20391       -.93364E-08    .10323E-02
   4  Prefactor     46.335        35.672       -.40931E-06    .52953E-04
   5  Prefactor     1.9383        5.3222       -.85222E-06   -.40094E-05
   6  Prefactor     10.031        12.214        .11778E-06    .36309E-04
   7  Prefactor     .10001E-03    74.140        .14012E-04** at limit **
   8  Prefactor     4.4910        6.3919       -.54717E-06    .67103E-04
   9  Prefactor     7.3210        8.0027        .58155E-06    .13569E-03
  10  Prefactor     .10000E-03    7.3778       -.96426E-07** at limit **
  11  Prefactor     43.738        50.286        .12612E-06    .61109E-04
  12  norm          .43723        10.078        .19486E-05    .42890E-04
  13  Prefactor     6.5784        6.4710       -.58843E-06    .16913E-03
  14  Prefactor     25.999        25.438        .61449E-06    .14746E-03
  15  norm          .10000E-03    4.4186       -.89117E-07** at limit **
  16  Prefactor     1.9952        155.92       -.98375E-05    .47213E-04
  17  Prefactor     36.512        23.233        .67619E-06    .71956E-04
  18  Prefactor     .10000E-03    3.0796        .13488E-06** at limit **
  19  Normalizat    1.0012        .20499        .12179E-05    .42897E-03
  20  Prefactor     1.0127        .12436        .88353E-06    .41812E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.6838
  Prefactor  = 0.0001
  Prefactor  = 0.980768
  Prefactor  = 46.3349
  Prefactor  = 1.93827
  Prefactor  = 10.0311
  Prefactor  = 0.000100005
  Prefactor  = 4.49099
  Prefactor  = 7.32102
  Prefactor  = 0.0001
  Prefactor  = 43.7378
  norm       = 0.437235
  Prefactor  = 6.57842
  Prefactor  = 25.9985
  norm       = 0.0001
  Prefactor  = 1.99523
  Prefactor  = 36.5118
  Prefactor  = 0.000100002
  Normalizat = 1.00121
  Prefactor  = 1.01268
 **********
 **   18 **HESSE 
 **********

 FCN=   7593.110     FROM HESSE     STATUS=OK           297 CALLS     2393 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.684        32.176        .67086E-04   -1.4513    
   2  Prefactor     .10000E-03    5.8053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .98077        .20403        .16881E-04   -1.5510    
   4  Prefactor     46.335        35.693        .58898E-04   -1.4346    
   5  Prefactor     1.9383        5.3023        .29827E-03   -1.5430    
   6  Prefactor     10.031        12.201        .12652E-03   -1.5074    
   7  Prefactor     .10001E-03    77.347        .58326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.4910        6.3975        .19002E-03   -1.5284    
   9  Prefactor     7.3210        8.1021        .14810E-03   -1.5167    
  10  Prefactor     .10000E-03    7.3921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     43.738        50.217        .60612E-04   -1.4384    
  12  norm          .43723        44.134        .39444E-02   -1.5576    
  13  Prefactor     6.5784        7.0088        .78093E-03   -1.5195    
  14  Prefactor     25.999        25.370        .78526E-04   -1.4688    
  15  norm          .10000E-03    4.4223        .17890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.9952        156.07        .28633E-03   -1.5425    
  17  Prefactor     36.512        23.185        .66330E-04   -1.4499    
  18  Prefactor     .10000E-03    6.5898        .28922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0012        .23602        .32302E-03   -.92990    
  20  Prefactor     1.0127        .14116        .20327E-03   -.92308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.33965e-10
Minuit parameter uncertainties:
  1  32.1914
  2  3.83035e-06
  3  0.204033
  4  35.7097
  5  5.30358
  6  12.2043
  7  0.00124834
  8  6.39852
  9  8.10335
  10  5.25011e-06
  11  50.2657
  12  8.79128
  13  7.00972
  14  25.3802
  15  5.13275e-06
  16  35.3874
  17  23.1911
  18  0.000213923
  19  0.236268
  20  0.141209
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  6.578e+00  7.010e+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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.013e+00  1.412e-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.001e+00  2.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.62
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 4.61e-08 +/- 4.91e-08
Energy Flux (Fixed Index): 1.04e-05 +/- 1.11e-05

TS (Fixed Index): 1.62
Ra Dec: 352.629 11.048
Photon Flux Upper Limit: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/698727/likelihoodResults_678412801_678672001_4FGL_J2330.5+1102_daily_bin1694.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) = 7593.09849457
delta logL = 0.0118034271973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7593.08783322
delta logL = 0.0224647775231

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7718       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5913       1.0000          .0000       10.000    
     3 'Normalizat'    1.0061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0099       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=   7593.088     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      214 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7752        204.66        .35960E-02    .15931E-03
   2  Index         2.5912        6.1295        .23227        .63121E-04
   3  Normalizat    1.0061        .77915E-01    .72847E-01    .20334E-04
   4  Prefactor     1.0099        .47924E-01    .43345E-01    .37584E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.77522
  Index      = 2.59116
  Normalizat = 1.0061
  Prefactor  = 1.00988
 **********
 **   18 **HESSE 
 **********

 FCN=   7593.088     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7752        8.9698        .14384E-03   -1.5150    
   2  Index         2.5912        .91219        .10496E-01   -.50267    
   3  Normalizat    1.0061        .22340        .32231E-03   -.92826    
   4  Prefactor     1.0099        .14103        .20351E-03   -.92401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.804e-09
Minuit parameter uncertainties:
  1  8.97133
  2  0.918915
  3  0.223608
  4  0.141081
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698727': 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) = 7593.08783313
delta logL = 0.0224648682261

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  7.775e+00  8.971e+00  1.000e-04  1.000e+04 ( 1.000e-12)
428        Index:  2.591e+00  9.189e-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.010e+00  1.411e-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.006e+00  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.66
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.59 +/- 0.92
Photon Flux (Free Index): 4.36e-08 +/- 4.15e-08
Energy Flux (Free Index): 1.15e-05 +/- 1.23e-05

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/698727/cmap_HighResolution_678412801_678672001_4FGL_J2330.5+1102_daily_bin1694.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', photon_flux='4.61e-08', energy_flux2='1.15e-05', photon_flux_error='4.91e-08', dlogl='2.25e-02', energy_flux='1.04e-05', photon_flux2='4.36e-08', job_status='DONE', time_completed='2022-07-05 04:15:55.225762', photon_index_error2='0.92', photon_index2='2.59', ts='1.62', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='1.23e-05', EG='1.00', time_epoch_completed='1657019755.23', return_code='0', job_id='698727', GAL2='1.01', EG2='1.01', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='4.15e-08', ts2='1.66', photon_index='2.79' WHERE bin_id='1694' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  5 04:15:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 698727: <4FGL_J2330.5+1102_daily_bin1694> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1694> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul  5 04:00:20 2022
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 04:00:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 04:00:50 2022
Terminated at Tue Jul  5 04:15:56 2022
Results reported at Tue Jul  5 04:15:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1694 352.629 11.0479 678412801 678672001 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 :                                   667.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             280.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            936 sec.

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

