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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1655
RA = 356.303, Dec = -15.9182
tmin = 668304001, tmax = 668563201
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='198716', job_status='RUN', time_executed='2022-03-10 00:37:11.490976', time_epoch_executed='1646901431.49' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1655'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/198716

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/198716/ft1_4FGL_J2345.2-1555_daily_bin1655.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/198716/ft2_4FGL_J2345.2-1555_daily_bin1655.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/198716/ft1_4FGL_J2345.2-1555_daily_bin1655.fits outfile=/scratch/kocevski/198716/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1655.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=668304001.0 tmax=668563201.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.47
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/198716/ft2_4FGL_J2345.2-1555_daily_bin1655.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/198716/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1655.fits evtable="EVENTS" outfile="/scratch/kocevski/198716/ft1_filtered_4FGL_J2345.2-1555_daily_bin1655.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.49
user 0.33
sys 0.15
Number of photons that survived the gtmktime cut: 442

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/198716/ft1_filtered_4FGL_J2345.2-1555_daily_bin1655.fits" evtable="EVENTS" scfile=/scratch/kocevski/198716/ft2_4FGL_J2345.2-1555_daily_bin1655.fits sctable="SC_DATA" outfile=/scratch/kocevski/198716/ltcube_668304001_668563201_4FGL_J2345.2-1555_daily_bin1655.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/198716/ft2_4FGL_J2345.2-1555_daily_bin1655.fits
.....................!
real 11.79
user 11.45
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/198716/ft1_filtered_4FGL_J2345.2-1555_daily_bin1655.fits evtable="EVENTS" scfile=/scratch/kocevski/198716/ft2_4FGL_J2345.2-1555_daily_bin1655.fits sctable="SC_DATA" expcube=/scratch/kocevski/198716/ltcube_668304001_668563201_4FGL_J2345.2-1555_daily_bin1655.fits outfile=/scratch/kocevski/198716/expmap_668304001_668563201_4FGL_J2345.2-1555_daily_bin1655.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/198716/ltcube_668304001_668563201_4FGL_J2345.2-1555_daily_bin1655.fits
.....................!
real 190.02
user 185.15
sys 4.48

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/198716/ft1_filtered_4FGL_J2345.2-1555_daily_bin1655.fits scfile=/scratch/kocevski/198716/ft2_4FGL_J2345.2-1555_daily_bin1655.fits outfile=/scratch/kocevski/198716/cmap_668304001_668563201_4FGL_J2345.2-1555_daily_bin1655.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/198716/ft1_filtered_4FGL_J2345.2-1555_daily_bin1655.fits scfile=/scratch/kocevski/198716/ft2_4FGL_J2345.2-1555_daily_bin1655.fits outfile=/scratch/kocevski/198716/cmap_HighResolution_668304001_668563201_4FGL_J2345.2-1555_daily_bin1655.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/198716/ft1_filtered_4FGL_J2345.2-1555_daily_bin1655.fits evtable="EVENTS" scfile=/scratch/kocevski/198716/ft2_4FGL_J2345.2-1555_daily_bin1655.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/198716/Model_4FGL_J2345.2-1555_daily_bin1655.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/198716/ft1_filtered_4FGL_J2345.2-1555_daily_bin1655.fits.....................!
real 45.98
user 44.61
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/198716/ft1_filtered_4FGL_J2345.2-1555_daily_bin1655.fits', '/scratch/kocevski/198716/ft2_4FGL_J2345.2-1555_daily_bin1655.fits', expMap='/scratch/kocevski/198716/expmap_668304001_668563201_4FGL_J2345.2-1555_daily_bin1655.fits', expCube='/scratch/kocevski/198716/ltcube_668304001_668563201_4FGL_J2345.2-1555_daily_bin1655.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/198716/Model_4FGL_J2345.2-1555_daily_bin1655.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/198716/ft1_filtered_4FGL_J2345.2-1555_daily_bin1655.fits
Spacecraft file(s): /scratch/kocevski/198716/ft2_4FGL_J2345.2-1555_daily_bin1655.fits
Exposure map: /scratch/kocevski/198716/expmap_668304001_668563201_4FGL_J2345.2-1555_daily_bin1655.fits
Exposure cube: /scratch/kocevski/198716/ltcube_668304001_668563201_4FGL_J2345.2-1555_daily_bin1655.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/198716/Model_4FGL_J2345.2-1555_daily_bin1655.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) = 5076.00220057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0161       1.0000         .10000E-03   10000.    
     2 'norm      '    21.262       1.0000         .10000E-03   10000.    
     3 'Prefactor '    82.627       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.451       1.0000         .10000E-03   10000.    
     7 'Prefactor '    140.40       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10371E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    78.898       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2186       1.0000         .10000E-03   10000.    
    14 'Prefactor '    65.260       1.0000         .10000E-03   10000.    
    15 'Prefactor '    159.39       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .74920E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1964       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1234       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=   5075.998     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2229 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0166        12.313       -.10894E-05   -.23927E-04
   2  norm          21.263        32.013       -.45596E-06    .54735E-05
   3  Prefactor     82.626        73.267       -.98296E-06    .74649E-05
   4  Prefactor     .10000E-03    11.224        .22906E-06** at limit **
   5  Prefactor     .10000E-03    13.988        .34342E-06** at limit **
   6  Prefactor     23.453        18.946       -.45721E-06    .22741E-04
   7  Prefactor     140.43        86.176        .86102E-06    .70022E-04
   8  Prefactor     .10000E-03    12.218       -.75168E-06** at limit **
   9  Prefactor     .10000E-03    7.6546        .98814E-06** at limit **
  10  norm          .10000E-03    3.1656        .34428E-06** at limit **
  11  norm          .10000E-03    1.6874       -.66185E-06** at limit **
  12  Prefactor     78.681        71.794        .33647E-06   -.39236E-04
  13  Prefactor     1.4473        57.240       -.25353E-04   -.82975E-04
  14  Prefactor     65.225        56.057       -.36312E-05    .96168E-05
  15  Prefactor     159.39        95.932       -.65024E-06    .27983E-04
  16  Prefactor     .10000E-03    171.59        .60084E-05** at limit **
  17  norm          .74896E-01    .41521        .28099E-06   -.36573E-03
  18  norm          .10000E-03    3.1354       -.44441E-06** at limit **
  19  Prefactor     .10000E-03    11.963       -.27213E-06** at limit **
  20  Normalizat    1.1966        .25774        .91792E-05   -.90649E-06
  21  Prefactor     1.1232        .22834       -.45513E-05    .47085E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.01659
  norm       = 21.2625
  Prefactor  = 82.6263
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4532
  Prefactor  = 140.432
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 78.6815
  Prefactor  = 1.44726
  Prefactor  = 65.2247
  Prefactor  = 159.389
  Prefactor  = 0.000100002
  norm       = 0.0748957
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.19661
  Prefactor  = 1.12316
 **********
 **   18 **HESSE 
 **********

 FCN=   5075.998     FROM HESSE     STATUS=OK           317 CALLS     2546 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0166        12.289        .17955E-03   -1.5260    
   2  norm          21.263        32.021        .86864E-04   -1.4785    
   3  Prefactor     82.626        73.153        .44188E-04   -1.3887    
   4  Prefactor     .10000E-03    11.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.453        18.962        .82716E-04   -1.4739    
   7  Prefactor     140.43        86.206        .16999E-03   -1.3332    
   8  Prefactor     .10000E-03    12.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.6544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.1769        .12372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.6960        .90279E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     78.681        71.814        .22606E-03   -1.3932    
  13  Prefactor     1.4473        58.677        .40882E-03   -1.5467    
  14  Prefactor     65.225        56.183        .49679E-04   -1.4091    
  15  Prefactor     159.39        95.960        .15970E-03   -1.3176    
  16  Prefactor     .10000E-03    171.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .74896E-01    .79020        .85971E-03   -1.5653    
  18  norm          .10000E-03    3.1799        .24456E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1966        .29006        .27960E-03   -.86708    
  21  Prefactor     1.1232        .26415        .27004E-03   -.88730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97144e-08
Minuit parameter uncertainties:
  1  12.295
  2  32.0467
  3  73.2333
  4  3.98063e-06
  5  3.48285e-06
  6  18.9669
  7  86.2837
  8  7.15642e-06
  9  1.39319e-05
  10  4.04688e-06
  11  2.87414e-06
  12  71.8937
  13  18.4493
  14  56.2287
  15  96.0544
  16  0.00105671
  17  0.486232
  18  2.31343e-05
  19  0.00010878
  20  0.290451
  21  0.264461
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  7.490e-02  4.862e-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.123e+00  2.645e-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:  1.197e+00  2.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/198716/likelihoodResults_668304001_668563201_4FGL_J2345.2-1555_daily_bin1655.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) = 5075.95271945
delta logL = 0.045223986157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5075.9448663
delta logL = 0.0530771378808

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12087       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6650       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1874       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1249       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=   5075.945     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      265 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12026        .44906        .19221E-03   -.26155E-03
   2  alpha         2.6662        1.9005        .37506E-01    .85232E-04
   3  Normalizat    1.1873        .27858        .28054E-03   -.24396E-04
   4  Prefactor     1.1251        .26121        .26982E-03   -.91853E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.120257
  alpha      = 2.66622
  Normalizat = 1.18726
  Prefactor  = 1.12515
 **********
 **   18 **HESSE 
 **********

 FCN=   5075.945     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .99E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12026        .39793        .76882E-05   -1.5639    
   2  alpha         2.6662        1.7324        .75011E-02    .66539E-01
   3  Normalizat    1.1873        .27868        .11222E-04   -.86997    
   4  Prefactor     1.1251        .26105        .10793E-04   -.88667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.94945e-12
Minuit parameter uncertainties:
  1  0.397935
  2  1.91508
  3  0.279032
  4  0.261344
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/198716': 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) = 5075.94486458
delta logL = 0.0530788606084

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.203e-01  3.979e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.666e+00  1.915e+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.125e+00  2.613e-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:  1.187e+00  2.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/198716/cmap_HighResolution_668304001_668563201_4FGL_J2345.2-1555_daily_bin1655.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-05', job_status='DONE', photon_flux_upper_limit='7.89e-08', time_completed='2022-03-10 00:46:03.824430', job_id='198716', GAL2='1.13', fit_tolerance='1e-08', EG2='1.19', EG='1.20', time_epoch_completed='1646901963.82', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='5.31e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1655' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar 10 00:46:03 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 198716: <4FGL_J2345.2-1555_daily_bin1655> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1655> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Thu Mar 10 00:35:58 2022
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar 10 00:36:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar 10 00:36:11 2022
Terminated at Thu Mar 10 00:46:04 2022
Results reported at Thu Mar 10 00:46:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1655 356.303 -15.9182 668304001 668563201 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 :                                   534.16 sec.
    Max Memory :                                 1228 MB
    Average Memory :                             305.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            606 sec.

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

