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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin544
RA = 342.69, Dec = -28.1114
tmin = 380332801, tmax = 380592001
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='520631', job_status='RUN', time_executed='2021-09-28 23:02:51.054531', time_epoch_executed='1632895371.05' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520631

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520631/ft1_4FGL_J2250.7-2806_daily_bin544.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520631/ft2_4FGL_J2250.7-2806_daily_bin544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520631/ft1_4FGL_J2250.7-2806_daily_bin544.fits outfile=/scratch/kocevski/520631/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin544.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=380332801.0 tmax=380592001.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.50
user 3.29
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/520631/ft2_4FGL_J2250.7-2806_daily_bin544.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/520631/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin544.fits evtable="EVENTS" outfile="/scratch/kocevski/520631/ft1_filtered_4FGL_J2250.7-2806_daily_bin544.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520631/ft1_filtered_4FGL_J2250.7-2806_daily_bin544.fits" evtable="EVENTS" scfile=/scratch/kocevski/520631/ft2_4FGL_J2250.7-2806_daily_bin544.fits sctable="SC_DATA" outfile=/scratch/kocevski/520631/ltcube_380332801_380592001_4FGL_J2250.7-2806_daily_bin544.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/520631/ft2_4FGL_J2250.7-2806_daily_bin544.fits
.....................!
real 11.80
user 11.44
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520631/ft1_filtered_4FGL_J2250.7-2806_daily_bin544.fits evtable="EVENTS" scfile=/scratch/kocevski/520631/ft2_4FGL_J2250.7-2806_daily_bin544.fits sctable="SC_DATA" expcube=/scratch/kocevski/520631/ltcube_380332801_380592001_4FGL_J2250.7-2806_daily_bin544.fits outfile=/scratch/kocevski/520631/expmap_380332801_380592001_4FGL_J2250.7-2806_daily_bin544.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/520631/ltcube_380332801_380592001_4FGL_J2250.7-2806_daily_bin544.fits
.....................!
real 189.91
user 185.32
sys 4.27

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/520631/ft1_filtered_4FGL_J2250.7-2806_daily_bin544.fits scfile=/scratch/kocevski/520631/ft2_4FGL_J2250.7-2806_daily_bin544.fits outfile=/scratch/kocevski/520631/cmap_380332801_380592001_4FGL_J2250.7-2806_daily_bin544.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520631/ft1_filtered_4FGL_J2250.7-2806_daily_bin544.fits scfile=/scratch/kocevski/520631/ft2_4FGL_J2250.7-2806_daily_bin544.fits outfile=/scratch/kocevski/520631/cmap_HighResolution_380332801_380592001_4FGL_J2250.7-2806_daily_bin544.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/520631/ft1_filtered_4FGL_J2250.7-2806_daily_bin544.fits evtable="EVENTS" scfile=/scratch/kocevski/520631/ft2_4FGL_J2250.7-2806_daily_bin544.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/520631/Model_4FGL_J2250.7-2806_daily_bin544.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/520631/ft1_filtered_4FGL_J2250.7-2806_daily_bin544.fits.....................!
real 39.23
user 37.91
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9136       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.0629       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.854       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.954       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11481E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17901E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .13112E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    140.00       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.1812       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .57040       1.0000         .10000E-03   10000.    
    15 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.5876       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3749       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .53826       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=   4222.029     FROM MIGRAD    STATUS=CONVERGED    968 CALLS     3533 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9138        .74761        .27473E-04    .56278E-04
   2  Prefactor     9.0693        17.049        .13313E-03   -.12809E-04
   3  Prefactor     30.858        24.192        .72133E-04    .15918E-04
   4  Prefactor     .10000E-03    13.210        .18142E-02** at limit **
   5  norm          .10000E-03    8.2075        .18142E-02** at limit **
   6  Prefactor     24.938        29.291        .80191E-04   -.33600E-04
   7  Prefactor     .10000E-03    12.862        .18142E-02** at limit **
   8  Prefactor     .10003E-03    54.926        .11384    ** at limit **
   9  norm          .10000E-03    6.4858        .20944E-02** at limit **
  10  Prefactor     140.00        68.891        .34046E-04   -.32311E-03
  11  Prefactor     .10000E-03    7.8490        .17739E-02** at limit **
  12  norm          2.1831        3.2246        .13337E-03   -.24823E-03
  13  Prefactor     .10000E-03    8.2283        .18142E-02** at limit **
  14  Prefactor     .58540        31.230        .28547E-02   -.32289E-03
  15  norm          .10000E-03    .55561        .68162E-03** at limit **
  16  Prefactor     .10000E-03    19.992        .18142E-02** at limit **
  17  Prefactor     .10000E-03    6.4772        .16118E-02** at limit **
  18  norm          8.5875        9.1724        .13679E-03    .45794E-04
  19  Prefactor     .10000E-03    31.739        .18142E-02** at limit **
  20  norm          .10000E-03    2.4252        .19501E-03** at limit **
  21  Prefactor     .10000E-03    38.146        .18142E-02** at limit **
  22  Prefactor     .10000E-03    72.094        .18142E-02** at limit **
  23  Normalizat    1.3737        .27099        .22048E-03   -.18656E-03
  24  Prefactor     .53918        .23273        .30410E-03   -.44937E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.9138
  Prefactor  = 9.0693
  Prefactor  = 30.8583
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 24.938
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  norm       = 0.000100002
  Prefactor  = 140.003
  Prefactor  = 0.0001
  norm       = 2.1831
  Prefactor  = 0.0001
  Prefactor  = 0.585395
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.58746
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Normalizat = 1.37371
  Prefactor  = 0.539184
 **********
 **   18 **HESSE 
 **********

 FCN=   4222.029     FROM HESSE     STATUS=OK           385 CALLS     3918 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9138        .74756        .10989E-05   -1.5367    
   2  Prefactor     9.0693        17.047        .53254E-05   -1.5106    
   3  Prefactor     30.858        24.187        .28853E-05   -1.4596    
   4  Prefactor     .10000E-03    13.222        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    8.2076        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.938        29.279        .32076E-05   -1.4709    
   7  Prefactor     .10000E-03    12.864        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10003E-03    52.144        .11776       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.5029        .41887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     140.00        68.569        .68091E-05   -1.3336    
  11  Prefactor     .10000E-03    7.8503        .35477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1831        3.2074        .53346E-05   -1.5412    
  13  Prefactor     .10000E-03    8.2284        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .58540        30.379        .11419E-03   -1.5555    
  15  norm          .10000E-03    .55577        .13632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    19.992        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.4775        .32236E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.5875        9.1723        .54716E-05   -1.5122    
  19  Prefactor     .10000E-03    31.740        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.4253        .39002E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    38.150        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    72.095        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3737        .27020        .44095E-04   -.81392    
  24  Prefactor     .53918        .23268        .12164E-04   -1.1021    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22863e-09
Minuit parameter uncertainties:
  1  0.747561
  2  17.0566
  3  24.195
  4  0.000254645
  5  1.24022e-05
  6  29.2955
  7  2.47341e-05
  8  0.00235199
  9  0.000251604
  10  68.6083
  11  2.94432e-05
  12  3.20764
  13  1.17939e-05
  14  8.43791
  15  1.29623e-05
  16  7.19072e-05
  17  4.57498e-05
  18  9.17379
  19  0.000327033
  20  2.32304e-05
  21  0.000600512
  22  0.000533372
  23  0.270485
  24  0.233091
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  2.183e+00  3.208e+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:  5.392e-01  2.331e-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.374e+00  2.705e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.89
Ra Dec: 342.690 -28.111
Photon Flux Upper Limit: 7.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/520631/likelihoodResults_380332801_380592001_4FGL_J2250.7-2806_daily_bin544.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) = 4221.73863169
delta logL = 0.290556685969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4221.73393891
delta logL = 0.295249463234

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5549       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0297       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3454       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55344       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=   4221.734     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      239 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5549        41.560        .85358E-02    .13274E-02
   2  alpha         3.0297        3.7366        .42384        .58029E-04
   3  Normalizat    1.3455        .63463E-01    .50271E-01   -.11540E-05
   4  Prefactor     .55341        .52908E-01    .67830E-01    .20309E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.55492
  alpha      = 3.02968
  Normalizat = 1.34545
  Prefactor  = 0.553414
 **********
 **   18 **HESSE 
 **********

 FCN=   4221.734     FROM HESSE     STATUS=OK            31 CALLS      270 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5549        2.8130        .85477E-04   -1.5459    
   2  alpha         3.0297        1.3231        .16300E-01    .21349    
   3  Normalizat    1.3455        .25883        .22224E-03   -.82220    
   4  Prefactor     .55341        .23109        .30022E-03   -1.0958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15929e-10
Minuit parameter uncertainties:
  1  2.81325
  2  1.39815
  3  0.259076
  4  0.231487
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520631': 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) = 4221.7339389
delta logL = 0.295249470074

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.555e+00  2.813e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  3.030e+00  1.398e+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:  5.534e-01  2.315e-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.345e+00  2.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.48
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 3.03 +/- 1.40
Photon Flux (Free Index): 4.25e-08 +/- 5.85e-08
Energy Flux (Free Index): 8.99e-06 +/- 9.93e-06

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/520631/cmap_HighResolution_380332801_380592001_4FGL_J2250.7-2806_daily_bin544.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', comment='SUCCESS', energy_flux2='8.99e-06', dlogl='2.95e-01', photon_flux2='4.25e-08', job_status='DONE', time_completed='2021-09-28 23:14:04.715135', photon_index_error2='1.40', photon_index2='3.03', ts='0.89', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', photon_flux_upper_limit='7.94e-08', energy_flux_error2='9.93e-06', EG='1.37', time_epoch_completed='1632896044.72', return_code='0', job_id='520631', GAL2='0.55', EG2='1.35', return_code2='0', photon_flux_error2='5.85e-08', ts2='1.48', photon_index='2.05' WHERE bin_id='544' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:14:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 520631: <4FGL_J2250.7-2806_daily_bin544> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin544 342.69 -28.1114 380332801 380592001 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 :                                   580.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            815 sec.

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

