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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin1129
RA = 342.69, Dec = -28.1114
tmin = 531964801, tmax = 532224001
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='522637', job_status='RUN', time_executed='2021-09-28 23:07:33.330812', time_epoch_executed='1632895653.33' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/522637

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/522637/ft1_4FGL_J2250.7-2806_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/522637/ft2_4FGL_J2250.7-2806_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/522637/ft1_4FGL_J2250.7-2806_daily_bin1129.fits outfile=/scratch/kocevski/522637/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1129.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=531964801.0 tmax=532224001.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.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/522637/ft2_4FGL_J2250.7-2806_daily_bin1129.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/522637/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1129.fits evtable="EVENTS" outfile="/scratch/kocevski/522637/ft1_filtered_4FGL_J2250.7-2806_daily_bin1129.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/522637/ft1_filtered_4FGL_J2250.7-2806_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/522637/ft2_4FGL_J2250.7-2806_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/522637/ltcube_531964801_532224001_4FGL_J2250.7-2806_daily_bin1129.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/522637/ft2_4FGL_J2250.7-2806_daily_bin1129.fits
.....................!
real 11.79
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/522637/ft1_filtered_4FGL_J2250.7-2806_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/522637/ft2_4FGL_J2250.7-2806_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/522637/ltcube_531964801_532224001_4FGL_J2250.7-2806_daily_bin1129.fits outfile=/scratch/kocevski/522637/expmap_531964801_532224001_4FGL_J2250.7-2806_daily_bin1129.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/522637/ltcube_531964801_532224001_4FGL_J2250.7-2806_daily_bin1129.fits
.....................!
real 191.81
user 185.76
sys 5.74

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/522637/ft1_filtered_4FGL_J2250.7-2806_daily_bin1129.fits scfile=/scratch/kocevski/522637/ft2_4FGL_J2250.7-2806_daily_bin1129.fits outfile=/scratch/kocevski/522637/cmap_531964801_532224001_4FGL_J2250.7-2806_daily_bin1129.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/522637/ft1_filtered_4FGL_J2250.7-2806_daily_bin1129.fits scfile=/scratch/kocevski/522637/ft2_4FGL_J2250.7-2806_daily_bin1129.fits outfile=/scratch/kocevski/522637/cmap_HighResolution_531964801_532224001_4FGL_J2250.7-2806_daily_bin1129.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/522637/ft1_filtered_4FGL_J2250.7-2806_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/522637/ft2_4FGL_J2250.7-2806_daily_bin1129.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/522637/Model_4FGL_J2250.7-2806_daily_bin1129.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/522637/ft1_filtered_4FGL_J2250.7-2806_daily_bin1129.fits.....................!
real 42.16
user 40.87
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9438       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.764       1.0000         .10000E-03   10000.    
     5 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .73650       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.8509       1.0000         .10000E-03   10000.    
     9 'norm      '    4.7003       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11451E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.1231       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12783E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.473       1.0000         .10000E-03   10000.    
    15 'norm      '    4.1587       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.330       1.0000         .10000E-03   10000.    
    18 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11803E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .56268E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    46.023       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .25467E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2541       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0222       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=   4721.009     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2766 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9438        .66104        .15735E-07   -.60804E-04
   2  Prefactor     .10000E-03    9.9796        .81166E-06** at limit **
   3  Prefactor     .10000E-03    9.9555       -.14499E-05** at limit **
   4  Prefactor     13.764        14.575        .10315E-05   -.10925E-03
   5  norm          .10000E-03    8.4477        .33503E-06** at limit **
   6  Prefactor     .10000E-03    15.545       -.21494E-06** at limit **
   7  Prefactor     .76215        13.024       -.11022E-05    .67250E-04
   8  Prefactor     4.9742        91.954        .40033E-04   -.16997E-04
   9  norm          4.6993        3.1416        .24283E-06    .91918E-03
  10  Prefactor     .10000E-03    56.960       -.41869E-04** at limit **
  11  Prefactor     3.1230        29.961        .18470E-05   -.79012E-04
  12  norm          .10000E-03    1.8768       -.35042E-07** at limit **
  13  Prefactor     .10000E-03    33.077       -.99240E-05** at limit **
  14  Prefactor     43.477        25.445        .13651E-05    .26077E-03
  15  norm          4.1588        1.8826       -.37129E-09    .61190E-03
  16  Prefactor     .10000E-03    32.810        .10357E-04** at limit **
  17  Prefactor     11.333        25.929       -.22636E-05    .39414E-04
  18  norm          .10000E-03    8.2896       -.42873E-06** at limit **
  19  Prefactor     .10000E-03    60.668        .40474E-04** at limit **
  20  norm          .10004E-03    2.8119        .22647E-06** at limit **
  21  Prefactor     46.057        43.469        .83255E-05   -.80333E-04
  22  Prefactor     .10000E-03    155.65        .93520E-04** at limit **
  23  Normalizat    1.2536        .27226       -.54883E-05    .94418E-04
  24  Prefactor     1.0225        .23450        .19891E-05   -.22813E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94375
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.7642
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.762145
  Prefactor  = 4.9742
  norm       = 4.69929
  Prefactor  = 0.0001
  Prefactor  = 3.123
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.4775
  norm       = 4.15883
  Prefactor  = 0.0001
  Prefactor  = 11.333
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100039
  Prefactor  = 46.0571
  Prefactor  = 0.0001
  Normalizat = 1.25359
  Prefactor  = 1.02254
 **********
 **   18 **HESSE 
 **********

 FCN=   4721.009     FROM HESSE     STATUS=OK           393 CALLS     3159 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9438        .66076        .31579E-04   -1.5429    
   2  Prefactor     .10000E-03    9.9990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.9629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.764        14.692        .10796E-03   -1.4966    
   5  norm          .10000E-03    8.4520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .76215        58.430        .46698E-02   -1.5533    
   8  Prefactor     4.9742        92.680        .18264E-03   -1.5262    
   9  norm          4.6993        3.1402        .96152E-04   -1.5274    
  10  Prefactor     .10000E-03    57.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.1230        30.068        .22942E-03   -1.5355    
  12  norm          .10000E-03    1.8784        .91895E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    33.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     43.477        26.017        .60803E-04   -1.4388    
  15  norm          4.1588        1.9248        .44860E-04   -1.5300    
  16  Prefactor     .10000E-03    32.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.333        25.764        .11902E-03   -1.5035    
  18  norm          .10000E-03    8.3246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    60.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10004E-03    14.055        .21865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     46.057        42.821        .59102E-04   -1.4350    
  22  Prefactor     .10000E-03    155.77        .21458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2536        .34770        .28237E-03   -.84962    
  24  Prefactor     1.0225        .29929        .28579E-03   -.91982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4718e-09
Minuit parameter uncertainties:
  1  0.660766
  2  1.66062e-05
  3  1.405e-05
  4  14.6954
  5  2.61903e-06
  6  8.09369e-05
  7  13.3591
  8  43.0192
  9  3.14028
  10  9.9566e-05
  11  19.3931
  12  4.11662e-07
  13  2.38854e-05
  14  26.0238
  15  1.92479
  16  1.27272e-05
  17  25.7891
  18  1.53892e-05
  19  3.35962e-05
  20  0.00147977
  21  42.85
  22  0.000308959
  23  0.348351
  24  0.299783
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  4.117e-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.023e+00  2.998e-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.254e+00  3.484e-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: 6.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.57e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/522637/likelihoodResults_531964801_532224001_4FGL_J2250.7-2806_daily_bin1129.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) = 4721.01134662
delta logL = -0.00226659509281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4721.00908003
delta logL = -1.00044417195e-09

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.0491       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2536       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0225       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=   4721.009     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      232 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    3.2527        .91896E-03** at limit **
   2  alpha         2.0593        3.2489        .16812       -.88624E-06
   3  Normalizat    1.2536        .30602        .28237E-03    .27378E-05
   4  Prefactor     1.0226        .28448        .28579E-03    .29437E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100007
  alpha      = 2.05934
  Normalizat = 1.25358
  Prefactor  = 1.02255
 **********
 **   18 **HESSE 
 **********

 FCN=   4721.009     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    1.8789        .18379E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0593        3.4762        .67250E-02   -.17719    
   3  Normalizat    1.2536        .30641        .11295E-04   -.84963    
   4  Prefactor     1.0226        .28484        .11432E-04   -.91982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.85426e-09
Minuit parameter uncertainties:
  1  0.000221594
  2  183.51
  3  0.306853
  4  0.285263
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/522637': 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) = 4721.00908002
delta logL = 4.35102265328e-09

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  2.216e-04  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.059e+00  1.835e+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.023e+00  2.853e-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.254e+00  3.069e-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/522637/cmap_HighResolution_531964801_532224001_4FGL_J2250.7-2806_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.57e-05', job_status='DONE', photon_flux_upper_limit='6.73e-08', time_completed='2021-09-28 23:17:59.205889', job_id='522637', GAL2='1.02', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1632896279.21', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='4.35e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1129' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:17:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 522637: <4FGL_J2250.7-2806_daily_bin1129> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin1129> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 23:05:51 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 23:05:52 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:52 2021
Terminated at Tue Sep 28 23:17:59 2021
Results reported at Tue Sep 28 23:17:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin1129 342.69 -28.1114 531964801 532224001 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 :                                   574.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            728 sec.

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

