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 102 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1765
RA = 342.606, Dec = -42.1095
tmin = 696816001, tmax = 697075201
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='649747', job_status='RUN', time_executed='2023-02-03 01:52:37.313264', time_epoch_executed='1675417957.31' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649747

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649747/ft1_4FGL_J2250.4-4206_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649747/ft2_4FGL_J2250.4-4206_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649747/ft1_4FGL_J2250.4-4206_daily_bin1765.fits outfile=/scratch/kocevski/649747/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1765.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=696816001.0 tmax=697075201.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.65
user 3.41
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/649747/ft2_4FGL_J2250.4-4206_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/649747/ft2_4FGL_J2250.4-4206_daily_bin1765.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/649747/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/649747/ft1_filtered_4FGL_J2250.4-4206_daily_bin1765.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.51
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 387

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/649747/ft1_filtered_4FGL_J2250.4-4206_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/649747/ft2_4FGL_J2250.4-4206_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/649747/ltcube_696816001_697075201_4FGL_J2250.4-4206_daily_bin1765.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/649747/ft2_4FGL_J2250.4-4206_daily_bin1765.fits
.....................!
real 16.17
user 15.74
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649747/ft1_filtered_4FGL_J2250.4-4206_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649747/ft2_4FGL_J2250.4-4206_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/649747/ltcube_696816001_697075201_4FGL_J2250.4-4206_daily_bin1765.fits outfile=/scratch/kocevski/649747/expmap_696816001_697075201_4FGL_J2250.4-4206_daily_bin1765.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/649747/ltcube_696816001_697075201_4FGL_J2250.4-4206_daily_bin1765.fits
.....................!
real 193.25
user 186.11
sys 6.58

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2250.4-4206 @ 342.606 -42.1095

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/649747/ft1_filtered_4FGL_J2250.4-4206_daily_bin1765.fits scfile=/scratch/kocevski/649747/ft2_4FGL_J2250.4-4206_daily_bin1765.fits outfile=/scratch/kocevski/649747/cmap_696816001_697075201_4FGL_J2250.4-4206_daily_bin1765.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.606 yref=-42.1095 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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649747/ft1_filtered_4FGL_J2250.4-4206_daily_bin1765.fits scfile=/scratch/kocevski/649747/ft2_4FGL_J2250.4-4206_daily_bin1765.fits outfile=/scratch/kocevski/649747/cmap_HighResolution_696816001_697075201_4FGL_J2250.4-4206_daily_bin1765.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.606 yref=-42.1095 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/649747/ft1_filtered_4FGL_J2250.4-4206_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649747/ft2_4FGL_J2250.4-4206_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/649747/Model_4FGL_J2250.4-4206_daily_bin1765.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/649747/ft1_filtered_4FGL_J2250.4-4206_daily_bin1765.fits.....................!
real 37.06
user 35.72
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/649747/ft1_filtered_4FGL_J2250.4-4206_daily_bin1765.fits', '/scratch/kocevski/649747/ft2_4FGL_J2250.4-4206_daily_bin1765.fits', expMap='/scratch/kocevski/649747/expmap_696816001_697075201_4FGL_J2250.4-4206_daily_bin1765.fits', expCube='/scratch/kocevski/649747/ltcube_696816001_697075201_4FGL_J2250.4-4206_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/649747/Model_4FGL_J2250.4-4206_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.4-4206'

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.312e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/649747/ft1_filtered_4FGL_J2250.4-4206_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/649747/ft2_4FGL_J2250.4-4206_daily_bin1765.fits
Exposure map: /scratch/kocevski/649747/expmap_696816001_697075201_4FGL_J2250.4-4206_daily_bin1765.fits
Exposure cube: /scratch/kocevski/649747/ltcube_696816001_697075201_4FGL_J2250.4-4206_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/649747/Model_4FGL_J2250.4-4206_daily_bin1765.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) = 4306.09160581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    63.959       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25462E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .26214E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .17814E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    12.981       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22614E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .43791E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.4249       1.0000          .0000       .10000E+07
     9 'Prefactor '    .41461E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .73078E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13069E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .70751E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.0008       1.0000          .0000       .10000E+07
    14 'Prefactor '    88.726       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.0731       1.0000          .0000       .10000E+07
    16 'norm      '    .39897E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .15361E-04   1.0000          .0000       .10000E+07
    18 'norm      '    5.6410       1.0000          .0000       .10000E+07
    19 'norm      '    3.3586       1.0000          .0000       .10000E+07
    20 'Prefactor '    .98137E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    11.896       1.0000          .0000       .10000E+07
    22 'Prefactor '    .88842E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .10175E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .18043E-02   1.0000          .0000       .10000E+07
    25 'norm      '    .83685       1.0000          .0000       .10000E+07
    26 'norm      '    .22962E-04   1.0000          .0000       .10000E+07
    27 'Normalizat'    .99434       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0720       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4306.063     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     2494 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.780        13.882        .21281E-07   -.48865E-01
   2  Prefactor     .43854E-08    10.928       -.10007E-06** at limit **
   3  Prefactor     .10729E-03    62.301       -.26040E-06** at limit **
   4  norm           .0000        2.5941        .25229E-07** at limit **
   5  Prefactor     13.055        1.7231       -.11555E-08    .75492E-02
   6  Prefactor     .49960E-09    2.5421       -.65559E-07** at limit **
   7  Prefactor     .51792E-07    23.509        .57952E-07** at limit **
   8  Prefactor     6.3750        6.0780        .24150E-07    .67531E-03
   9  Prefactor     .61062E-09    8.3270       -.59887E-07** at limit **
  10  Prefactor     .30531E-08    9.2628       -.50250E-08** at limit **
  11  Prefactor     .19496E-06    8.8409        .88574E-07** at limit **
  12  Prefactor     .40562E-06    16.617        .91328E-07** at limit **
  13  Prefactor     1.0460        .93719        .15314E-08    .13946E-01
  14  Prefactor     89.269        7.3879        .10443E-07   -.24755E-01
  15  Prefactor     6.0925        7.4044       -.77840E-08    .10924E-01
  16  norm          .83267E-09    4.4392        .58324E-08** at limit **
  17  norm          .12212E-08    4.5692        .35564E-07** at limit **
  18  norm          5.5747        5.6952        .94205E-09    .22227E-02
  19  norm          3.3274        7.6136        .18741E-07   -.11574E-01
  20  Prefactor     .24980E-08    2.5034        .48210E-07** at limit **
  21  Prefactor     13.128        35.836        .40100E-07   -.60632E-01
  22  Prefactor     .71756E-04    83.259       -.31809E-06** at limit **
  23  norm          .11102E-09    2.2565        .76257E-07** at limit **
  24  Prefactor     .11657E-08    5.6299        .19841E-06** at limit **
  25  norm          .83790        .99408        .29717E-07    .51401E-02
  26  norm          .22204E-09    2.5266        .95963E-07** at limit **
  27  Normalizat    .99235        .26155       -.10472E-05    .12932E-03
  28  Prefactor     1.0725        .25904        .19020E-05    .16894E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.7798
  Prefactor  = 4.38538e-09
  Prefactor  = 0.000107289
  norm       = 0
  Prefactor  = 13.0546
  Prefactor  = 4.996e-10
  Prefactor  = 5.17919e-08
  Prefactor  = 6.37499
  Prefactor  = 6.10623e-10
  Prefactor  = 3.05311e-09
  Prefactor  = 1.94955e-07
  Prefactor  = 4.0562e-07
  Prefactor  = 1.04604
  Prefactor  = 89.269
  Prefactor  = 6.09254
  norm       = 8.32667e-10
  norm       = 1.22125e-09
  norm       = 5.57468
  norm       = 3.32744
  Prefactor  = 2.498e-09
  Prefactor  = 13.1278
  Prefactor  = 7.17562e-05
  norm       = 1.11022e-10
  Prefactor  = 1.16573e-09
  norm       = 0.837896
  norm       = 2.22045e-10
  Normalizat = 0.992348
  Prefactor  = 1.07253
 **********
 **   18 **HESSE 
 **********

 FCN=   4306.063     FROM HESSE     STATUS=OK           567 CALLS     3061 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.780        56.007        .12505E-03   -1.5547    
   2  Prefactor     .43854E-08    10.898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10729E-03    114.59        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        2.5967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.055        13.755        .27776E-03   -1.5636    
   6  Prefactor     .49960E-09    2.5368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .51792E-07    25.556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.3750        6.1180        .39573E-03   -1.5657    
   9  Prefactor     .61062E-09    8.3733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .30531E-08    9.3522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .19496E-06    23.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .40562E-06    23.406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0460        8.3540        .43793E-03   -1.5688    
  14  Prefactor     89.269        55.370        .10617E-03   -1.5519    
  15  Prefactor     6.0925        10.814        .40718E-03   -1.5659    
  16  norm          .83267E-09    4.4499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .12212E-08    4.5609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.5747        5.7561        .42272E-03   -1.5661    
  19  norm          3.3274        10.733        .55195E-03   -1.5671    
  20  Prefactor     .24980E-08    2.5052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.128        41.366        .29019E-03   -1.5635    
  22  Prefactor     .71756E-04    135.05        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .11102E-09    2.2443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11657E-08    5.6321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .83790        1.0036        .50228E-03   -1.5690    
  26  norm          .22204E-09    2.5244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .99235        .22994        .46096E-01   -.93287    
  28  Prefactor     1.0725        .22089        .38766E-01   -.90349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15601e-06
Minuit parameter uncertainties:
  1  56.0077
  2  0.000436483
  3  0.221759
  4  7.83732e-06
  5  13.7551
  6  7.10357e-05
  7  0.00230047
  8  6.11805
  9  0.000140636
  10  0.000337449
  11  0.0043162
  12  0.00616246
  13  5.91224
  14  55.3705
  15  10.8141
  16  0.000121665
  17  0.000147799
  18  5.75606
  19  10.7331
  20  0.00015803
  21  41.3666
  22  0.196885
  23  3.01562e-05
  24  0.000163673
  25  1.00358
  26  4.83042e-05
  27  0.230167
  28  0.221079
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.046e+00  5.912e+00  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.073e+00  2.211e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  9.923e-01  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 342.606 -42.109
Photon Flux Upper Limit: 7.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/649747/likelihoodResults_696816001_697075201_4FGL_J2250.4-4206_daily_bin1765.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): 102
logL (Free Index) = 4306.01091893
delta logL = 0.0515996427839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4305.92900278
delta logL = 0.13351579272

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4249       1.0000          .0000       .10000E+07
     2 'Index     '    1.5777       1.0000          .0000       10.000    
     3 'Normalizat'    1.0017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0590       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+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=   4305.929     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      259 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4249        9.2605        .19140E-04   -.20605E-02
   2  Index         1.5768        .74956        .11073E-01   -.33060E-04
   3  Normalizat    1.0019        .25383        .25001E-03    .33649E-05
   4  Prefactor     1.0587        .25811        .24575E-03    .21881E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.42493
  Index      = 1.5768
  Normalizat = 1.00192
  Prefactor  = 1.0587
 **********
 **   18 **HESSE 
 **********

 FCN=   4305.929     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4249        9.1854        .76559E-06   -1.5666    
   2  Index         1.5768        .74384        .44294E-03   -.75411    
   3  Normalizat    1.0019        .25414        .10001E-04   -.92966    
   4  Prefactor     1.0587        .25842        .98301E-05   -.90797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25222e-10
Minuit parameter uncertainties:
  1  9.18547
  2  0.749101
  3  0.254448
  4  0.258729
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649747': 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) = 4305.92900157
delta logL = 0.133517007338

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  4.425e+00  9.185e+00  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  1.577e+00  7.491e-01  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.059e+00  2.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.002e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 342.606 -42.109

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/649747/cmap_HighResolution_696816001_697075201_4FGL_J2250.4-4206_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.44e-03', job_status='DONE', photon_flux_upper_limit='7.21e-08', time_completed='2023-02-03 02:02:34.306227', job_id='649747', GAL2='1.06', fit_tolerance='1e-08', EG2='1.00', EG='0.99', time_epoch_completed='1675418554.31', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.34e-01', ts2='0.31', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1765' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:02:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 649747: <4FGL_J2250.4-4206_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:50:22 2023
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:50:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:50:41 2023
Terminated at Fri Feb  3 02:02:35 2023
Results reported at Fri Feb  3 02:02:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1765 342.606 -42.1095 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.4-4206 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   599.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            733 sec.

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

