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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1604
RA = 356.303, Dec = -15.9182
tmin = 655084801, tmax = 655344001
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='11829', job_status='RUN', time_executed='2021-10-08 00:36:31.834278', time_epoch_executed='1633678591.83' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1604'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/11829

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/11829/ft1_4FGL_J2345.2-1555_daily_bin1604.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/11829/ft2_4FGL_J2345.2-1555_daily_bin1604.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/11829/ft1_4FGL_J2345.2-1555_daily_bin1604.fits outfile=/scratch/kocevski/11829/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1604.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=655084801.0 tmax=655344001.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.90
user 2.67
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/11829/ft1_filtered_4FGL_J2345.2-1555_daily_bin1604.fits" evtable="EVENTS" scfile=/scratch/kocevski/11829/ft2_4FGL_J2345.2-1555_daily_bin1604.fits sctable="SC_DATA" outfile=/scratch/kocevski/11829/ltcube_655084801_655344001_4FGL_J2345.2-1555_daily_bin1604.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/11829/ft2_4FGL_J2345.2-1555_daily_bin1604.fits
.....................!
real 14.38
user 13.94
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/11829/ft1_filtered_4FGL_J2345.2-1555_daily_bin1604.fits evtable="EVENTS" scfile=/scratch/kocevski/11829/ft2_4FGL_J2345.2-1555_daily_bin1604.fits sctable="SC_DATA" expcube=/scratch/kocevski/11829/ltcube_655084801_655344001_4FGL_J2345.2-1555_daily_bin1604.fits outfile=/scratch/kocevski/11829/expmap_655084801_655344001_4FGL_J2345.2-1555_daily_bin1604.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/11829/ltcube_655084801_655344001_4FGL_J2345.2-1555_daily_bin1604.fits
.....................!
real 191.38
user 185.48
sys 5.22

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/11829/ft1_filtered_4FGL_J2345.2-1555_daily_bin1604.fits scfile=/scratch/kocevski/11829/ft2_4FGL_J2345.2-1555_daily_bin1604.fits outfile=/scratch/kocevski/11829/cmap_655084801_655344001_4FGL_J2345.2-1555_daily_bin1604.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/11829/ft1_filtered_4FGL_J2345.2-1555_daily_bin1604.fits scfile=/scratch/kocevski/11829/ft2_4FGL_J2345.2-1555_daily_bin1604.fits outfile=/scratch/kocevski/11829/cmap_HighResolution_655084801_655344001_4FGL_J2345.2-1555_daily_bin1604.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    26.863       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.2063       1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.927       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28663E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.914       1.0000         .10000E-03   10000.    
    10 'norm      '    .10160E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    29.833       1.0000         .10000E-03   10000.    
    12 'Prefactor '    65.839       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10312E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    144.20       1.0000         .10000E-03   10000.    
    16 'Prefactor '    121.83       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    14.077       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .63017       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99365       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=   2482.150     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     2174 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.713        .78430E-06** at limit **
   2  norm          26.863        72.928       -.73593E-06   -.31526E-05
   3  Prefactor     .10000E-03    100.83       -.13819E-04** at limit **
   4  Prefactor     .10000E-03    62.165        .31492E-04** at limit **
   5  Prefactor     8.2042        36.833       -.20251E-05   -.98841E-05
   6  Prefactor     37.927        20.770        .10592E-06    .31196E-04
   7  Prefactor     .10000E-03    384.65       -.10801E-03** at limit **
   8  Prefactor     .10000E-03    50.029       -.20492E-04** at limit **
   9  Prefactor     39.919        35.693        .47061E-05    .13384E-03
  10  norm          .10000E-03    27.293        .81028E-05** at limit **
  11  norm          29.833        7.5282        .58883E-06    .68967E-04
  12  Prefactor     65.850        102.10        .12834E-04    .55349E-04
  13  Prefactor     .10000E-03    28.551       -.70498E-05** at limit **
  14  Prefactor     .10000E-03    14.735       -.95572E-06** at limit **
  15  Prefactor     144.17        185.31       -.24793E-04    .75034E-05
  16  Prefactor     121.87        116.71        .28220E-04   -.25362E-05
  17  norm          .10000E-03    .49089       -.26927E-07** at limit **
  18  norm          14.079        8.9325        .23827E-06    .28824E-04
  19  Prefactor     .10000E-03    19.273       -.92046E-06** at limit **
  20  Normalizat    .63015        .28122       -.54283E-05    .97481E-04
  21  Prefactor     .99369        .26400        .30402E-06    .50554E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 26.8626
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.20422
  Prefactor  = 37.9268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.9186
  norm       = 0.0001
  norm       = 29.8331
  Prefactor  = 65.8504
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 144.174
  Prefactor  = 121.868
  norm       = 0.0001
  norm       = 14.0787
  Prefactor  = 0.0001
  Normalizat = 0.630148
  Prefactor  = 0.99369
 **********
 **   18 **HESSE 
 **********

 FCN=   2482.150     FROM HESSE     STATUS=OK           307 CALLS     2481 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          26.863        73.002        .77293E-04   -1.4671    
   3  Prefactor     .10000E-03    100.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    62.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.2042        36.852        .13995E-03   -1.5135    
   6  Prefactor     37.927        20.773        .65080E-04   -1.4475    
   7  Prefactor     .10000E-03    385.04        .21409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    50.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     39.919        35.726        .63446E-04   -1.4443    
  10  norm          .10000E-03    27.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          29.833        7.5270        .65037E-04   -1.4615    
  12  Prefactor     65.850        102.28        .49461E-04   -1.4083    
  13  Prefactor     .10000E-03    28.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     144.17        185.28        .16776E-03   -1.3301    
  16  Prefactor     121.87        116.58        .18231E-03   -1.3496    
  17  norm          .10000E-03    .49769        .67579E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          14.079        8.8678        .10675E-03   -1.4957    
  19  Prefactor     .10000E-03    19.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .63015        .31933        .31374E-03   -1.0672    
  21  Prefactor     .99369        .30168        .24371E-03   -.92940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78147e-10
Minuit parameter uncertainties:
  1  1.35448e-05
  2  73.2461
  3  2.29909e-05
  4  1.4616e-05
  5  34.8114
  6  20.7768
  7  0.000123553
  8  9.57664e-05
  9  35.7451
  10  7.69469e-05
  11  7.52724
  12  102.555
  13  0.000227868
  14  4.08281e-05
  15  186.039
  16  116.805
  17  2.47674e-06
  18  8.86861
  19  5.6714e-05
  20  0.320273
  21  0.302194
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  2.477e-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:  9.937e-01  3.022e-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.301e-01  3.203e-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: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/11829/likelihoodResults_655084801_655344001_4FGL_J2345.2-1555_daily_bin1604.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) = 2482.15898163
delta logL = -0.00875142384393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2482.15023116
delta logL = -9.61667410593e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0386       1.0000          .0000       5.0000    
     3 'Normalizat'    .63005       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99397       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=   2482.150     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      226 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .53892        .67627E-04** at limit **
   2  alpha         2.1523        3.5689        .50000        .24498E-06
   3  Normalizat    .63014        .30951        .31375E-03   -.48470E-03
   4  Prefactor     .99369        .29922        .24371E-03   -.63785E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.15229
  Normalizat = 0.630143
  Prefactor  = 0.993689
 **********
 **   18 **HESSE 
 **********

 FCN=   2482.150     FROM HESSE     STATUS=OK            29 CALLS      255 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .50526        .13525E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1523        3.0564        .50000       -.13954    
   3  Normalizat    .63014        .30972        .62749E-04   -1.0672    
   4  Prefactor     .99369        .29943        .48741E-04   -.92940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.128e-09
Minuit parameter uncertainties:
  1  3.91776e-06
  2  63.4203
  3  0.310576
  4  0.299929
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/11829': 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) = 2482.15022895
delta logL = 1.25031056086e-06

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  3.918e-06  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.152e+00  6.342e+01  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:  9.937e-01  2.999e-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.301e-01  3.106e-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/11829/cmap_HighResolution_655084801_655344001_4FGL_J2345.2-1555_daily_bin1604.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.43e-05', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2021-10-08 00:43:27.137791', job_id='11829', GAL2='0.99', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1633679007.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.25e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1604' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  8 00:43:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 11829: <4FGL_J2345.2-1555_daily_bin1604> in cluster <slac> Done

Job <4FGL_J2345.2-1555_daily_bin1604> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Oct  8 00:30:14 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct  8 00:35:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct  8 00:35:51 2021
Terminated at Fri Oct  8 00:43:27 2021
Results reported at Fri Oct  8 00:43:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1604 356.303 -15.9182 655084801 655344001 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 :                                   417.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   456 sec.
    Turnaround time :                            793 sec.

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

