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


Performing analysis on: 4FGL_J1049.8+1429_daily_bin1361
RA = 162.467, Dec = 14.4835
tmin = 592099201, tmax = 592358401
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='233011', job_status='RUN', time_executed='2021-09-02 17:35:24.955652', time_epoch_executed='1630629324.96' WHERE source_name='4FGL J1049.8+1429' and cadence='daily' and bin_id='1361'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233011

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233011/ft1_4FGL_J1049.8+1429_daily_bin1361.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233011/ft2_4FGL_J1049.8+1429_daily_bin1361.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233011/ft1_4FGL_J1049.8+1429_daily_bin1361.fits outfile=/scratch/kocevski/233011/ft1_filteredMKT_4FGL_J1049.8+1429_daily_bin1361.fits ra=162.467 dec=14.4835 rad=12.0 tmin=592099201.0 tmax=592358401.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.55
user 3.28
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/233011/ft2_4FGL_J1049.8+1429_daily_bin1361.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/233011/ft2_4FGL_J1049.8+1429_daily_bin1361.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/233011/ft1_filteredMKT_4FGL_J1049.8+1429_daily_bin1361.fits evtable="EVENTS" outfile="/scratch/kocevski/233011/ft1_filtered_4FGL_J1049.8+1429_daily_bin1361.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.78
user 0.36
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/233011/ft1_filtered_4FGL_J1049.8+1429_daily_bin1361.fits" evtable="EVENTS" scfile=/scratch/kocevski/233011/ft2_4FGL_J1049.8+1429_daily_bin1361.fits sctable="SC_DATA" outfile=/scratch/kocevski/233011/ltcube_592099201_592358401_4FGL_J1049.8+1429_daily_bin1361.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/233011/ft2_4FGL_J1049.8+1429_daily_bin1361.fits
.....................!
real 17.06
user 16.62
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233011/ft1_filtered_4FGL_J1049.8+1429_daily_bin1361.fits evtable="EVENTS" scfile=/scratch/kocevski/233011/ft2_4FGL_J1049.8+1429_daily_bin1361.fits sctable="SC_DATA" expcube=/scratch/kocevski/233011/ltcube_592099201_592358401_4FGL_J1049.8+1429_daily_bin1361.fits outfile=/scratch/kocevski/233011/expmap_592099201_592358401_4FGL_J1049.8+1429_daily_bin1361.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/233011/ltcube_592099201_592358401_4FGL_J1049.8+1429_daily_bin1361.fits
.....................!
real 194.47
user 188.23
sys 5.50

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

Setting source of interest to:
4FGL J1049.8+1429 @ 162.467 14.4835

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/233011/ft1_filtered_4FGL_J1049.8+1429_daily_bin1361.fits scfile=/scratch/kocevski/233011/ft2_4FGL_J1049.8+1429_daily_bin1361.fits outfile=/scratch/kocevski/233011/cmap_592099201_592358401_4FGL_J1049.8+1429_daily_bin1361.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=162.467 yref=14.4835 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.65
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233011/ft1_filtered_4FGL_J1049.8+1429_daily_bin1361.fits scfile=/scratch/kocevski/233011/ft2_4FGL_J1049.8+1429_daily_bin1361.fits outfile=/scratch/kocevski/233011/cmap_HighResolution_592099201_592358401_4FGL_J1049.8+1429_daily_bin1361.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=162.467 yref=14.4835 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.65
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/233011/ft1_filtered_4FGL_J1049.8+1429_daily_bin1361.fits evtable="EVENTS" scfile=/scratch/kocevski/233011/ft2_4FGL_J1049.8+1429_daily_bin1361.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/233011/Model_4FGL_J1049.8+1429_daily_bin1361.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/233011/ft1_filtered_4FGL_J1049.8+1429_daily_bin1361.fits.....................!
real 67.00
user 65.19
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/233011/ft1_filtered_4FGL_J1049.8+1429_daily_bin1361.fits', '/scratch/kocevski/233011/ft2_4FGL_J1049.8+1429_daily_bin1361.fits', expMap='/scratch/kocevski/233011/expmap_592099201_592358401_4FGL_J1049.8+1429_daily_bin1361.fits', expCube='/scratch/kocevski/233011/ltcube_592099201_592358401_4FGL_J1049.8+1429_daily_bin1361.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/233011/Model_4FGL_J1049.8+1429_daily_bin1361.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1049.8+1429'

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  4.091e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
222        Index:  2.592e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  5.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/233011/ft1_filtered_4FGL_J1049.8+1429_daily_bin1361.fits
Spacecraft file(s): /scratch/kocevski/233011/ft2_4FGL_J1049.8+1429_daily_bin1361.fits
Exposure map: /scratch/kocevski/233011/expmap_592099201_592358401_4FGL_J1049.8+1429_daily_bin1361.fits
Exposure cube: /scratch/kocevski/233011/ltcube_592099201_592358401_4FGL_J1049.8+1429_daily_bin1361.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/233011/Model_4FGL_J1049.8+1429_daily_bin1361.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) = 7276.28532075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10336E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0552       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .19897E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14042E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15855E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5104       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .94771       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.4808       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.247       1.0000         .10000E-03   10000.    
    16 'norm      '    .69576       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.8496       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11096E-01   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3874       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1068       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7276.228     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2133 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.386       -.50291E-06** at limit **
   2  Prefactor     .10000E-03    43.570        .55123E-06** at limit **
   3  Prefactor     7.1411        57.481       -.43395E-04   -.13954E-04
   4  Prefactor     .10000E-03    12.524        .16047E-05** at limit **
   5  Prefactor     .10000E-03    4.4276       -.40667E-06** at limit **
   6  Prefactor     .10000E-03    .94188        .11503E-07** at limit **
   7  Prefactor     .10000E-03    .52562       -.13642E-07** at limit **
   8  Prefactor     .10000E-03    18.899       -.38772E-06** at limit **
   9  Prefactor     .10000E-03    3.6171        .54198E-08** at limit **
  10  Prefactor     2.4976        11.245        .24604E-05    .56631E-04
  11  Prefactor     .10000E-03    10.849       -.17807E-05** at limit **
  12  Prefactor     .10000E-03    6.2410       -.74613E-07** at limit **
  13  norm          .94722        1.3245       -.20269E-06   -.10061E-02
  14  Prefactor     9.4869        11.785       -.15162E-05    .19419E-04
  15  Prefactor     11.248        7.7391        .13268E-05    .71950E-04
  16  norm          .65619        8.4963       -.40047E-06    .13605E-03
  17  Prefactor     8.8445        10.737        .23280E-06   -.88795E-05
  18  Prefactor     .10681E-03    48.135       -.60586E-05** at limit **
  19  Normalizat    1.3876        .18886        .37769E-06    .66841E-03
  20  Prefactor     1.1067        .17314        .81596E-06    .52639E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.14113
  Prefactor  = 0.000100004
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.49763
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.947218
  Prefactor  = 9.48688
  Prefactor  = 11.2476
  norm       = 0.656188
  Prefactor  = 8.84448
  Prefactor  = 0.000106814
  Normalizat = 1.38757
  Prefactor  = 1.10665
 **********
 **   18 **HESSE 
 **********

 FCN=   7276.228     FROM HESSE     STATUS=OK           305 CALLS     2438 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    43.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.1411        57.653        .15103E-03   -1.5173    
   4  Prefactor     .10000E-03    12.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.822        .34132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .95363        .80821E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .52755        .60373E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.696        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.6673        .15840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.4976        8.9839        .25788E-03   -1.5392    
  11  Prefactor     .10000E-03    84.094        .45556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.2482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .94722        1.1933        .10811E-02   -1.5513    
  14  Prefactor     9.4869        11.777        .13015E-03   -1.5092    
  15  Prefactor     11.248        7.7300        .11946E-03   -1.5037    
  16  norm          .65619        86.580        .43959E-02   -1.5546    
  17  Prefactor     8.8445        10.731        .13474E-03   -1.5113    
  18  Prefactor     .10681E-03    43.695        .14713       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3876        .22646        .25308E-03   -.80989    
  20  Prefactor     1.1067        .20850        .26754E-03   -.89254    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32413e-09
Minuit parameter uncertainties:
  1  5.45572e-05
  2  4.4105e-05
  3  40.6346
  4  0.00044855
  5  0.000270658
  6  6.41939e-07
  7  8.9577e-07
  8  6.46275e-05
  9  8.41427e-07
  10  8.98877
  11  0.0012172
  12  1.66174e-05
  13  1.19336
  14  11.7798
  15  7.73065
  16  15.0961
  17  10.7332
  18  0.0345348
  19  0.226627
  20  0.208651
Done.

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

Extracting fit parameters...

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  6.463e-05  1.000e-04  1.000e+04 ( 1.000e-12)
222        Index:  2.592e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  5.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.107e+00  2.087e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.388e+00  2.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 162.467 14.483
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/233011/likelihoodResults_592099201_592358401_4FGL_J1049.8+1429_daily_bin1361.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) = 7276.22821904
delta logL = -0.000242374218942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7276.22797674
delta logL = -7.01611497789e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6265       1.0000          .0000       10.000    
     3 'Normalizat'    1.3876       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+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=   7276.223     FROM MIGRAD    STATUS=CONVERGED    167 CALLS      332 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .67075E-01    4.0368        .26305E-01   -.82734E-03
   2  Index         4.7235        7.2949        .35667        .17165E-04
   3  Normalizat    1.3785        .17648E-01    .25308E-03    .33624E-03
   4  Prefactor     1.1121        .16897E-01    .26754E-03    .35242E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0670746
  Index      = 4.72345
  Normalizat = 1.37851
  Prefactor  = 1.11207
 **********
 **   18 **HESSE 
 **********

 FCN=   7276.223     FROM HESSE     STATUS=OK            31 CALLS      363 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .67075E-01    5.2813        .90488E-03   -1.5760    
   2  Index         4.7235        6.8826        .28903E-01   -.55338E-01
   3  Normalizat    1.3785        .23584        .50616E-04   -.81252    
   4  Prefactor     1.1121        .21581        .53509E-04   -.89082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83402e-08
Minuit parameter uncertainties:
  1  1.18959
  2  10.7081
  3  0.236028
  4  0.215984
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233011': 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) = 7276.22349713
delta logL = 0.00447953178627

Extracting fit parameters...

4FGL J1049.8+1429
   Spectrum: PowerLaw
221    Prefactor:  6.707e-02  1.190e+00  1.000e-04  1.000e+04 ( 1.000e-12)
222        Index:  4.723e+00  1.071e+01  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  5.785e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.112e+00  2.160e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.379e+00  2.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 162.467 14.483

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/233011/cmap_HighResolution_592099201_592358401_4FGL_J1049.8+1429_daily_bin1361.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.94e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-09-02 17:46:31.339432', job_id='233011', GAL2='1.11', fit_tolerance='1e-08', EG2='1.38', EG='1.39', time_epoch_completed='1630629991.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='4.48e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1361' AND source_name='4FGL J1049.8+1429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 17:46:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 233011: <4FGL_J1049.8+1429_daily_bin1361> in cluster <slac> Done

Job <4FGL_J1049.8+1429_daily_bin1361> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  2 17:31:48 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 17:33:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  2 17:33:21 2021
Terminated at Thu Sep  2 17:46:32 2021
Results reported at Thu Sep  2 17:46:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1049.8+1429_daily_bin1361 162.467 14.4835 592099201 592358401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1049.8+1429 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   662.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             324.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            884 sec.

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

