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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin932
RA = 342.69, Dec = -28.1114
tmin = 480902401, tmax = 481161601
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='522328', job_status='RUN', time_executed='2021-09-28 23:09:02.125020', time_epoch_executed='1632895742.13' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/522328

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/522328/ft1_4FGL_J2250.7-2806_daily_bin932.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/522328/ft2_4FGL_J2250.7-2806_daily_bin932.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/522328/ft1_4FGL_J2250.7-2806_daily_bin932.fits outfile=/scratch/kocevski/522328/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin932.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=480902401.0 tmax=481161601.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.63
user 3.39
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/522328/ft2_4FGL_J2250.7-2806_daily_bin932.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/522328/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin932.fits evtable="EVENTS" outfile="/scratch/kocevski/522328/ft1_filtered_4FGL_J2250.7-2806_daily_bin932.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/522328/ft1_filtered_4FGL_J2250.7-2806_daily_bin932.fits" evtable="EVENTS" scfile=/scratch/kocevski/522328/ft2_4FGL_J2250.7-2806_daily_bin932.fits sctable="SC_DATA" outfile=/scratch/kocevski/522328/ltcube_480902401_481161601_4FGL_J2250.7-2806_daily_bin932.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/522328/ft2_4FGL_J2250.7-2806_daily_bin932.fits
.....................!
real 11.64
user 11.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/522328/ft1_filtered_4FGL_J2250.7-2806_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/522328/ft2_4FGL_J2250.7-2806_daily_bin932.fits sctable="SC_DATA" expcube=/scratch/kocevski/522328/ltcube_480902401_481161601_4FGL_J2250.7-2806_daily_bin932.fits outfile=/scratch/kocevski/522328/expmap_480902401_481161601_4FGL_J2250.7-2806_daily_bin932.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/522328/ltcube_480902401_481161601_4FGL_J2250.7-2806_daily_bin932.fits
.....................!
real 191.35
user 186.40
sys 4.63

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/522328/ft1_filtered_4FGL_J2250.7-2806_daily_bin932.fits scfile=/scratch/kocevski/522328/ft2_4FGL_J2250.7-2806_daily_bin932.fits outfile=/scratch/kocevski/522328/cmap_480902401_481161601_4FGL_J2250.7-2806_daily_bin932.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1317       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.543       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    10.492       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8500       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.5295       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .17664       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    38.873       1.0000         .10000E-03   10000.    
    20 'norm      '    7.5518       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.214       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97559       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1914       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=   5006.245     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2683 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1317        .43192        .14757E-08    .13659E-03
   2  Prefactor     14.544        14.487       -.18712E-06   -.19075E-04
   3  Prefactor     .10000E-03    13.141        .60986E-06** at limit **
   4  Prefactor     .10000E-03    19.290        .67116E-07** at limit **
   5  norm          10.489        20.076       -.36808E-06   -.46762E-06
   6  Prefactor     1.8402        67.118       -.62168E-05   -.61596E-04
   7  Prefactor     .10000E-03    4.9517        .65337E-08** at limit **
   8  Prefactor     .10000E-03    15.681        .43997E-05** at limit **
   9  norm          1.5279        2.2888       -.77527E-07   -.29877E-03
  10  Prefactor     .10000E-03    76.270       -.96716E-05** at limit **
  11  Prefactor     .10000E-03    14.160       -.50653E-05** at limit **
  12  norm          .10000E-03    1.3300        .40219E-07** at limit **
  13  Prefactor     .10000E-03    4.5431       -.33889E-08** at limit **
  14  Prefactor     .10000E-03    2.5297        .41144E-08** at limit **
  15  norm          .17657        .42449       -.87639E-07   -.49456E-03
  16  Prefactor     .10000E-03    45.528        .22650E-04** at limit **
  17  Prefactor     .10000E-03    4.0398       -.48035E-08** at limit **
  18  norm          .10000E-03    12.769        .13075E-05** at limit **
  19  Prefactor     38.874        59.540        .59694E-06   -.36481E-05
  20  norm          7.5526        5.5762        .20610E-05   -.17917E-03
  21  Prefactor     23.207        37.581       -.75942E-05   -.25839E-05
  22  Prefactor     .10000E-03    37.809       -.14549E-04** at limit **
  23  Normalizat    .97553        .21182        .14425E-06    .48213E-04
  24  Prefactor     1.1914        .20248        .75666E-07    .41440E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.13174
  Prefactor  = 14.5437
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.4894
  Prefactor  = 1.84024
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.52795
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.176569
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 38.8737
  norm       = 7.55258
  Prefactor  = 23.2069
  Prefactor  = 0.0001
  Normalizat = 0.975527
  Prefactor  = 1.19138
 **********
 **   18 **HESSE 
 **********

 FCN=   5006.245     FROM HESSE     STATUS=OK           395 CALLS     3078 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1317        .43360        .27908E-04   -1.5495    
   2  Prefactor     14.544        14.487        .10503E-03   -1.4945    
   3  Prefactor     .10000E-03    13.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.977        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.489        20.053        .12370E-03   -1.5060    
   6  Prefactor     1.8402        68.274        .30653E-03   -1.5437    
   7  Prefactor     .10000E-03    4.9641        .15375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.5279        2.2581        .12563E-03   -1.5461    
  10  Prefactor     .10000E-03    76.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.3326        .79668E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.5472        .14727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.5362        .10986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .17657        .42467        .39482E-04   -1.5624    
  16  Prefactor     .10000E-03    45.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.0492        .13886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    13.148        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     38.874        59.763        .64286E-04   -1.4460    
  20  norm          7.5526        5.5348        .13272E-03   -1.5158    
  21  Prefactor     23.207        37.543        .83137E-04   -1.4744    
  22  Prefactor     .10000E-03    37.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .97553        .25645        .26592E-03   -.93855    
  24  Prefactor     1.1914        .24622        .23609E-03   -.86597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06068e-10
Minuit parameter uncertainties:
  1  0.4336
  2  14.49
  3  5.53483e-07
  4  5.14397e-05
  5  20.0663
  6  22.445
  7  8.00385e-07
  8  1.02454e-05
  9  2.2582
  10  9.57666e-05
  11  2.84593e-05
  12  8.18963e-07
  13  1.90825e-06
  14  1.68916e-06
  15  0.424676
  16  9.29081e-06
  17  1.25087e-06
  18  2.1939e-05
  19  59.8555
  20  5.53519
  21  37.581
  22  7.20108e-06
  23  0.256772
  24  0.246462
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  8.190e-07  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.191e+00  2.465e-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:  9.755e-01  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/522328/likelihoodResults_480902401_481161601_4FGL_J2250.7-2806_daily_bin932.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) = 5006.24849601
delta logL = -0.00344065287936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5006.24505533
delta logL = 3.00378815155e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0433       1.0000          .0000       5.0000    
     3 'Normalizat'    .97553       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1914       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=   5006.245     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      231 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2118        .79761E-03** at limit **
   2  alpha         1.8646        3.4127        .16822       -.16064E-06
   3  Normalizat    .97553        .24943        .26592E-03    .36040E-04
   4  Prefactor     1.1914        .24310        .23609E-03    .45217E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.86462
  Normalizat = 0.975527
  Prefactor  = 1.19138
 **********
 **   18 **HESSE 
 **********

 FCN=   5006.245     FROM HESSE     STATUS=OK            23 CALLS      254 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3604        .15952E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8646        3.1775        .67288E-02   -.25697    
   3  Normalizat    .97553        .24979        .10637E-04   -.93855    
   4  Prefactor     1.1914        .24345        .94436E-05   -.86597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14172e-10
Minuit parameter uncertainties:
  1  1.27044e-05
  2  144.41
  3  0.250093
  4  0.243683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/522328': 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) = 5006.24505459
delta logL = 7.67537130741e-07

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  1.270e-05  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  1.865e+00  1.444e+02  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.191e+00  2.437e-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:  9.755e-01  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.690 -28.111

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/522328/cmap_HighResolution_480902401_481161601_4FGL_J2250.7-2806_daily_bin932.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2021-09-28 23:19:07.213369', job_id='522328', GAL2='1.19', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1632896347.21', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='7.68e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='932' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:19:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 522328: <4FGL_J2250.7-2806_daily_bin932> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin932> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 23:05:29 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 23:05:31 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:05:31 2021
Terminated at Tue Sep 28 23:19:07 2021
Results reported at Tue Sep 28 23:19:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin932 342.69 -28.1114 480902401 481161601 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 :                                   581.23 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             239.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            818 sec.

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

