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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin600
RA = 342.69, Dec = -28.1114
tmin = 394848001, tmax = 395107201
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='520725', job_status='RUN', time_executed='2021-09-28 23:00:49.664335', time_epoch_executed='1632895249.66' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520725

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520725/ft1_4FGL_J2250.7-2806_daily_bin600.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520725/ft2_4FGL_J2250.7-2806_daily_bin600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520725/ft1_4FGL_J2250.7-2806_daily_bin600.fits outfile=/scratch/kocevski/520725/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin600.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=394848001.0 tmax=395107201.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.23
user 4.96
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/520725/ft2_4FGL_J2250.7-2806_daily_bin600.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/520725/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin600.fits evtable="EVENTS" outfile="/scratch/kocevski/520725/ft1_filtered_4FGL_J2250.7-2806_daily_bin600.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.50
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520725/ft1_filtered_4FGL_J2250.7-2806_daily_bin600.fits" evtable="EVENTS" scfile=/scratch/kocevski/520725/ft2_4FGL_J2250.7-2806_daily_bin600.fits sctable="SC_DATA" outfile=/scratch/kocevski/520725/ltcube_394848001_395107201_4FGL_J2250.7-2806_daily_bin600.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/520725/ft2_4FGL_J2250.7-2806_daily_bin600.fits
.....................!
real 11.65
user 11.30
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520725/ft1_filtered_4FGL_J2250.7-2806_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/520725/ft2_4FGL_J2250.7-2806_daily_bin600.fits sctable="SC_DATA" expcube=/scratch/kocevski/520725/ltcube_394848001_395107201_4FGL_J2250.7-2806_daily_bin600.fits outfile=/scratch/kocevski/520725/expmap_394848001_395107201_4FGL_J2250.7-2806_daily_bin600.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/520725/ltcube_394848001_395107201_4FGL_J2250.7-2806_daily_bin600.fits
.....................!
real 190.40
user 185.06
sys 5.04

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/520725/ft1_filtered_4FGL_J2250.7-2806_daily_bin600.fits scfile=/scratch/kocevski/520725/ft2_4FGL_J2250.7-2806_daily_bin600.fits outfile=/scratch/kocevski/520725/cmap_394848001_395107201_4FGL_J2250.7-2806_daily_bin600.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520725/ft1_filtered_4FGL_J2250.7-2806_daily_bin600.fits scfile=/scratch/kocevski/520725/ft2_4FGL_J2250.7-2806_daily_bin600.fits outfile=/scratch/kocevski/520725/cmap_HighResolution_394848001_395107201_4FGL_J2250.7-2806_daily_bin600.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/520725/ft1_filtered_4FGL_J2250.7-2806_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/520725/ft2_4FGL_J2250.7-2806_daily_bin600.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/520725/Model_4FGL_J2250.7-2806_daily_bin600.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/520725/ft1_filtered_4FGL_J2250.7-2806_daily_bin600.fits.....................!
real 35.79
user 34.49
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/520725/ft1_filtered_4FGL_J2250.7-2806_daily_bin600.fits', '/scratch/kocevski/520725/ft2_4FGL_J2250.7-2806_daily_bin600.fits', expMap='/scratch/kocevski/520725/expmap_394848001_395107201_4FGL_J2250.7-2806_daily_bin600.fits', expCube='/scratch/kocevski/520725/ltcube_394848001_395107201_4FGL_J2250.7-2806_daily_bin600.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/520725/Model_4FGL_J2250.7-2806_daily_bin600.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/520725/ft1_filtered_4FGL_J2250.7-2806_daily_bin600.fits
Spacecraft file(s): /scratch/kocevski/520725/ft2_4FGL_J2250.7-2806_daily_bin600.fits
Exposure map: /scratch/kocevski/520725/expmap_394848001_395107201_4FGL_J2250.7-2806_daily_bin600.fits
Exposure cube: /scratch/kocevski/520725/ltcube_394848001_395107201_4FGL_J2250.7-2806_daily_bin600.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/520725/Model_4FGL_J2250.7-2806_daily_bin600.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) = 3912.17697432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6001       1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.891       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7051       1.0000         .10000E-03   10000.    
     5 'norm      '    71.675       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.1851       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2070       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.6946       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.671       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    62.384       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16920E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.9291       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .48479E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.3223       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.666       1.0000         .10000E-03   10000.    
    22 'Prefactor '    72.785       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .64775       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1516       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=   3912.159     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2703 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6003        .62245       -.25294E-07   -.94228E-04
   2  Prefactor     21.907        25.794        .51544E-05   -.10790E-04
   3  Prefactor     .10000E-03    25.053       -.16638E-06** at limit **
   4  Prefactor     5.7087        9.6884       -.15062E-06   -.11108E-03
   5  norm          71.690        42.157        .96550E-05   -.57853E-05
   6  Prefactor     .10000E-03    12.629       -.68437E-07** at limit **
   7  Prefactor     .10000E-03    6.0387        .20274E-06** at limit **
   8  Prefactor     6.1855        22.402        .22261E-06   -.24528E-04
   9  norm          2.2079        2.5632       -.74701E-06   -.28775E-03
  10  Prefactor     .10000E-03    84.951        .96467E-05** at limit **
  11  Prefactor     .10000E-03    10.004       -.16908E-06** at limit **
  12  norm          7.6927        5.4229       -.52969E-06    .11091E-03
  13  Prefactor     .10000E-03    8.4591       -.11032E-06** at limit **
  14  Prefactor     10.704        13.764        .22153E-05    .14095E-03
  15  norm          .10000E-03    .42310       -.15967E-06** at limit **
  16  Prefactor     62.401        84.370        .19523E-04    .77520E-05
  17  Prefactor     .10000E-03    42.498       -.21037E-05** at limit **
  18  norm          5.9248        6.8079        .23609E-06    .94420E-04
  19  Prefactor     .10000E-03    184.49       -.53677E-04** at limit **
  20  norm          1.3249        3.1241        .81423E-07   -.37645E-03
  21  Prefactor     23.663        37.220        .97054E-06    .87875E-05
  22  Prefactor     72.742        115.21       -.46437E-04    .45737E-05
  23  Normalizat    .64714        .24865       -.30524E-05    .17274E-03
  24  Prefactor     1.1519        .22490        .12707E-06    .13945E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.60025
  Prefactor  = 21.9073
  Prefactor  = 0.0001
  Prefactor  = 5.70873
  norm       = 71.6902
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.18552
  norm       = 2.20786
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.6927
  Prefactor  = 0.0001
  Prefactor  = 10.7045
  norm       = 0.0001
  Prefactor  = 62.4009
  Prefactor  = 0.000100001
  norm       = 5.92477
  Prefactor  = 0.000100004
  norm       = 1.32488
  Prefactor  = 23.6632
  Prefactor  = 72.7422
  Normalizat = 0.647136
  Prefactor  = 1.15192
 **********
 **   18 **HESSE 
 **********

 FCN=   3912.159     FROM HESSE     STATUS=OK           399 CALLS     3102 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6003        .62312        .29788E-04   -1.5455    
   2  Prefactor     21.907        25.759        .85608E-04   -1.4772    
   3  Prefactor     .10000E-03    25.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7087        9.6942        .16817E-03   -1.5230    
   5  norm          71.690        42.071        .47419E-04   -1.4013    
   6  Prefactor     .10000E-03    12.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.0653        .15010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.1855        22.419        .16142E-03   -1.5211    
   9  norm          2.2079        2.5522        .10271E-03   -1.5411    
  10  Prefactor     .10000E-03    85.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.6927        5.4094        .11130E-03   -1.5153    
  13  Prefactor     .10000E-03    8.4634        .17759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.704        13.323        .12265E-03   -1.5053    
  15  norm          .10000E-03    .46284        .74555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     62.401        84.423        .50804E-04   -1.4126    
  17  Prefactor     .10000E-03    43.011        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.9248        6.8073        .16491E-03   -1.5221    
  19  Prefactor     .10000E-03    185.15        .21173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.3249        3.0684        .16182E-03   -1.5478    
  21  Prefactor     23.663        37.180        .82340E-04   -1.4735    
  22  Prefactor     72.742        115.49        .23529E-03   -1.4000    
  23  Normalizat    .64714        .29559        .29839E-03   -1.0602    
  24  Prefactor     1.1519        .26829        .22113E-03   -.87824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55723e-10
Minuit parameter uncertainties:
  1  0.623125
  2  25.7724
  3  0.000196366
  4  9.6969
  5  42.0884
  6  2.49807e-06
  7  1.226e-05
  8  22.4497
  9  2.55229
  10  0.000385008
  11  3.48357e-05
  12  5.40975
  13  1.46866e-05
  14  13.3266
  15  7.76524e-06
  16  84.5852
  17  0.000315471
  18  6.80814
  19  0.00161604
  20  3.06877
  21  37.2161
  22  115.844
  23  0.296315
  24  0.268609
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  7.693e+00  5.410e+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:  1.152e+00  2.686e-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:  6.471e-01  2.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.65
Ra Dec: 342.690 -28.111
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 5.14e-08 +/- 3.61e-08
Energy Flux (Fixed Index): 2.73e-05 +/- 1.92e-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) = 3912.15200203
delta logL = 0.0066536748277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3912.15171036
delta logL = 0.00694534738204

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.6927       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1253       1.0000          .0000       5.0000    
     3 'Normalizat'    .64230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1541       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3912.152     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      224 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.6924        5.0479        .10952E-03    .20548E-02
   2  alpha         2.1254        .64392        .12933E-01    .16402E-03
   3  Normalizat    .64231        .27220        .29939E-03   -.10628E-03
   4  Prefactor     1.1541        .26144        .22092E-03   -.17549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.69243
  alpha      = 2.12537
  Normalizat = 0.64231
  Prefactor  = 1.15409
 **********
 **   18 **HESSE 
 **********

 FCN=   3912.152     FROM HESSE     STATUS=OK            23 CALLS      247 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.6924        5.0378        .21903E-04   -1.5153    
   2  alpha         2.1254        .64213        .51731E-03   -.15042    
   3  Normalizat    .64231        .27235        .11976E-04   -1.0622    
   4  Prefactor     1.1541        .26165        .44183E-04   -.87756    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18758e-09
Minuit parameter uncertainties:
  1  5.03812
  2  0.649579
  3  0.272923
  4  0.261942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520725': 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) = 3912.15171036
delta logL = 0.0069453517508

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  7.692e+00  5.038e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.125e+00  6.496e-01  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:  1.154e+00  2.619e-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:  6.423e-01  2.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.67
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 2.13 +/- 0.65
Photon Flux (Free Index): 5.63e-08 +/- 5.60e-08
Energy Flux (Free Index): 2.66e-05 +/- 1.82e-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/520725/cmap_HighResolution_394848001_395107201_4FGL_J2250.7-2806_daily_bin600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.14e-08', energy_flux2='2.66e-05', photon_flux_error='3.61e-08', dlogl='6.95e-03', energy_flux='2.73e-05', photon_flux2='5.63e-08', job_status='DONE', time_completed='2021-09-28 23:11:38.396562', photon_index_error2='0.65', photon_index2='2.13', ts='5.65', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='1.82e-05', EG='0.65', time_epoch_completed='1632895898.4', return_code='0', job_id='520725', GAL2='1.15', EG2='0.64', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='5.60e-08', ts2='5.67', photon_index='2.05' WHERE bin_id='600' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:11:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 520725: <4FGL_J2250.7-2806_daily_bin600> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin600> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 23:00:38 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 23:00:39 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:39 2021
Terminated at Tue Sep 28 23:11:39 2021
Results reported at Tue Sep 28 23:11:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin600 342.69 -28.1114 394848001 395107201 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 :                                   489.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            661 sec.

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

