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 186 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 = 7706
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2250.7-2806_daily_bin1690
RA = 342.69, Dec = -28.1114
tmin = 677376001, tmax = 677635201
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='159532', job_status='RUN', time_executed='2022-06-23 01:20:30.935516', time_epoch_executed='1655972430.94' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='1690'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159532

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159532/ft1_4FGL_J2250.7-2806_daily_bin1690.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159532/ft2_4FGL_J2250.7-2806_daily_bin1690.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159532/ft1_4FGL_J2250.7-2806_daily_bin1690.fits outfile=/scratch/kocevski/159532/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1690.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=677376001.0 tmax=677635201.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.58
user 2.36
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/159532/ft2_4FGL_J2250.7-2806_daily_bin1690.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/159532/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1690.fits evtable="EVENTS" outfile="/scratch/kocevski/159532/ft1_filtered_4FGL_J2250.7-2806_daily_bin1690.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.50
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 414

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159532/ft1_filtered_4FGL_J2250.7-2806_daily_bin1690.fits" evtable="EVENTS" scfile=/scratch/kocevski/159532/ft2_4FGL_J2250.7-2806_daily_bin1690.fits sctable="SC_DATA" outfile=/scratch/kocevski/159532/ltcube_677376001_677635201_4FGL_J2250.7-2806_daily_bin1690.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/159532/ft2_4FGL_J2250.7-2806_daily_bin1690.fits
.....................!
real 14.77
user 14.38
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159532/ft1_filtered_4FGL_J2250.7-2806_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159532/ft2_4FGL_J2250.7-2806_daily_bin1690.fits sctable="SC_DATA" expcube=/scratch/kocevski/159532/ltcube_677376001_677635201_4FGL_J2250.7-2806_daily_bin1690.fits outfile=/scratch/kocevski/159532/expmap_677376001_677635201_4FGL_J2250.7-2806_daily_bin1690.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/159532/ltcube_677376001_677635201_4FGL_J2250.7-2806_daily_bin1690.fits
.....................!
real 194.46
user 186.56
sys 7.29

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/159532/ft1_filtered_4FGL_J2250.7-2806_daily_bin1690.fits scfile=/scratch/kocevski/159532/ft2_4FGL_J2250.7-2806_daily_bin1690.fits outfile=/scratch/kocevski/159532/cmap_677376001_677635201_4FGL_J2250.7-2806_daily_bin1690.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159532/ft1_filtered_4FGL_J2250.7-2806_daily_bin1690.fits scfile=/scratch/kocevski/159532/ft2_4FGL_J2250.7-2806_daily_bin1690.fits outfile=/scratch/kocevski/159532/cmap_HighResolution_677376001_677635201_4FGL_J2250.7-2806_daily_bin1690.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.58
user 0.38
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/159532/ft1_filtered_4FGL_J2250.7-2806_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159532/ft2_4FGL_J2250.7-2806_daily_bin1690.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159532/Model_4FGL_J2250.7-2806_daily_bin1690.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/159532/ft1_filtered_4FGL_J2250.7-2806_daily_bin1690.fits.....................!
real 42.38
user 39.98
sys 2.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57276       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.3484       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.938       1.0000         .10000E-03   10000.    
     5 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0508       1.0000         .10000E-03   10000.    
     9 'norm      '    .57745       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.5082       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    40.306       1.0000         .10000E-03   10000.    
    15 'norm      '    .11745E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.527       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    19.454       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    24.109       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    32.141       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97948       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1402       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=   4572.613     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     3123 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57274        .39009       -.84910E-08    .77883E-04
   2  Prefactor     .10000E-03    11.890       -.86968E-07** at limit **
   3  Prefactor     5.3400        36.698        .59311E-06   -.11257E-05
   4  Prefactor     16.939        14.078        .23751E-06   -.21334E-04
   5  norm          .10000E-03    7.1073       -.33680E-07** at limit **
   6  Prefactor     .10000E-03    15.859        .19146E-08** at limit **
   7  Prefactor     .10000E-03    14.708       -.48754E-06** at limit **
   8  Prefactor     3.9669        73.044        .84950E-06    .92277E-06
   9  norm          .57680        1.7992        .46790E-06    .12093E-03
  10  Prefactor     .10000E-03    52.918       -.30970E-06** at limit **
  11  Prefactor     .10000E-03    8.9446       -.22813E-06** at limit **
  12  norm          6.5099        5.3581       -.13736E-06   -.32957E-03
  13  Prefactor     .10000E-03    10.007        .25778E-06** at limit **
  14  Prefactor     40.301        13.780       -.86052E-06   -.80896E-03
  15  norm          .10000E-03    .59802        .42558E-06** at limit **
  16  Prefactor     26.526        57.630        .41360E-06   -.37769E-05
  17  Prefactor     .10000E-03    10.895        .25211E-06** at limit **
  18  norm          19.453        10.752        .49611E-07   -.10242E-04
  19  Prefactor     .10000E-03    18.331       -.70140E-08** at limit **
  20  norm          24.109        6.3013        .56773E-07   -.59217E-04
  21  Prefactor     .10000E-03    27.105        .96638E-06** at limit **
  22  Prefactor     32.337        118.49        .14565E-05    .12993E-04
  23  Normalizat    .97897        .27553       -.35087E-05   -.19622E-04
  24  Prefactor     1.1407        .24853        .27584E-05   -.27596E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.572743
  Prefactor  = 0.0001
  Prefactor  = 5.33997
  Prefactor  = 16.9387
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.96686
  norm       = 0.576799
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.50988
  Prefactor  = 0.0001
  Prefactor  = 40.3007
  norm       = 0.000100001
  Prefactor  = 26.5262
  Prefactor  = 0.0001
  norm       = 19.453
  Prefactor  = 0.0001
  norm       = 24.1088
  Prefactor  = 0.0001
  Prefactor  = 32.3368
  Normalizat = 0.978973
  Prefactor  = 1.14072
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57274        .40170        .33993E-03   -1.5557    
   2  Prefactor     .10000E-03    11.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.3400        36.635        .17378E-03   -1.5246    
   4  Prefactor     16.939        14.072        .97316E-04   -1.4885    
   5  norm          .10000E-03    7.1076        .17608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.9669        72.839        .20034E-03   -1.5310    
   9  norm          .57680        1.7248        .15735E-02   -1.5556    
  10  Prefactor     .10000E-03    53.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.0145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.5099        5.3477        .13138E-03   -1.5198    
  13  Prefactor     .10000E-03    10.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     40.301        14.145        .63137E-04   -1.4437    
  15  norm          .10000E-03    4.8062        .88116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.526        57.630        .77780E-04   -1.4677    
  17  Prefactor     .10000E-03    10.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          19.453        10.752        .90807E-04   -1.4826    
  19  Prefactor     .10000E-03    18.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          24.109        6.3000        .81581E-04   -1.4726    
  21  Prefactor     .10000E-03    27.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     32.337        118.26        .35339E-03   -1.4570    
  23  Normalizat    .97897        .29699        .28567E-03   -.93738    
  24  Prefactor     1.1407        .26901        .25386E-03   -.88176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0286e-09
Minuit parameter uncertainties:
  1  0.401699
  2  7.36199e-06
  3  27.9977
  4  14.0752
  5  1.15024e-06
  6  3.52955e-07
  7  4.48335e-05
  8  34.0442
  9  1.72496
  10  4.66384e-05
  11  1.62355e-05
  12  5.34811
  13  1.55394e-05
  14  14.1467
  15  9.86752e-05
  16  57.7511
  17  2.16265e-05
  18  10.7531
  19  7.6679e-06
  20  6.30018
  21  3.70716e-05
  22  119.135
  23  0.297496
  24  0.269327
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  6.510e+00  5.348e+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.141e+00  2.693e-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.790e-01  2.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.52
Ra Dec: 342.690 -28.111
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 4.35e-08 +/- 3.57e-08
Energy Flux (Fixed Index): 2.31e-05 +/- 1.90e-05

TS (Fixed Index): 3.52
Ra Dec: 342.690 -28.111
Photon Flux Upper Limit: 1.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/159532/likelihoodResults_677376001_677635201_4FGL_J2250.7-2806_daily_bin1690.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) = 4572.6003676
delta logL = 0.0129622619943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4572.59995993
delta logL = 0.013369938124

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4026       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1524       1.0000          .0000       5.0000    
     3 'Normalizat'    .97535       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1423       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=   4572.600     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      233 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4025        5.0974        .12837E-03    .45477E-03
   2  alpha         2.1524        .63392        .13949E-01    .37525E-04
   3  Normalizat    .97540        .27840        .28610E-03   -.32505E-04
   4  Prefactor     1.1423        .26540        .25367E-03   -.49389E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.4025
  alpha      = 2.15241
  Normalizat = 0.975404
  Prefactor  = 1.14232
 **********
 **   18 **HESSE 
 **********

 FCN=   4572.600     FROM HESSE     STATUS=OK            25 CALLS      258 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4025        5.0624        .51347E-05   -1.5202    
   2  alpha         2.1524        .62957        .55798E-03   -.13949    
   3  Normalizat    .97540        .27866        .11444E-04   -.93859    
   4  Prefactor     1.1423        .26566        .10147E-04   -.88125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40422e-10
Minuit parameter uncertainties:
  1  5.06276
  2  0.636562
  3  0.279072
  4  0.265969
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159532': 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) = 4572.5999598
delta logL = 0.0133700631914

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  6.402e+00  5.063e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.152e+00  6.366e-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.142e+00  2.660e-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.754e-01  2.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.56
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 2.15 +/- 0.64
Photon Flux (Free Index): 4.85e-08 +/- 4.81e-08
Energy Flux (Free Index): 2.20e-05 +/- 1.81e-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/159532/cmap_HighResolution_677376001_677635201_4FGL_J2250.7-2806_daily_bin1690.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.79e-05', comment='SUCCESS', photon_flux='4.35e-08', energy_flux2='2.20e-05', photon_flux_error='3.57e-08', dlogl='1.34e-02', energy_flux='2.31e-05', photon_flux2='4.85e-08', job_status='DONE', time_completed='2022-06-23 01:30:31.893105', photon_index_error2='0.64', photon_index2='2.15', ts='3.52', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='1.81e-05', EG='0.98', time_epoch_completed='1655973031.89', return_code='0', job_id='159532', GAL2='1.14', EG2='0.98', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='4.81e-08', ts2='3.56', photon_index='2.05' WHERE bin_id='1690' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun 23 01:30:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 159532: <4FGL_J2250.7-2806_daily_bin1690> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin1690> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Jun 23 01:15:20 2022
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 01:17:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 01:17:16 2022
Terminated at Thu Jun 23 01:30:32 2022
Results reported at Thu Jun 23 01:30:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin1690 342.69 -28.1114 677376001 677635201 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 :                                   603.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            912 sec.

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

