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


Performing analysis on: 4FGL_J2249.4-1300_daily_bin878
RA = 342.356, Dec = -13.0006
tmin = 466905601, tmax = 467164801
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='489180', job_status='RUN', time_executed='2021-09-28 21:32:09.832136', time_epoch_executed='1632889929.83' WHERE source_name='4FGL J2249.4-1300' and cadence='daily' and bin_id='878'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/489180

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/489180/ft1_4FGL_J2249.4-1300_daily_bin878.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/489180/ft2_4FGL_J2249.4-1300_daily_bin878.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/489180/ft1_4FGL_J2249.4-1300_daily_bin878.fits outfile=/scratch/kocevski/489180/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin878.fits ra=342.356 dec=-13.0006 rad=12.0 tmin=466905601.0 tmax=467164801.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.59
user 3.39
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/489180/ft2_4FGL_J2249.4-1300_daily_bin878.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/489180/ft2_4FGL_J2249.4-1300_daily_bin878.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/489180/ft1_filteredMKT_4FGL_J2249.4-1300_daily_bin878.fits evtable="EVENTS" outfile="/scratch/kocevski/489180/ft1_filtered_4FGL_J2249.4-1300_daily_bin878.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.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/489180/ft1_filtered_4FGL_J2249.4-1300_daily_bin878.fits" evtable="EVENTS" scfile=/scratch/kocevski/489180/ft2_4FGL_J2249.4-1300_daily_bin878.fits sctable="SC_DATA" outfile=/scratch/kocevski/489180/ltcube_466905601_467164801_4FGL_J2249.4-1300_daily_bin878.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/489180/ft2_4FGL_J2249.4-1300_daily_bin878.fits
.....................!
real 12.01
user 11.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/489180/ft1_filtered_4FGL_J2249.4-1300_daily_bin878.fits evtable="EVENTS" scfile=/scratch/kocevski/489180/ft2_4FGL_J2249.4-1300_daily_bin878.fits sctable="SC_DATA" expcube=/scratch/kocevski/489180/ltcube_466905601_467164801_4FGL_J2249.4-1300_daily_bin878.fits outfile=/scratch/kocevski/489180/expmap_466905601_467164801_4FGL_J2249.4-1300_daily_bin878.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/489180/ltcube_466905601_467164801_4FGL_J2249.4-1300_daily_bin878.fits
.....................!
real 192.84
user 187.54
sys 4.96

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

Setting source of interest to:
4FGL J2249.4-1300 @ 342.356 -13.0006

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/489180/ft1_filtered_4FGL_J2249.4-1300_daily_bin878.fits scfile=/scratch/kocevski/489180/ft2_4FGL_J2249.4-1300_daily_bin878.fits outfile=/scratch/kocevski/489180/cmap_466905601_467164801_4FGL_J2249.4-1300_daily_bin878.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=342.356 yref=-13.0006 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/489180/ft1_filtered_4FGL_J2249.4-1300_daily_bin878.fits scfile=/scratch/kocevski/489180/ft2_4FGL_J2249.4-1300_daily_bin878.fits outfile=/scratch/kocevski/489180/cmap_HighResolution_466905601_467164801_4FGL_J2249.4-1300_daily_bin878.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=342.356 yref=-13.0006 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/489180/ft1_filtered_4FGL_J2249.4-1300_daily_bin878.fits evtable="EVENTS" scfile=/scratch/kocevski/489180/ft2_4FGL_J2249.4-1300_daily_bin878.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/489180/Model_4FGL_J2249.4-1300_daily_bin878.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/489180/ft1_filtered_4FGL_J2249.4-1300_daily_bin878.fits....................!
real 52.25
user 50.97
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/489180/ft1_filtered_4FGL_J2249.4-1300_daily_bin878.fits', '/scratch/kocevski/489180/ft2_4FGL_J2249.4-1300_daily_bin878.fits', expMap='/scratch/kocevski/489180/expmap_466905601_467164801_4FGL_J2249.4-1300_daily_bin878.fits', expCube='/scratch/kocevski/489180/ltcube_466905601_467164801_4FGL_J2249.4-1300_daily_bin878.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/489180/Model_4FGL_J2249.4-1300_daily_bin878.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2249.4-1300'

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  5.757e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  2.408e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
266        Scale:  3.479e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/489180/ft1_filtered_4FGL_J2249.4-1300_daily_bin878.fits
Spacecraft file(s): /scratch/kocevski/489180/ft2_4FGL_J2249.4-1300_daily_bin878.fits
Exposure map: /scratch/kocevski/489180/expmap_466905601_467164801_4FGL_J2249.4-1300_daily_bin878.fits
Exposure cube: /scratch/kocevski/489180/ltcube_466905601_467164801_4FGL_J2249.4-1300_daily_bin878.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/489180/Model_4FGL_J2249.4-1300_daily_bin878.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) = 5858.97884119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .53479E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6403       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.3613       1.0000         .10000E-03   10000.    
     6 'norm      '    7.3989       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.3976       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.322       1.0000         .10000E-03   10000.    
    11 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.346       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.453       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.730       1.0000         .10000E-03   10000.    
    15 'norm      '    21.488       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.533       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.0664       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.820       1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    40.109       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.4049       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92053       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5858.954     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2564 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7669       -.62199E-06** at limit **
   2  Prefactor     .10000E-03    47.791        .58364E-05** at limit **
   3  Prefactor     .10000E-03    20.550       -.49180E-06** at limit **
   4  Prefactor     3.6408        4.5867       -.58839E-06   -.17707E-03
   5  Prefactor     9.3510        121.86       -.25040E-05   -.53539E-05
   6  norm          7.3986        4.7929       -.80626E-07   -.50656E-04
   7  Prefactor     .10000E-03    72.662       -.11738E-05** at limit **
   8  Prefactor     .10000E-03    12.929       -.14552E-05** at limit **
   9  norm          2.3976        1.1124        .12842E-07   -.19707E-03
  10  Prefactor     10.331        16.656       -.62398E-06   -.53022E-03
  11  norm          .10000E-03    1.1654        .71740E-06** at limit **
  12  Prefactor     14.344        32.647       -.35148E-06   -.25480E-03
  13  Prefactor     20.453        14.015        .11099E-07   -.91309E-04
  14  Prefactor     15.729        12.010        .10604E-06   -.36977E-04
  15  norm          21.488        18.387       -.12121E-06    .18814E-04
  16  Prefactor     27.474        57.296       -.58538E-05   -.86062E-04
  17  Prefactor     8.0301        28.344       -.42036E-05   -.66206E-04
  18  Prefactor     12.825        11.270        .91571E-06    .15379E-04
  19  norm          .10000E-03    2.0881        .17885E-06** at limit **
  20  Prefactor     40.110        52.970        .13155E-05    .20953E-04
  21  Prefactor     1.4043        39.444       -.40586E-05   -.50155E-04
  22  Normalizat    .92077        .22029       -.25797E-05    .47066E-04
  23  Prefactor     1.0343        .17206        .32714E-05   -.10937E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 3.64078
  Prefactor  = 9.35105
  norm       = 7.39856
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.39758
  Prefactor  = 10.331
  norm       = 0.000100002
  Prefactor  = 14.3439
  Prefactor  = 20.4532
  Prefactor  = 15.7293
  norm       = 21.4876
  Prefactor  = 27.4738
  Prefactor  = 8.03014
  Prefactor  = 12.8247
  norm       = 0.0001
  Prefactor  = 40.1103
  Prefactor  = 1.40435
  Normalizat = 0.920772
  Prefactor  = 1.0343
 **********
 **   18 **HESSE 
 **********

 FCN=   5858.954     FROM HESSE     STATUS=OK           374 CALLS     2938 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.8016        .17969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    47.873        .39588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.6408        4.4989        .17099E-03   -1.5326    
   5  Prefactor     9.3510        122.10        .13098E-03   -1.5096    
   6  norm          7.3986        4.7855        .12566E-03   -1.5164    
   7  Prefactor     .10000E-03    72.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.3976        1.1075        .51510E-04   -1.5398    
  10  Prefactor     10.331        17.202        .12471E-03   -1.5065    
  11  norm          .10000E-03    1.9627        .13805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.344        32.428        .10575E-03   -1.4950    
  13  Prefactor     20.453        14.009        .88563E-04   -1.4803    
  14  Prefactor     15.729        12.011        .10099E-03   -1.4915    
  15  norm          21.488        18.395        .86406E-04   -1.4781    
  16  Prefactor     27.474        58.121        .76349E-04   -1.4659    
  17  Prefactor     8.0301        28.433        .14117E-03   -1.5141    
  18  Prefactor     12.825        11.287        .11187E-03   -1.4992    
  19  norm          .10000E-03    2.0943        .10798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     40.110        52.176        .63292E-04   -1.4440    
  21  Prefactor     1.4043        38.492        .36582E-03   -1.5471    
  22  Normalizat    .92077        .24527        .29468E-03   -.95734    
  23  Prefactor     1.0343        .18838        .21688E-03   -.91595    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04116e-09
Minuit parameter uncertainties:
  1  3.24649e-05
  2  0.000820548
  3  4.47702e-05
  4  4.49928
  5  67.7498
  6  4.78575
  7  0.000207487
  8  0.00011148
  9  1.10749
  10  17.2101
  11  0.000133078
  12  32.4678
  13  14.0115
  14  12.0132
  15  18.4002
  16  58.2413
  17  28.4813
  18  11.2891
  19  4.35369e-06
  20  52.2357
  21  14.7145
  22  0.245565
  23  0.188498
Done.

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

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  1.033e+01  1.721e+01  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  2.408e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
266        Scale:  3.479e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.034e+00  1.885e-01  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  9.208e-01  2.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.66
Ra Dec: 342.356 -13.001
Photon Flux Upper Limit: 1.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/489180/likelihoodResults_466905601_467164801_4FGL_J2249.4-1300_daily_bin878.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) = 5858.86844321
delta logL = 0.08594481209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5858.86435256
delta logL = 0.090035461214

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.921       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0172       1.0000          .0000       10.000    
     3 'Normalizat'    .93495       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0263       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+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=   5858.864     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      315 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.971        40.154        .85549E-04    .41196E-05
   2  Index         2.0188        .92327        .91757E-02    .22333E-04
   3  Normalizat    .93517        .23869        .29271E-03   -.71077E-05
   4  Prefactor     1.0259        .18557        .21764E-03   -.38654E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.9714
  Index      = 2.01882
  Normalizat = 0.935166
  Prefactor  = 1.02588
 **********
 **   18 **HESSE 
 **********

 FCN=   5858.864     FROM HESSE     STATUS=OK            25 CALLS      340 TOTAL
                     EDM=   .29E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.971        36.057        .34220E-05   -1.4770    
   2  Index         2.0188        .83012        .36703E-03   -.63880    
   3  Normalizat    .93517        .23826        .11708E-04   -.95235    
   4  Prefactor     1.0259        .18554        .87058E-05   -.91872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89404e-13
Minuit parameter uncertainties:
  1  36.0931
  2  0.836156
  3  0.238525
  4  0.185658
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/489180': 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) = 5858.8643423
delta logL = 0.0900457221605

Extracting fit parameters...

4FGL J2249.4-1300
   Spectrum: PowerLaw
264    Prefactor:  2.197e+01  3.609e+01  1.000e-04  1.000e+04 ( 1.000e-14)
265        Index:  2.019e+00  8.362e-01  0.000e+00  1.000e+01 (-1.000e+00)
266        Scale:  3.479e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  1.026e+00  1.857e-01  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  9.352e-01  2.385e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.66
Ra Dec: 342.356 -13.001

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/489180/cmap_HighResolution_466905601_467164801_4FGL_J2249.4-1300_daily_bin878.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', job_status='DONE', photon_flux_upper_limit='1.49e-07', time_completed='2021-09-28 21:42:04.899743', job_id='489180', GAL2='1.03', fit_tolerance='1e-08', EG2='0.94', EG='0.92', time_epoch_completed='1632890524.9', return_code2='0', ts='0.66', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='9.00e-02', ts2='0.85', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='878' AND source_name='4FGL J2249.4-1300' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:42:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 489180: <4FGL_J2249.4-1300_daily_bin878> in cluster <slac> Done

Job <4FGL_J2249.4-1300_daily_bin878> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 21:30:25 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 21:30:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 21:30:26 2021
Terminated at Tue Sep 28 21:42:05 2021
Results reported at Tue Sep 28 21:42:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2249.4-1300_daily_bin878 342.356 -13.0006 466905601 467164801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2249.4-1300 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   592.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            700 sec.

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

