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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1731
RA = 352.629, Dec = 11.0479
tmin = 688003201, tmax = 688262401
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='551303', job_status='RUN', time_executed='2022-10-24 00:41:03.591357', time_epoch_executed='1666597263.59' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551303

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551303/ft1_4FGL_J2330.5+1102_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551303/ft2_4FGL_J2330.5+1102_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551303/ft1_4FGL_J2330.5+1102_daily_bin1731.fits outfile=/scratch/kocevski/551303/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1731.fits ra=352.629 dec=11.0479 rad=12.0 tmin=688003201.0 tmax=688262401.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.52
user 3.31
sys 0.19

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

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

Number of photons that the gtmktime cut: 720

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551303/ft1_filtered_4FGL_J2330.5+1102_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551303/ft2_4FGL_J2330.5+1102_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551303/ltcube_688003201_688262401_4FGL_J2330.5+1102_daily_bin1731.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/551303/ft2_4FGL_J2330.5+1102_daily_bin1731.fits
.....................!
real 12.06
user 11.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551303/ft1_filtered_4FGL_J2330.5+1102_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551303/ft2_4FGL_J2330.5+1102_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551303/ltcube_688003201_688262401_4FGL_J2330.5+1102_daily_bin1731.fits outfile=/scratch/kocevski/551303/expmap_688003201_688262401_4FGL_J2330.5+1102_daily_bin1731.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/551303/ltcube_688003201_688262401_4FGL_J2330.5+1102_daily_bin1731.fits
.....................!
real 191.49
user 185.72
sys 5.40

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/551303/ft1_filtered_4FGL_J2330.5+1102_daily_bin1731.fits scfile=/scratch/kocevski/551303/ft2_4FGL_J2330.5+1102_daily_bin1731.fits outfile=/scratch/kocevski/551303/cmap_688003201_688262401_4FGL_J2330.5+1102_daily_bin1731.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551303/ft1_filtered_4FGL_J2330.5+1102_daily_bin1731.fits scfile=/scratch/kocevski/551303/ft2_4FGL_J2330.5+1102_daily_bin1731.fits outfile=/scratch/kocevski/551303/cmap_HighResolution_688003201_688262401_4FGL_J2330.5+1102_daily_bin1731.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33625E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.8046       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .24380       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10837E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .47035E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .35136E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .63839E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.2389       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21624E-03   1.0000          .0000       .10000E+07
    10 'norm      '    7.2198       1.0000          .0000       .10000E+07
    11 'Prefactor '    .85732       1.0000          .0000       .10000E+07
    12 'Prefactor '    .26921E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .14591E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    24.844       1.0000          .0000       .10000E+07
    15 'Prefactor '    7.0394       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0862       1.0000          .0000       .10000E+07
    17 'Normalizat'    .83183       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0057       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=   7462.983     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      993 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11308E-06    8.8253        .99162E-06** at limit **
   2  Prefactor     3.8043        .32555        .34566E-07   -.45322E-02
   3  Prefactor     .15853E-05    51.266       -.72189E-05** at limit **
   4  Prefactor     .94369E-08    3.0883       -.21341E-05** at limit **
   5  Prefactor     .11141E-06    9.3607        .27374E-06** at limit **
   6  Prefactor      .0000        2.8815        .22753E-06** at limit **
   7  Prefactor     .34972E-08    3.1214        .17235E-05** at limit **
   8  Prefactor     6.3058        9.2543        .82535E-06    .45315E-01
   9  Prefactor     .44853E-06    20.534       -.48736E-06** at limit **
  10  norm          7.2532        6.6373        .69436E-07   -.11638E-02
  11  Prefactor     .91794        1.4619        .29488E-06    .10258E-01
  12  Prefactor     .11657E-07    5.6584       -.58678E-06** at limit **
  13  norm          .15155E-07    5.9307        .14062E-05** at limit **
  14  Prefactor     23.382        10.580       -.78315E-06    .69244E-01
  15  Prefactor     7.0918        1.9291        .39085E-06   -.16646E-01
  16  Prefactor     4.0574        7.8242        .70126E-06    .41673E-02
  17  Normalizat    .83194        .23476       -.43021E-05    .66624E-04
  18  Prefactor     1.0059        .14509       -.68652E-06    .15032E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.13076e-07
  Prefactor  = 3.80429
  Prefactor  = 1.58529e-06
  Prefactor  = 9.4369e-09
  Prefactor  = 1.11411e-07
  Prefactor  = 0
  Prefactor  = 3.4972e-09
  Prefactor  = 6.30582
  Prefactor  = 4.4853e-07
  norm       = 7.25318
  Prefactor  = 0.917937
  Prefactor  = 1.16573e-08
  norm       = 1.51545e-08
  Prefactor  = 23.3818
  Prefactor  = 7.09181
  Prefactor  = 4.05737
  Normalizat = 0.831936
  Prefactor  = 1.00595
 **********
 **   18 **HESSE 
 **********

 FCN=   7462.983     FROM HESSE     STATUS=OK           278 CALLS     1271 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11308E-06    18.335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.8043        .32560        .31368E-02   -1.5318    
   3  Prefactor     .15853E-05    84.794        .11043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .94369E-08    3.1233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11141E-06    18.056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.8749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .34972E-08    3.1406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.3058        14.517        .40166E-03   -1.5658    
   9  Prefactor     .44853E-06    24.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.2532        7.6235        .37307E-03   -1.5654    
  11  Prefactor     .91794        11.673        .48757E-03   -1.5689    
  12  Prefactor     .11657E-07    5.7323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .15155E-07    6.0074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.382        24.042        .20067E-03   -1.5611    
  15  Prefactor     7.0918        21.767        .37787E-03   -1.5655    
  16  Prefactor     4.0574        7.8618        .49850E-03   -1.5668    
  17  Normalizat    .83194        .20646        .80449E-01   -.98895    
  18  Prefactor     1.0059        .12486        .44049E-01   -.92532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81501e-07
Minuit parameter uncertainties:
  1  0.00287942
  2  0.3256
  3  0.0231886
  4  0.00034347
  5  0.00283692
  6  1.6613e-05
  7  0.000209844
  8  14.5175
  9  0.00663953
  10  7.62347
  11  6.54673
  12  0.000516976
  13  0.000603245
  14  24.0425
  15  21.7668
  16  7.86178
  17  0.206652
  18  0.124899
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  9.179e-01  6.547e+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.006e+00  1.249e-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.319e-01  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/551303/likelihoodResults_688003201_688262401_4FGL_J2330.5+1102_daily_bin1731.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) = 7462.95636303
delta logL = 0.0264243622141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7462.95564323
delta logL = 0.0271441649238

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0110       1.0000          .0000       .10000E+07
     2 'Index     '    3.2898       1.0000          .0000       10.000    
     3 'Normalizat'    .82476       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0082       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=   7462.956     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      229 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0178        66.403        .44153E-03    .59940E-02
   2  Index         3.2987        2.4866        .50000        .21352E-04
   3  Normalizat    .82447        .24186E-01    .80774E-01   -.34660E-04
   4  Prefactor     1.0082        .15332E-01    .43608E-01   -.15735E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.01784
  Index      = 3.29874
  Normalizat = 0.824471
  Prefactor  = 1.0082
 **********
 **   18 **HESSE 
 **********

 FCN=   7462.956     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0178        5.7530        .17661E-04   -1.5688    
   2  Index         3.2987        2.2720        .10293E-01   -.34718    
   3  Normalizat    .82447        .23289        .35763E-03   -.99167    
   4  Prefactor     1.0082        .14530        .20568E-03   -.92457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15737e-11
Minuit parameter uncertainties:
  1  4.83968
  2  2.3713
  3  0.233177
  4  0.145357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551303': 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) = 7462.95562479
delta logL = 0.0271625994174

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.018e+00  4.840e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  3.299e+00  2.371e+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:  1.008e+00  1.454e-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.245e-01  2.332e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/551303/cmap_HighResolution_688003201_688262401_4FGL_J2330.5+1102_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.70e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2022-10-24 00:50:24.104618', job_id='551303', GAL2='1.01', fit_tolerance='1e-08', EG2='0.82', EG='0.83', time_epoch_completed='1666597824.1', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.72e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1731' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:50:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 551303: <4FGL_J2330.5+1102_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:33 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:34 2022
Terminated at Mon Oct 24 00:50:25 2022
Results reported at Mon Oct 24 00:50:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1731 352.629 11.0479 688003201 688262401 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 :                                   561.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             395.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   590 sec.
    Turnaround time :                            592 sec.

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

