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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin990
RA = 342.606, Dec = -42.1095
tmin = 495936001, tmax = 496195201
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='514354', job_status='RUN', time_executed='2021-09-28 22:43:20.101364', time_epoch_executed='1632894200.1' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='990'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514354

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514354/ft1_4FGL_J2250.4-4206_daily_bin990.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514354/ft2_4FGL_J2250.4-4206_daily_bin990.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514354/ft1_4FGL_J2250.4-4206_daily_bin990.fits outfile=/scratch/kocevski/514354/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin990.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=495936001.0 tmax=496195201.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.77
user 2.59
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/514354/ft1_filtered_4FGL_J2250.4-4206_daily_bin990.fits" evtable="EVENTS" scfile=/scratch/kocevski/514354/ft2_4FGL_J2250.4-4206_daily_bin990.fits sctable="SC_DATA" outfile=/scratch/kocevski/514354/ltcube_495936001_496195201_4FGL_J2250.4-4206_daily_bin990.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/514354/ft2_4FGL_J2250.4-4206_daily_bin990.fits
.....................!
real 9.64
user 9.33
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514354/ft1_filtered_4FGL_J2250.4-4206_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/514354/ft2_4FGL_J2250.4-4206_daily_bin990.fits sctable="SC_DATA" expcube=/scratch/kocevski/514354/ltcube_495936001_496195201_4FGL_J2250.4-4206_daily_bin990.fits outfile=/scratch/kocevski/514354/expmap_495936001_496195201_4FGL_J2250.4-4206_daily_bin990.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/514354/ltcube_495936001_496195201_4FGL_J2250.4-4206_daily_bin990.fits
.....................!
real 149.25
user 145.09
sys 3.92

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/514354/ft1_filtered_4FGL_J2250.4-4206_daily_bin990.fits scfile=/scratch/kocevski/514354/ft2_4FGL_J2250.4-4206_daily_bin990.fits outfile=/scratch/kocevski/514354/cmap_495936001_496195201_4FGL_J2250.4-4206_daily_bin990.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.45
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/514354/ft1_filtered_4FGL_J2250.4-4206_daily_bin990.fits scfile=/scratch/kocevski/514354/ft2_4FGL_J2250.4-4206_daily_bin990.fits outfile=/scratch/kocevski/514354/cmap_HighResolution_495936001_496195201_4FGL_J2250.4-4206_daily_bin990.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.46
user 0.31
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/514354/ft1_filtered_4FGL_J2250.4-4206_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/514354/ft2_4FGL_J2250.4-4206_daily_bin990.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/514354/Model_4FGL_J2250.4-4206_daily_bin990.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/514354/ft1_filtered_4FGL_J2250.4-4206_daily_bin990.fits.....................!
real 27.69
user 26.61
sys 1.02

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    82.753       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.8521       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .46382       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .47611       1.0000         .10000E-03   10000.    
     7 'Prefactor '    65.136       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.1733       1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.059       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.871       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0105       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.565       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.7005       1.0000         .10000E-03   10000.    
    19 'norm      '    .43581E-01   1.0000         .10000E-03   10000.    
    20 'norm      '    .99523       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    26.194       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    27.205       1.0000         .10000E-03   10000.    
    25 'Prefactor '    31.779       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    3.5860       1.0000         .10000E-03   10000.    
    28 'norm      '    .10188E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .42729       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.3223       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=   4065.778     FROM MIGRAD    STATUS=CONVERGED   1503 CALLS     4903 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     82.757        57.037        .44155E-04   -.42637E-04
   2  Prefactor     7.8515        17.618        .14310E-03   -.24645E-03
   3  Prefactor     .10015E-03    349.99        .22242    ** at limit **
   4  norm          .10000E-03    4.7723        .13585E-02** at limit **
   5  Prefactor     .10000E-03    8.2016        .17704E-02** at limit **
   6  Prefactor     .47494        6.4471        .22410E-02    .37768E-03
   7  Prefactor     65.100        49.108        .24863E-03    .12950E-03
   8  Prefactor     7.1682        7.4565        .74884E-03    .73282E-04
   9  Prefactor     31.065        25.832        .71895E-04   -.27673E-05
  10  Prefactor     .10000E-03    9.2666        .18142E-02** at limit **
  11  Prefactor     25.927        32.319        .78758E-04   -.13013E-03
  12  Prefactor     1.9954        14.977        .29198E-03    .76122E-05
  13  Prefactor     .10000E-03    64.869        .18142E-02** at limit **
  14  Prefactor     33.569        19.848        .69167E-04    .19560E-04
  15  Prefactor     .10000E-03    2.8219        .10448E-02** at limit **
  16  Prefactor     .10000E-03    16.419        .18142E-02** at limit **
  17  Prefactor     .10000E-03    128.74        .18142E-02** at limit **
  18  Prefactor     3.6999        15.527        .20994E-03   -.39802E-05
  19  norm          .13684E-03    14.095        .69204E-01** at limit **
  20  norm          .99523        4.6737        .27314E-03    .36711E-04
  21  norm          .10000E-03    1.8538        .84770E-03** at limit **
  22  norm          26.197        15.312        .78272E-04   -.77924E-04
  23  Prefactor     .10000E-03    3.6657        .11895E-02** at limit **
  24  Prefactor     27.206        27.251        .76808E-04   -.15320E-04
  25  Prefactor     31.912        67.315        .71078E-04    .31110E-04
  26  norm          .10000E-03    1.6360        .79506E-03** at limit **
  27  Prefactor     3.6072        22.203        .21340E-03   -.23601E-04
  28  norm          .10000E-03    2.1644        .11624E-02** at limit **
  29  norm          .10000E-03    1.9071        .85756E-03** at limit **
  30  Normalizat    .42734        .26457        .16917E-02    .13273E-04
  31  Prefactor     1.3220        .25370        .21062E-03    .18308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 82.7575
  Prefactor  = 7.85149
  Prefactor  = 0.00010015
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.474939
  Prefactor  = 65.1004
  Prefactor  = 7.16822
  Prefactor  = 31.0651
  Prefactor  = 0.0001
  Prefactor  = 25.9273
  Prefactor  = 1.99541
  Prefactor  = 0.0001
  Prefactor  = 33.5695
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 3.69985
  norm       = 0.000136844
  norm       = 0.995228
  norm       = 0.0001
  norm       = 26.1969
  Prefactor  = 0.0001
  Prefactor  = 27.2057
  Prefactor  = 31.9124
  norm       = 0.0001
  Prefactor  = 3.60725
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.427339
  Prefactor  = 1.32196
 **********
 **   18 **HESSE 
 **********

 FCN=   4065.778     FROM HESSE     STATUS=OK           616 CALLS     5519 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     82.757        57.032        .88310E-05   -1.3886    
   2  Prefactor     7.8515        17.647        .57238E-05   -1.5147    
   3  Prefactor     .10015E-03    356.68        .22034       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.7726        .27169E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.2058        .35408E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .47494        6.3972        .89642E-04   -1.5570    
   7  Prefactor     65.100        49.070        .49726E-04   -1.4093    
   8  Prefactor     7.1682        7.4518        .29954E-04   -1.5172    
   9  Prefactor     31.065        25.831        .28758E-05   -1.4593    
  10  Prefactor     .10000E-03    9.2669        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.927        32.291        .15752E-04   -1.4689    
  12  Prefactor     1.9954        14.955        .11679E-04   -1.5425    
  13  Prefactor     .10000E-03    64.870        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.569        19.842        .27667E-05   -1.4549    
  15  Prefactor     .10000E-03    2.8219        .20897E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.419        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    128.75        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.6999        15.514        .83976E-05   -1.5323    
  19  norm          .13684E-03    13.214        .72754E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .99523        4.6730        .10925E-04   -1.5508    
  21  norm          .10000E-03    1.8539        .16954E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          26.197        15.310        .31309E-05   -1.4684    
  23  Prefactor     .10000E-03    3.6657        .23791E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     27.206        27.247        .30723E-05   -1.4664    
  25  Prefactor     31.912        67.308        .14216E-04   -1.4578    
  26  norm          .10000E-03    1.6360        .15901E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     3.6072        22.157        .85359E-05   -1.5328    
  28  norm          .10000E-03    2.1754        .23249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    1.9072        .17151E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .42734        .26402        .67668E-04   -1.1591    
  31  Prefactor     1.3220        .25361        .42123E-04   -.82656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48377e-09
Minuit parameter uncertainties:
  1  57.0698
  2  17.6587
  3  0.0147247
  4  5.89254e-06
  5  1.02268e-05
  6  3.48622
  7  49.1002
  8  7.45276
  9  25.8399
  10  3.2005e-06
  11  32.313
  12  10.9291
  13  0.00015963
  14  19.8462
  15  4.33629e-07
  16  2.14582e-05
  17  0.00101024
  18  15.1589
  19  0.0441393
  20  4.31344
  21  5.2268e-07
  22  15.3122
  23  1.73476e-05
  24  27.2592
  25  67.4689
  26  8.04717e-08
  27  17.8897
  28  6.12204e-05
  29  5.30368e-07
  30  0.264797
  31  0.253848
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  4.336e-07  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.322e+00  2.538e-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:  4.273e-01  2.648e-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: 5.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/514354/likelihoodResults_495936001_496195201_4FGL_J2250.4-4206_daily_bin990.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) = 4065.77923804
delta logL = -0.00162873214913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4065.77760916
delta logL = 1.43932538776e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0716       1.0000          .0000       10.000    
     3 'Normalizat'    .42737       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3219       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4065.778     FROM MIGRAD    STATUS=FAILED        82 CALLS      228 TOTAL
                     EDM=   .48E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    299.67        .10546E-02** at limit **
   2  Index         2.0562        5.2916        .20000        .42424E-04
   3  Normalizat    .42734        .57488E-01    .33834E-03    .43799E-04
   4  Prefactor     1.3220        .60789E-01    .21061E-03    .51112E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4065.778     FROM SIMPLEX   STATUS=UNCHANGED    170 CALLS      398 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    299.67        .29199E-03** at limit **
   2  Index         2.0562        5.2916        .51961E-05    .42424E-04
   3  Normalizat    .42734        .57488E-01    .47843E-06    .43799E-04
   4  Prefactor     1.3220        .60789E-01    .14863E-06    .51112E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4065.778     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      439 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.0221        .21093E-02** at limit **
   2  Index         1.6041        5.4668        .40000E-01    .12221E-07
   3  Normalizat    .42734        .23137        .13534E-04   -.18481E-04
   4  Prefactor     1.3220        .24497        .42123E-04   -.37083E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.60409
  Normalizat = 0.427342
  Prefactor  = 1.32196
 **********
 **   18 **HESSE 
 **********

 FCN=   4065.778     FROM HESSE     STATUS=OK            23 CALLS      462 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3457        .42185E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6041        6.0645        .16000E-02   -.74665    
   3  Normalizat    .42734        .23140        .27067E-05   -1.1591    
   4  Prefactor     1.3220        .24501        .84246E-05   -.82656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12162e-12
Minuit parameter uncertainties:
  1  1.61413e-06
  2  192.315
  3  0.231922
  4  0.245227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514354': 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) = 4065.77760653
delta logL = 2.77335266219e-06

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.614e-06  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  1.604e+00  1.923e+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.322e+00  2.452e-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:  4.273e-01  2.319e-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/514354/cmap_HighResolution_495936001_496195201_4FGL_J2250.4-4206_daily_bin990.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.99e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2021-09-28 22:52:40.214286', job_id='514354', GAL2='1.32', fit_tolerance='1e-08', EG2='0.43', EG='0.43', time_epoch_completed='1632894760.21', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='2.77e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='990' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:52:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 514354: <4FGL_J2250.4-4206_daily_bin990> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin990 342.606 -42.1095 495936001 496195201 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 :                                   556.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            723 sec.

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

