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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1366
RA = 356.303, Dec = -15.9182
tmin = 593395201, tmax = 593654401
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='102942', job_status='RUN', time_executed='2021-09-30 04:06:56.372746', time_epoch_executed='1633000016.37' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1366'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102942

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102942/ft1_4FGL_J2345.2-1555_daily_bin1366.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102942/ft2_4FGL_J2345.2-1555_daily_bin1366.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102942/ft1_4FGL_J2345.2-1555_daily_bin1366.fits outfile=/scratch/kocevski/102942/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1366.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=593395201.0 tmax=593654401.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.12
user 3.90
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/102942/ft2_4FGL_J2345.2-1555_daily_bin1366.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/102942/ft2_4FGL_J2345.2-1555_daily_bin1366.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/102942/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1366.fits evtable="EVENTS" outfile="/scratch/kocevski/102942/ft1_filtered_4FGL_J2345.2-1555_daily_bin1366.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102942/ft1_filtered_4FGL_J2345.2-1555_daily_bin1366.fits" evtable="EVENTS" scfile=/scratch/kocevski/102942/ft2_4FGL_J2345.2-1555_daily_bin1366.fits sctable="SC_DATA" outfile=/scratch/kocevski/102942/ltcube_593395201_593654401_4FGL_J2345.2-1555_daily_bin1366.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/102942/ft2_4FGL_J2345.2-1555_daily_bin1366.fits
.....................!
real 12.67
user 12.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102942/ft1_filtered_4FGL_J2345.2-1555_daily_bin1366.fits evtable="EVENTS" scfile=/scratch/kocevski/102942/ft2_4FGL_J2345.2-1555_daily_bin1366.fits sctable="SC_DATA" expcube=/scratch/kocevski/102942/ltcube_593395201_593654401_4FGL_J2345.2-1555_daily_bin1366.fits outfile=/scratch/kocevski/102942/expmap_593395201_593654401_4FGL_J2345.2-1555_daily_bin1366.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/102942/ltcube_593395201_593654401_4FGL_J2345.2-1555_daily_bin1366.fits
.....................!
real 192.14
user 186.40
sys 5.38

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 167 point sources and 0 extended sources

Setting source of interest to:
4FGL J2345.2-1555 @ 356.303 -15.9182

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/102942/ft1_filtered_4FGL_J2345.2-1555_daily_bin1366.fits scfile=/scratch/kocevski/102942/ft2_4FGL_J2345.2-1555_daily_bin1366.fits outfile=/scratch/kocevski/102942/cmap_593395201_593654401_4FGL_J2345.2-1555_daily_bin1366.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=356.303 yref=-15.9182 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102942/ft1_filtered_4FGL_J2345.2-1555_daily_bin1366.fits scfile=/scratch/kocevski/102942/ft2_4FGL_J2345.2-1555_daily_bin1366.fits outfile=/scratch/kocevski/102942/cmap_HighResolution_593395201_593654401_4FGL_J2345.2-1555_daily_bin1366.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=356.303 yref=-15.9182 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102942/ft1_filtered_4FGL_J2345.2-1555_daily_bin1366.fits evtable="EVENTS" scfile=/scratch/kocevski/102942/ft2_4FGL_J2345.2-1555_daily_bin1366.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102942/Model_4FGL_J2345.2-1555_daily_bin1366.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/102942/ft1_filtered_4FGL_J2345.2-1555_daily_bin1366.fits.....................!
real 60.44
user 59.06
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/102942/ft1_filtered_4FGL_J2345.2-1555_daily_bin1366.fits', '/scratch/kocevski/102942/ft2_4FGL_J2345.2-1555_daily_bin1366.fits', expMap='/scratch/kocevski/102942/expmap_593395201_593654401_4FGL_J2345.2-1555_daily_bin1366.fits', expCube='/scratch/kocevski/102942/ltcube_593395201_593654401_4FGL_J2345.2-1555_daily_bin1366.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/102942/Model_4FGL_J2345.2-1555_daily_bin1366.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2345.2-1555'

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.857e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.034e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
479         beta:  1.029e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
480           Eb:  8.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/102942/ft1_filtered_4FGL_J2345.2-1555_daily_bin1366.fits
Spacecraft file(s): /scratch/kocevski/102942/ft2_4FGL_J2345.2-1555_daily_bin1366.fits
Exposure map: /scratch/kocevski/102942/expmap_593395201_593654401_4FGL_J2345.2-1555_daily_bin1366.fits
Exposure cube: /scratch/kocevski/102942/ltcube_593395201_593654401_4FGL_J2345.2-1555_daily_bin1366.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/102942/Model_4FGL_J2345.2-1555_daily_bin1366.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) = 7691.77441594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    17.851       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.882       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .24507E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8968       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .98651E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10142E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.3678       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.668       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1663       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14919E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    37.236       1.0000         .10000E-03   10000.    
    17 'norm      '    .10277       1.0000         .10000E-03   10000.    
    18 'norm      '    77.073       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0508       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .66204       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0333       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7691.771     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2595 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2030       -.77057E-08** at limit **
   2  norm          17.855        17.656        .75050E-05    .14282E-03
   3  Prefactor     17.870        26.301        .12858E-05    .94696E-05
   4  Prefactor     .10000E-03    7.5206        .18908E-07** at limit **
   5  Prefactor     .10000E-03    13.873        .23180E-07** at limit **
   6  Prefactor     1.8966        2.7689        .11905E-05   -.22975E-02
   7  Prefactor     .10034E-03    19.473        .15995E-05** at limit **
   8  Prefactor     .10000E-03    8.0333        .92332E-08** at limit **
   9  Prefactor     .10000E-03    6.4581       -.27753E-07** at limit **
  10  norm          .10000E-03    4.0220       -.62572E-08** at limit **
  11  norm          1.3668        2.5336       -.67803E-07   -.26318E-03
  12  Prefactor     10.694        70.760        .20884E-04    .93587E-04
  13  Prefactor     3.1562        33.331       -.15623E-04   -.18518E-03
  14  Prefactor     .10000E-03    32.272        .26587E-06** at limit **
  15  Prefactor     .10000E-03    11.604       -.46527E-08** at limit **
  16  Prefactor     37.189        45.483       -.73726E-05   -.43837E-04
  17  norm          .10313        .46259        .15049E-06   -.21085E-03
  18  norm          77.055        9.3981       -.12893E-06   -.24018E-03
  19  Prefactor     1.0504        3.4110        .20071E-07   -.24593E-03
  20  Normalizat    .66211        .14653       -.34674E-06   -.37617E-04
  21  Prefactor     1.0331        .14426        .14937E-06   -.89490E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 17.8554
  Prefactor  = 17.8702
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.89661
  Prefactor  = 0.00010034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.36678
  Prefactor  = 10.6935
  Prefactor  = 3.1562
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.1894
  norm       = 0.103126
  norm       = 77.0553
  Prefactor  = 1.05037
  Normalizat = 0.66211
  Prefactor  = 1.03311
 **********
 **   18 **HESSE 
 **********

 FCN=   7691.771     FROM HESSE     STATUS=OK           329 CALLS     2924 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2236        .15325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          17.855        17.378        .94796E-04   -1.4863    
   3  Prefactor     17.870        26.295        .94712E-04   -1.4862    
   4  Prefactor     .10000E-03    7.5504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.354        .10221       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8966        6.7400        .15102E-02   -1.5433    
   7  Prefactor     .10034E-03    168.37        .74361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.0409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.5677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.2028        .34327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.3668        2.5230        .18003E-03   -1.5474    
  12  Prefactor     10.694        66.825        .12267E-03   -1.5054    
  13  Prefactor     3.1562        31.492        .22777E-03   -1.5353    
  14  Prefactor     .10000E-03    33.057        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     37.189        45.302        .65679E-04   -1.4488    
  17  norm          .10313        .57407        .94681E-03   -1.5644    
  18  norm          77.055        8.5268        .45740E-04   -1.3950    
  19  Prefactor     1.0504        3.3588        .28152E-03   -1.5503    
  20  Normalizat    .66211        .17187        .27421E-03   -1.0541    
  21  Prefactor     1.0331        .17034        .22539E-03   -.91634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62877e-08
Minuit parameter uncertainties:
  1  1.87364e-06
  2  17.383
  3  26.3118
  4  2.02972e-06
  5  0.000140365
  6  6.74268
  7  0.0151692
  8  9.24385e-07
  9  1.41783e-05
  10  3.88544e-06
  11  2.52318
  12  53.552
  13  19.9526
  14  5.49582e-05
  15  2.35483e-07
  16  45.3437
  17  0.486398
  18  8.52691
  19  3.35941
  20  0.172008
  21  0.170433
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.031e-01  4.864e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.034e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
479         beta:  1.029e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
480           Eb:  8.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.033e+00  1.704e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  6.621e-01  1.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 356.303 -15.918
Photon Flux Upper Limit: 7.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102942/likelihoodResults_593395201_593654401_4FGL_J2345.2-1555_daily_bin1366.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) = 7691.76717967
delta logL = 0.00362399991991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7691.76716427
delta logL = 0.0036393982291

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10334       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8817       1.0000          .0000       5.0000    
     3 'Normalizat'    .66255       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0330       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7691.767     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      249 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10366        .43975        .11101E-03    .15884E-03
   2  alpha         1.8825        1.5533        .48398E-01   -.55557E-05
   3  Normalizat    .66269        .16586        .27411E-03    .16590E-06
   4  Prefactor     1.0328        .16837        .22543E-03   -.12104E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.103664
  alpha      = 1.88253
  Normalizat = 0.662691
  Prefactor  = 1.0328
 **********
 **   18 **HESSE 
 **********

 FCN=   7691.767     FROM HESSE     STATUS=OK            27 CALLS      276 TOTAL
                     EDM=   .29E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10366        .45315        .22202E-04   -1.5644    
   2  alpha         1.8825        1.5763        .19359E-02   -.24957    
   3  Normalizat    .66269        .16603        .10964E-04   -1.0538    
   4  Prefactor     1.0328        .16853        .90170E-05   -.91644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93932e-14
Minuit parameter uncertainties:
  1  0.433275
  2  1.71638
  3  0.166153
  4  0.168613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102942': 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) = 7691.76716346
delta logL = 0.00364020513007

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.037e-01  4.333e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  1.883e+00  1.716e+00  0.000e+00  5.000e+00 ( 1.000e+00)
479         beta:  1.029e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
480           Eb:  8.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.033e+00  1.686e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  6.627e-01  1.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 356.303 -15.918

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/102942/cmap_HighResolution_593395201_593654401_4FGL_J2345.2-1555_daily_bin1366.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.08e-05', job_status='DONE', photon_flux_upper_limit='7.72e-08', time_completed='2021-09-30 04:19:26.632157', job_id='102942', GAL2='1.03', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1633000766.63', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.64e-03', ts2='0.07', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1366' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:19:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 102942: <4FGL_J2345.2-1555_daily_bin1366> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1366> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 04:05:51 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:05:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 04:05:52 2021
Terminated at Thu Sep 30 04:19:26 2021
Results reported at Thu Sep 30 04:19:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1366 356.303 -15.9182 593395201 593654401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2345.2-1555 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   714.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            815 sec.

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

