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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1168
RA = 342.606, Dec = -42.1095
tmin = 542073601, tmax = 542332801
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='515685', job_status='RUN', time_executed='2021-09-28 22:47:30.331358', time_epoch_executed='1632894450.33' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515685

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515685/ft1_4FGL_J2250.4-4206_daily_bin1168.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515685/ft2_4FGL_J2250.4-4206_daily_bin1168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515685/ft1_4FGL_J2250.4-4206_daily_bin1168.fits outfile=/scratch/kocevski/515685/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1168.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=542073601.0 tmax=542332801.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.55
user 3.33
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515685/ft1_filtered_4FGL_J2250.4-4206_daily_bin1168.fits" evtable="EVENTS" scfile=/scratch/kocevski/515685/ft2_4FGL_J2250.4-4206_daily_bin1168.fits sctable="SC_DATA" outfile=/scratch/kocevski/515685/ltcube_542073601_542332801_4FGL_J2250.4-4206_daily_bin1168.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/515685/ft2_4FGL_J2250.4-4206_daily_bin1168.fits
.....................!
real 11.85
user 11.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515685/ft1_filtered_4FGL_J2250.4-4206_daily_bin1168.fits evtable="EVENTS" scfile=/scratch/kocevski/515685/ft2_4FGL_J2250.4-4206_daily_bin1168.fits sctable="SC_DATA" expcube=/scratch/kocevski/515685/ltcube_542073601_542332801_4FGL_J2250.4-4206_daily_bin1168.fits outfile=/scratch/kocevski/515685/expmap_542073601_542332801_4FGL_J2250.4-4206_daily_bin1168.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/515685/ltcube_542073601_542332801_4FGL_J2250.4-4206_daily_bin1168.fits
.....................!
real 192.52
user 187.42
sys 4.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/515685/ft1_filtered_4FGL_J2250.4-4206_daily_bin1168.fits scfile=/scratch/kocevski/515685/ft2_4FGL_J2250.4-4206_daily_bin1168.fits outfile=/scratch/kocevski/515685/cmap_542073601_542332801_4FGL_J2250.4-4206_daily_bin1168.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/515685/ft1_filtered_4FGL_J2250.4-4206_daily_bin1168.fits scfile=/scratch/kocevski/515685/ft2_4FGL_J2250.4-4206_daily_bin1168.fits outfile=/scratch/kocevski/515685/cmap_HighResolution_542073601_542332801_4FGL_J2250.4-4206_daily_bin1168.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/515685/ft1_filtered_4FGL_J2250.4-4206_daily_bin1168.fits evtable="EVENTS" scfile=/scratch/kocevski/515685/ft2_4FGL_J2250.4-4206_daily_bin1168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/515685/Model_4FGL_J2250.4-4206_daily_bin1168.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/515685/ft1_filtered_4FGL_J2250.4-4206_daily_bin1168.fits.....................!
real 40.66
user 39.44
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.745       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.205       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.205       1.0000         .10000E-03   10000.    
     4 'norm      '    9.6049       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5198       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.7669       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.453       1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.579       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5381       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.421       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.603       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.2158       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.8005       1.0000         .10000E-03   10000.    
    22 'norm      '    8.7163       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    25.588       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    3.4972       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    1.3402       1.0000         .10000E-03   10000.    
    29 'norm      '    13.149       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .72392       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1401       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=   5212.487     FROM MIGRAD    STATUS=CONVERGED    769 CALLS     4695 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.777        44.926        .46311E-05    .61562E-04
   2  Prefactor     11.211        18.190       -.49587E-06   -.85854E-05
   3  Prefactor     23.215        340.82       -.29895E-05   -.30844E-05
   4  norm          9.6064        8.0715       -.11072E-06   -.72701E-05
   5  Prefactor     5.5194        6.7756        .11885E-06   -.59649E-05
   6  Prefactor     6.7665        3.7906        .18775E-07    .40284E-04
   7  Prefactor     .10000E-03    26.886       -.14264E-05** at limit **
   8  Prefactor     .10000E-03    8.3825       -.15934E-05** at limit **
   9  Prefactor     16.454        19.195        .16497E-06   -.44998E-05
  10  Prefactor     26.578        20.021       -.23550E-07   -.35970E-05
  11  Prefactor     1.5035        152.08        .66185E-05    .60601E-05
  12  Prefactor     15.426        15.478       -.20574E-05   -.28491E-04
  13  Prefactor     .10000E-03    36.193        .12952E-05** at limit **
  14  Prefactor     35.602        17.046        .40790E-07   -.14357E-04
  15  Prefactor     8.2156        5.3938       -.13710E-09    .14027E-05
  16  Prefactor     .10000E-03    28.646       -.28589E-06** at limit **
  17  Prefactor     .10000E-03    29.592        .51328E-06** at limit **
  18  Prefactor     .10000E-03    39.895       -.11741E-05** at limit **
  19  norm          .10000E-03    5.1299       -.21773E-07** at limit **
  20  norm          .10000E-03    6.1861       -.77100E-07** at limit **
  21  norm          1.8015        5.4128        .12657E-05    .41339E-05
  22  norm          8.7151        10.588        .25106E-06   -.13158E-04
  23  Prefactor     .10000E-03    3.1705        .41500E-07** at limit **
  24  Prefactor     25.576        38.885       -.17614E-05   -.34691E-04
  25  Prefactor     .10000E-03    31.058        .11457E-05** at limit **
  26  norm          3.4975        3.5009       -.75810E-07   -.34550E-05
  27  Prefactor     .10000E-03    5.5644        .13936E-06** at limit **
  28  norm          1.3400        1.1124       -.17613E-07    .58342E-04
  29  norm          13.149        5.9525        .15289E-06   -.16723E-04
  30  Normalizat    .72411        .20823        .16138E-05   -.86042E-04
  31  Prefactor     1.1400        .20861       -.25056E-05    .89603E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.7765
  Prefactor  = 11.2105
  Prefactor  = 23.2154
  norm       = 9.60637
  Prefactor  = 5.5194
  Prefactor  = 6.76649
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.4539
  Prefactor  = 26.5782
  Prefactor  = 1.50347
  Prefactor  = 15.4265
  Prefactor  = 0.0001
  Prefactor  = 35.6022
  Prefactor  = 8.21563
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.80153
  norm       = 8.7151
  Prefactor  = 0.0001
  Prefactor  = 25.5765
  Prefactor  = 0.0001
  norm       = 3.4975
  Prefactor  = 0.0001
  norm       = 1.34003
  norm       = 13.1491
  Normalizat = 0.724107
  Prefactor  = 1.13996
 **********
 **   18 **HESSE 
 **********

 FCN=   5212.487     FROM HESSE     STATUS=OK           626 CALLS     5321 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.777        45.377        .82203E-04   -1.4732    
   2  Prefactor     11.211        18.084        .11969E-03   -1.5038    
   3  Prefactor     23.215        337.53        .83152E-04   -1.4744    
   4  norm          9.6064        8.0747        .12930E-03   -1.5088    
   5  Prefactor     5.5194        6.7754        .17101E-03   -1.5238    
   6  Prefactor     6.7665        3.7925        .10118E-03   -1.5188    
   7  Prefactor     .10000E-03    26.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.5419        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.454        19.189        .98739E-04   -1.4896    
  10  Prefactor     26.578        20.033        .77705E-04   -1.4676    
  11  Prefactor     1.5035        158.61        .34387E-03   -1.5463    
  12  Prefactor     15.426        15.547        .10199E-03   -1.4922    
  13  Prefactor     .10000E-03    36.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.602        17.082        .67163E-04   -1.4514    
  15  Prefactor     8.2156        5.3952        .13217E-03   -1.5135    
  16  Prefactor     .10000E-03    28.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    29.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    41.352        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.1340        .15971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.2771        .17518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.8015        5.3662        .26346E-03   -1.5440    
  22  norm          8.7151        10.607        .13577E-03   -1.5117    
  23  Prefactor     .10000E-03    3.1884        .12547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     25.576        38.835        .79192E-04   -1.4696    
  25  Prefactor     .10000E-03    31.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          3.4975        3.4903        .12449E-03   -1.5334    
  27  Prefactor     .10000E-03    5.5780        .16633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          1.3400        1.1095        .37865E-04   -1.5476    
  29  norm          13.149        5.9510        .10979E-03   -1.4983    
  30  Normalizat    .72411        .24800        .28212E-03   -1.0295    
  31  Prefactor     1.1400        .24519        .23837E-03   -.88200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63582e-10
Minuit parameter uncertainties:
  1  45.4432
  2  18.0931
  3  178.265
  4  8.07558
  5  6.77639
  6  3.79261
  7  7.93934e-05
  8  2.70324e-05
  9  19.1963
  10  20.0385
  11  30.9684
  12  15.5507
  13  0.000112971
  14  17.084
  15  5.39547
  16  1.95789e-05
  17  3.56101e-05
  18  4.01659e-05
  19  2.03485e-06
  20  5.3252e-06
  21  5.36758
  22  10.6088
  23  4.26811e-06
  24  38.8729
  25  7.25359e-05
  26  3.49049
  27  7.44337e-06
  28  1.10955
  29  5.95132
  30  0.24839
  31  0.245431
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  8.216e+00  5.395e+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.140e+00  2.454e-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:  7.241e-01  2.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.86
Ra Dec: 342.606 -42.109
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 3.08e-08 +/- 2.02e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.14e-05

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) = 5210.61674172
delta logL = 1.8704091442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5210.47932525
delta logL = 2.00782561548

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.762       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2708       1.0000          .0000       10.000    
     3 'Normalizat'    .73580       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1364       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.

 FCN=   5210.479     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      218 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.766        8.0529        .29202E-02   -.87009E-04
   2  Index         1.2707        .34560        .17369       -.14629E-05
   3  Normalizat    .73574        .18954        .63289E-01   -.33199E-05
   4  Prefactor     1.1365        .19782        .53983E-01   -.58521E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7665
  Index      = 1.27074
  Normalizat = 0.735742
  Prefactor  = 1.13646
 **********
 **   18 **HESSE 
 **********

 FCN=   5210.479     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.766        8.5564        .11681E-03   -1.5022    
   2  Index         1.2707        .38975        .72367E-02   -.84181    
   3  Normalizat    .73574        .23025        .27998E-03   -1.0250    
   4  Prefactor     1.1365        .24069        .23868E-03   -.88310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20912e-11
Minuit parameter uncertainties:
  1  8.55732
  2  0.390646
  3  0.23055
  4  0.240923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515685': 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) = 5210.47932499
delta logL = 2.00782588007

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.177e+01  8.557e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  1.271e+00  3.906e-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.136e+00  2.409e-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:  7.357e-01  2.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.87
Ra Dec: 342.606 -42.109
Photon Index (Free Index): 1.27 +/- 0.39
Photon Flux (Free Index): 1.43e-08 +/- 1.15e-08
Energy Flux (Free Index): 9.61e-05 +/- 9.99e-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/515685/cmap_HighResolution_542073601_542332801_4FGL_J2250.4-4206_daily_bin1168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.08e-08', energy_flux2='9.61e-05', photon_flux_error='2.02e-08', dlogl='2.01e+00', energy_flux='1.74e-05', photon_flux2='1.43e-08', job_status='DONE', time_completed='2021-09-28 22:59:48.200898', photon_index_error2='0.39', photon_index2='1.27', ts='14.86', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='9.99e-05', EG='0.72', time_epoch_completed='1632895188.2', return_code='0', job_id='515685', GAL2='1.14', EG2='0.74', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='1.15e-08', ts2='18.87', photon_index='2.09' WHERE bin_id='1168' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:59:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0142>
Subject: Job 515685: <4FGL_J2250.4-4206_daily_bin1168> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:45:23 2021
Job was executed on host(s) <bullet0142>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:45:24 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:45:24 2021
Terminated at Tue Sep 28 22:59:48 2021
Results reported at Tue Sep 28 22:59:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1168 342.606 -42.1095 542073601 542332801 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 :                                   721.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            865 sec.

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

