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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1346
RA = 356.303, Dec = -15.9182
tmin = 588211201, tmax = 588470401
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='102909', job_status='RUN', time_executed='2021-09-30 04:07:05.344370', time_epoch_executed='1633000025.34' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1346'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102909

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102909/ft1_4FGL_J2345.2-1555_daily_bin1346.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102909/ft2_4FGL_J2345.2-1555_daily_bin1346.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102909/ft1_4FGL_J2345.2-1555_daily_bin1346.fits outfile=/scratch/kocevski/102909/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1346.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=588211201.0 tmax=588470401.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.02
user 3.56
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102909/ft1_filtered_4FGL_J2345.2-1555_daily_bin1346.fits" evtable="EVENTS" scfile=/scratch/kocevski/102909/ft2_4FGL_J2345.2-1555_daily_bin1346.fits sctable="SC_DATA" outfile=/scratch/kocevski/102909/ltcube_588211201_588470401_4FGL_J2345.2-1555_daily_bin1346.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/102909/ft2_4FGL_J2345.2-1555_daily_bin1346.fits
.....................!
real 12.25
user 11.91
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102909/ft1_filtered_4FGL_J2345.2-1555_daily_bin1346.fits evtable="EVENTS" scfile=/scratch/kocevski/102909/ft2_4FGL_J2345.2-1555_daily_bin1346.fits sctable="SC_DATA" expcube=/scratch/kocevski/102909/ltcube_588211201_588470401_4FGL_J2345.2-1555_daily_bin1346.fits outfile=/scratch/kocevski/102909/expmap_588211201_588470401_4FGL_J2345.2-1555_daily_bin1346.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/102909/ltcube_588211201_588470401_4FGL_J2345.2-1555_daily_bin1346.fits
.....................!
real 192.22
user 187.01
sys 4.89

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/102909/ft1_filtered_4FGL_J2345.2-1555_daily_bin1346.fits scfile=/scratch/kocevski/102909/ft2_4FGL_J2345.2-1555_daily_bin1346.fits outfile=/scratch/kocevski/102909/cmap_588211201_588470401_4FGL_J2345.2-1555_daily_bin1346.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102909/ft1_filtered_4FGL_J2345.2-1555_daily_bin1346.fits scfile=/scratch/kocevski/102909/ft2_4FGL_J2345.2-1555_daily_bin1346.fits outfile=/scratch/kocevski/102909/cmap_HighResolution_588211201_588470401_4FGL_J2345.2-1555_daily_bin1346.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102909/ft1_filtered_4FGL_J2345.2-1555_daily_bin1346.fits evtable="EVENTS" scfile=/scratch/kocevski/102909/ft2_4FGL_J2345.2-1555_daily_bin1346.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102909/Model_4FGL_J2345.2-1555_daily_bin1346.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/102909/ft1_filtered_4FGL_J2345.2-1555_daily_bin1346.fits.....................!
real 48.53
user 47.30
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9347       1.0000         .10000E-03   10000.    
     2 'norm      '    37.778       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10579E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1707       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.3634       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.282       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.0834       1.0000         .10000E-03   10000.    
    11 'norm      '    3.4036       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.4775       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.8670       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.2429       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2099       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .68125       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=   5576.249     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2164 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9334        6.2521       -.28910E-06   -.10257E-03
   2  norm          37.778        26.605       -.77421E-07    .24408E-05
   3  Prefactor     .10000E-03    100.06        .32223E-04** at limit **
   4  Prefactor     5.1689        15.016        .16916E-05   -.86196E-04
   5  Prefactor     .10000E-03    7.1543        .66378E-08** at limit **
   6  Prefactor     6.3636        7.7200       -.69037E-07   -.28668E-04
   7  Prefactor     .10000E-03    9.7056       -.32484E-07** at limit **
   8  Prefactor     21.273        23.438       -.11537E-05   -.69546E-05
   9  Prefactor     .10000E-03    2.0636        .13215E-07** at limit **
  10  norm          1.0827        3.3226       -.91848E-06   -.89480E-03
  11  norm          3.4033        2.9661       -.96333E-07   -.27404E-03
  12  Prefactor     .10000E-03    20.519       -.31105E-06** at limit **
  13  Prefactor     8.4750        13.294        .14358E-05   -.39188E-04
  14  Prefactor     .10000E-03    14.280        .16927E-05** at limit **
  15  Prefactor     .10000E-03    14.416       -.15708E-05** at limit **
  16  Prefactor     .10000E-03    107.36       -.35415E-04** at limit **
  17  norm          .10000E-03    .17753       -.67854E-08** at limit **
  18  norm          7.8669        4.1122       -.51662E-07   -.71309E-04
  19  Prefactor     2.2422        6.5520       -.13738E-05   -.59505E-03
  20  Normalizat    1.2100        .17268        .28507E-06   -.12095E-04
  21  Prefactor     .68115        .16253       -.11877E-06   -.36342E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.93345
  norm       = 37.7782
  Prefactor  = 0.0001
  Prefactor  = 5.16887
  Prefactor  = 0.0001
  Prefactor  = 6.36365
  Prefactor  = 0.0001
  Prefactor  = 21.2726
  Prefactor  = 0.0001
  norm       = 1.08267
  norm       = 3.40328
  Prefactor  = 0.0001
  Prefactor  = 8.47503
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.86694
  Prefactor  = 2.2422
  Normalizat = 1.21002
  Prefactor  = 0.681145
 **********
 **   18 **HESSE 
 **********

 FCN=   5576.249     FROM HESSE     STATUS=OK           321 CALLS     2485 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9334        6.2428        .16484E-03   -1.5221    
   2  norm          37.778        26.608        .65208E-04   -1.4478    
   3  Prefactor     .10000E-03    98.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1689        14.971        .17679E-03   -1.5253    
   5  Prefactor     .10000E-03    7.1594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.3636        7.7176        .15911E-03   -1.5203    
   7  Prefactor     .10000E-03    9.7072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.273        23.439        .86824E-04   -1.4785    
   9  Prefactor     .10000E-03    2.0651        .10475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0827        3.3280        .23615E-03   -1.5500    
  11  norm          3.4033        2.9646        .11508E-03   -1.5339    
  12  Prefactor     .10000E-03    20.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.4750        13.250        .13768E-03   -1.5126    
  14  Prefactor     .10000E-03    14.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    105.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .24689        .59760E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.8669        4.0227        .10242E-03   -1.5147    
  19  Prefactor     2.2422        6.6504        .27442E-03   -1.5408    
  20  Normalizat    1.2100        .19466        .21406E-03   -.86294    
  21  Prefactor     .68115        .18263        .26475E-03   -1.0427    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60376e-09
Minuit parameter uncertainties:
  1  6.24344
  2  26.6162
  3  0.000309398
  4  14.9821
  5  3.98047e-07
  6  7.7188
  7  1.41506e-06
  8  23.4489
  9  1.81057e-06
  10  3.32858
  11  2.96477
  12  3.78283e-05
  13  13.2542
  14  9.47993e-07
  15  1.7188e-06
  16  4.28907e-05
  17  3.34697e-07
  18  4.02282
  19  6.65255
  20  0.194779
  21  0.182788
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  3.347e-07  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:  6.811e-01  1.828e-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.210e+00  1.948e-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: 4.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.45e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102909/likelihoodResults_588211201_588470401_4FGL_J2345.2-1555_daily_bin1346.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) = 5576.24874098
delta logL = -0.000163669264111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5576.24856967
delta logL = 7.64089236327e-06

Fit tolerance = 1e-08

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

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

 FCN=   5574.265     FROM MIGRAD    STATUS=CONVERGED    200 CALLS      359 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16110E-01    .94332E-02    .90712E-03    .28247E-01
   2  alpha         5.0000        .34065        .41926    ** at limit **
   3  Normalizat    1.0837        .17095        .50546E-01    .34706E-03
   4  Prefactor     .75651        .15924        .42150E-01    .33370E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0161102
  alpha      = 5
  Normalizat = 1.08368
  Prefactor  = 0.756505
 **********
 **   18 **HESSE 
 **********

 FCN=   5574.265     FROM HESSE     STATUS=OK            27 CALLS      386 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16110E-01    .95161E-02    .52206E-05   -1.5733    
   2  alpha         5.0000        .56333        .37438E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0837        .19814        .22348E-03   -.90277    
   4  Prefactor     .75651        .18579        .25211E-03   -1.0135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48046e-09
Minuit parameter uncertainties:
  1  0.00951612
  2  4.43946e-05
  3  0.198276
  4  0.185941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102909': 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) = 5574.26517689
delta logL = 1.98340042273

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.611e-02  9.516e-03  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  5.000e+00  4.439e-05  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:  7.565e-01  1.859e-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.084e+00  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.28
Ra Dec: 356.303 -15.918
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.09e-07 +/- 6.40e-08
Energy Flux (Free Index): 1.49e-05 +/- 8.78e-06

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/102909/cmap_HighResolution_588211201_588470401_4FGL_J2345.2-1555_daily_bin1346.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.45e-05', comment='SUCCESS', energy_flux2='1.49e-05', dlogl='1.98e+00', photon_flux2='1.09e-07', job_status='DONE', time_completed='2021-09-30 04:17:13.834485', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='4.63e-08', energy_flux_error2='8.78e-06', EG='1.21', time_epoch_completed='1633000633.83', return_code='0', job_id='102909', GAL2='0.76', EG2='1.08', return_code2='0', photon_flux_error2='6.40e-08', ts2='4.28', photon_index='2.03' WHERE bin_id='1346' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:17:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 102909: <4FGL_J2345.2-1555_daily_bin1346> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1346> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 04:05:47 2021
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 04:05:49 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:49 2021
Terminated at Thu Sep 30 04:17:14 2021
Results reported at Thu Sep 30 04:17:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1346 356.303 -15.9182 588211201 588470401 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 :                                   570.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            687 sec.

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

