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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1282
RA = 342.606, Dec = -42.1095
tmin = 571622401, tmax = 571881601
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='515851', job_status='RUN', time_executed='2021-09-28 22:48:54.300653', time_epoch_executed='1632894534.3' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515851

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515851/ft1_4FGL_J2250.4-4206_daily_bin1282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515851/ft2_4FGL_J2250.4-4206_daily_bin1282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515851/ft1_4FGL_J2250.4-4206_daily_bin1282.fits outfile=/scratch/kocevski/515851/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1282.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=571622401.0 tmax=571881601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.72
user 2.50
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515851/ft1_filtered_4FGL_J2250.4-4206_daily_bin1282.fits" evtable="EVENTS" scfile=/scratch/kocevski/515851/ft2_4FGL_J2250.4-4206_daily_bin1282.fits sctable="SC_DATA" outfile=/scratch/kocevski/515851/ltcube_571622401_571881601_4FGL_J2250.4-4206_daily_bin1282.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/515851/ft2_4FGL_J2250.4-4206_daily_bin1282.fits
.....................!
real 12.47
user 12.10
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515851/ft1_filtered_4FGL_J2250.4-4206_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/515851/ft2_4FGL_J2250.4-4206_daily_bin1282.fits sctable="SC_DATA" expcube=/scratch/kocevski/515851/ltcube_571622401_571881601_4FGL_J2250.4-4206_daily_bin1282.fits outfile=/scratch/kocevski/515851/expmap_571622401_571881601_4FGL_J2250.4-4206_daily_bin1282.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/515851/ltcube_571622401_571881601_4FGL_J2250.4-4206_daily_bin1282.fits
.....................!
real 192.21
user 185.86
sys 5.79

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/515851/ft1_filtered_4FGL_J2250.4-4206_daily_bin1282.fits scfile=/scratch/kocevski/515851/ft2_4FGL_J2250.4-4206_daily_bin1282.fits outfile=/scratch/kocevski/515851/cmap_571622401_571881601_4FGL_J2250.4-4206_daily_bin1282.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/515851/ft1_filtered_4FGL_J2250.4-4206_daily_bin1282.fits scfile=/scratch/kocevski/515851/ft2_4FGL_J2250.4-4206_daily_bin1282.fits outfile=/scratch/kocevski/515851/cmap_HighResolution_571622401_571881601_4FGL_J2250.4-4206_daily_bin1282.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.35
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/515851/ft1_filtered_4FGL_J2250.4-4206_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/515851/ft2_4FGL_J2250.4-4206_daily_bin1282.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/515851/Model_4FGL_J2250.4-4206_daily_bin1282.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/515851/ft1_filtered_4FGL_J2250.4-4206_daily_bin1282.fits.......................!
real 23.12
user 21.86
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69156E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.336       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1936       1.0000         .10000E-03   10000.    
     4 'norm      '    .13065E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    45.662       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.216       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .48674E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.8753       1.0000         .10000E-03   10000.    
     9 'Prefactor '    184.31       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .24085E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12948E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12633E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    77.900       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.835       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .87296E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    37.077       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1238       1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.583       1.0000         .10000E-03   10000.    
    19 'norm      '    17.651       1.0000         .10000E-03   10000.    
    20 'norm      '    8.3119       1.0000         .10000E-03   10000.    
    21 'norm      '    .11660E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    37.831       1.0000         .10000E-03   10000.    
    23 'Prefactor '    14.799       1.0000         .10000E-03   10000.    
    24 'Prefactor '    187.91       1.0000         .10000E-03   10000.    
    25 'Prefactor '    28.067       1.0000         .10000E-03   10000.    
    26 'norm      '    .10525E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .12972E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10309E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .22837       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1862       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=   1752.146     FROM MIGRAD    STATUS=CONVERGED   1553 CALLS     4373 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    134.76        .18726E-02** at limit **
   2  Prefactor     22.057        29.358        .84752E-04   -.28371E-04
   3  Prefactor     .10000E-03    708.64        .13893E-02** at limit **
   4  norm          .10000E-03    6.9049        .10742E-02** at limit **
   5  Prefactor     42.647        55.326        .59334E-04   -.35227E-04
   6  Prefactor     14.084        12.792        .10623E-03   -.44359E-04
   7  Prefactor     .10000E-03    40.090        .19239E-02** at limit **
   8  Prefactor     5.9682        12.448        .16568E-03   -.11940E-04
   9  Prefactor     186.58        113.29        .14869E-03    .13571E-04
  10  Prefactor     .10000E-03    32.903        .18286E-02** at limit **
  11  Prefactor     .10000E-03    13.676        .15120E-02** at limit **
  12  Prefactor     .10000E-03    7.2202        .10981E-02** at limit **
  13  Prefactor     74.400        104.10        .22749E-03    .37855E-05
  14  Prefactor     20.602        37.234        .89931E-04   -.27053E-04
  15  Prefactor     .10000E-03    23.153        .18324E-02** at limit **
  16  Prefactor     37.223        63.442        .65820E-04   -.30123E-04
  17  Prefactor     .60667        171.98        .15833       -.11578E-03
  18  Prefactor     31.043        34.746        .71298E-04   -.14550E-04
  19  norm          17.608        23.160        .95331E-04   -.78678E-04
  20  norm          8.2523        11.768        .13905E-03   -.15146E-04
  21  norm          .10000E-03    5.4244        .95078E-03** at limit **
  22  norm          37.107        22.843        .65162E-04   -.38950E-04
  23  Prefactor     14.867        12.538        .10411E-03    .48592E-05
  24  Prefactor     193.16        88.545        .14729E-03    .12889E-03
  25  Prefactor     33.244        110.84        .75621E-04   -.40591E-05
  26  norm          .10000E-03    7.5609        .11148E-02** at limit **
  27  Prefactor     .10000E-03    10.292        .13107E-02** at limit **
  28  norm          .10000E-03    .97204        .79435E-04** at limit **
  29  norm          .10000E-03    6.7349        .10508E-02** at limit **
  30  Normalizat    .22563        .50895        .49211E-03   -.27462E-04
  31  Prefactor     1.1880        .45367        .23049E-03   -.54189E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 22.0567
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 42.6475
  Prefactor  = 14.084
  Prefactor  = 0.0001
  Prefactor  = 5.96817
  Prefactor  = 186.579
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 74.3997
  Prefactor  = 20.602
  Prefactor  = 0.0001
  Prefactor  = 37.2228
  Prefactor  = 0.606671
  Prefactor  = 31.0429
  norm       = 17.6079
  norm       = 8.25234
  norm       = 0.0001
  norm       = 37.1074
  Prefactor  = 14.8671
  Prefactor  = 193.162
  Prefactor  = 33.2443
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.225628
  Prefactor  = 1.18802
 **********
 **   18 **HESSE 
 **********

 FCN=   1752.146     FROM HESSE     STATUS=OK           600 CALLS     4973 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    134.77        .37453E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.057        29.353        .33901E-05   -1.4768    
   3  Prefactor     .10000E-03    708.66        .27785E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    6.9049        .21485E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     42.647        55.314        .11867E-04   -1.4401    
   6  Prefactor     14.084        12.789        .42492E-05   -1.4957    
   7  Prefactor     .10000E-03    40.090        .38478E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.9682        12.446        .66271E-05   -1.5219    
   9  Prefactor     186.58        113.29        .59477E-05   -1.2968    
  10  Prefactor     .10000E-03    32.903        .36571E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.676        .30240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.2203        .21963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     74.400        104.10        .90997E-05   -1.3981    
  14  Prefactor     20.602        37.229        .35972E-05   -1.4800    
  15  Prefactor     .10000E-03    23.162        .36648E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     37.223        63.442        .13164E-04   -1.4487    
  17  Prefactor     .60667        170.71        .15917       -1.5552    
  18  Prefactor     31.043        34.732        .28519E-05   -1.4593    
  19  norm          17.608        23.160        .38133E-05   -1.4868    
  20  norm          8.2523        11.767        .55621E-05   -1.5133    
  21  norm          .10000E-03    5.4244        .19016E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          37.107        22.836        .26065E-05   -1.4489    
  23  Prefactor     14.867        12.537        .41646E-05   -1.4937    
  24  Prefactor     193.16        88.492        .29458E-04   -1.2919    
  25  Prefactor     33.244        110.79        .30248E-05   -1.4554    
  26  norm          .10000E-03    7.5615        .22296E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    10.292        .26214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    .97204        .15887E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    6.7361        .21016E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .22563        .50771        .19685E-04   -1.2759    
  31  Prefactor     1.1880        .45286        .46099E-04   -.86701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23302e-09
Minuit parameter uncertainties:
  1  0.000499346
  2  29.3726
  3  0.00105642
  4  4.78454e-06
  5  55.3802
  6  12.792
  7  2.95446e-05
  8  12.4514
  9  113.422
  10  0.000111807
  11  9.59372e-06
  12  6.98385e-06
  13  104.361
  14  37.2712
  15  1.53911e-05
  16  63.5572
  17  20.4107
  18  34.755
  19  23.1714
  20  11.7705
  21  4.15034e-05
  22  22.8418
  23  12.5391
  24  88.5531
  25  111.481
  26  0.00017268
  27  1.20043e-05
  28  2.62901e-06
  29  9.9108e-05
  30  0.518677
  31  0.454352
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.539e-05  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.188e+00  4.544e-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:  2.256e-01  5.187e-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: 1.65e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.25e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/515851/likelihoodResults_571622401_571881601_4FGL_J2250.4-4206_daily_bin1282.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) = 1752.14587243
delta logL = -0.000205584836522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1752.14566685
delta logL = -2.24895302381e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0966       1.0000          .0000       10.000    
     3 'Normalizat'    .22566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1880       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=   1752.146     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      210 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    14.682        .90712E-02** at limit **
   2  Index         2.1062        6.5008        .50000       -.31520E-05
   3  Normalizat    .22563        .62344E-02    .11143        .13807E-04
   4  Prefactor     1.1880        .65097E-02    .52140E-01   -.12343E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.10623
  Normalizat = 0.225628
  Prefactor  = 1.18802
 **********
 **   18 **HESSE 
 **********

 FCN=   1752.146     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      241 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    183.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1062        8.3356        .50000       -.61720    
   3  Normalizat    .22563        .22178E-01    .49198E-03   -1.2759    
   4  Prefactor     1.1880        .23120E-01    .23050E-03   -.86701    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.25497e-07
Minuit parameter uncertainties:
  1  0.00217619
  2  398.082
  3  0.0221789
  4  0.0231202
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515851': 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): 102
logL (Free Index) = 1752.14566683
delta logL = 1.66835434356e-08

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  2.176e-03  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.106e+00  3.981e+02  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.188e+00  2.312e-02  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:  2.256e-01  2.218e-02  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/515851/cmap_HighResolution_571622401_571881601_4FGL_J2250.4-4206_daily_bin1282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', job_status='DONE', photon_flux_upper_limit='1.65e-07', time_completed='2021-09-28 22:57:41.654770', job_id='515851', GAL2='1.19', fit_tolerance='1e-08', EG2='0.23', EG='0.23', time_epoch_completed='1632895061.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='1.67e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1282' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:57:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 515851: <4FGL_J2250.4-4206_daily_bin1282> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1282> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:45:35 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:45:37 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:37 2021
Terminated at Tue Sep 28 22:57:42 2021
Results reported at Tue Sep 28 22:57:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1282 342.606 -42.1095 571622401 571881601 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 :                                   492.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             238.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            727 sec.

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

