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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin507
RA = 342.69, Dec = -28.1114
tmin = 370742401, tmax = 371001601
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='520572', job_status='RUN', time_executed='2021-09-28 23:02:49.157581', time_epoch_executed='1632895369.16' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='507'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520572

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520572/ft1_4FGL_J2250.7-2806_daily_bin507.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520572/ft2_4FGL_J2250.7-2806_daily_bin507.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520572/ft1_4FGL_J2250.7-2806_daily_bin507.fits outfile=/scratch/kocevski/520572/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin507.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=370742401.0 tmax=371001601.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 5.37
user 5.12
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/520572/ft2_4FGL_J2250.7-2806_daily_bin507.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/520572/ft2_4FGL_J2250.7-2806_daily_bin507.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/520572/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin507.fits evtable="EVENTS" outfile="/scratch/kocevski/520572/ft1_filtered_4FGL_J2250.7-2806_daily_bin507.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520572/ft1_filtered_4FGL_J2250.7-2806_daily_bin507.fits" evtable="EVENTS" scfile=/scratch/kocevski/520572/ft2_4FGL_J2250.7-2806_daily_bin507.fits sctable="SC_DATA" outfile=/scratch/kocevski/520572/ltcube_370742401_371001601_4FGL_J2250.7-2806_daily_bin507.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/520572/ft2_4FGL_J2250.7-2806_daily_bin507.fits
.....................!
real 11.48
user 11.11
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520572/ft1_filtered_4FGL_J2250.7-2806_daily_bin507.fits evtable="EVENTS" scfile=/scratch/kocevski/520572/ft2_4FGL_J2250.7-2806_daily_bin507.fits sctable="SC_DATA" expcube=/scratch/kocevski/520572/ltcube_370742401_371001601_4FGL_J2250.7-2806_daily_bin507.fits outfile=/scratch/kocevski/520572/expmap_370742401_371001601_4FGL_J2250.7-2806_daily_bin507.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/520572/ltcube_370742401_371001601_4FGL_J2250.7-2806_daily_bin507.fits
.....................!
real 190.70
user 185.33
sys 5.02

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

Setting source of interest to:
4FGL J2250.7-2806 @ 342.69 -28.1114

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/520572/ft1_filtered_4FGL_J2250.7-2806_daily_bin507.fits scfile=/scratch/kocevski/520572/ft2_4FGL_J2250.7-2806_daily_bin507.fits outfile=/scratch/kocevski/520572/cmap_370742401_371001601_4FGL_J2250.7-2806_daily_bin507.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.69 yref=-28.1114 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520572/ft1_filtered_4FGL_J2250.7-2806_daily_bin507.fits scfile=/scratch/kocevski/520572/ft2_4FGL_J2250.7-2806_daily_bin507.fits outfile=/scratch/kocevski/520572/cmap_HighResolution_370742401_371001601_4FGL_J2250.7-2806_daily_bin507.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.69 yref=-28.1114 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/520572/ft1_filtered_4FGL_J2250.7-2806_daily_bin507.fits evtable="EVENTS" scfile=/scratch/kocevski/520572/ft2_4FGL_J2250.7-2806_daily_bin507.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/520572/Model_4FGL_J2250.7-2806_daily_bin507.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/520572/ft1_filtered_4FGL_J2250.7-2806_daily_bin507.fits.....................!
real 42.00
user 40.53
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/520572/ft1_filtered_4FGL_J2250.7-2806_daily_bin507.fits', '/scratch/kocevski/520572/ft2_4FGL_J2250.7-2806_daily_bin507.fits', expMap='/scratch/kocevski/520572/expmap_370742401_371001601_4FGL_J2250.7-2806_daily_bin507.fits', expCube='/scratch/kocevski/520572/ltcube_370742401_371001601_4FGL_J2250.7-2806_daily_bin507.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/520572/Model_4FGL_J2250.7-2806_daily_bin507.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.7-2806'

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  4.101e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.049e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/520572/ft1_filtered_4FGL_J2250.7-2806_daily_bin507.fits
Spacecraft file(s): /scratch/kocevski/520572/ft2_4FGL_J2250.7-2806_daily_bin507.fits
Exposure map: /scratch/kocevski/520572/expmap_370742401_371001601_4FGL_J2250.7-2806_daily_bin507.fits
Exposure cube: /scratch/kocevski/520572/ltcube_370742401_371001601_4FGL_J2250.7-2806_daily_bin507.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/520572/Model_4FGL_J2250.7-2806_daily_bin507.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) = 4741.16973223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5342       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.609       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8306       1.0000         .10000E-03   10000.    
     5 'norm      '    1.6437       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6416       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.649       1.0000         .10000E-03   10000.    
     9 'norm      '    .10187E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    48.181       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.5941       1.0000         .10000E-03   10000.    
    12 'norm      '    7.2957       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .46734E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    1.9669       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .31414       1.0000         .10000E-03   10000.    
    18 'norm      '    .11316E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.867       1.0000         .10000E-03   10000.    
    20 'norm      '    .37147       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.227       1.0000         .10000E-03   10000.    
    22 'Prefactor '    24.540       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5936       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .37953       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4741.092     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2790 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5342        .52455        .10935E-07   -.32110E-04
   2  Prefactor     22.610        16.140        .19896E-07   -.11677E-04
   3  Prefactor     .10000E-03    5.3176        .30175E-07** at limit **
   4  Prefactor     4.8300        6.8784        .15596E-06   -.12725E-04
   5  norm          1.6480        22.025        .34835E-05    .43537E-04
   6  Prefactor     .10000E-03    13.582        .63096E-07** at limit **
   7  Prefactor     1.6355        35.425        .58721E-05   -.15970E-04
   8  Prefactor     18.644        25.366        .32571E-06   -.44944E-05
   9  norm          .10000E-03    1.8569        .61745E-06** at limit **
  10  Prefactor     48.172        52.679       -.27093E-05   -.12449E-03
  11  Prefactor     7.5931        12.756       -.39453E-07   -.80643E-04
  12  norm          7.2949        4.9003       -.40819E-06   -.64868E-03
  13  Prefactor     .10000E-03    8.2310        .18360E-06** at limit **
  14  Prefactor     .10003E-03    14.154        .54212E-05** at limit **
  15  norm          1.9646        .86198       -.35375E-06   -.34181E-02
  16  Prefactor     .10000E-03    32.292        .83433E-06** at limit **
  17  Prefactor     .35790        13.443        .19048E-05   -.35426E-03
  18  norm          .10000E-03    17.008        .41208E-07** at limit **
  19  Prefactor     16.870        33.966       -.13868E-06   -.11756E-04
  20  norm          .37066        3.8890       -.78732E-07   -.62840E-03
  21  Prefactor     19.235        40.299       -.20693E-06   -.15331E-03
  22  Prefactor     24.581        74.737       -.50608E-05   -.31097E-04
  23  Normalizat    1.5940        .22803       -.11405E-05   -.52312E-03
  24  Prefactor     .37922        .19903        .36469E-06   -.20492E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.53418
  Prefactor  = 22.6095
  Prefactor  = 0.0001
  Prefactor  = 4.83002
  norm       = 1.64796
  Prefactor  = 0.0001
  Prefactor  = 1.63548
  Prefactor  = 18.6439
  norm       = 0.0001
  Prefactor  = 48.1715
  Prefactor  = 7.59313
  norm       = 7.2949
  Prefactor  = 0.0001
  Prefactor  = 0.000100032
  norm       = 1.96464
  Prefactor  = 0.0001
  Prefactor  = 0.357897
  norm       = 0.0001
  Prefactor  = 16.8698
  norm       = 0.370658
  Prefactor  = 19.2348
  Prefactor  = 24.5808
  Normalizat = 1.59396
  Prefactor  = 0.379225
 **********
 **   18 **HESSE 
 **********

 FCN=   4741.092     FROM HESSE     STATUS=OK           403 CALLS     3193 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5342        .52506        .28193E-04   -1.5460    
   2  Prefactor     22.610        16.131        .84240E-04   -1.4757    
   3  Prefactor     .10000E-03    5.3202        .15507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.8300        6.8793        .18304E-03   -1.5268    
   5  norm          1.6480        23.062        .16475E-02   -1.5451    
   6  Prefactor     .10000E-03    13.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6355        37.772        .16488E-02   -1.5452    
   8  Prefactor     18.644        25.404        .92746E-04   -1.4844    
   9  norm          .10000E-03    1.9035        .18212E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     48.172        53.045        .57769E-04   -1.4319    
  11  Prefactor     7.5931        12.845        .14553E-03   -1.5157    
  12  norm          7.2949        4.9094        .11740E-03   -1.5168    
  13  Prefactor     .10000E-03    8.2420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    41.576        .38443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.9646        .91664        .38553E-04   -1.5428    
  16  Prefactor     .10000E-03    32.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .35790        98.000        .41938E-02   -1.5588    
  18  norm          .10000E-03    17.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.870        33.985        .97522E-04   -1.4886    
  20  norm          .37066        7.4554        .24013E-02   -1.5586    
  21  Prefactor     19.235        39.700        .91343E-04   -1.4831    
  22  Prefactor     24.581        74.721        .80862E-04   -1.4716    
  23  Normalizat    1.5940        .26011        .21082E-03   -.75171    
  24  Prefactor     .37922        .22108        .36574E-03   -1.1788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5719e-09
Minuit parameter uncertainties:
  1  0.525066
  2  16.1342
  3  8.19424e-07
  4  6.88041
  5  12.3351
  6  1.04675e-05
  7  15.7302
  8  25.419
  9  3.49456e-05
  10  53.097
  11  12.85
  12  4.90971
  13  3.13017e-06
  14  0.00231741
  15  0.916647
  16  1.9805e-05
  17  11.8626
  18  5.83046e-06
  19  34.0241
  20  3.32473
  21  39.754
  22  75.0079
  23  0.260331
  24  0.221581
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  7.295e+00  4.910e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.049e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  3.792e-01  2.216e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.594e+00  2.603e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.33
Ra Dec: 342.690 -28.111
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 4.87e-08 +/- 3.28e-08
Energy Flux (Fixed Index): 2.59e-05 +/- 1.74e-05

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) = 4741.0451835
delta logL = 0.0463604971919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4740.98213237
delta logL = 0.109411634639

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4562       1.0000         .10000E-03   10000.    
     2 'alpha     '    .86562       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6237       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .37602       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4740.982     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      229 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4527        1.8041        .89188E-02    .58312E-04
   2  alpha         .86467        .52281        .33688       -.11412E-04
   3  Normalizat    1.6237        .21846        .47460E-01    .41220E-04
   4  Prefactor     .37604        .19829        .83146E-01   -.74686E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.45269
  alpha      = 0.864668
  Normalizat = 1.62368
  Prefactor  = 0.376042
 **********
 **   18 **HESSE 
 **********

 FCN=   4740.982     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4527        4.3303        .78336E-04   -1.5467    
   2  alpha         .86467        1.1766        .14662E-02   -.71304    
   3  Normalizat    1.6237        .24146        .20979E-03   -.74360    
   4  Prefactor     .37604        .21862        .36837E-03   -1.1805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.25969e-10
Minuit parameter uncertainties:
  1  4.33125
  2  1.26988
  3  0.24163
  4  0.219102
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520572': 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) = 4740.98213197
delta logL = 0.109412027937

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.453e+00  4.331e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  8.647e-01  1.270e+00  0.000e+00  5.000e+00 ( 1.000e+00)
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  3.760e-01  2.191e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.624e+00  2.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.58
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 0.86 +/- 1.27
Photon Flux (Free Index): 6.63e-09 +/- 1.24e-08
Energy Flux (Free Index): 5.68e-05 +/- 9.52e-05

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/520572/cmap_HighResolution_370742401_371001601_4FGL_J2250.7-2806_daily_bin507.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.87e-08', energy_flux2='5.68e-05', photon_flux_error='3.28e-08', dlogl='1.09e-01', energy_flux='2.59e-05', photon_flux2='6.63e-09', job_status='DONE', time_completed='2021-09-28 23:13:31.501165', photon_index_error2='1.27', photon_index2='0.86', ts='11.33', fit_tolerance='1e-08', GAL='0.38', photon_index_error='0.00', energy_flux_error2='9.52e-05', EG='1.59', time_epoch_completed='1632896011.5', return_code='0', job_id='520572', GAL2='0.38', EG2='1.62', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='1.24e-08', ts2='11.58', photon_index='2.05' WHERE bin_id='507' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:13:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 520572: <4FGL_J2250.7-2806_daily_bin507> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin507> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 23:00:27 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 23:00:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 23:00:29 2021
Terminated at Tue Sep 28 23:13:32 2021
Results reported at Tue Sep 28 23:13:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin507 342.69 -28.1114 370742401 371001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.7-2806 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   542.41 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             275.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            785 sec.

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

