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


Performing analysis on: 4FGL_J2345.2-1555_daily_bin1113
RA = 356.303, Dec = -15.9182
tmin = 527817601, tmax = 528076801
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='102496', job_status='RUN', time_executed='2021-09-30 04:05:54.949051', time_epoch_executed='1632999954.95' WHERE source_name='4FGL J2345.2-1555' and cadence='daily' and bin_id='1113'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102496

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102496/ft1_4FGL_J2345.2-1555_daily_bin1113.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102496/ft2_4FGL_J2345.2-1555_daily_bin1113.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102496/ft1_4FGL_J2345.2-1555_daily_bin1113.fits outfile=/scratch/kocevski/102496/ft1_filteredMKT_4FGL_J2345.2-1555_daily_bin1113.fits ra=356.303 dec=-15.9182 rad=12.0 tmin=527817601.0 tmax=528076801.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.52
user 3.31
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102496/ft1_filtered_4FGL_J2345.2-1555_daily_bin1113.fits" evtable="EVENTS" scfile=/scratch/kocevski/102496/ft2_4FGL_J2345.2-1555_daily_bin1113.fits sctable="SC_DATA" outfile=/scratch/kocevski/102496/ltcube_527817601_528076801_4FGL_J2345.2-1555_daily_bin1113.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/102496/ft2_4FGL_J2345.2-1555_daily_bin1113.fits
.....................!
real 12.32
user 11.94
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102496/ft1_filtered_4FGL_J2345.2-1555_daily_bin1113.fits evtable="EVENTS" scfile=/scratch/kocevski/102496/ft2_4FGL_J2345.2-1555_daily_bin1113.fits sctable="SC_DATA" expcube=/scratch/kocevski/102496/ltcube_527817601_528076801_4FGL_J2345.2-1555_daily_bin1113.fits outfile=/scratch/kocevski/102496/expmap_527817601_528076801_4FGL_J2345.2-1555_daily_bin1113.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/102496/ltcube_527817601_528076801_4FGL_J2345.2-1555_daily_bin1113.fits
.....................!
real 191.63
user 185.61
sys 5.63

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/102496/ft1_filtered_4FGL_J2345.2-1555_daily_bin1113.fits scfile=/scratch/kocevski/102496/ft2_4FGL_J2345.2-1555_daily_bin1113.fits outfile=/scratch/kocevski/102496/cmap_527817601_528076801_4FGL_J2345.2-1555_daily_bin1113.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102496/ft1_filtered_4FGL_J2345.2-1555_daily_bin1113.fits scfile=/scratch/kocevski/102496/ft2_4FGL_J2345.2-1555_daily_bin1113.fits outfile=/scratch/kocevski/102496/cmap_HighResolution_527817601_528076801_4FGL_J2345.2-1555_daily_bin1113.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/102496/ft1_filtered_4FGL_J2345.2-1555_daily_bin1113.fits evtable="EVENTS" scfile=/scratch/kocevski/102496/ft2_4FGL_J2345.2-1555_daily_bin1113.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102496/Model_4FGL_J2345.2-1555_daily_bin1113.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/102496/ft1_filtered_4FGL_J2345.2-1555_daily_bin1113.fits......................!
real 37.94
user 36.52
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.731       1.0000         .10000E-03   10000.    
     2 'norm      '    .12562E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    65.369       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    42.942       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    72.359       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9252       1.0000         .10000E-03   10000.    
    10 'norm      '    8.0446       1.0000         .10000E-03   10000.    
    11 'norm      '    .10112E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    147.69       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10555E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    116.93       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10691E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11974E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.0201       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.7287       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .90019       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .81318       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=   3937.885     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2309 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.739        9.5891       -.15183E-05   -.81173E-04
   2  norm          .10000E-03    29.602        .54735E-06** at limit **
   3  Prefactor     65.423        56.687        .18327E-04    .14352E-03
   4  Prefactor     .10000E-03    6.1504       -.26777E-06** at limit **
   5  Prefactor     42.972        30.787       -.23071E-05   -.67368E-04
   6  Prefactor     .10000E-03    5.0102       -.38555E-07** at limit **
   7  Prefactor     72.659        142.32        .11290E-05    .42972E-04
   8  Prefactor     .10000E-03    12.193       -.12309E-06** at limit **
   9  Prefactor     2.8503        75.814        .38403E-04   -.43935E-04
  10  norm          8.0478        7.5960       -.62794E-05   -.41543E-03
  11  norm          .10000E-03    2.1605        .22177E-06** at limit **
  12  Prefactor     147.65        84.005       -.11116E-04   -.13903E-03
  13  Prefactor     .10000E-03    27.687       -.44989E-05** at limit **
  14  Prefactor     116.91        52.942       -.31810E-05   -.13043E-03
  15  Prefactor     .10000E-03    24.465        .33222E-05** at limit **
  16  Prefactor     .10000E-03    232.63        .62915E-05** at limit **
  17  norm          .10000E-03    .57098        .16131E-06** at limit **
  18  norm          7.0234        6.6192        .14778E-05   -.27526E-03
  19  Prefactor     4.7259        7.2659        .30983E-05   -.36481E-03
  20  Normalizat    .90015        .22130       -.42914E-05   -.23128E-03
  21  Prefactor     .81319        .19535       -.20415E-05   -.29865E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.7387
  norm       = 0.0001
  Prefactor  = 65.4234
  Prefactor  = 0.0001
  Prefactor  = 42.9717
  Prefactor  = 0.0001
  Prefactor  = 72.6591
  Prefactor  = 0.0001
  Prefactor  = 2.85028
  norm       = 8.0478
  norm       = 0.0001
  Prefactor  = 147.648
  Prefactor  = 0.000100003
  Prefactor  = 116.905
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 7.02343
  Prefactor  = 4.72594
  Normalizat = 0.900154
  Prefactor  = 0.813189
 **********
 **   18 **HESSE 
 **********

 FCN=   3937.885     FROM HESSE     STATUS=OK           313 CALLS     2622 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.739        9.5873        .10098E-03   -1.4914    
   2  norm          .10000E-03    29.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     65.423        56.857        .24819E-03   -1.4089    
   4  Prefactor     .10000E-03    6.1521        .15200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     42.972        30.792        .61176E-04   -1.4396    
   6  Prefactor     .10000E-03    5.0151        .13718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     72.659        143.05        .23598E-03   -1.4001    
   8  Prefactor     .10000E-03    12.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8503        76.459        .23752E-03   -1.5370    
  10  norm          8.0478        7.5886        .14136E-03   -1.5141    
  11  norm          .10000E-03    2.1747        .89989E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     147.65        84.253        .16580E-03   -1.3272    
  13  Prefactor     .10000E-03    27.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     116.91        53.105        .18605E-03   -1.3541    
  15  Prefactor     .10000E-03    24.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    233.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.5016        .80259E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.0234        5.8907        .13094E-03   -1.5178    
  19  Prefactor     4.7259        7.2754        .92519E-03   -1.5273    
  20  Normalizat    .90015        .25699        .25243E-03   -.96455    
  21  Prefactor     .81319        .22589        .24517E-03   -.99244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07689e-09
Minuit parameter uncertainties:
  1  9.58828
  2  8.47765e-05
  3  56.9042
  4  1.82292e-05
  5  30.8036
  6  1.1386e-05
  7  143.739
  8  4.00278e-05
  9  29.5663
  10  7.58955
  11  4.65042e-05
  12  84.3214
  13  0.00055903
  14  53.1271
  15  5.49325e-06
  16  0.00126939
  17  5.64936e-05
  18  5.8912
  19  7.27677
  20  0.257344
  21  0.226148
Done.

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

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  1.000e-04  5.649e-05  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:  8.132e-01  2.261e-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:  9.002e-01  2.573e-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: 9.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.11e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102496/likelihoodResults_527817601_528076801_4FGL_J2345.2-1555_daily_bin1113.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): 102
logL (Free Index) = 3937.88701615
delta logL = -0.00198588404191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3937.88502872
delta logL = 1.54543795361e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10560E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0893       1.0000          .0000       5.0000    
     3 'Normalizat'    .90019       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81324       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   3937.885     FROM MIGRAD    STATUS=FAILED       140 CALLS      305 TOTAL
                     EDM=   .77E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .56044E-03    5.8518        .95807E-02** at limit **
   2  alpha         2.6528        2.8248        .50000        .22603E-04
   3  Normalizat    .90014        .12792E-01    .25244E-03    .74616E-02
   4  Prefactor     .81321        .11925E-01    .24517E-03    .72595E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   3937.885     FROM SIMPLEX   STATUS=PROGRESS      70 CALLS      375 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10007E-02    5.8518        .17694E-02** at limit **
   2  alpha         2.6292        2.8248        .30117E-01    .22603E-04
   3  Normalizat    .90002        .12792E-01    .14105E-03    .74616E-02
   4  Prefactor     .81314        .11925E-01    .11472E-03    .72595E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   3937.885     FROM MIGRAD    STATUS=FAILED       121 CALLS      496 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23328E-02    7.5059        .11819E-01** at limit **
   2  alpha         2.6421        3.4146        .50000        .12643E-04
   3  Normalizat    .90000        .17566E-01    .10097E-04    .94282E-03
   4  Prefactor     .81317        .16372E-01    .98067E-05   -.98898E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00233283
  alpha      = 2.64205
  Normalizat = 0.900004
  Prefactor  = 0.81317
 **********
 **   18 **HESSE 
 **********

 FCN=   3937.885     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      535 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23328E-02    5.9587        .12776E-01   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6421        3.8176        .50000        .56852E-01
   3  Normalizat    .90000        .16653E-01    .20195E-05   -.96460    
   4  Prefactor     .81317        .15523E-01    .19613E-05   -.99245    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.3377e-08
Minuit parameter uncertainties:
  1  0.230716
  2  35.6138
  3  0.0166536
  4  0.0155233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102496': 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): 1
logL (Free Index) = 3937.88499816
delta logL = 3.21069055644e-05

Extracting fit parameters...

4FGL J2345.2-1555
   Spectrum: LogParabola
477         norm:  2.333e-03  2.307e-01  1.000e-04  1.000e+04 ( 1.000e-11)
478        alpha:  2.642e+00  3.561e+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:  8.132e-01  1.552e-02  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:  9.000e-01  1.665e-02  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/102496/cmap_HighResolution_527817601_528076801_4FGL_J2345.2-1555_daily_bin1113.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.11e-05', job_status='DONE', photon_flux_upper_limit='9.65e-08', time_completed='2021-09-30 04:14:52.576877', job_id='102496', GAL2='0.81', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1633000492.58', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.21e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1113' AND source_name='4FGL J2345.2-1555' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 04:14:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 102496: <4FGL_J2345.2-1555_daily_bin1113> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2345.2-1555_daily_bin1113 356.303 -15.9182 527817601 528076801 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 :                                   500.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             283.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   576 sec.
    Turnaround time :                            578 sec.

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

