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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin769
RA = 342.69, Dec = -28.1114
tmin = 438652801, tmax = 438912001
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='520958', job_status='RUN', time_executed='2021-09-28 23:01:19.707909', time_epoch_executed='1632895279.71' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520958

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520958/ft1_4FGL_J2250.7-2806_daily_bin769.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520958/ft2_4FGL_J2250.7-2806_daily_bin769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520958/ft1_4FGL_J2250.7-2806_daily_bin769.fits outfile=/scratch/kocevski/520958/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin769.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=438652801.0 tmax=438912001.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 6.44
user 6.15
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/520958/ft2_4FGL_J2250.7-2806_daily_bin769.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/520958/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin769.fits evtable="EVENTS" outfile="/scratch/kocevski/520958/ft1_filtered_4FGL_J2250.7-2806_daily_bin769.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520958/ft1_filtered_4FGL_J2250.7-2806_daily_bin769.fits" evtable="EVENTS" scfile=/scratch/kocevski/520958/ft2_4FGL_J2250.7-2806_daily_bin769.fits sctable="SC_DATA" outfile=/scratch/kocevski/520958/ltcube_438652801_438912001_4FGL_J2250.7-2806_daily_bin769.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/520958/ft2_4FGL_J2250.7-2806_daily_bin769.fits
.....................!
real 11.89
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520958/ft1_filtered_4FGL_J2250.7-2806_daily_bin769.fits evtable="EVENTS" scfile=/scratch/kocevski/520958/ft2_4FGL_J2250.7-2806_daily_bin769.fits sctable="SC_DATA" expcube=/scratch/kocevski/520958/ltcube_438652801_438912001_4FGL_J2250.7-2806_daily_bin769.fits outfile=/scratch/kocevski/520958/expmap_438652801_438912001_4FGL_J2250.7-2806_daily_bin769.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/520958/ltcube_438652801_438912001_4FGL_J2250.7-2806_daily_bin769.fits
.....................!
real 192.11
user 187.20
sys 4.55

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/520958/ft1_filtered_4FGL_J2250.7-2806_daily_bin769.fits scfile=/scratch/kocevski/520958/ft2_4FGL_J2250.7-2806_daily_bin769.fits outfile=/scratch/kocevski/520958/cmap_438652801_438912001_4FGL_J2250.7-2806_daily_bin769.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/520958/ft1_filtered_4FGL_J2250.7-2806_daily_bin769.fits scfile=/scratch/kocevski/520958/ft2_4FGL_J2250.7-2806_daily_bin769.fits outfile=/scratch/kocevski/520958/cmap_HighResolution_438652801_438912001_4FGL_J2250.7-2806_daily_bin769.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38677       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .27943E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3184       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.4212       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.808       1.0000         .10000E-03   10000.    
    14 'Prefactor '    74.592       1.0000         .10000E-03   10000.    
    15 'norm      '    .30137       1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.023       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.613       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .48505       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.4678       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=   4323.282     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2716 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38676        .30405        .23871E-08    .10568E-03
   2  Prefactor     .10000E-03    5.4428       -.74074E-07** at limit **
   3  Prefactor     .10000E-03    8.2320       -.15531E-06** at limit **
   4  Prefactor     .10007E-03    9.2776       -.48176E-06** at limit **
   5  norm          .10000E-03    13.396        .24783E-06** at limit **
   6  Prefactor     .10000E-03    24.457        .38318E-06** at limit **
   7  Prefactor     1.3214        39.919        .26814E-05   -.65434E-04
   8  Prefactor     .10000E-03    14.011       -.21289E-06** at limit **
   9  norm          1.4211        1.6348       -.12035E-07    .10293E-04
  10  Prefactor     .10000E-03    16.439       -.11555E-05** at limit **
  11  Prefactor     .10000E-03    2.7367       -.26374E-08** at limit **
  12  norm          .10000E-03    3.1532        .19495E-06** at limit **
  13  Prefactor     36.833        37.126        .12500E-05   -.99994E-04
  14  Prefactor     74.602        22.515       -.27868E-05   -.42786E-03
  15  norm          .30069        1.1141        .18588E-05   -.48194E-03
  16  Prefactor     35.999        49.369       -.33446E-05   -.30856E-04
  17  Prefactor     .10000E-03    5.8139        .15375E-06** at limit **
  18  norm          .10000E-03    2.9806       -.22350E-08** at limit **
  19  Prefactor     .10000E-03    25.616        .65475E-06** at limit **
  20  norm          .10000E-03    1.1674        .22945E-07** at limit **
  21  Prefactor     .10000E-03    12.786        .73704E-06** at limit **
  22  Prefactor     16.638        157.01        .64755E-05    .34309E-05
  23  Normalizat    .48488        .22191       -.17320E-07   -.94470E-05
  24  Prefactor     1.4678        .21846       -.52158E-06   -.26854E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.386764
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100068
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.32138
  Prefactor  = 0.0001
  norm       = 1.42105
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 36.8327
  Prefactor  = 74.6017
  norm       = 0.300687
  Prefactor  = 35.9986
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.6378
  Normalizat = 0.484878
  Prefactor  = 1.46784
 **********
 **   18 **HESSE 
 **********

 FCN=   4323.282     FROM HESSE     STATUS=OK           391 CALLS     3107 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38676        .30800        .31342E-04   -1.5584    
   2  Prefactor     .10000E-03    5.4483        .14982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.2392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10007E-03    42.044        .37675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    13.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    24.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.3214        39.995        .38339E-03   -1.5478    
   8  Prefactor     .10000E-03    14.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4211        1.6319        .87626E-04   -1.5470    
  10  Prefactor     .10000E-03    16.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.7384        .10623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.1684        .11395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     36.833        37.282        .66059E-04   -1.4493    
  14  Prefactor     74.602        22.848        .46489E-04   -1.3978    
  15  norm          .30069        1.2893        .89356E-03   -1.5598    
  16  Prefactor     35.999        49.542        .66772E-04   -1.4507    
  17  Prefactor     .10000E-03    5.8422        .15476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.9862        .11086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.1755        .69374E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     16.638        156.81        .98263E-04   -1.4892    
  23  Normalizat    .48488        .25099        .33543E-03   -1.1312    
  24  Prefactor     1.4678        .25448        .21166E-03   -.78444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68115e-09
Minuit parameter uncertainties:
  1  0.308004
  2  1.57811e-07
  3  6.51241e-07
  4  0.0033721
  5  8.20133e-06
  6  7.74362e-05
  7  14.5496
  8  1.49303e-05
  9  1.63194
  10  1.79254e-05
  11  5.00666e-06
  12  4.7574e-06
  13  37.3053
  14  22.8508
  15  1.24513
  16  49.5988
  17  7.89717e-06
  18  2.12563e-06
  19  2.20824e-05
  20  8.45928e-07
  21  7.47531e-06
  22  102.511
  23  0.251573
  24  0.254703
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  4.757e-06  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.468e+00  2.547e-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:  4.849e-01  2.516e-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: 8.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/520958/likelihoodResults_438652801_438912001_4FGL_J2250.7-2806_daily_bin769.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4323.28395291
delta logL = -0.00147405494499

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4323.28247898
delta logL = -1.22042365547e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10204E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0663       1.0000          .0000       5.0000    
     3 'Normalizat'    .48486       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4679       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4323.258     FROM MIGRAD    STATUS=FAILED       138 CALLS      289 TOTAL
                     EDM=   .95E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82000E-01    17.083        .11545E-01    .32655E-02
   2  alpha         4.2431        4.5044        .16785       -.59540E-04
   3  Normalizat    .47316        .51485E-01    .33543E-03   -.16296E-03
   4  Prefactor     1.4743        .50908E-01    .21166E-03   -.78563E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4323.258     FROM SIMPLEX   STATUS=UNCHANGED     78 CALLS      367 TOTAL
                     EDM=   .97E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82000E-01    17.083        .12090E-03    .32655E-02
   2  alpha         4.2431        4.5044        .94978E-02   -.59540E-04
   3  Normalizat    .47316        .51485E-01    .51659E-04   -.16296E-03
   4  Prefactor     1.4743        .50908E-01    .23515E-04   -.78563E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4323.258     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      400 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82019E-01    82.670        .62416E-03    .97911E-03
   2  alpha         4.2430        4.5690        .67140E-02   -.61178E-05
   3  Normalizat    .47316        .18998        .13417E-04   -.23166E-03
   4  Prefactor     1.4743        .18545        .42333E-04   -.86518E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0820187
  alpha      = 4.24295
  Normalizat = 0.473155
  Prefactor  = 1.4743
 **********
 **   18 **HESSE 
 **********

 FCN=   4323.258     FROM HESSE     STATUS=OK            25 CALLS      425 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82019E-01    1.9782        .24967E-04   -1.5651    
   2  alpha         4.2430        3.6502        .26856E-03    2.3701    
   3  Normalizat    .47316        .24335        .26834E-05   -1.1368    
   4  Prefactor     1.4743        .25240        .84665E-05   -.78262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64758e-09
Minuit parameter uncertainties:
  1  0.805148
  2  4.65089
  3  0.243903
  4  0.252609
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520958': 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) = 4323.25768338
delta logL = 0.0247954742608

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  8.202e-02  8.051e-01  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  4.243e+00  4.651e+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:  1.474e+00  2.526e-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:  4.732e-01  2.439e-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/520958/cmap_HighResolution_438652801_438912001_4FGL_J2250.7-2806_daily_bin769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.47e-05', job_status='DONE', photon_flux_upper_limit='8.41e-08', time_completed='2021-09-28 23:13:13.227402', job_id='520958', GAL2='1.47', fit_tolerance='1e-08', EG2='0.47', EG='0.48', time_epoch_completed='1632895993.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='2.48e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='769' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:13:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 520958: <4FGL_J2250.7-2806_daily_bin769> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin769 342.69 -28.1114 438652801 438912001 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 :                                   577.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            732 sec.

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

