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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1579
RA = 356.303, Dec = -15.9182
tmin = 648604801, tmax = 648864001
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='104358', job_status='RUN', time_executed='2021-09-30 04:10:48.339839', time_epoch_executed='1633000248.34' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1579'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104358

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104358/ft1_4FGL_J2345.2-1555_daily_bin1579.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104358/ft2_4FGL_J2345.2-1555_daily_bin1579.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104358/ft1_4FGL_J2345.2-1555_daily_bin1579.fits outfile=/scratch/kocevski/104358/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1579.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=648604801.0 tmax=648864001.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 2.94
user 2.71
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104358/ft1_filtered_4FGL_J2345.2-1555_daily_bin1579.fits" evtable="EVENTS" scfile=/scratch/kocevski/104358/ft2_4FGL_J2345.2-1555_daily_bin1579.fits sctable="SC_DATA" outfile=/scratch/kocevski/104358/ltcube_648604801_648864001_4FGL_J2345.2-1555_daily_bin1579.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/104358/ft2_4FGL_J2345.2-1555_daily_bin1579.fits
.....................!
real 12.87
user 12.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104358/ft1_filtered_4FGL_J2345.2-1555_daily_bin1579.fits evtable="EVENTS" scfile=/scratch/kocevski/104358/ft2_4FGL_J2345.2-1555_daily_bin1579.fits sctable="SC_DATA" expcube=/scratch/kocevski/104358/ltcube_648604801_648864001_4FGL_J2345.2-1555_daily_bin1579.fits outfile=/scratch/kocevski/104358/expmap_648604801_648864001_4FGL_J2345.2-1555_daily_bin1579.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/104358/ltcube_648604801_648864001_4FGL_J2345.2-1555_daily_bin1579.fits
.....................!
real 191.10
user 185.99
sys 4.80

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/104358/ft1_filtered_4FGL_J2345.2-1555_daily_bin1579.fits scfile=/scratch/kocevski/104358/ft2_4FGL_J2345.2-1555_daily_bin1579.fits outfile=/scratch/kocevski/104358/cmap_648604801_648864001_4FGL_J2345.2-1555_daily_bin1579.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104358/ft1_filtered_4FGL_J2345.2-1555_daily_bin1579.fits scfile=/scratch/kocevski/104358/ft2_4FGL_J2345.2-1555_daily_bin1579.fits outfile=/scratch/kocevski/104358/cmap_HighResolution_648604801_648864001_4FGL_J2345.2-1555_daily_bin1579.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/104358/ft1_filtered_4FGL_J2345.2-1555_daily_bin1579.fits evtable="EVENTS" scfile=/scratch/kocevski/104358/ft2_4FGL_J2345.2-1555_daily_bin1579.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/104358/Model_4FGL_J2345.2-1555_daily_bin1579.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/104358/ft1_filtered_4FGL_J2345.2-1555_daily_bin1579.fits.....................!
real 39.57
user 38.19
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11102E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.903       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.905       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11144E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11100E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .32363E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11477E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    16.692       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.594       1.0000         .10000E-03   10000.    
    13 'Prefactor '    33.009       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.246       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .31018E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    248.79       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    9.1853       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1317       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .69222       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1058       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=   4403.588     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2608 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.5457       -.56020E-06** at limit **
   2  norm          .10000E-03    9.7263        .98269E-08** at limit **
   3  Prefactor     .10000E-03    21.496       -.17705E-06** at limit **
   4  Prefactor     13.896        19.747       -.20073E-05   -.24914E-03
   5  Prefactor     14.919        25.607        .28397E-05    .17769E-03
   6  Prefactor     .10000E-03    22.409       -.92541E-09** at limit **
   7  Prefactor     .10000E-03    92.456        .53753E-06** at limit **
   8  Prefactor     .10000E-03    16.873        .23635E-06** at limit **
   9  Prefactor     .10000E-03    23.795        .49367E-08** at limit **
  10  norm          .10000E-03    6.2760        .43769E-08** at limit **
  11  norm          16.695        6.1577       -.24047E-07   -.31241E-04
  12  Prefactor     16.662        95.647       -.45364E-05   -.54502E-04
  13  Prefactor     32.992        29.771        .93511E-06   -.22989E-04
  14  Prefactor     18.211        46.282        .18115E-05    .79965E-04
  15  Prefactor     .10593E-03    73.479       -.15080E-05** at limit **
  16  Prefactor     248.93        163.67        .91083E-05    .25727E-03
  17  norm          .10000E-03    .25918       -.20094E-07** at limit **
  18  norm          9.1864        4.5637        .72912E-07    .18526E-04
  19  Prefactor     5.1309        6.5263        .40002E-05   -.89417E-03
  20  Normalizat    .69227        .20506       -.17873E-05    .36631E-04
  21  Prefactor     1.1058        .19841       -.25376E-06    .12593E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.8957
  Prefactor  = 14.9186
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 16.6951
  Prefactor  = 16.6617
  Prefactor  = 32.9923
  Prefactor  = 18.2106
  Prefactor  = 0.000105932
  Prefactor  = 248.926
  norm       = 0.0001
  norm       = 9.18641
  Prefactor  = 5.13091
  Normalizat = 0.692272
  Prefactor  = 1.10583
 **********
 **   18 **HESSE 
 **********

 FCN=   4403.588     FROM HESSE     STATUS=OK           335 CALLS     2943 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    9.7276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.896        19.912        .10742E-03   -1.4962    
   5  Prefactor     14.919        25.830        .10374E-03   -1.4935    
   6  Prefactor     .10000E-03    22.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    93.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.950        .10545       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    24.592        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.3516        .16228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.695        6.1560        .90557E-04   -1.4891    
  12  Prefactor     16.662        95.841        .98320E-04   -1.4891    
  13  Prefactor     32.992        29.662        .69745E-04   -1.4559    
  14  Prefactor     18.211        46.251        .93765E-04   -1.4854    
  15  Prefactor     .10593E-03    67.361        .16061       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     248.93        170.96        .12841E-03   -1.2539    
  17  norm          .10000E-03    .47466        .63046E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.1864        4.3934        .92097E-04   -1.5102    
  19  Prefactor     5.1309        6.8394        .88737E-03   -1.5255    
  20  Normalizat    .69227        .23809        .27750E-03   -1.0420    
  21  Prefactor     1.1058        .23136        .22304E-03   -.89280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95328e-09
Minuit parameter uncertainties:
  1  3.05813e-05
  2  2.55706e-06
  3  1.95401e-05
  4  19.9218
  5  25.8489
  6  3.58314e-05
  7  0.000312151
  8  0.000441342
  9  8.94952e-05
  10  1.38167e-05
  11  6.15626
  12  80.1171
  13  29.6757
  14  46.3417
  15  0.0400251
  16  171.301
  17  2.2858e-06
  18  4.39357
  19  6.84042
  20  0.238443
  21  0.231566
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  2.286e-06  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.106e+00  2.316e-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.923e-01  2.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/104358/likelihoodResults_648604801_648864001_4FGL_J2345.2-1555_daily_bin1579.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) = 4403.59845861
delta logL = -0.0100235040754

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4403.50275666
delta logL = 0.0856784508715

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38771E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .66046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1265       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4403.503     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      316 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38905E-02    .98022E-02    .87710E-04    .23926E-02
   2  alpha         5.0000        3.9692        .11172E-01** at limit **
   3  Normalizat    .66030        .24108        .28340E-03    .13146E-03
   4  Prefactor     1.1265        .23464        .22117E-03    .16595E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0038905
  alpha      = 5
  Normalizat = 0.6603
  Prefactor  = 1.12652
 **********
 **   18 **HESSE 
 **********

 FCN=   4403.503     FROM HESSE     STATUS=OK            25 CALLS      341 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38905E-02    .97717E-02    .35084E-05   -1.5696    
   2  alpha         5.0000        3.9690        .22344E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .66030        .24068        .11336E-04   -1.0548    
   4  Prefactor     1.1265        .23460        .44234E-04   -.88624    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49488e-11
Minuit parameter uncertainties:
  1  0.00977174
  2  4.24398e-07
  3  0.241066
  4  0.234815
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104358': 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) = 4403.50275419
delta logL = 0.0856809124134

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  3.891e-03  9.772e-03  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  5.000e+00  4.244e-07  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.127e+00  2.348e-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.603e-01  2.411e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/104358/cmap_HighResolution_648604801_648864001_4FGL_J2345.2-1555_daily_bin1579.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-05', job_status='DONE', photon_flux_upper_limit='6.00e-08', time_completed='2021-09-30 04:19:51.192546', job_id='104358', GAL2='1.13', fit_tolerance='1e-08', EG2='0.66', EG='0.69', time_epoch_completed='1633000791.19', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='8.57e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1579' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:19:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 104358: <4FGL_J2345.2-1555_daily_bin1579> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1579> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 30 04:10:28 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:10:30 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:10:30 2021
Terminated at Thu Sep 30 04:19:51 2021
Results reported at Thu Sep 30 04:19:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1579 356.303 -15.9182 648604801 648864001 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 :                                   530.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             337.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   561 sec.
    Turnaround time :                            563 sec.

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

