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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1746
RA = 342.606, Dec = -42.1095
tmin = 691891201, tmax = 692150401
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='742523', job_status='RUN', time_executed='2022-12-08 01:52:11.654168', time_epoch_executed='1670493131.65' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/742523

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/742523/ft1_4FGL_J2250.4-4206_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/742523/ft2_4FGL_J2250.4-4206_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/742523/ft1_4FGL_J2250.4-4206_daily_bin1746.fits outfile=/scratch/kocevski/742523/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1746.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.74
user 4.49
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/742523/ft2_4FGL_J2250.4-4206_daily_bin1746.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/742523/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/742523/ft1_filtered_4FGL_J2250.4-4206_daily_bin1746.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.52
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 328

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/742523/ft1_filtered_4FGL_J2250.4-4206_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/742523/ft2_4FGL_J2250.4-4206_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/742523/ltcube_691891201_692150401_4FGL_J2250.4-4206_daily_bin1746.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/742523/ft2_4FGL_J2250.4-4206_daily_bin1746.fits
.....................!
real 11.98
user 11.63
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/742523/ft1_filtered_4FGL_J2250.4-4206_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/742523/ft2_4FGL_J2250.4-4206_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/742523/ltcube_691891201_692150401_4FGL_J2250.4-4206_daily_bin1746.fits outfile=/scratch/kocevski/742523/expmap_691891201_692150401_4FGL_J2250.4-4206_daily_bin1746.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/742523/ltcube_691891201_692150401_4FGL_J2250.4-4206_daily_bin1746.fits
.....................!
real 189.92
user 185.21
sys 4.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 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/742523/ft1_filtered_4FGL_J2250.4-4206_daily_bin1746.fits scfile=/scratch/kocevski/742523/ft2_4FGL_J2250.4-4206_daily_bin1746.fits outfile=/scratch/kocevski/742523/cmap_691891201_692150401_4FGL_J2250.4-4206_daily_bin1746.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/742523/ft1_filtered_4FGL_J2250.4-4206_daily_bin1746.fits scfile=/scratch/kocevski/742523/ft2_4FGL_J2250.4-4206_daily_bin1746.fits outfile=/scratch/kocevski/742523/cmap_HighResolution_691891201_692150401_4FGL_J2250.4-4206_daily_bin1746.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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/742523/ft1_filtered_4FGL_J2250.4-4206_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/742523/ft2_4FGL_J2250.4-4206_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/742523/Model_4FGL_J2250.4-4206_daily_bin1746.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/742523/ft1_filtered_4FGL_J2250.4-4206_daily_bin1746.fits.....................!
real 34.22
user 32.95
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/742523/ft1_filtered_4FGL_J2250.4-4206_daily_bin1746.fits', '/scratch/kocevski/742523/ft2_4FGL_J2250.4-4206_daily_bin1746.fits', expMap='/scratch/kocevski/742523/expmap_691891201_692150401_4FGL_J2250.4-4206_daily_bin1746.fits', expCube='/scratch/kocevski/742523/ltcube_691891201_692150401_4FGL_J2250.4-4206_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/742523/Model_4FGL_J2250.4-4206_daily_bin1746.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/742523/ft1_filtered_4FGL_J2250.4-4206_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/742523/ft2_4FGL_J2250.4-4206_daily_bin1746.fits
Exposure map: /scratch/kocevski/742523/expmap_691891201_692150401_4FGL_J2250.4-4206_daily_bin1746.fits
Exposure cube: /scratch/kocevski/742523/ltcube_691891201_692150401_4FGL_J2250.4-4206_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/742523/Model_4FGL_J2250.4-4206_daily_bin1746.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) = 3823.86256905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7602       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15566E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    27.793       1.0000          .0000       .10000E+07
     4 'norm      '    3.0124       1.0000          .0000       .10000E+07
     5 'Prefactor '    18.585       1.0000          .0000       .10000E+07
     6 'Prefactor '    .79110E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    48.140       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14103E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    32.361       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16900E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.723       1.0000          .0000       .10000E+07
    12 'Prefactor '    27.944       1.0000          .0000       .10000E+07
    13 'Prefactor '    .57681E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    34.447       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.5223       1.0000          .0000       .10000E+07
    16 'norm      '    .92734E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .30659E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .27230E-04   1.0000          .0000       .10000E+07
    19 'norm      '    15.178       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.7075       1.0000          .0000       .10000E+07
    21 'Prefactor '    .51885E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .41848E-01   1.0000          .0000       .10000E+07
    23 'norm      '    .81595E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .68548       1.0000          .0000       .10000E+07
    25 'norm      '    2.2765       1.0000          .0000       .10000E+07
    26 'norm      '    .21788E-06   1.0000          .0000       .10000E+07
    27 'Normalizat'    .58493       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2090       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=   3823.857     FROM MIGRAD    STATUS=CONVERGED    203 CALLS     3617 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4982        35.323       -.85330E-05    .60724E-01
   2  Prefactor     .29976E-08    8.9891       -.45630E-06** at limit **
   3  Prefactor     25.631        108.80        .66632E-05    .16951E-01
   4  norm          2.9785        6.4409        .39646E-07    .32006E-04
   5  Prefactor     18.597        7.0911       -.77334E-06   -.31409E-03
   6  Prefactor      .0000        3.5590       -.13559E-06** at limit **
   7  Prefactor     47.760        15.388        .16225E-05   -.23831E-01
   8  Prefactor     .55511E-10    5.2540       -.32087E-06** at limit **
   9  Prefactor     32.689        4.1499       -.21905E-06    .11495E-01
  10  Prefactor     .24425E-08    10.289        .86459E-06** at limit **
  11  Prefactor     12.225        21.606       -.10522E-05   -.10721    
  12  Prefactor     27.907        20.837       -.71312E-06   -.54933E-01
  13  Prefactor      .0000        2.0327       -.90260E-07** at limit **
  14  Prefactor     33.881        19.924        .21301E-05    .83393E-02
  15  Prefactor     9.5121        12.078       -.24486E-05   -.46793E-01
  16  norm          .22204E-09    8.0631        .58434E-07** at limit **
  17  norm           .0000        3.7104       -.31172E-08** at limit **
  18  norm           .0000        2.2528        .35083E-07** at limit **
  19  norm          15.210        5.8234       -.10027E-05   -.51349E-01
  20  Prefactor     7.5857        9.5385        .17518E-05    .57689E-02
  21  Prefactor     .21255E-06    41.683       -.15330E-06** at limit **
  22  Prefactor     .55511E-10    23.685        .88179E-06** at limit **
  23  norm          .55511E-10    5.8856        .51820E-06** at limit **
  24  Prefactor     1.1468        101.97       -.63639E-05   -.14839E-01
  25  norm          2.2723        1.4112        .11571E-06    .24803E-02
  26  norm          .14433E-08    15.318        .71010E-06** at limit **
  27  Normalizat    .58328        .27445        .21004E-04    .33113E-04
  28  Prefactor     1.2099        .27145        .11518E-05    .16697E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.49819
  Prefactor  = 2.9976e-09
  Prefactor  = 25.6309
  norm       = 2.97846
  Prefactor  = 18.5965
  Prefactor  = 0
  Prefactor  = 47.76
  Prefactor  = 5.55112e-11
  Prefactor  = 32.6887
  Prefactor  = 2.44249e-09
  Prefactor  = 12.2246
  Prefactor  = 27.9073
  Prefactor  = 0
  Prefactor  = 33.881
  Prefactor  = 9.51209
  norm       = 2.22045e-10
  norm       = 0
  norm       = 0
  norm       = 15.2104
  Prefactor  = 7.58568
  Prefactor  = 2.12552e-07
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 1.1468
  norm       = 2.2723
  norm       = 1.44329e-09
  Normalizat = 0.583285
  Prefactor  = 1.20995
 **********
 **   18 **HESSE 
 **********

 FCN=   3823.857     FROM HESSE     STATUS=OK           579 CALLS     4196 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4982        67.532        .33842E-03   -1.5646    
   2  Prefactor     .29976E-08    9.1147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     25.631        113.06        .18972E-03   -1.5607    
   4  norm          2.9785        6.4514        .58451E-03   -1.5673    
   5  Prefactor     18.597        15.619        .23205E-03   -1.5622    
   6  Prefactor      .0000        3.5383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     47.760        46.570        .14414E-03   -1.5570    
   8  Prefactor     .55511E-10    5.2302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     32.689        31.051        .17581E-03   -1.5594    
  10  Prefactor     .24425E-08    10.497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.225        29.100        .29233E-03   -1.5638    
  12  Prefactor     27.907        21.712        .18920E-03   -1.5602    
  13  Prefactor      .0000        2.0326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.881        41.733        .17040E-03   -1.5592    
  15  Prefactor     9.5121        14.554        .32451E-03   -1.5646    
  16  norm          .22204E-09    8.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        3.7079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        2.2567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          15.210        13.561        .25682E-03   -1.5630    
  20  Prefactor     7.5857        11.541        .36096E-03   -1.5653    
  21  Prefactor     .21255E-06    41.961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .55511E-10    23.675        .15881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .55511E-10    5.8266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.1468        179.78        .61895E-03   -1.5687    
  25  norm          2.2723        1.4337        .68029E-03   -1.5678    
  26  norm          .14433E-08    15.065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .58328        .24027        .69091E-01   -1.0870    
  28  Prefactor     1.2099        .22720        .50341E-01   -.86026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12002e-06
Minuit parameter uncertainties:
  1  50.6537
  2  0.000330713
  3  107.665
  4  6.45142
  5  15.6186
  6  1.79879e-05
  7  46.5705
  8  2.73989e-05
  9  31.0513
  10  0.000319492
  11  29.1004
  12  21.7117
  13  2.11898e-06
  14  41.7329
  15  14.5538
  16  8.01279e-05
  17  1.10054e-05
  18  8.22041e-06
  19  13.5606
  20  11.5412
  21  0.00597308
  22  6.62078e-05
  23  2.64022e-05
  24  28.7186
  25  1.4337
  26  0.000292495
  27  0.240703
  28  0.22738
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  0.000e+00  2.119e-06  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.210e+00  2.274e-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:  5.833e-01  2.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/742523/likelihoodResults_691891201_692150401_4FGL_J2250.4-4206_daily_bin1746.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) = 3823.86534389
delta logL = -0.00798850257934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3823.85735667
delta logL = -1.27881230583e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32229E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.2422       1.0000          .0000       10.000    
     3 'Normalizat'    .58357       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2097       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3823.857     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      236 TOTAL
                     EDM=   .76E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3643        .42118E-03** at limit **
   2  Index         1.9301        1.3050        .11405E-04     .0000    
   3  Normalizat    .58328        .92005        .27610E-04    .63170E-04
   4  Prefactor     1.2099        1.1000       -.99028E-05    .93296E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.93013
  Normalizat = 0.583284
  Prefactor  = 1.20995
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3823.857     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .76E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .39413        1.7087        .11405E-04   -.66109    
   3  Normalizat    .58328        .92005        .27610E-04   -1.0870    
   4  Prefactor     1.2099        1.1000       -.99028E-05   -.86026    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.55787e-12
Minuit parameter uncertainties:
  1  4.1625e-07
  2  1.33006
  3  0.945972
  4  1.122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/742523': 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): 101
logL (Free Index) = 3823.85735539
delta logL = -2.72848410532e-12

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  0.000e+00  4.163e-07  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  1.930e+00  1.330e+00  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.210e+00  1.122e+00  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:  5.833e-01  9.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/742523/cmap_HighResolution_691891201_692150401_4FGL_J2250.4-4206_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.34e-03', job_status='DONE', photon_flux_upper_limit='4.42e-08', time_completed='2022-12-08 02:01:47.951187', job_id='742523', GAL2='1.21', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1670493707.95', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='-2.73e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1746' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 02:01:47 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 742523: <4FGL_J2250.4-4206_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1746> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec  8 01:50:19 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:50:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:50:20 2022
Terminated at Thu Dec  8 02:01:48 2022
Results reported at Thu Dec  8 02:01:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1746 342.606 -42.1095 691891201 692150401 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 :                                   579.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            689 sec.

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

