/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 237 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 = 7555
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1531
RA = 352.629, Dec = 11.0479
tmin = 636163201, tmax = 636422401
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='2808', job_status='RUN', time_executed='2021-09-29 22:44:23.070421', time_epoch_executed='1632980663.07' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1531'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2808

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2808/ft1_4FGL_J2330.5+1102_daily_bin1531.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2808/ft2_4FGL_J2330.5+1102_daily_bin1531.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2808/ft1_4FGL_J2330.5+1102_daily_bin1531.fits outfile=/scratch/kocevski/2808/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1531.fits ra=352.629 dec=11.0479 rad=12.0 tmin=636163201.0 tmax=636422401.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.67
user 3.46
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2808/ft1_filtered_4FGL_J2330.5+1102_daily_bin1531.fits evtable="EVENTS" scfile=/scratch/kocevski/2808/ft2_4FGL_J2330.5+1102_daily_bin1531.fits sctable="SC_DATA" expcube=/scratch/kocevski/2808/ltcube_636163201_636422401_4FGL_J2330.5+1102_daily_bin1531.fits outfile=/scratch/kocevski/2808/expmap_636163201_636422401_4FGL_J2330.5+1102_daily_bin1531.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/2808/ltcube_636163201_636422401_4FGL_J2330.5+1102_daily_bin1531.fits
.....................!
real 190.85
user 185.31
sys 5.22

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/2808/ft1_filtered_4FGL_J2330.5+1102_daily_bin1531.fits scfile=/scratch/kocevski/2808/ft2_4FGL_J2330.5+1102_daily_bin1531.fits outfile=/scratch/kocevski/2808/cmap_636163201_636422401_4FGL_J2330.5+1102_daily_bin1531.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2808/ft1_filtered_4FGL_J2330.5+1102_daily_bin1531.fits scfile=/scratch/kocevski/2808/ft2_4FGL_J2330.5+1102_daily_bin1531.fits outfile=/scratch/kocevski/2808/cmap_HighResolution_636163201_636422401_4FGL_J2330.5+1102_daily_bin1531.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .53913       1.0000         .10000E-03   10000.    
     4 'Prefactor '    52.963       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.5539       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.1980       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.3936       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .92656E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.6323       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.1714       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.717       1.0000         .10000E-03   10000.    
    15 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.451       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.2853       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0402       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97347       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=   6631.549     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     2024 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.035       -.48183E-05** at limit **
   2  Prefactor     .10000E-03    12.458        .85656E-05** at limit **
   3  Prefactor     .53922        .17320        .17558E-07    .94271E-03
   4  Prefactor     52.969        40.118        .21795E-05    .94000E-04
   5  Prefactor     .10000E-03    11.630       -.64405E-05** at limit **
   6  Prefactor     9.5561        12.634       -.10314E-05   -.41785E-04
   7  Prefactor     .10000E-03    21.720       -.41750E-05** at limit **
   8  Prefactor     5.1986        4.5661        .64961E-07    .32324E-04
   9  Prefactor     8.3928        12.473        .64210E-06    .25653E-04
  10  Prefactor     .10000E-03    6.2717        .35350E-06** at limit **
  11  Prefactor     .10000E-03    190.62       -.77500E-05** at limit **
  12  norm          3.6350        12.239       -.16749E-05   -.24077E-04
  13  Prefactor     4.1754        6.3720        .24786E-05   -.17545E-02
  14  Prefactor     15.717        19.977        .60249E-06    .31029E-04
  15  norm          .10000E-03    22.055        .31759E-05** at limit **
  16  Prefactor     29.436        31.378       -.38772E-05   -.13240E-03
  17  Prefactor     .10000E-03    9.0443        .82159E-06** at limit **
  18  Prefactor     6.2863        5.8778       -.39686E-06   -.12709E-03
  19  Normalizat    1.0400        .20636        .53267E-07    .57981E-04
  20  Prefactor     .97348        .12488       -.32627E-06    .14308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 0.539221
  Prefactor  = 52.9687
  Prefactor  = 0.000100001
  Prefactor  = 9.55607
  Prefactor  = 0.000100001
  Prefactor  = 5.1986
  Prefactor  = 8.39281
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.63496
  Prefactor  = 4.17539
  Prefactor  = 15.7165
  norm       = 0.0001
  Prefactor  = 29.4355
  Prefactor  = 0.0001
  Prefactor  = 6.28632
  Normalizat = 1.04005
  Prefactor  = 0.973481
 **********
 **   18 **HESSE 
 **********

 FCN=   6631.549     FROM HESSE     STATUS=OK           289 CALLS     2313 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .53922        .17243        .18380E-04   -1.5561    
   4  Prefactor     52.969        40.168        .55112E-04   -1.4251    
   5  Prefactor     .10000E-03    11.915        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.5561        12.626        .12965E-03   -1.5090    
   7  Prefactor     .10000E-03    21.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.1986        4.5662        .15749E-03   -1.5252    
   9  Prefactor     8.3928        12.383        .13837E-03   -1.5128    
  10  Prefactor     .10000E-03    6.2805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    194.18        .20812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.6350        13.609        .21198E-03   -1.5327    
  13  Prefactor     4.1754        10.635        .98667E-03   -1.5299    
  14  Prefactor     15.717        19.937        .10103E-03   -1.4915    
  15  norm          .10000E-03    22.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.436        31.572        .73827E-04   -1.4622    
  17  Prefactor     .10000E-03    9.0638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.2863        5.8839        .16011E-03   -1.5206    
  19  Normalizat    1.0400        .24243        .31105E-03   -.91701    
  20  Prefactor     .97348        .14531        .19996E-03   -.93619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.57204e-09
Minuit parameter uncertainties:
  1  0.000231333
  2  0.00035558
  3  0.172428
  4  40.1887
  5  0.00019917
  6  12.6299
  7  0.000220198
  8  4.56655
  9  12.3864
  10  1.03836e-05
  11  0.000750762
  12  13.6203
  13  10.6399
  14  19.9454
  15  0.000152501
  16  31.5903
  17  3.49014e-05
  18  5.88443
  19  0.242692
  20  0.145368
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  4.175e+00  1.064e+01  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:  9.735e-01  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:  1.040e+00  2.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/2808/likelihoodResults_636163201_636422401_4FGL_J2330.5+1102_daily_bin1531.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) = 6630.62763423
delta logL = 0.921313839247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6630.62199574
delta logL = 0.92695232779

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71589       1.0000         .10000E-03   10000.    
     2 'Index     '    4.9652       1.0000          .0000       10.000    
     3 'Normalizat'    .95340       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=   6630.622     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      312 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71531        7.3090        .11352E-01    .10363E-02
   2  Index         4.9659        3.0206        .17671        .11437E-03
   3  Normalizat    .95338        .48226E-01    .73021E-01    .21088E-04
   4  Prefactor     1.0082        .30256E-01    .43598E-01    .58170E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.715306
  Index      = 4.96595
  Normalizat = 0.95338
  Prefactor  = 1.0082
 **********
 **   18 **HESSE 
 **********

 FCN=   6630.622     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      347 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71531        20.168        .51712E-03   -1.5539    
   2  Index         4.9659        7.4495        .62024E-02   -.68106E-02
   3  Normalizat    .95338        .19014        .32310E-03   -.94609    
   4  Prefactor     1.0082        .11705        .19685E-03   -.92457    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.23113e-08
Minuit parameter uncertainties:
  1  7.59867
  2  7.00032
  3  0.190277
  4  0.11708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2808': 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) = 6630.62199545
delta logL = 0.926952622741

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  7.153e-01  7.599e+00  1.000e-04  1.000e+04 ( 1.000e-12)
428        Index:  4.966e+00  7.000e+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.171e-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.534e-01  1.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.35
Ra Dec: 352.629 11.048
Photon Index (Free Index): 4.97 +/- 7.00
Photon Flux (Free Index): 9.92e-08 +/- 7.74e-08
Energy Flux (Free Index): 1.32e-05 +/- 1.47e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/2808/cmap_HighResolution_636163201_636422401_4FGL_J2330.5+1102_daily_bin1531.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', comment='SUCCESS', energy_flux2='1.32e-05', dlogl='9.27e-01', photon_flux2='9.92e-08', job_status='DONE', time_completed='2021-09-29 22:54:28.277958', photon_index_error2='7.00', photon_index2='4.97', ts='0.31', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='1.47e-05', EG='1.04', time_epoch_completed='1632981268.28', return_code='0', job_id='2808', GAL2='1.01', EG2='0.95', return_code2='102', photon_flux_error2='7.74e-08', ts2='2.35', photon_index='2.79' WHERE bin_id='1531' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 22:54:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 2808: <4FGL_J2330.5+1102_daily_bin1531> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1531> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 22:40:18 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 22:40:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 22:40:19 2021
Terminated at Wed Sep 29 22:54:28 2021
Results reported at Wed Sep 29 22:54:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1531 352.629 11.0479 636163201 636422401 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 :                                   601.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             234.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

