/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 0 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 = 7480
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2250.7-2806_daily_bin411
RA = 342.69, Dec = -28.1114
tmin = 345859201, tmax = 346118401
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='519232', job_status='RUN', time_executed='2021-09-28 22:55:58.973532', time_epoch_executed='1632894958.97' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/519232

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/519232/ft1_4FGL_J2250.7-2806_daily_bin411.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/519232/ft2_4FGL_J2250.7-2806_daily_bin411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/519232/ft1_4FGL_J2250.7-2806_daily_bin411.fits outfile=/scratch/kocevski/519232/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin411.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=345859201.0 tmax=346118401.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.37
user 3.16
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/519232/ft2_4FGL_J2250.7-2806_daily_bin411.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/519232/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin411.fits evtable="EVENTS" outfile="/scratch/kocevski/519232/ft1_filtered_4FGL_J2250.7-2806_daily_bin411.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/519232/ft1_filtered_4FGL_J2250.7-2806_daily_bin411.fits" evtable="EVENTS" scfile=/scratch/kocevski/519232/ft2_4FGL_J2250.7-2806_daily_bin411.fits sctable="SC_DATA" outfile=/scratch/kocevski/519232/ltcube_345859201_346118401_4FGL_J2250.7-2806_daily_bin411.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/519232/ft2_4FGL_J2250.7-2806_daily_bin411.fits
.....................!
real 11.86
user 11.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/519232/ft1_filtered_4FGL_J2250.7-2806_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/519232/ft2_4FGL_J2250.7-2806_daily_bin411.fits sctable="SC_DATA" expcube=/scratch/kocevski/519232/ltcube_345859201_346118401_4FGL_J2250.7-2806_daily_bin411.fits outfile=/scratch/kocevski/519232/expmap_345859201_346118401_4FGL_J2250.7-2806_daily_bin411.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/519232/ltcube_345859201_346118401_4FGL_J2250.7-2806_daily_bin411.fits
.....................!
real 191.73
user 185.95
sys 5.42

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/519232/ft1_filtered_4FGL_J2250.7-2806_daily_bin411.fits scfile=/scratch/kocevski/519232/ft2_4FGL_J2250.7-2806_daily_bin411.fits outfile=/scratch/kocevski/519232/cmap_345859201_346118401_4FGL_J2250.7-2806_daily_bin411.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/519232/ft1_filtered_4FGL_J2250.7-2806_daily_bin411.fits scfile=/scratch/kocevski/519232/ft2_4FGL_J2250.7-2806_daily_bin411.fits outfile=/scratch/kocevski/519232/cmap_HighResolution_345859201_346118401_4FGL_J2250.7-2806_daily_bin411.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/519232/ft1_filtered_4FGL_J2250.7-2806_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/519232/ft2_4FGL_J2250.7-2806_daily_bin411.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/519232/Model_4FGL_J2250.7-2806_daily_bin411.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/519232/ft1_filtered_4FGL_J2250.7-2806_daily_bin411.fits.....................!
real 48.73
user 47.34
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5201       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.311       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.1102       1.0000         .10000E-03   10000.    
     9 'norm      '    .88823       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11018       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.7110       1.0000         .10000E-03   10000.    
    12 'norm      '    2.9543       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10517E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.837       1.0000         .10000E-03   10000.    
    15 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12620E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.6608       1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.3631       1.0000         .10000E-03   10000.    
    21 'Prefactor '    27.132       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .57894       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0852       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=   6346.105     FROM MIGRAD    STATUS=CONVERGED    607 CALLS     2812 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5201        .38198        .88067E-09    .74795E-04
   2  Prefactor     .10000E-03    2.5511       -.16351E-07** at limit **
   3  Prefactor     .10000E-03    15.945       -.36540E-06** at limit **
   4  Prefactor     .10000E-03    1.9864       -.24030E-07** at limit **
   5  norm          .10000E-03    9.6649       -.10710E-06** at limit **
   6  Prefactor     .10000E-03    7.8263       -.38029E-07** at limit **
   7  Prefactor     14.204        13.215        .46588E-06    .62051E-04
   8  Prefactor     6.1105        10.392        .21827E-06   -.25512E-04
   9  norm          .82150        2.5132       -.68591E-06   -.10279E-02
  10  Prefactor     1.7830        236.42        .19577E-05   -.46341E-04
  11  Prefactor     3.7127        7.4766       -.22920E-06    .67063E-04
  12  norm          2.9580        4.1710        .31236E-05   -.78469E-04
  13  Prefactor     .10000E-03    17.230       -.95281E-06** at limit **
  14  Prefactor     15.811        9.0465       -.34589E-06    .11045E-02
  15  norm          .10000E-03    .33669       -.45863E-06** at limit **
  16  Prefactor     .10000E-03    106.31        .28446E-07** at limit **
  17  Prefactor     6.6627        8.7142       -.22975E-06    .58714E-03
  18  norm          .10000E-03    1.6770       -.91095E-08** at limit **
  19  Prefactor     .10000E-03    13.202       -.24421E-07** at limit **
  20  norm          1.3603        2.3560        .56651E-06    .34594E-03
  21  Prefactor     27.133        26.716       -.18288E-05    .16771E-03
  22  Prefactor     .10000E-03    52.689        .54932E-06** at limit **
  23  Normalizat    .57852        .15480        .99618E-06    .23897E-03
  24  Prefactor     1.0855        .15364       -.90711E-06    .27464E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.5201
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.2036
  Prefactor  = 6.11047
  norm       = 0.821497
  Prefactor  = 1.78296
  Prefactor  = 3.71271
  norm       = 2.95796
  Prefactor  = 0.000100002
  Prefactor  = 15.8107
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.6627
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.3603
  Prefactor  = 27.1326
  Prefactor  = 0.0001
  Normalizat = 0.578523
  Prefactor  = 1.08549
 **********
 **   18 **HESSE 
 **********

 FCN=   6346.105     FROM HESSE     STATUS=OK           399 CALLS     3211 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5201        .38333        .24033E-04   -1.5461    
   2  Prefactor     .10000E-03    2.5523        .12426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.9953        .10963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    9.6949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.9026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.204        13.198        .10588E-03   -1.4954    
   8  Prefactor     6.1105        10.384        .16242E-03   -1.5214    
   9  norm          .82150        2.3815        .14219E-02   -1.5527    
  10  Prefactor     1.7830        248.96        .38239E-03   -1.5441    
  11  Prefactor     3.7127        7.4687        .20963E-03   -1.5323    
  12  norm          2.9580        4.1530        .82346E-03   -1.5364    
  13  Prefactor     .10000E-03    17.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.811        8.6339        .10064E-03   -1.4913    
  15  norm          .10000E-03    .88373        .81225E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    109.08        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.6627        8.6072        .15548E-03   -1.5192    
  18  norm          .10000E-03    1.6822        .10074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.3603        2.3206        .15093E-03   -1.5475    
  21  Prefactor     27.133        26.534        .76910E-04   -1.4666    
  22  Prefactor     .10000E-03    52.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .57852        .18328        .26347E-03   -1.0890    
  24  Prefactor     1.0855        .18201        .20203E-03   -.89932    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02945e-09
Minuit parameter uncertainties:
  1  0.383328
  2  1.46215e-06
  3  9.55915e-06
  4  1.93194e-06
  5  1.78176e-05
  6  5.16763e-06
  7  13.2004
  8  10.3874
  9  2.38178
  10  42.3171
  11  7.47061
  12  4.15341
  13  0.000373639
  14  8.63455
  15  9.70316e-06
  16  0.000238105
  17  8.6088
  18  6.91502e-07
  19  3.27351e-06
  20  2.32071
  21  26.5451
  22  0.000115689
  23  0.183475
  24  0.182118
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  2.958e+00  4.153e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.049e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.085e+00  1.821e-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:  5.785e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/519232/likelihoodResults_345859201_346118401_4FGL_J2250.7-2806_daily_bin411.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) = 6345.947594
delta logL = 0.15707337055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6345.94246625
delta logL = 0.162201116694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6982       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4986       1.0000          .0000       5.0000    
     3 'Normalizat'    .56670       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0912       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=   6345.942     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6989        67.095        .62001E-02    .52236E-03
   2  alpha         2.4982        3.6694        .41152        .33874E-04
   3  Normalizat    .56665        .42649E-01    .60097E-01    .26027E-04
   4  Prefactor     1.0913        .40474E-01    .37930E-01   -.65146E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.69889
  alpha      = 2.49823
  Normalizat = 0.566654
  Prefactor  = 1.09128
 **********
 **   18 **HESSE 
 **********

 FCN=   6345.942     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6989        3.5116        .13051E-03   -1.5379    
   2  alpha         2.4982        .83855        .15327E-01   -.70812E-03
   3  Normalizat    .56665        .17449        .26587E-03   -1.0942    
   4  Prefactor     1.0913        .17892        .20146E-03   -.89746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.175e-11
Minuit parameter uncertainties:
  1  3.51189
  2  0.855128
  3  0.174661
  4  0.179015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/519232': 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) = 6345.94246609
delta logL = 0.16220127091

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  2.699e+00  3.512e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.498e+00  8.551e-01  0.000e+00  5.000e+00 ( 1.000e+00)
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.091e+00  1.790e-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:  5.667e-01  1.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.13
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 2.50 +/- 0.86
Photon Flux (Free Index): 3.25e-08 +/- 3.70e-08
Energy Flux (Free Index): 9.86e-06 +/- 1.08e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/519232/cmap_HighResolution_345859201_346118401_4FGL_J2250.7-2806_daily_bin411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-05', comment='SUCCESS', energy_flux2='9.86e-06', dlogl='1.62e-01', photon_flux2='3.25e-08', job_status='DONE', time_completed='2021-09-28 23:11:15.297363', photon_index_error2='0.86', photon_index2='2.50', ts='0.79', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='7.49e-08', energy_flux_error2='1.08e-05', EG='0.58', time_epoch_completed='1632895875.3', return_code='0', job_id='519232', GAL2='1.09', EG2='0.57', return_code2='0', photon_flux_error2='3.70e-08', ts2='1.13', photon_index='2.05' WHERE bin_id='411' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:11:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 519232: <4FGL_J2250.7-2806_daily_bin411> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin411> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:55:49 2021
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:55:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 22:55:50 2021
Terminated at Tue Sep 28 23:11:16 2021
Results reported at Tue Sep 28 23:11:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin411 342.69 -28.1114 345859201 346118401 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 :                                   670.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            927 sec.

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

