aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 57 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 = 7654
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2250.7-2806_daily_bin1685
RA = 342.69, Dec = -28.1114
tmin = 676080001, tmax = 676339201
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='384768', job_status='RUN', time_executed='2022-06-08 01:12:00.652046', time_epoch_executed='1654675920.65' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='1685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384768

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384768/ft1_4FGL_J2250.7-2806_daily_bin1685.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384768/ft2_4FGL_J2250.7-2806_daily_bin1685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384768/ft1_4FGL_J2250.7-2806_daily_bin1685.fits outfile=/scratch/kocevski/384768/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1685.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=676080001.0 tmax=676339201.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.62
user 3.36
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/384768/ft2_4FGL_J2250.7-2806_daily_bin1685.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/384768/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1685.fits evtable="EVENTS" outfile="/scratch/kocevski/384768/ft1_filtered_4FGL_J2250.7-2806_daily_bin1685.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.56
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 788

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384768/ft1_filtered_4FGL_J2250.7-2806_daily_bin1685.fits" evtable="EVENTS" scfile=/scratch/kocevski/384768/ft2_4FGL_J2250.7-2806_daily_bin1685.fits sctable="SC_DATA" outfile=/scratch/kocevski/384768/ltcube_676080001_676339201_4FGL_J2250.7-2806_daily_bin1685.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/384768/ft2_4FGL_J2250.7-2806_daily_bin1685.fits
.....................!
real 15.05
user 14.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384768/ft1_filtered_4FGL_J2250.7-2806_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/384768/ft2_4FGL_J2250.7-2806_daily_bin1685.fits sctable="SC_DATA" expcube=/scratch/kocevski/384768/ltcube_676080001_676339201_4FGL_J2250.7-2806_daily_bin1685.fits outfile=/scratch/kocevski/384768/expmap_676080001_676339201_4FGL_J2250.7-2806_daily_bin1685.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/384768/ltcube_676080001_676339201_4FGL_J2250.7-2806_daily_bin1685.fits
.....................!
real 194.54
user 188.67
sys 5.37

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/384768/ft1_filtered_4FGL_J2250.7-2806_daily_bin1685.fits scfile=/scratch/kocevski/384768/ft2_4FGL_J2250.7-2806_daily_bin1685.fits outfile=/scratch/kocevski/384768/cmap_676080001_676339201_4FGL_J2250.7-2806_daily_bin1685.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/384768/ft1_filtered_4FGL_J2250.7-2806_daily_bin1685.fits scfile=/scratch/kocevski/384768/ft2_4FGL_J2250.7-2806_daily_bin1685.fits outfile=/scratch/kocevski/384768/cmap_HighResolution_676080001_676339201_4FGL_J2250.7-2806_daily_bin1685.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.59
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384768/ft1_filtered_4FGL_J2250.7-2806_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/384768/ft2_4FGL_J2250.7-2806_daily_bin1685.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384768/Model_4FGL_J2250.7-2806_daily_bin1685.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/384768/ft1_filtered_4FGL_J2250.7-2806_daily_bin1685.fits.....................!
real 60.61
user 59.21
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63591       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.096       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4772       1.0000         .10000E-03   10000.    
     5 'norm      '    5.2412       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.3243       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .53033       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11758E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.319       1.0000         .10000E-03   10000.    
    12 'norm      '    .76795       1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.204       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.2873       1.0000         .10000E-03   10000.    
    15 'norm      '    .55448       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11432E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    29.917       1.0000         .10000E-03   10000.    
    18 'norm      '    6.4451       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .29585E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    5.9793       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.8422       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .54695       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3388       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=   8582.159     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2371 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63598        .29399       -.75036E-08    .21700E-04
   2  Prefactor     .10000E-03    2.8881        .41814E-07** at limit **
   3  Prefactor     12.091        12.145       -.30063E-06    .12564E-04
   4  Prefactor     6.4816        6.6224        .27059E-06   -.32471E-04
   5  norm          5.2442        12.394       -.19904E-07    .10383E-04
   6  Prefactor     8.3248        12.063       -.98432E-07   -.10623E-04
   7  Prefactor     .10000E-03    16.482        .10975E-06** at limit **
   8  Prefactor     .10000E-03    6.9562       -.37332E-07** at limit **
   9  norm          .53131        1.2759       -.21537E-06    .10123E-03
  10  Prefactor     .10000E-03    51.814       -.13538E-05** at limit **
  11  Prefactor     34.322        10.661        .55034E-07    .44334E-04
  12  norm          .76750        3.8119       -.10467E-05    .43676E-04
  13  Prefactor     31.224        22.090        .86915E-06    .10806E-03
  14  Prefactor     6.2982        15.594       -.15539E-05    .37666E-04
  15  norm          .55297        .67087       -.14755E-06   -.78689E-04
  16  Prefactor     .10000E-03    16.774        .16418E-06** at limit **
  17  Prefactor     29.934        12.961        .56429E-06    .20409E-03
  18  norm          6.4381        5.2836       -.22733E-07   -.10717E-04
  19  Prefactor     .10000E-03    157.55       -.50099E-05** at limit **
  20  norm          5.9798        2.5550        .10329E-07   -.33823E-05
  21  Prefactor     7.8487        18.915       -.48930E-06   -.10262E-04
  22  Prefactor     .10000E-03    73.345        .43988E-05** at limit **
  23  Normalizat    .54674        .16197       -.89788E-06    .69167E-04
  24  Prefactor     1.3388        .15821        .84092E-06    .20067E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.635984
  Prefactor  = 0.0001
  Prefactor  = 12.0907
  Prefactor  = 6.48165
  norm       = 5.24416
  Prefactor  = 8.32478
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.53131
  Prefactor  = 0.0001
  Prefactor  = 34.3219
  norm       = 0.767504
  Prefactor  = 31.2236
  Prefactor  = 6.29822
  norm       = 0.552972
  Prefactor  = 0.0001
  Prefactor  = 29.9341
  norm       = 6.43807
  Prefactor  = 0.0001
  norm       = 5.97978
  Prefactor  = 7.84871
  Prefactor  = 0.0001
  Normalizat = 0.546745
  Prefactor  = 1.3388
 **********
 **   18 **HESSE 
 **********

 FCN=   8582.159     FROM HESSE     STATUS=OK           413 CALLS     2784 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63598        .29409        .33218E-04   -1.5548    
   2  Prefactor     .10000E-03    2.8908        .15375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.091        12.143        .11518E-03   -1.5012    
   4  Prefactor     6.4816        6.6014        .15769E-03   -1.5199    
   5  norm          5.2442        12.340        .17558E-03   -1.5250    
   6  Prefactor     8.3248        12.051        .13895E-03   -1.5131    
   7  Prefactor     .10000E-03    16.905        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.9659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .53131        1.2101        .15320E-02   -1.5562    
  10  Prefactor     .10000E-03    51.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.322        10.656        .68405E-04   -1.4536    
  12  norm          .76750        3.7397        .30984E-03   -1.5533    
  13  Prefactor     31.224        21.882        .71728E-04   -1.4590    
  14  Prefactor     6.2982        14.533        .16009E-03   -1.5206    
  15  norm          .55297        .60048        .61626E-04   -1.5559    
  16  Prefactor     .10000E-03    16.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     29.934        12.876        .73251E-04   -1.4613    
  18  norm          6.4381        5.2653        .15809E-03   -1.5200    
  19  Prefactor     .10000E-03    152.63        .79595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.9798        2.5516        .92206E-04   -1.5219    
  21  Prefactor     7.8487        18.902        .14319E-03   -1.5148    
  22  Prefactor     .10000E-03    73.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .54674        .18536        .31707E-03   -1.1030    
  24  Prefactor     1.3388        .18398        .21582E-03   -.82161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0909e-10
Minuit parameter uncertainties:
  1  0.294087
  2  9.39564e-07
  3  12.145
  4  6.60218
  5  12.346
  6  12.0549
  7  4.83897e-05
  8  3.61019e-06
  9  1.21017
  10  0.000226315
  11  10.6565
  12  3.38845
  13  21.8881
  14  14.541
  15  0.600485
  16  4.43588e-06
  17  12.8772
  18  5.26571
  19  3.62805e-05
  20  2.55164
  21  18.9164
  22  0.000135321
  23  0.185565
  24  0.184067
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  7.675e-01  3.388e+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.339e+00  1.841e-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.467e-01  1.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/384768/likelihoodResults_676080001_676339201_4FGL_J2250.7-2806_daily_bin1685.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) = 8582.05845215
delta logL = 0.100145925768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8582.05405624
delta logL = 0.104541839566

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95928       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6916       1.0000          .0000       5.0000    
     3 'Normalizat'    .53904       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3417       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=   8582.054     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      213 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95923        55.601        .13021E-01    .11489E-02
   2  alpha         2.6915        3.3661        .41305        .55151E-04
   3  Normalizat    .53905        .28816E-01    .72064E-01    .49553E-04
   4  Prefactor     1.3417        .29499E-01    .48753E-01   -.18653E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.959229
  alpha      = 2.69154
  Normalizat = 0.539046
  Prefactor  = 1.34167
 **********
 **   18 **HESSE 
 **********

 FCN=   8582.054     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95923        2.7481        .17822E-03   -1.5512    
   2  alpha         2.6915        1.4847        .30490E-01    .76692E-01
   3  Normalizat    .53905        .17487        .31903E-03   -1.1064    
   4  Prefactor     1.3417        .17934        .21551E-03   -.82076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79141e-10
Minuit parameter uncertainties:
  1  2.74847
  2  1.59044
  3  0.175049
  4  0.179422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384768': 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) = 8582.05405622
delta logL = 0.104541857676

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  9.592e-01  2.748e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.692e+00  1.590e+00  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.342e+00  1.794e-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.390e-01  1.750e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 342.690 -28.111

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/384768/cmap_HighResolution_676080001_676339201_4FGL_J2250.7-2806_daily_bin1685.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', job_status='DONE', photon_flux_upper_limit='5.79e-08', time_completed='2022-06-08 01:24:57.661961', job_id='384768', GAL2='1.34', fit_tolerance='1e-08', EG2='0.54', EG='0.55', time_epoch_completed='1654676697.66', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.34', dlogl='1.05e-01', ts2='0.28', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1685' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun  8 01:24:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 384768: <4FGL_J2250.7-2806_daily_bin1685> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin1685> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Jun  8 01:10:15 2022
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun  8 01:10:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun  8 01:10:51 2022
Terminated at Wed Jun  8 01:24:58 2022
Results reported at Wed Jun  8 01:24:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin1685 342.69 -28.1114 676080001 676339201 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 :                                   779.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            883 sec.

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

