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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1133
RA = 342.606, Dec = -42.1095
tmin = 533001601, tmax = 533260801
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='515632', job_status='RUN', time_executed='2021-09-28 22:47:04.292350', time_epoch_executed='1632894424.29' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515632

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515632/ft1_4FGL_J2250.4-4206_daily_bin1133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515632/ft2_4FGL_J2250.4-4206_daily_bin1133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515632/ft1_4FGL_J2250.4-4206_daily_bin1133.fits outfile=/scratch/kocevski/515632/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1133.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=533001601.0 tmax=533260801.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.50
user 3.30
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/515632/ft2_4FGL_J2250.4-4206_daily_bin1133.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/515632/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1133.fits evtable="EVENTS" outfile="/scratch/kocevski/515632/ft1_filtered_4FGL_J2250.4-4206_daily_bin1133.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/515632/ft1_filtered_4FGL_J2250.4-4206_daily_bin1133.fits" evtable="EVENTS" scfile=/scratch/kocevski/515632/ft2_4FGL_J2250.4-4206_daily_bin1133.fits sctable="SC_DATA" outfile=/scratch/kocevski/515632/ltcube_533001601_533260801_4FGL_J2250.4-4206_daily_bin1133.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/515632/ft2_4FGL_J2250.4-4206_daily_bin1133.fits
.....................!
real 11.96
user 11.63
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515632/ft1_filtered_4FGL_J2250.4-4206_daily_bin1133.fits evtable="EVENTS" scfile=/scratch/kocevski/515632/ft2_4FGL_J2250.4-4206_daily_bin1133.fits sctable="SC_DATA" expcube=/scratch/kocevski/515632/ltcube_533001601_533260801_4FGL_J2250.4-4206_daily_bin1133.fits outfile=/scratch/kocevski/515632/expmap_533001601_533260801_4FGL_J2250.4-4206_daily_bin1133.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/515632/ltcube_533001601_533260801_4FGL_J2250.4-4206_daily_bin1133.fits
.....................!
real 190.35
user 185.16
sys 4.84

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/515632/ft1_filtered_4FGL_J2250.4-4206_daily_bin1133.fits scfile=/scratch/kocevski/515632/ft2_4FGL_J2250.4-4206_daily_bin1133.fits outfile=/scratch/kocevski/515632/cmap_533001601_533260801_4FGL_J2250.4-4206_daily_bin1133.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/515632/ft1_filtered_4FGL_J2250.4-4206_daily_bin1133.fits scfile=/scratch/kocevski/515632/ft2_4FGL_J2250.4-4206_daily_bin1133.fits outfile=/scratch/kocevski/515632/cmap_HighResolution_533001601_533260801_4FGL_J2250.4-4206_daily_bin1133.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/515632/ft1_filtered_4FGL_J2250.4-4206_daily_bin1133.fits evtable="EVENTS" scfile=/scratch/kocevski/515632/ft2_4FGL_J2250.4-4206_daily_bin1133.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/515632/Model_4FGL_J2250.4-4206_daily_bin1133.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/515632/ft1_filtered_4FGL_J2250.4-4206_daily_bin1133.fits.....................!
real 41.97
user 40.71
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8294       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.296       1.0000         .10000E-03   10000.    
     4 'norm      '    5.8332       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8719       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6049       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.867       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.7418       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .49219E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .94561E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.9114       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.4479       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    45.991       1.0000         .10000E-03   10000.    
    26 'norm      '    2.1964       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .31380E-02   1.0000         .10000E-03   10000.    
    29 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.0753       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1542       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=   5558.243     FROM MIGRAD    STATUS=CONVERGED    814 CALLS     4158 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.769       -.13932E-05** at limit **
   2  Prefactor     1.8280        15.039        .17365E-05   -.43308E-04
   3  Prefactor     11.292        76.005       -.25144E-05   -.25681E-04
   4  norm          5.8334        5.7233       -.29165E-07    .23787E-04
   5  Prefactor     5.8685        12.352        .21093E-06   -.39075E-04
   6  Prefactor     3.6039        4.6480        .54557E-06    .86380E-04
   7  Prefactor     .10001E-03    41.490        .44718E-05** at limit **
   8  Prefactor     .10000E-03    1.3610       -.45699E-08** at limit **
   9  Prefactor     24.863        30.407        .84754E-06    .81072E-04
  10  Prefactor     7.7160        31.216       -.54761E-06   -.42387E-04
  11  Prefactor     .10000E-03    10.949        .41909E-06** at limit **
  12  Prefactor     .10004E-03    5.7874       -.13268E-07** at limit **
  13  Prefactor     .10002E-03    29.015       -.65148E-05** at limit **
  14  Prefactor     .10000E-03    6.9295        .10088E-06** at limit **
  15  Prefactor     .10000E-03    1.8415       -.45398E-08** at limit **
  16  Prefactor     .10000E-03    9.2599       -.19056E-06** at limit **
  17  Prefactor     .10000E-03    23.615        .22435E-05** at limit **
  18  Prefactor     .10001E-03    8.2739       -.10372E-06** at limit **
  19  norm          .10000E-03    3.6648        .47964E-07** at limit **
  20  norm          .10000E-03    2.2982        .32965E-07** at limit **
  21  norm          .10000E-03    2.5439       -.47447E-06** at limit **
  22  norm          4.9104        7.7701        .28614E-06   -.40987E-04
  23  Prefactor     4.4481        4.1591       -.64798E-06    .32026E-03
  24  Prefactor     .10000E-03    24.180        .87531E-06** at limit **
  25  Prefactor     45.967        64.824       -.46555E-05   -.22853E-03
  26  norm          2.1960        2.9113        .24778E-05   -.12469E-02
  27  Prefactor     .10000E-03    4.7192        .10707E-07** at limit **
  28  norm          .10008E-03    .49233        .20799E-06** at limit **
  29  norm          .10000E-03    1.4159       -.15668E-06** at limit **
  30  Normalizat    1.0755        .19902       -.27313E-06   -.11306E-03
  31  Prefactor     1.1541        .19784       -.58177E-06   -.69420E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 1.82801
  Prefactor  = 11.2923
  norm       = 5.83342
  Prefactor  = 5.86853
  Prefactor  = 3.6039
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 24.8627
  Prefactor  = 7.71603
  Prefactor  = 0.0001
  Prefactor  = 0.000100045
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100008
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.91044
  Prefactor  = 4.44806
  Prefactor  = 0.0001
  Prefactor  = 45.9665
  norm       = 2.19598
  Prefactor  = 0.0001
  norm       = 0.000100083
  norm       = 0.0001
  Normalizat = 1.07546
  Prefactor  = 1.15407
 **********
 **   18 **HESSE 
 **********

 FCN=   5558.243     FROM HESSE     STATUS=OK           636 CALLS     4794 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.8280        14.628        .30858E-03   -1.5438    
   3  Prefactor     11.292        73.608        .11920E-03   -1.5036    
   4  norm          5.8334        5.7281        .16628E-03   -1.5225    
   5  Prefactor     5.8685        12.333        .16573E-03   -1.5223    
   6  Prefactor     3.6039        4.6384        .17156E-03   -1.5328    
   7  Prefactor     .10001E-03    42.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.3652        .84931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.863        30.355        .80330E-04   -1.4710    
  10  Prefactor     7.7160        31.162        .14412E-03   -1.5152    
  11  Prefactor     .10000E-03    11.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10004E-03    11.870        .56753E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    30.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.9527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.8434        .98801E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.2630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    23.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    50.523        .40725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.6658        .13939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.3019        .11037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.5769        .11650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.9104        7.7575        .18149E-03   -1.5265    
  23  Prefactor     4.4481        4.1662        .71095E-03   -1.5286    
  24  Prefactor     .10000E-03    24.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     45.967        66.358        .59122E-04   -1.4351    
  26  norm          2.1960        3.0328        .73908E-03   -1.5412    
  27  Prefactor     .10000E-03    4.7281        .15814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10008E-03    .77858        .18648E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    1.4315        .86666E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0755        .23605        .24614E-03   -.90544    
  31  Prefactor     1.1541        .23606        .24767E-03   -.87757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67768e-09
Minuit parameter uncertainties:
  1  0.000248419
  2  10.3455
  3  57.7645
  4  5.72866
  5  12.338
  6  4.63883
  7  0.00123081
  8  1.39147e-06
  9  30.3743
  10  31.0405
  11  5.72875e-05
  12  0.00146094
  13  0.00160028
  14  9.1298e-06
  15  7.22736e-07
  16  2.66434e-05
  17  0.000482657
  18  0.00125073
  19  3.48924e-06
  20  1.91915e-06
  21  3.33304e-05
  22  7.75906
  23  4.16649
  24  0.000180696
  25  66.4647
  26  3.033
  27  1.36891e-06
  28  0.000507183
  29  8.86486e-06
  30  0.236284
  31  0.236278
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  7.227e-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.154e+00  2.363e-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:  1.075e+00  2.363e-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: 3.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/515632/likelihoodResults_533001601_533260801_4FGL_J2250.4-4206_daily_bin1133.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) = 5558.24586226
delta logL = -0.00244243263933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5558.24341924
delta logL = 5.90215677221e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0636       1.0000          .0000       10.000    
     3 'Normalizat'    1.0755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1540       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=   5558.243     FROM MIGRAD    STATUS=FAILED        89 CALLS      239 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10205E-03    32.782        .10105E-02** at limit **
   2  Index         1.9910        7.9211        .50000        .87633E-04
   3  Normalizat    1.0755        .19116E-01    .24614E-03   -.13459E-03
   4  Prefactor     1.1541        .19923E-01    .24767E-03   -.81385E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5558.243     FROM SIMPLEX   STATUS=UNCHANGED    125 CALLS      364 TOTAL
                     EDM=   .80E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10205E-03    32.782        .23002E-03** at limit **
   2  Index         1.9910        7.9211        .36411E-03    .87633E-04
   3  Normalizat    1.0755        .19116E-01    .28376E-05   -.13459E-03
   4  Prefactor     1.1541        .19923E-01    .38254E-05   -.81385E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5558.243     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      410 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    44.430        .20209E-02** at limit **
   2  Index         1.5246        8.5626        .50000        .35677E-06
   3  Normalizat    1.0755        .20000E-01    .98455E-05    .19231E-02
   4  Prefactor     1.1541        .20844E-01    .99069E-05    .19022E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.52457
  Normalizat = 1.07547
  Prefactor  = 1.15407
 **********
 **   18 **HESSE 
 **********

 FCN=   5558.243     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      439 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    194.35        .40419E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5246        6.0527        .50000       -.76854    
   3  Normalizat    1.0755        .45410E-01    .19691E-05   -.90543    
   4  Prefactor     1.1541        .47331E-01    .19814E-05   -.87757    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.3889e-09
Minuit parameter uncertainties:
  1  0.000376803
  2  698.394
  3  0.0454119
  4  0.0473324
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515632': 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) = 5558.24341269
delta logL = 7.14238103683e-06

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  3.768e-04  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  1.525e+00  6.984e+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.154e+00  4.733e-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:  1.075e+00  4.541e-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/515632/cmap_HighResolution_533001601_533260801_4FGL_J2250.4-4206_daily_bin1133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-03', job_status='DONE', photon_flux_upper_limit='3.84e-08', time_completed='2021-09-28 23:01:54.707844', job_id='515632', GAL2='1.15', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1632895314.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='7.14e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1133' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:01:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 515632: <4FGL_J2250.4-4206_daily_bin1133> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1133 342.606 -42.1095 533001601 533260801 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 :                                   820.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             261.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            996 sec.

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

