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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin508
RA = 342.69, Dec = -28.1114
tmin = 371001601, tmax = 371260801
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='520573', job_status='RUN', time_executed='2021-09-28 23:03:05.616125', time_epoch_executed='1632895385.62' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='508'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520573

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520573/ft1_4FGL_J2250.7-2806_daily_bin508.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520573/ft2_4FGL_J2250.7-2806_daily_bin508.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520573/ft1_4FGL_J2250.7-2806_daily_bin508.fits outfile=/scratch/kocevski/520573/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin508.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=371001601.0 tmax=371260801.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.52
user 6.26
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/520573/ft2_4FGL_J2250.7-2806_daily_bin508.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/520573/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin508.fits evtable="EVENTS" outfile="/scratch/kocevski/520573/ft1_filtered_4FGL_J2250.7-2806_daily_bin508.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/520573/ft1_filtered_4FGL_J2250.7-2806_daily_bin508.fits" evtable="EVENTS" scfile=/scratch/kocevski/520573/ft2_4FGL_J2250.7-2806_daily_bin508.fits sctable="SC_DATA" outfile=/scratch/kocevski/520573/ltcube_371001601_371260801_4FGL_J2250.7-2806_daily_bin508.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/520573/ft2_4FGL_J2250.7-2806_daily_bin508.fits
.....................!
real 11.37
user 11.02
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520573/ft1_filtered_4FGL_J2250.7-2806_daily_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/520573/ft2_4FGL_J2250.7-2806_daily_bin508.fits sctable="SC_DATA" expcube=/scratch/kocevski/520573/ltcube_371001601_371260801_4FGL_J2250.7-2806_daily_bin508.fits outfile=/scratch/kocevski/520573/expmap_371001601_371260801_4FGL_J2250.7-2806_daily_bin508.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/520573/ltcube_371001601_371260801_4FGL_J2250.7-2806_daily_bin508.fits
.....................!
real 193.00
user 187.56
sys 4.95

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/520573/ft1_filtered_4FGL_J2250.7-2806_daily_bin508.fits scfile=/scratch/kocevski/520573/ft2_4FGL_J2250.7-2806_daily_bin508.fits outfile=/scratch/kocevski/520573/cmap_371001601_371260801_4FGL_J2250.7-2806_daily_bin508.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520573/ft1_filtered_4FGL_J2250.7-2806_daily_bin508.fits scfile=/scratch/kocevski/520573/ft2_4FGL_J2250.7-2806_daily_bin508.fits outfile=/scratch/kocevski/520573/cmap_HighResolution_371001601_371260801_4FGL_J2250.7-2806_daily_bin508.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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/520573/ft1_filtered_4FGL_J2250.7-2806_daily_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/520573/ft2_4FGL_J2250.7-2806_daily_bin508.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/520573/Model_4FGL_J2250.7-2806_daily_bin508.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/520573/ft1_filtered_4FGL_J2250.7-2806_daily_bin508.fits......................!
real 36.54
user 35.22
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58566       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7996       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.8710       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.853       1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.817       1.0000         .10000E-03   10000.    
    12 'norm      '    8.1633       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10424E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.815       1.0000         .10000E-03   10000.    
    15 'norm      '    1.5436       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.339       1.0000         .10000E-03   10000.    
    18 'norm      '    13.175       1.0000         .10000E-03   10000.    
    19 'Prefactor '    59.496       1.0000         .10000E-03   10000.    
    20 'norm      '    5.4827       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .88093       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0121       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=   4114.701     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2675 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58565        .32612       -.43723E-07    .15665E-03
   2  Prefactor     .10000E-03    5.9324       -.29594E-07** at limit **
   3  Prefactor     .10000E-03    28.435       -.17671E-05** at limit **
   4  Prefactor     .10000E-03    3.8800       -.57738E-07** at limit **
   5  norm          .10000E-03    7.8288       -.14543E-06** at limit **
   6  Prefactor     7.7762        25.705       -.23745E-04    .27949E-05
   7  Prefactor     6.8700        13.928       -.23283E-05   -.58562E-04
   8  Prefactor     19.852        30.625        .33054E-05    .50427E-04
   9  norm          .10000E-03    .89149       -.24882E-07** at limit **
  10  Prefactor     .10000E-03    21.412        .56492E-05** at limit **
  11  Prefactor     18.827        15.827       -.95533E-06    .10624E-03
  12  norm          8.1625        6.2412       -.56787E-06    .15886E-03
  13  Prefactor     .10000E-03    22.938       -.13934E-04** at limit **
  14  Prefactor     10.824        10.930        .61556E-06    .38076E-03
  15  norm          1.5434        1.0450        .27343E-08    .71848E-03
  16  Prefactor     .10000E-03    75.630       -.53983E-04** at limit **
  17  Prefactor     13.342        14.999       -.75518E-06    .10967E-03
  18  norm          13.178        14.319        .35501E-05    .49185E-04
  19  Prefactor     59.449        78.259       -.54842E-04    .16584E-04
  20  norm          5.4839        5.1404        .15357E-05   -.21731E-03
  21  Prefactor     .10000E-03    21.424        .54153E-05** at limit **
  22  Prefactor     .10000E-03    61.331        .50882E-04** at limit **
  23  Normalizat    .87984        .24277        .11198E-04   -.81640E-04
  24  Prefactor     1.0132        .21654       -.28798E-05    .36572E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.585652
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.77619
  Prefactor  = 6.87002
  Prefactor  = 19.8523
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.8274
  norm       = 8.16246
  Prefactor  = 0.0001
  Prefactor  = 10.8235
  norm       = 1.54341
  Prefactor  = 0.0001
  Prefactor  = 13.3425
  norm       = 13.1776
  Prefactor  = 59.4493
  norm       = 5.4839
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.879838
  Prefactor  = 1.01325
 **********
 **   18 **HESSE 
 **********

 FCN=   4114.701     FROM HESSE     STATUS=OK           397 CALLS     3072 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58565        .32856        .26637E-04   -1.5555    
   2  Prefactor     .10000E-03    5.9391        .15259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    28.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8926        .12338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    7.8310        .17530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.7762        25.717        .14358E-03   -1.5150    
   7  Prefactor     6.8700        13.927        .15306E-03   -1.5184    
   8  Prefactor     19.852        30.616        .89892E-04   -1.4817    
   9  norm          .10000E-03    .89412        .59130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.827        15.862        .92331E-04   -1.4840    
  12  norm          8.1625        6.2306        .12913E-03   -1.5136    
  13  Prefactor     .10000E-03    23.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.824        10.926        .12183E-03   -1.5050    
  15  norm          1.5434        1.0399        .44976E-04   -1.5459    
  16  Prefactor     .10000E-03    75.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.342        15.015        .10967E-03   -1.4977    
  18  norm          13.178        14.312        .11035E-03   -1.4982    
  19  Prefactor     59.449        78.478        .52015E-04   -1.4164    
  20  norm          5.4839        5.1393        .13474E-03   -1.5240    
  21  Prefactor     .10000E-03    21.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    61.373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .87984        .28521        .27166E-03   -.97172    
  24  Prefactor     1.0132        .25508        .24143E-03   -.92289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8066e-09
Minuit parameter uncertainties:
  1  0.328558
  2  1.53132e-05
  3  0.000185691
  4  2.65062e-06
  5  1.00059e-05
  6  25.7536
  7  13.9332
  8  30.6397
  9  1.81008e-06
  10  3.56901e-05
  11  15.8654
  12  6.23107
  13  1.41428e-05
  14  10.9282
  15  1.03992
  16  1.85731e-05
  17  15.0189
  18  14.3153
  19  78.6151
  20  5.13968
  21  9.41554e-05
  22  1.56785e-05
  23  0.285697
  24  0.255387
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  8.162e+00  6.231e+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.013e+00  2.554e-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:  8.798e-01  2.857e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.49
Ra Dec: 342.690 -28.111
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 5.45e-08 +/- 4.16e-08
Energy Flux (Fixed Index): 2.90e-05 +/- 2.21e-05

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) = 4114.40698151
delta logL = 0.294340747226

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4114.40393917
delta logL = 0.297383088479

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.8270       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5996       1.0000          .0000       5.0000    
     3 'Normalizat'    .89880       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0035       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=   4114.404     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8252        5.9101        .35832E-02    .67369E-03
   2  alpha         1.5996        .47632        .31431       -.23085E-04
   3  Normalizat    .89867        .22471        .44886E-01   -.27501E-04
   4  Prefactor     1.0036        .21371        .44528E-01   -.33814E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.82522
  alpha      = 1.59964
  Normalizat = 0.898666
  Prefactor  = 1.00363
 **********
 **   18 **HESSE 
 **********

 FCN=   4114.404     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.8252        6.2884        .64609E-03   -1.5148    
   2  alpha         1.5996        .55731        .12578E-01   -.36842    
   3  Normalizat    .89867        .26287        .26925E-03   -.96507    
   4  Prefactor     1.0036        .25035        .24253E-03   -.92609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51199e-12
Minuit parameter uncertainties:
  1  6.28889
  2  0.562759
  3  0.263243
  4  0.250641
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520573': 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) = 4114.40393893
delta logL = 0.297383323346

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  7.825e+00  6.289e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  1.600e+00  5.628e-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.004e+00  2.506e-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:  8.987e-01  2.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.16
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 1.60 +/- 0.56
Photon Flux (Free Index): 3.43e-08 +/- 3.47e-08
Energy Flux (Free Index): 4.52e-05 +/- 4.50e-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/520573/cmap_HighResolution_371001601_371260801_4FGL_J2250.7-2806_daily_bin508.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.45e-08', energy_flux2='4.52e-05', photon_flux_error='4.16e-08', dlogl='2.97e-01', energy_flux='2.90e-05', photon_flux2='3.43e-08', job_status='DONE', time_completed='2021-09-28 23:13:01.079893', photon_index_error2='0.56', photon_index2='1.60', ts='4.49', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='4.50e-05', EG='0.88', time_epoch_completed='1632895981.08', return_code='0', job_id='520573', GAL2='1.00', EG2='0.90', return_code2='0', energy_flux_error='2.21e-05', photon_flux_error2='3.47e-08', ts2='5.16', photon_index='2.05' WHERE bin_id='508' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:13:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 520573: <4FGL_J2250.7-2806_daily_bin508> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin508 342.69 -28.1114 371001601 371260801 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 :                                   503.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            754 sec.

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

