/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 42 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 = 7483
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2250.4-4206_daily_bin550
RA = 342.606, Dec = -42.1095
tmin = 381888001, tmax = 382147201
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='512583', job_status='RUN', time_executed='2021-09-28 22:36:18.651237', time_epoch_executed='1632893778.65' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='550'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/512583

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/512583/ft1_4FGL_J2250.4-4206_daily_bin550.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/512583/ft2_4FGL_J2250.4-4206_daily_bin550.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/512583/ft1_4FGL_J2250.4-4206_daily_bin550.fits outfile=/scratch/kocevski/512583/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin550.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=381888001.0 tmax=382147201.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.78
user 4.54
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/512583/ft1_filtered_4FGL_J2250.4-4206_daily_bin550.fits" evtable="EVENTS" scfile=/scratch/kocevski/512583/ft2_4FGL_J2250.4-4206_daily_bin550.fits sctable="SC_DATA" outfile=/scratch/kocevski/512583/ltcube_381888001_382147201_4FGL_J2250.4-4206_daily_bin550.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/512583/ft2_4FGL_J2250.4-4206_daily_bin550.fits
.....................!
real 11.82
user 11.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/512583/ft1_filtered_4FGL_J2250.4-4206_daily_bin550.fits evtable="EVENTS" scfile=/scratch/kocevski/512583/ft2_4FGL_J2250.4-4206_daily_bin550.fits sctable="SC_DATA" expcube=/scratch/kocevski/512583/ltcube_381888001_382147201_4FGL_J2250.4-4206_daily_bin550.fits outfile=/scratch/kocevski/512583/expmap_381888001_382147201_4FGL_J2250.4-4206_daily_bin550.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/512583/ltcube_381888001_382147201_4FGL_J2250.4-4206_daily_bin550.fits
.....................!
real 191.95
user 187.83
sys 3.78

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/512583/ft1_filtered_4FGL_J2250.4-4206_daily_bin550.fits scfile=/scratch/kocevski/512583/ft2_4FGL_J2250.4-4206_daily_bin550.fits outfile=/scratch/kocevski/512583/cmap_381888001_382147201_4FGL_J2250.4-4206_daily_bin550.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/512583/ft1_filtered_4FGL_J2250.4-4206_daily_bin550.fits scfile=/scratch/kocevski/512583/ft2_4FGL_J2250.4-4206_daily_bin550.fits outfile=/scratch/kocevski/512583/cmap_HighResolution_381888001_382147201_4FGL_J2250.4-4206_daily_bin550.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.53
user 0.39
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/512583/ft1_filtered_4FGL_J2250.4-4206_daily_bin550.fits evtable="EVENTS" scfile=/scratch/kocevski/512583/ft2_4FGL_J2250.4-4206_daily_bin550.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/512583/Model_4FGL_J2250.4-4206_daily_bin550.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/512583/ft1_filtered_4FGL_J2250.4-4206_daily_bin550.fits.....................!
real 42.58
user 41.23
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/512583/ft1_filtered_4FGL_J2250.4-4206_daily_bin550.fits', '/scratch/kocevski/512583/ft2_4FGL_J2250.4-4206_daily_bin550.fits', expMap='/scratch/kocevski/512583/expmap_381888001_382147201_4FGL_J2250.4-4206_daily_bin550.fits', expCube='/scratch/kocevski/512583/ltcube_381888001_382147201_4FGL_J2250.4-4206_daily_bin550.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/512583/Model_4FGL_J2250.4-4206_daily_bin550.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  1.000e-04  1.000e+04 ( 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/512583/ft1_filtered_4FGL_J2250.4-4206_daily_bin550.fits
Spacecraft file(s): /scratch/kocevski/512583/ft2_4FGL_J2250.4-4206_daily_bin550.fits
Exposure map: /scratch/kocevski/512583/expmap_381888001_382147201_4FGL_J2250.4-4206_daily_bin550.fits
Exposure cube: /scratch/kocevski/512583/ltcube_381888001_382147201_4FGL_J2250.4-4206_daily_bin550.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/512583/Model_4FGL_J2250.4-4206_daily_bin550.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) = 5524.35578941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.501       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8055       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1190       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.849       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.1312       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.250       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.7778       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.279       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.817       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.115       1.0000         .10000E-03   10000.    
    19 'norm      '    2.5796       1.0000         .10000E-03   10000.    
    20 'norm      '    4.0772       1.0000         .10000E-03   10000.    
    21 'norm      '    3.2833       1.0000         .10000E-03   10000.    
    22 'norm      '    14.797       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .69022       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .59971       1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.3894       1.0000         .10000E-03   10000.    
    28 'norm      '    4.6501       1.0000         .10000E-03   10000.    
    29 'norm      '    .11523E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .94568       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0475       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.

 FCN=   5524.248     FROM MIGRAD    STATUS=CONVERGED    787 CALLS     3541 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.500        29.921       -.16647E-05    .40107E-05
   2  Prefactor     .10000E-03    3.3901       -.48380E-07** at limit **
   3  Prefactor     .10000E-03    30.562       -.37540E-05** at limit **
   4  norm          .10000E-03    3.6424        .26452E-06** at limit **
   5  Prefactor     1.8031        18.616       -.10007E-05   -.41402E-04
   6  Prefactor     2.1185        4.1821       -.80237E-06   -.60847E-04
   7  Prefactor     .10000E-03    30.519       -.40019E-05** at limit **
   8  Prefactor     .10000E-03    1.3256        .66683E-07** at limit **
   9  Prefactor     15.851        15.586       -.32074E-06   -.40452E-04
  10  Prefactor     .10000E-03    14.000        .17890E-04** at limit **
  11  Prefactor     .10000E-03    71.715       -.85312E-05** at limit **
  12  Prefactor     2.1336        11.901       -.38699E-07    .63685E-04
  13  Prefactor     .10000E-03    32.568        .18500E-04** at limit **
  14  Prefactor     18.250        12.407       -.15889E-07   -.86144E-05
  15  Prefactor     6.7773        7.2318       -.20051E-06   -.50476E-04
  16  Prefactor     17.268        39.054       -.15471E-04    .32612E-05
  17  Prefactor     16.816        47.822       -.10745E-05   -.49116E-05
  18  Prefactor     13.115        11.880        .18697E-06    .12872E-04
  19  norm          2.5796        6.6527       -.23000E-06   -.36316E-03
  20  norm          4.0770        4.0200        .31986E-06    .84352E-05
  21  norm          3.2837        5.5120       -.18195E-05   -.96817E-04
  22  norm          14.797        8.4914       -.78596E-07    .76180E-05
  23  Prefactor     .69239        1.1774        .15755E-06   -.16473E-02
  24  Prefactor     .10000E-03    11.261       -.45539E-05** at limit **
  25  Prefactor     .10000E-03    16.097       -.17497E-04** at limit **
  26  norm          .59928        7.4160        .29998E-05    .99746E-04
  27  Prefactor     8.3852        11.916        .57648E-06    .40759E-05
  28  norm          4.6500        1.4813       -.74584E-07    .43573E-04
  29  norm          .10000E-03    2.5520       -.41036E-06** at limit **
  30  Normalizat    .94572        .19744        .11042E-06    .75078E-05
  31  Prefactor     1.0475        .19430        .94746E-06   -.32319E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.8031
  Prefactor  = 2.11849
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8505
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.13356
  Prefactor  = 0.0001
  Prefactor  = 18.2502
  Prefactor  = 6.77729
  Prefactor  = 17.2677
  Prefactor  = 16.8165
  Prefactor  = 13.1149
  norm       = 2.5796
  norm       = 4.07701
  norm       = 3.2837
  norm       = 14.7967
  Prefactor  = 0.692393
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.599283
  Prefactor  = 8.38515
  norm       = 4.65003
  norm       = 0.000100004
  Normalizat = 0.945719
  Prefactor  = 1.04751
 **********
 **   18 **HESSE 
 **********

 FCN=   5524.248     FROM HESSE     STATUS=OK           632 CALLS     4173 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.500        29.896        .12364E-03   -1.5060    
   2  Prefactor     .10000E-03    3.4048        .13362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    30.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.6567        .13853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8031        18.472        .31102E-03   -1.5439    
   6  Prefactor     2.1185        4.1552        .19934E-03   -1.5417    
   7  Prefactor     .10000E-03    30.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.3280        .83563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.851        15.569        .10060E-03   -1.4912    
  10  Prefactor     .10000E-03    13.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    72.725        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.1336        11.772        .28242E-03   -1.5416    
  13  Prefactor     .10000E-03    32.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.250        12.419        .93754E-04   -1.4853    
  15  Prefactor     6.7773        7.2255        .15412E-03   -1.5187    
  16  Prefactor     17.268        39.027        .96352E-04   -1.4877    
  17  Prefactor     16.816        47.812        .97667E-04   -1.4888    
  18  Prefactor     13.115        11.876        .11061E-03   -1.4984    
  19  norm          2.5796        6.7001        .12705E-02   -1.5387    
  20  norm          4.0770        4.0366        .14426E-03   -1.5304    
  21  norm          3.2837        5.2686        .17180E-03   -1.5346    
  22  norm          14.797        8.4896        .10412E-03   -1.4938    
  23  Prefactor     .69239        7.6133        .17713E-02   -1.5542    
  24  Prefactor     .10000E-03    11.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    16.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .59928        6.3570        .28947E-03   -1.5553    
  27  Prefactor     8.3852        12.987        .13841E-03   -1.5129    
  28  norm          4.6500        1.4836        .48340E-04   -1.5277    
  29  norm          .10000E-03    8.0101        .21619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .94572        .22885        .25002E-03   -.94872    
  31  Prefactor     1.0475        .22728        .24803E-03   -.91162    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.5136e-09
Minuit parameter uncertainties:
  1  29.9384
  2  2.33564e-06
  3  2.17479e-07
  4  2.21923e-07
  5  11.5466
  6  4.15581
  7  4.00127e-06
  8  4.05228e-06
  9  15.5726
  10  8.33335e-06
  11  0.000461475
  12  10.026
  13  4.01355e-05
  14  12.4204
  15  7.22644
  16  39.0842
  17  47.9212
  18  11.878
  19  6.70201
  20  4.03689
  21  5.26932
  22  8.49031
  23  4.59231
  24  2.83372e-05
  25  1.39554e-05
  26  3.90388
  27  12.9914
  28  1.48362
  29  0.000335766
  30  0.229085
  31  0.227484
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  6.777e+00  7.226e+00  1.000e-04  1.000e+04 ( 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.048e+00  2.275e-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.457e-01  2.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.37
Ra Dec: 342.606 -42.109
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 2.54e-08 +/- 2.71e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.53e-05

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

Saving results to:
/scratch/kocevski/512583/likelihoodResults_381888001_382147201_4FGL_J2250.4-4206_daily_bin550.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) = 5524.11972581
delta logL = 0.127981117895

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5524.11659333
delta logL = 0.131113596043

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5168       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4841       1.0000          .0000       10.000    
     3 'Normalizat'    .92852       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0572       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5524.117     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      277 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5168        8.9001        .71019E-03   -.34692E-03
   2  Index         2.4843        1.0182        .64651E-02    .51728E-03
   3  Normalizat    .92853        .21942        .25206E-03    .27061E-06
   4  Prefactor     1.0572        .22566        .24702E-03    .17029E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.51685
  Index      = 2.48433
  Normalizat = 0.92853
  Prefactor  = 1.05723
 **********
 **   18 **HESSE 
 **********

 FCN=   5524.117     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5168        7.1040        .28408E-04   -1.5283    
   2  Index         2.4843        .81489        .12930E-02   -.52722    
   3  Normalizat    .92853        .21876        .10083E-04   -.95465    
   4  Prefactor     1.0572        .22527        .98806E-05   -.90846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29148e-10
Minuit parameter uncertainties:
  1  7.10532
  2  0.819796
  3  0.218971
  4  0.225473
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/512583': 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) = 5524.11659322
delta logL = 0.131113704995

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  4.517e+00  7.105e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.484e+00  8.198e-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.057e+00  2.255e-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.285e-01  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.63
Ra Dec: 342.606 -42.109
Photon Index (Free Index): 2.48 +/- 0.82
Photon Flux (Free Index): 3.91e-08 +/- 4.27e-08
Energy Flux (Free Index): 1.15e-05 +/- 1.18e-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/512583/cmap_HighResolution_381888001_382147201_4FGL_J2250.4-4206_daily_bin550.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.85e-03', comment='SUCCESS', photon_flux='2.54e-08', energy_flux2='1.15e-05', photon_flux_error='2.71e-08', dlogl='1.31e-01', energy_flux='1.44e-05', photon_flux2='3.91e-08', job_status='DONE', time_completed='2021-09-28 22:49:16.511342', photon_index_error2='0.82', photon_index2='2.48', ts='1.37', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='9.07e-08', energy_flux_error2='1.18e-05', EG='0.95', time_epoch_completed='1632894556.51', return_code='0', job_id='512583', GAL2='1.06', EG2='0.93', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='4.27e-08', ts2='1.63', photon_index='2.09' WHERE bin_id='550' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:49:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 512583: <4FGL_J2250.4-4206_daily_bin550> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin550> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:35:24 2021
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:35:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 22:35:26 2021
Terminated at Tue Sep 28 22:49:17 2021
Results reported at Tue Sep 28 22:49:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin550 342.606 -42.1095 381888001 382147201 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 :                                   774.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            833 sec.

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

