/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 9 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7407
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2250.7-2806_daily_bin541
RA = 342.69, Dec = -28.1114
tmin = 379555201, tmax = 379814401
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='520626', job_status='RUN', time_executed='2021-09-28 23:00:50.347437', time_epoch_executed='1632895250.35' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='541'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520626

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520626/ft1_4FGL_J2250.7-2806_daily_bin541.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520626/ft2_4FGL_J2250.7-2806_daily_bin541.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520626/ft1_4FGL_J2250.7-2806_daily_bin541.fits outfile=/scratch/kocevski/520626/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin541.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=379555201.0 tmax=379814401.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.47
user 3.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/520626/ft2_4FGL_J2250.7-2806_daily_bin541.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/520626/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin541.fits evtable="EVENTS" outfile="/scratch/kocevski/520626/ft1_filtered_4FGL_J2250.7-2806_daily_bin541.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/520626/ft1_filtered_4FGL_J2250.7-2806_daily_bin541.fits" evtable="EVENTS" scfile=/scratch/kocevski/520626/ft2_4FGL_J2250.7-2806_daily_bin541.fits sctable="SC_DATA" outfile=/scratch/kocevski/520626/ltcube_379555201_379814401_4FGL_J2250.7-2806_daily_bin541.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/520626/ft2_4FGL_J2250.7-2806_daily_bin541.fits
.....................!
real 11.77
user 11.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520626/ft1_filtered_4FGL_J2250.7-2806_daily_bin541.fits evtable="EVENTS" scfile=/scratch/kocevski/520626/ft2_4FGL_J2250.7-2806_daily_bin541.fits sctable="SC_DATA" expcube=/scratch/kocevski/520626/ltcube_379555201_379814401_4FGL_J2250.7-2806_daily_bin541.fits outfile=/scratch/kocevski/520626/expmap_379555201_379814401_4FGL_J2250.7-2806_daily_bin541.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/520626/ltcube_379555201_379814401_4FGL_J2250.7-2806_daily_bin541.fits
.....................!
real 192.93
user 187.76
sys 4.86

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/520626/ft1_filtered_4FGL_J2250.7-2806_daily_bin541.fits scfile=/scratch/kocevski/520626/ft2_4FGL_J2250.7-2806_daily_bin541.fits outfile=/scratch/kocevski/520626/cmap_379555201_379814401_4FGL_J2250.7-2806_daily_bin541.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520626/ft1_filtered_4FGL_J2250.7-2806_daily_bin541.fits scfile=/scratch/kocevski/520626/ft2_4FGL_J2250.7-2806_daily_bin541.fits outfile=/scratch/kocevski/520626/cmap_HighResolution_379555201_379814401_4FGL_J2250.7-2806_daily_bin541.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1087       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.9522       1.0000         .10000E-03   10000.    
     6 'Prefactor '    28.195       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.131       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11331E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .52369       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.226       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.5747       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.080       1.0000         .10000E-03   10000.    
    15 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10594E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.904       1.0000         .10000E-03   10000.    
    18 'norm      '    38.797       1.0000         .10000E-03   10000.    
    19 'Prefactor '    35.983       1.0000         .10000E-03   10000.    
    20 'norm      '    .13153E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.8927       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1443       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83301       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=   6180.813     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2722 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1087        .40659       -.32898E-08   -.50645E-04
   2  Prefactor     .10000E-03    8.9694       -.11833E-06** at limit **
   3  Prefactor     .10000E-03    9.6399        .15200E-06** at limit **
   4  Prefactor     .10000E-03    1.2974        .12218E-08** at limit **
   5  norm          10.002        21.108        .28675E-05   -.15785E-03
   6  Prefactor     28.173        16.473       -.10170E-06    .35421E-04
   7  Prefactor     13.151        15.629        .90558E-06   -.13666E-03
   8  Prefactor     .10000E-03    25.885       -.80183E-07** at limit **
   9  norm          .52468        1.7575       -.86177E-08   -.53370E-03
  10  Prefactor     13.124        37.259       -.18610E-05   -.85999E-04
  11  Prefactor     .10000E-03    4.0017       -.42840E-07** at limit **
  12  norm          7.5771        4.2090        .94627E-07    .25354E-03
  13  Prefactor     .10000E-03    7.7278       -.49119E-06** at limit **
  14  Prefactor     24.091        10.681        .13474E-05    .80458E-03
  15  norm          .10000E-03    .26597       -.67802E-06** at limit **
  16  Prefactor     .10000E-03    37.704        .79596E-06** at limit **
  17  Prefactor     10.904        12.924        .57622E-06    .28127E-03
  18  norm          38.789        12.405        .58491E-08    .10209E-04
  19  Prefactor     36.006        47.677       -.11211E-05    .80733E-04
  20  norm          .10000E-03    2.5745       -.28833E-06** at limit **
  21  Prefactor     7.8677        26.473        .66906E-06   -.24826E-04
  22  Prefactor     .10000E-03    73.589       -.20594E-05** at limit **
  23  Normalizat    1.1445        .19298        .12644E-05   -.79424E-04
  24  Prefactor     .83281        .17969       -.10533E-05    .95895E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.1087
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.0025
  Prefactor  = 28.1731
  Prefactor  = 13.1512
  Prefactor  = 0.0001
  norm       = 0.52468
  Prefactor  = 13.1242
  Prefactor  = 0.0001
  norm       = 7.57708
  Prefactor  = 0.0001
  Prefactor  = 24.0912
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9035
  norm       = 38.789
  Prefactor  = 36.0061
  norm       = 0.0001
  Prefactor  = 7.86768
  Prefactor  = 0.000100002
  Normalizat = 1.14454
  Prefactor  = 0.832812
 **********
 **   18 **HESSE 
 **********

 FCN=   6180.813     FROM HESSE     STATUS=OK           397 CALLS     3119 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1087        .40735        .29368E-04   -1.5497    
   2  Prefactor     .10000E-03    9.0553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.6735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.2984        .87452E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.002        20.679        .12702E-03   -1.5075    
   6  Prefactor     28.173        16.484        .75449E-04   -1.4646    
   7  Prefactor     13.151        15.628        .11054E-03   -1.4983    
   8  Prefactor     .10000E-03    26.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .52468        1.6198        .15490E-02   -1.5563    
  10  Prefactor     13.124        37.141        .11014E-03   -1.4983    
  11  Prefactor     .10000E-03    4.0248        .15358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.5771        4.2064        .11232E-03   -1.5157    
  13  Prefactor     .10000E-03    7.7687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.091        10.991        .81630E-04   -1.4726    
  15  norm          .10000E-03    .50905        .73578E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    37.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.904        12.909        .12133E-03   -1.5047    
  18  norm          38.789        12.413        .32175E-03   -1.4462    
  19  Prefactor     36.006        47.629        .66810E-04   -1.4507    
  20  norm          .10000E-03    2.6776        .24570E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.8677        26.427        .14272E-03   -1.5147    
  22  Prefactor     .10000E-03    73.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1445        .23260        .24121E-03   -.88334    
  24  Prefactor     .83281        .21546        .26777E-03   -.98530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00517e-10
Minuit parameter uncertainties:
  1  0.407355
  2  1.3897e-05
  3  3.5591e-05
  4  7.34978e-07
  5  20.6938
  6  16.4869
  7  15.6327
  8  1.75343e-05
  9  1.61997
  10  37.2062
  11  6.36575e-06
  12  4.20654
  13  1.92427e-05
  14  10.9923
  15  9.66806e-06
  16  0.000251727
  17  12.9125
  18  12.414
  19  47.6795
  20  6.95172e-06
  21  26.4666
  22  0.000827399
  23  0.232806
  24  0.215681
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  7.577e+00  4.207e+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:  8.328e-01  2.157e-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.145e+00  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.35
Ra Dec: 342.690 -28.111
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 5.06e-08 +/- 2.81e-08
Energy Flux (Fixed Index): 2.69e-05 +/- 1.49e-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) = 6180.71518925
delta logL = 0.0982596523054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6180.71439311
delta logL = 0.0990557908481

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.4990       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8159       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82767       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=   6180.714     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      236 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.4983        4.2389        .11626E-03    .75684E-04
   2  alpha         1.8157        .51525        .13684E-01    .22711E-04
   3  Normalizat    1.1549        .22109        .24039E-03    .47676E-03
   4  Prefactor     .82781        .21311        .26860E-03    .39136E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.49834
  alpha      = 1.81575
  Normalizat = 1.15491
  Prefactor  = 0.827811
 **********
 **   18 **HESSE 
 **********

 FCN=   6180.714     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.4983        4.2595        .46506E-05   -1.5160    
   2  alpha         1.8157        .51769        .54736E-03   -.27724    
   3  Normalizat    1.1549        .22129        .48079E-04   -.88008    
   4  Prefactor     .82781        .21331        .53720E-04   -.98711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36335e-10
Minuit parameter uncertainties:
  1  4.25971
  2  0.521771
  3  0.221465
  4  0.21352
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520626': 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) = 6180.714392
delta logL = 0.0990569053292

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  7.498e+00  4.260e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  1.816e+00  5.218e-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:  8.278e-01  2.135e-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.155e+00  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.65
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 1.82 +/- 0.52
Photon Flux (Free Index): 3.92e-08 +/- 3.24e-08
Energy Flux (Free Index): 3.19e-05 +/- 2.29e-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/520626/cmap_HighResolution_379555201_379814401_4FGL_J2250.7-2806_daily_bin541.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.06e-08', energy_flux2='3.19e-05', photon_flux_error='2.81e-08', dlogl='9.91e-02', energy_flux='2.69e-05', photon_flux2='3.92e-08', job_status='DONE', time_completed='2021-09-28 23:13:18.765228', photon_index_error2='0.52', photon_index2='1.82', ts='11.35', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='2.29e-05', EG='1.14', time_epoch_completed='1632895998.77', return_code='0', job_id='520626', GAL2='0.83', EG2='1.15', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='3.24e-08', ts2='11.65', photon_index='2.05' WHERE bin_id='541' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:13:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 520626: <4FGL_J2250.7-2806_daily_bin541> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin541 342.69 -28.1114 379555201 379814401 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 :                                   597.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             327.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            767 sec.

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

