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


Performing analysis on: 4FGL_J2259.8-1552_daily_bin1177
RA = 344.953, Dec = -15.8809
tmin = 544406401, tmax = 544665601
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='627483', job_status='RUN', time_executed='2021-09-29 04:52:13.271974', time_epoch_executed='1632916333.27' WHERE source_name='4FGL J2259.8-1552' and cadence='daily' and bin_id='1177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/627483

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

Retrieving the FT1 file...

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

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

Retrieving 36 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/627483/ft1_4FGL_J2259.8-1552_daily_bin1177.fits


Retrieving the FT1 file...

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

Retrieving 36 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/627483/ft2_4FGL_J2259.8-1552_daily_bin1177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/627483/ft1_4FGL_J2259.8-1552_daily_bin1177.fits outfile=/scratch/kocevski/627483/ft1_filteredMKT_4FGL_J2259.8-1552_daily_bin1177.fits ra=344.953 dec=-15.8809 rad=12.0 tmin=544406401.0 tmax=544665601.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 7.68
user 7.39
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/627483/ft2_4FGL_J2259.8-1552_daily_bin1177.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/627483/ft2_4FGL_J2259.8-1552_daily_bin1177.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/627483/ft1_filteredMKT_4FGL_J2259.8-1552_daily_bin1177.fits evtable="EVENTS" outfile="/scratch/kocevski/627483/ft1_filtered_4FGL_J2259.8-1552_daily_bin1177.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.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/627483/ft1_filtered_4FGL_J2259.8-1552_daily_bin1177.fits" evtable="EVENTS" scfile=/scratch/kocevski/627483/ft2_4FGL_J2259.8-1552_daily_bin1177.fits sctable="SC_DATA" outfile=/scratch/kocevski/627483/ltcube_544406401_544665601_4FGL_J2259.8-1552_daily_bin1177.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/627483/ft2_4FGL_J2259.8-1552_daily_bin1177.fits
.....................!
real 7.56
user 7.22
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/627483/ft1_filtered_4FGL_J2259.8-1552_daily_bin1177.fits evtable="EVENTS" scfile=/scratch/kocevski/627483/ft2_4FGL_J2259.8-1552_daily_bin1177.fits sctable="SC_DATA" expcube=/scratch/kocevski/627483/ltcube_544406401_544665601_4FGL_J2259.8-1552_daily_bin1177.fits outfile=/scratch/kocevski/627483/expmap_544406401_544665601_4FGL_J2259.8-1552_daily_bin1177.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/627483/ltcube_544406401_544665601_4FGL_J2259.8-1552_daily_bin1177.fits
.....................!
real 192.65
user 187.21
sys 5.13

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2259.8-1552 @ 344.953 -15.8809

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/627483/ft1_filtered_4FGL_J2259.8-1552_daily_bin1177.fits scfile=/scratch/kocevski/627483/ft2_4FGL_J2259.8-1552_daily_bin1177.fits outfile=/scratch/kocevski/627483/cmap_544406401_544665601_4FGL_J2259.8-1552_daily_bin1177.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=344.953 yref=-15.8809 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.51
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/627483/ft1_filtered_4FGL_J2259.8-1552_daily_bin1177.fits scfile=/scratch/kocevski/627483/ft2_4FGL_J2259.8-1552_daily_bin1177.fits outfile=/scratch/kocevski/627483/cmap_HighResolution_544406401_544665601_4FGL_J2259.8-1552_daily_bin1177.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=344.953 yref=-15.8809 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/627483/ft1_filtered_4FGL_J2259.8-1552_daily_bin1177.fits evtable="EVENTS" scfile=/scratch/kocevski/627483/ft2_4FGL_J2259.8-1552_daily_bin1177.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/627483/Model_4FGL_J2259.8-1552_daily_bin1177.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/627483/ft1_filtered_4FGL_J2259.8-1552_daily_bin1177.fits.....................!
real 53.28
user 52.02
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/627483/ft1_filtered_4FGL_J2259.8-1552_daily_bin1177.fits', '/scratch/kocevski/627483/ft2_4FGL_J2259.8-1552_daily_bin1177.fits', expMap='/scratch/kocevski/627483/expmap_544406401_544665601_4FGL_J2259.8-1552_daily_bin1177.fits', expCube='/scratch/kocevski/627483/ltcube_544406401_544665601_4FGL_J2259.8-1552_daily_bin1177.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/627483/Model_4FGL_J2259.8-1552_daily_bin1177.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2259.8-1552'

4FGL J2259.8-1552
   Spectrum: PowerLaw
314    Prefactor:  2.289e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/627483/ft1_filtered_4FGL_J2259.8-1552_daily_bin1177.fits
Spacecraft file(s): /scratch/kocevski/627483/ft2_4FGL_J2259.8-1552_daily_bin1177.fits
Exposure map: /scratch/kocevski/627483/expmap_544406401_544665601_4FGL_J2259.8-1552_daily_bin1177.fits
Exposure cube: /scratch/kocevski/627483/ltcube_544406401_544665601_4FGL_J2259.8-1552_daily_bin1177.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/627483/Model_4FGL_J2259.8-1552_daily_bin1177.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) = 5901.27625953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.654       1.0000         .10000E-03   10000.    
     2 'Prefactor '    101.08       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.7250       1.0000         .10000E-03   10000.    
     4 'norm      '    .39087       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.916       1.0000         .10000E-03   10000.    
     7 'norm      '    4.1690       1.0000         .10000E-03   10000.    
     8 'norm      '    1.8935       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.1351       1.0000         .10000E-03   10000.    
    10 'Prefactor '    42.733       1.0000         .10000E-03   10000.    
    11 'norm      '    3.9885       1.0000         .10000E-03   10000.    
    12 'Prefactor '    57.759       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.0394       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.7983       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7816       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .59309       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11488E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10492E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10432E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    39.763       1.0000         .10000E-03   10000.    
    26 'norm      '    1.0486       1.0000         .10000E-03   10000.    
    27 'norm      '    .46878       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.3615       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .62994       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5901.156     FROM MIGRAD    STATUS=CONVERGED    735 CALLS     4469 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.652        17.560       -.90968E-07   -.69781E-05
   2  Prefactor     101.10        74.227       -.39134E-06    .21015E-04
   3  Prefactor     9.7204        89.705        .27735E-06   -.35744E-05
   4  norm          .39334        2.4288        .53746E-06   -.44246E-03
   5  Prefactor     .10000E-03    233.94        .14056E-05** at limit **
   6  Prefactor     14.912        11.916       -.88487E-07    .35596E-04
   7  norm          4.1686        1.3895       -.80751E-07   -.54520E-04
   8  norm          1.8932        1.7642        .16861E-07   -.39584E-04
   9  Prefactor     8.1396        34.197       -.13409E-05    .13883E-04
  10  Prefactor     42.854        47.845        .82556E-05   -.75872E-06
  11  norm          3.9787        3.6477       -.21282E-05    .31969E-03
  12  Prefactor     57.670        54.634       -.15510E-05   -.17730E-03
  13  Prefactor     .10000E-03    5.5524       -.37221E-06** at limit **
  14  Prefactor     9.0590        11.706        .44217E-05    .42023E-03
  15  Prefactor     8.7990        14.011        .26970E-06    .14723E-04
  16  Prefactor     2.7787        8.6131        .40415E-06    .86555E-05
  17  Prefactor     .59092        11.564       -.15750E-05   -.37843E-03
  18  Prefactor     .10000E-03    37.145        .30618E-08** at limit **
  19  Prefactor     .10000E-03    11.477       -.23732E-07** at limit **
  20  Prefactor     .10000E-03    19.551        .21897E-06** at limit **
  21  norm          .10000E-03    11.121        .17323E-06** at limit **
  22  norm          .10000E-03    1.5612       -.48641E-06** at limit **
  23  Prefactor     .10000E-03    17.906       -.24597E-07** at limit **
  24  Prefactor     .10000E-03    5.4802        .35675E-08** at limit **
  25  Prefactor     39.729        43.275        .50672E-06    .48646E-04
  26  norm          1.0521        1.0060        .26182E-08    .13582E-02
  27  norm          .43893        6.4525       -.14251E-05    .71901E-03
  28  Normalizat    1.3617        .22015        .22701E-06    .23526E-03
  29  Prefactor     .62987        .17058       -.10314E-05    .12648E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6524
  Prefactor  = 101.102
  Prefactor  = 9.72044
  norm       = 0.393343
  Prefactor  = 0.000100003
  Prefactor  = 14.9125
  norm       = 4.16862
  norm       = 1.89318
  Prefactor  = 8.1396
  Prefactor  = 42.8542
  norm       = 3.97866
  Prefactor  = 57.6704
  Prefactor  = 0.0001
  Prefactor  = 9.05902
  Prefactor  = 8.79905
  Prefactor  = 2.77873
  Prefactor  = 0.590924
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.7285
  norm       = 1.05212
  norm       = 0.438934
  Normalizat = 1.36166
  Prefactor  = 0.62987
 **********
 **   18 **HESSE 
 **********

 FCN=   5901.156     FROM HESSE     STATUS=OK           565 CALLS     5034 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.652        17.575        .11261E-03   -1.4996    
   2  Prefactor     101.10        74.379        .19995E-03   -1.3694    
   3  Prefactor     9.7204        89.684        .12850E-03   -1.5084    
   4  norm          .39334        14.770        .22099E-02   -1.5583    
   5  Prefactor     .10000E-03    234.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.912        11.968        .10371E-03   -1.4935    
   7  norm          4.1686        1.3878        .48575E-04   -1.5300    
   8  norm          1.8932        1.8068        .85320E-04   -1.5433    
   9  Prefactor     8.1396        35.959        .14057E-03   -1.5137    
  10  Prefactor     42.854        48.028        .61325E-04   -1.4398    
  11  norm          3.9787        3.6482        .65478E-04   -1.5309    
  12  Prefactor     57.670        55.515        .52787E-04   -1.4188    
  13  Prefactor     .10000E-03    5.5706        .17692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.0590        12.880        .66654E-03   -1.5106    
  15  Prefactor     8.7990        14.007        .13513E-03   -1.5115    
  16  Prefactor     2.7787        8.5866        .24398E-03   -1.5375    
  17  Prefactor     .59092        48.416        .41514E-02   -1.5554    
  18  Prefactor     .10000E-03    37.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.082        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    11.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.4652        .18252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    17.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    5.4824        .17562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     39.729        42.867        .63566E-04   -1.4447    
  26  norm          1.0521        1.1310        .60183E-04   -1.5503    
  27  norm          .43893        58.638        .30624E-02   -1.5575    
  28  Normalizat    1.3617        .26951        .25438E-03   -.81744    
  29  Prefactor     .62987        .20507        .29104E-03   -1.0634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54807e-08
Minuit parameter uncertainties:
  1  17.5825
  2  74.4479
  3  59.1689
  4  4.82135
  5  0.001724
  6  11.9701
  7  1.38777
  8  1.80689
  9  34.2506
  10  48.0714
  11  3.64841
  12  55.5646
  13  5.06974e-05
  14  12.884
  15  14.0123
  16  8.59038
  17  10.7058
  18  1.96573e-06
  19  3.93467e-06
  20  3.29537e-05
  21  1.65765e-05
  22  4.68697e-05
  23  1.0497e-06
  24  4.43741e-06
  25  42.8999
  26  1.13102
  27  10.1555
  28  0.269791
  29  0.205313
Done.

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

Extracting fit parameters...

4FGL J2259.8-1552
   Spectrum: PowerLaw
314    Prefactor:  2.779e+00  8.590e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
513    Prefactor:  6.299e-01  2.053e-01  0.000e+00  1.000e+01 ( 1.000e+00)
514        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
515        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  1.362e+00  2.698e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 344.953 -15.881
Photon Flux Upper Limit: 8.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/627483/likelihoodResults_544406401_544665601_4FGL_J2259.8-1552_daily_bin1177.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) = 5901.01934586
delta logL = 0.136163355647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5900.9969957
delta logL = 0.15851351434

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6148       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0413       1.0000          .0000       10.000    
     3 'Normalizat'    1.3403       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5900.997     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      237 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6171        78.736        .83302E-02    .69316E-03
   2  Index         3.0418        3.8559        .15175        .11587E-03
   3  Normalizat    1.3402        .49578E-01    .57890E-01    .19384E-04
   4  Prefactor     .63868        .39370E-01    .65335E-01   -.33315E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.61706
  Index      = 3.04176
  Normalizat = 1.34019
  Prefactor  = 0.638678
 **********
 **   18 **HESSE 
 **********

 FCN=   5900.997     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6171        32.871        .15649E-03   -1.5454    
   2  Index         3.0418        3.8368        .87461E-02   -.40242    
   3  Normalizat    1.3402        .25520        .25600E-03   -.82374    
   4  Prefactor     .63868        .20359        .28909E-03   -1.0598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38434e-09
Minuit parameter uncertainties:
  1  14.5901
  2  4.53745
  3  0.255438
  4  0.203822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/627483': 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) = 5900.99699482
delta logL = 0.158514393594

Extracting fit parameters...

4FGL J2259.8-1552
   Spectrum: PowerLaw
314    Prefactor:  1.617e+00  1.459e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  3.042e+00  4.537e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
513    Prefactor:  6.387e-01  2.038e-01  0.000e+00  1.000e+01 ( 1.000e+00)
514        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
515        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  1.340e+00  2.554e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 344.953 -15.881

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/627483/cmap_HighResolution_544406401_544665601_4FGL_J2259.8-1552_daily_bin1177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='8.13e-08', time_completed='2021-09-29 05:05:41.863479', job_id='627483', GAL2='0.64', fit_tolerance='1e-08', EG2='1.34', EG='1.36', time_epoch_completed='1632917141.86', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='1.59e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1177' AND source_name='4FGL J2259.8-1552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:05:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 627483: <4FGL_J2259.8-1552_daily_bin1177> in cluster <slac> Done

Job <4FGL_J2259.8-1552_daily_bin1177> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep 29 04:50:56 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 04:50:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 04:50:59 2021
Terminated at Wed Sep 29 05:05:42 2021
Results reported at Wed Sep 29 05:05:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2259.8-1552_daily_bin1177 344.953 -15.8809 544406401 544665601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2259.8-1552 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   805.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            886 sec.

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

