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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1684
RA = 352.629, Dec = 11.0479
tmin = 675820801, tmax = 676080001
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='193027', job_status='RUN', time_executed='2022-06-05 00:46:36.102136', time_epoch_executed='1654415196.1' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193027

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193027/ft1_4FGL_J2330.5+1102_daily_bin1684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193027/ft2_4FGL_J2330.5+1102_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193027/ft1_4FGL_J2330.5+1102_daily_bin1684.fits outfile=/scratch/kocevski/193027/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1684.fits ra=352.629 dec=11.0479 rad=12.0 tmin=675820801.0 tmax=676080001.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 4.47
user 4.23
sys 0.22

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

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

Number of photons that the gtmktime cut: 773

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193027/ft1_filtered_4FGL_J2330.5+1102_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/193027/ft2_4FGL_J2330.5+1102_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/193027/ltcube_675820801_676080001_4FGL_J2330.5+1102_daily_bin1684.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/193027/ft2_4FGL_J2330.5+1102_daily_bin1684.fits
.....................!
real 15.58
user 15.14
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193027/ft1_filtered_4FGL_J2330.5+1102_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/193027/ft2_4FGL_J2330.5+1102_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/193027/ltcube_675820801_676080001_4FGL_J2330.5+1102_daily_bin1684.fits outfile=/scratch/kocevski/193027/expmap_675820801_676080001_4FGL_J2330.5+1102_daily_bin1684.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/193027/ltcube_675820801_676080001_4FGL_J2330.5+1102_daily_bin1684.fits
.....................!
real 192.22
user 186.66
sys 5.06

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/193027/ft1_filtered_4FGL_J2330.5+1102_daily_bin1684.fits scfile=/scratch/kocevski/193027/ft2_4FGL_J2330.5+1102_daily_bin1684.fits outfile=/scratch/kocevski/193027/cmap_675820801_676080001_4FGL_J2330.5+1102_daily_bin1684.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193027/ft1_filtered_4FGL_J2330.5+1102_daily_bin1684.fits scfile=/scratch/kocevski/193027/ft2_4FGL_J2330.5+1102_daily_bin1684.fits outfile=/scratch/kocevski/193027/cmap_HighResolution_675820801_676080001_4FGL_J2330.5+1102_daily_bin1684.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .34571       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.9669       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.0132       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    90.235       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10395E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    11.584       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.975       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.006       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7794       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .51459E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2583       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .74286       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0438       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=   8478.329     FROM MIGRAD    STATUS=CONVERGED    423 CALLS     1772 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    26.522        .18668E-05** at limit **
   2  Prefactor     .10000E-03    5.3138        .16850E-07** at limit **
   3  Prefactor     .34577        .13139        .42116E-07    .48747E-02
   4  Prefactor     .10000E-03    11.034       -.17073E-06** at limit **
   5  Prefactor     5.9687        6.4503        .91631E-07    .27358E-05
   6  Prefactor     7.0144        11.215        .10881E-05    .10767E-05
   7  Prefactor     .10000E-03    2.8202       -.55121E-08** at limit **
   8  Prefactor     .10001E-03    8.9091        .24535E-05** at limit **
   9  Prefactor     .10000E-03    6.3461        .12701E-06** at limit **
  10  Prefactor     90.251        26.021        .35434E-06    .47416E-03
  11  Prefactor     .10000E-03    15.786        .36696E-06** at limit **
  12  norm          11.585        7.9330        .60734E-07   -.97418E-04
  13  Prefactor     15.975        7.6544       -.54121E-07   -.17811E-03
  14  Prefactor     14.015        21.673       -.23227E-06   -.10273E-03
  15  norm          1.7845        9.4174        .78367E-05    .47895E-05
  16  Prefactor     .10036E-03    59.311       -.16996E-04** at limit **
  17  Prefactor     .10002E-03    22.936       -.24228E-05** at limit **
  18  Prefactor     4.2607        6.3424        .22227E-06   -.43097E-04
  19  Normalizat    .74253        .18149       -.15383E-05   -.25791E-03
  20  Prefactor     1.0438        .10995       -.19653E-06   -.43496E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.34577
  Prefactor  = 0.0001
  Prefactor  = 5.9687
  Prefactor  = 7.01444
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 90.2508
  Prefactor  = 0.000100001
  norm       = 11.5852
  Prefactor  = 15.9747
  Prefactor  = 14.0147
  norm       = 1.78455
  Prefactor  = 0.000100358
  Prefactor  = 0.000100023
  Prefactor  = 4.26071
  Normalizat = 0.742531
  Prefactor  = 1.04379
 **********
 **   18 **HESSE 
 **********

 FCN=   8478.329     FROM HESSE     STATUS=OK           293 CALLS     2065 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    27.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.3181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .34577        .13038        .19749E-04   -1.5590    
   4  Prefactor     .10000E-03    11.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.9687        6.4383        .16438E-03   -1.5219    
   6  Prefactor     7.0144        11.240        .75742E-03   -1.5178    
   7  Prefactor     .10000E-03    2.8211        .15101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    9.6078        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.4126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     90.251        26.029        .42301E-04   -1.3805    
  11  Prefactor     .10000E-03    15.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.585        7.9174        .11770E-03   -1.5027    
  13  Prefactor     15.975        7.6548        .10021E-03   -1.4908    
  14  Prefactor     14.015        21.660        .10702E-03   -1.4959    
  15  norm          1.7845        12.558        .15688E-02   -1.5441    
  16  Prefactor     .10036E-03    145.42        .79035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10002E-03    24.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.2607        6.3290        .19525E-03   -1.5295    
  19  Normalizat    .74253        .20072        .34347E-03   -1.0224    
  20  Prefactor     1.0438        .12474        .18722E-03   -.91284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49874e-09
Minuit parameter uncertainties:
  1  0.00137608
  2  4.69288e-06
  3  0.130379
  4  8.14656e-05
  5  6.43903
  6  11.2439
  7  9.5159e-07
  8  0.000600979
  9  3.15313e-05
  10  26.0324
  11  0.000229064
  12  7.91812
  13  7.65529
  14  21.6724
  15  9.47061
  16  0.0144755
  17  0.0014834
  18  6.32997
  19  0.200917
  20  0.124775
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.597e+01  7.655e+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.044e+00  1.248e-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:  7.425e-01  2.009e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.98
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 1.12e-07 +/- 5.36e-08
Energy Flux (Fixed Index): 2.53e-05 +/- 1.21e-05

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) = 8478.02873612
delta logL = 0.300143402099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8478.02854111
delta logL = 0.300338411931

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.779       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4056       1.0000          .0000       10.000    
     3 'Normalizat'    .77219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0301       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=   8478.029     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      311 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.797        9.5736        .45030E-03   -.12623E-05
   2  Index         2.4067        .45869        .72028E-02    .16022E-03
   3  Normalizat    .77204        .19825        .33753E-03    .24251E-05
   4  Prefactor     1.0302        .12462        .18825E-03   -.49522E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.7968
  Index      = 2.40673
  Normalizat = 0.772036
  Prefactor  = 1.03015
 **********
 **   18 **HESSE 
 **********

 FCN=   8478.029     FROM HESSE     STATUS=OK            25 CALLS      336 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.797        9.4874        .18012E-04   -1.4818    
   2  Index         2.4067        .45430        .14406E-02   -.54528    
   3  Normalizat    .77204        .19836        .13501E-04   -1.0111    
   4  Prefactor     1.0302        .12469        .75298E-05   -.91731    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73618e-13
Minuit parameter uncertainties:
  1  9.48811
  2  0.455156
  3  0.198546
  4  0.124725
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193027': 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) = 8478.02853429
delta logL = 0.300345233562

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.980e+01  9.488e+00  1.000e-04  1.000e+04 ( 1.000e-12)
428        Index:  2.407e+00  4.552e-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.030e+00  1.247e-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:  7.720e-01  1.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.58
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.41 +/- 0.46
Photon Flux (Free Index): 9.12e-08 +/- 5.25e-08
Energy Flux (Free Index): 2.96e-05 +/- 1.56e-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/193027/cmap_HighResolution_675820801_676080001_4FGL_J2330.5+1102_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.12e-07', energy_flux2='2.96e-05', photon_flux_error='5.36e-08', dlogl='3.00e-01', energy_flux='2.53e-05', photon_flux2='9.12e-08', job_status='DONE', time_completed='2022-06-05 00:56:51.636040', photon_index_error2='0.46', photon_index2='2.41', ts='7.98', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.56e-05', EG='0.74', time_epoch_completed='1654415811.64', return_code='0', job_id='193027', GAL2='1.03', EG2='0.77', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='5.25e-08', ts2='8.58', photon_index='2.79' WHERE bin_id='1684' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:56:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 193027: <4FGL_J2330.5+1102_daily_bin1684> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1684> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jun  5 00:40:49 2022
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:45:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun  5 00:45:32 2022
Terminated at Sun Jun  5 00:56:52 2022
Results reported at Sun Jun  5 00:56:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1684 352.629 11.0479 675820801 676080001 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 :                                   616.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             347.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            963 sec.

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

