/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 138 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 = 7479
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2250.7-2806_daily_bin69
RA = 342.69, Dec = -28.1114
tmin = 257212801, tmax = 257472001
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='517469', job_status='RUN', time_executed='2021-09-28 22:53:01.773195', time_epoch_executed='1632894781.77' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='69'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/517469

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/517469/ft1_4FGL_J2250.7-2806_daily_bin69.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/517469/ft2_4FGL_J2250.7-2806_daily_bin69.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/517469/ft1_4FGL_J2250.7-2806_daily_bin69.fits outfile=/scratch/kocevski/517469/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin69.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=257212801.0 tmax=257472001.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 2.31
user 2.11
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/517469/ft2_4FGL_J2250.7-2806_daily_bin69.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/517469/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin69.fits evtable="EVENTS" outfile="/scratch/kocevski/517469/ft1_filtered_4FGL_J2250.7-2806_daily_bin69.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/517469/ft1_filtered_4FGL_J2250.7-2806_daily_bin69.fits" evtable="EVENTS" scfile=/scratch/kocevski/517469/ft2_4FGL_J2250.7-2806_daily_bin69.fits sctable="SC_DATA" outfile=/scratch/kocevski/517469/ltcube_257212801_257472001_4FGL_J2250.7-2806_daily_bin69.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/517469/ft2_4FGL_J2250.7-2806_daily_bin69.fits
.....................!
real 12.60
user 12.21
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/517469/ft1_filtered_4FGL_J2250.7-2806_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/517469/ft2_4FGL_J2250.7-2806_daily_bin69.fits sctable="SC_DATA" expcube=/scratch/kocevski/517469/ltcube_257212801_257472001_4FGL_J2250.7-2806_daily_bin69.fits outfile=/scratch/kocevski/517469/expmap_257212801_257472001_4FGL_J2250.7-2806_daily_bin69.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/517469/ltcube_257212801_257472001_4FGL_J2250.7-2806_daily_bin69.fits
.....................!
real 190.84
user 185.80
sys 4.72

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/517469/ft1_filtered_4FGL_J2250.7-2806_daily_bin69.fits scfile=/scratch/kocevski/517469/ft2_4FGL_J2250.7-2806_daily_bin69.fits outfile=/scratch/kocevski/517469/cmap_257212801_257472001_4FGL_J2250.7-2806_daily_bin69.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=342.69 yref=-28.1114 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/517469/ft1_filtered_4FGL_J2250.7-2806_daily_bin69.fits scfile=/scratch/kocevski/517469/ft2_4FGL_J2250.7-2806_daily_bin69.fits outfile=/scratch/kocevski/517469/cmap_HighResolution_257212801_257472001_4FGL_J2250.7-2806_daily_bin69.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.55
user 0.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/517469/ft1_filtered_4FGL_J2250.7-2806_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/517469/ft2_4FGL_J2250.7-2806_daily_bin69.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/517469/Model_4FGL_J2250.7-2806_daily_bin69.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/517469/ft1_filtered_4FGL_J2250.7-2806_daily_bin69.fits.....................!
real 48.78
user 47.49
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74184       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.131       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.946       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.1534       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.037       1.0000         .10000E-03   10000.    
    12 'norm      '    4.2242       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .20168       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13954E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.0071       1.0000         .10000E-03   10000.    
    18 'norm      '    11.582       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.2981       1.0000         .10000E-03   10000.    
    20 'norm      '    .54229       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97513       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0665       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=   5966.833     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2340 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74183        .34019        .28682E-08    .19947E-04
   2  Prefactor     .10000E-03    3.2345        .15082E-07** at limit **
   3  Prefactor     16.131        17.360        .11517E-06   -.98386E-05
   4  Prefactor     .10000E-03    7.1729       -.15154E-06** at limit **
   5  norm          .10000E-03    5.9062       -.21084E-06** at limit **
   6  Prefactor     .10000E-03    7.6523        .22829E-06** at limit **
   7  Prefactor     23.949        14.995        .64531E-07   -.31699E-04
   8  Prefactor     .10000E-03    13.718        .81148E-07** at limit **
   9  norm          2.1537        1.6302       -.13497E-07   -.12685E-04
  10  Prefactor     .10000E-03    21.534        .19118E-07** at limit **
  11  Prefactor     19.034        15.788        .58021E-06   -.99738E-04
  12  norm          4.2264        4.2998       -.71304E-08   -.12599E-03
  13  Prefactor     .10000E-03    4.8868       -.46314E-07** at limit **
  14  Prefactor     .10000E-03    5.9465        .11179E-06** at limit **
  15  norm          .20175        .44273        .19341E-06    .22494E-03
  16  Prefactor     .10000E-03    85.515        .42953E-06** at limit **
  17  Prefactor     3.0090        7.2021        .20341E-06   -.94193E-04
  18  norm          11.582        9.1349        .74889E-06   -.14146E-03
  19  Prefactor     7.2765        36.206       -.44712E-05   -.12075E-03
  20  norm          .54252        3.0259        .15544E-05   -.25908E-03
  21  Prefactor     .10000E-03    10.972       -.10807E-06** at limit **
  22  Prefactor     .10000E-03    37.200       -.78982E-07** at limit **
  23  Normalizat    .97511        .19279       -.14124E-06   -.95780E-04
  24  Prefactor     1.0665        .18170       -.53836E-06   -.62442E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.741833
  Prefactor  = 0.0001
  Prefactor  = 16.131
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.9492
  Prefactor  = 0.0001
  norm       = 2.15371
  Prefactor  = 0.0001
  Prefactor  = 19.0337
  norm       = 4.22637
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.201745
  Prefactor  = 0.0001
  Prefactor  = 3.009
  norm       = 11.5822
  Prefactor  = 7.27654
  norm       = 0.542519
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.975111
  Prefactor  = 1.06652
 **********
 **   18 **HESSE 
 **********

 FCN=   5966.833     FROM HESSE     STATUS=OK           401 CALLS     2741 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74183        .34283        .29696E-04   -1.5536    
   2  Prefactor     .10000E-03    3.2366        .13567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.131        17.369        .99723E-04   -1.4904    
   4  Prefactor     .10000E-03    7.2773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    5.9186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.6674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.949        15.036        .81857E-04   -1.4729    
   8  Prefactor     .10000E-03    13.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.1537        1.6338        .83243E-04   -1.5414    
  10  Prefactor     .10000E-03    21.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.034        15.927        .45898E-03   -1.4835    
  12  norm          4.2264        4.2097        .14868E-03   -1.5297    
  13  Prefactor     .10000E-03    4.8924        .16670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.0090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .20175        .38422        .68761E-03   -1.5618    
  16  Prefactor     .10000E-03    86.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.0090        6.9983        .23406E-03   -1.5361    
  18  norm          11.582        9.1532        .58858E-03   -1.5027    
  19  Prefactor     7.2765        41.285        .14847E-03   -1.5168    
  20  norm          .54252        3.1788        .25861E-03   -1.5561    
  21  Prefactor     .10000E-03    10.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    37.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .97511        .22694        .25671E-03   -.93869    
  24  Prefactor     1.0665        .21287        .23900E-03   -.90544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0079e-10
Minuit parameter uncertainties:
  1  0.342829
  2  8.42031e-07
  3  17.3743
  4  2.32917e-05
  5  2.22553e-05
  6  2.47104e-05
  7  15.0388
  8  8.7757e-06
  9  1.63388
  10  6.89632e-07
  11  15.9301
  12  4.21004
  13  5.88286e-06
  14  4.71101e-06
  15  0.384229
  16  0.000129138
  17  7.00018
  18  9.15435
  19  34.701
  20  2.62642
  21  1.68163e-05
  22  2.08747e-05
  23  0.227167
  24  0.213037
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  4.226e+00  4.210e+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.067e+00  2.130e-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.751e-01  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.58
Ra Dec: 342.690 -28.111
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 2.82e-08 +/- 2.81e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.49e-05

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

Saving results to:
/scratch/kocevski/517469/likelihoodResults_257212801_257472001_4FGL_J2250.7-2806_daily_bin69.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) = 5965.8984793
delta logL = 0.934110694886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5965.88889783
delta logL = 0.943692166887

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9387       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2300       1.0000          .0000       5.0000    
     3 'Normalizat'    .91552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1034       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=   5965.889     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      268 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9391        3.8416        .68937E-04    .67285E-04
   2  alpha         3.2304        1.2224        .11680E-01    .14861E-04
   3  Normalizat    .91559        .22375        .26367E-03    .51223E-04
   4  Prefactor     1.1035        .21436        .23529E-03    .12509E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.93906
  alpha      = 3.23043
  Normalizat = 0.915592
  Prefactor  = 1.10351
 **********
 **   18 **HESSE 
 **********

 FCN=   5965.889     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9391        2.8794        .27575E-05   -1.5429    
   2  alpha         3.2304        .93494        .46721E-03    .29650    
   3  Normalizat    .91559        .22248        .10547E-04   -.95914    
   4  Prefactor     1.1035        .21318        .47057E-04   -.89355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09015e-11
Minuit parameter uncertainties:
  1  2.87961
  2  0.960571
  3  0.222707
  4  0.213347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/517469': 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) = 5965.88889513
delta logL = 0.943694866235

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.939e+00  2.880e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  3.230e+00  9.606e-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.104e+00  2.133e-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.156e-01  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.53
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 3.23 +/- 0.96
Photon Flux (Free Index): 7.39e-08 +/- 5.43e-08
Energy Flux (Free Index): 1.43e-05 +/- 9.75e-06

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.86e-05', comment='SUCCESS', photon_flux='2.82e-08', energy_flux2='1.43e-05', photon_flux_error='2.81e-08', dlogl='9.44e-01', energy_flux='1.50e-05', photon_flux2='7.39e-08', job_status='DONE', time_completed='2021-09-28 23:04:12.347078', photon_index_error2='0.96', photon_index2='3.23', ts='1.58', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='9.15e-08', energy_flux_error2='9.75e-06', EG='0.98', time_epoch_completed='1632895452.35', return_code='0', job_id='517469', GAL2='1.10', EG2='0.92', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='5.43e-08', ts2='3.53', photon_index='2.05' WHERE bin_id='69' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:04:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 517469: <4FGL_J2250.7-2806_daily_bin69> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin69> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:50:34 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:50:35 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:50:35 2021
Terminated at Tue Sep 28 23:04:13 2021
Results reported at Tue Sep 28 23:04:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin69 342.69 -28.1114 257212801 257472001 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 :                                   607.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            819 sec.

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

