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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1067
RA = 342.606, Dec = -42.1095
tmin = 515894401, tmax = 516153601
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='515534', job_status='RUN', time_executed='2021-09-28 22:46:08.674110', time_epoch_executed='1632894368.67' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1067'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515534

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515534/ft1_4FGL_J2250.4-4206_daily_bin1067.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515534/ft2_4FGL_J2250.4-4206_daily_bin1067.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515534/ft1_4FGL_J2250.4-4206_daily_bin1067.fits outfile=/scratch/kocevski/515534/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1067.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=515894401.0 tmax=516153601.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.72
user 3.50
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515534/ft1_filtered_4FGL_J2250.4-4206_daily_bin1067.fits" evtable="EVENTS" scfile=/scratch/kocevski/515534/ft2_4FGL_J2250.4-4206_daily_bin1067.fits sctable="SC_DATA" outfile=/scratch/kocevski/515534/ltcube_515894401_516153601_4FGL_J2250.4-4206_daily_bin1067.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/515534/ft2_4FGL_J2250.4-4206_daily_bin1067.fits
.....................!
real 13.66
user 13.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515534/ft1_filtered_4FGL_J2250.4-4206_daily_bin1067.fits evtable="EVENTS" scfile=/scratch/kocevski/515534/ft2_4FGL_J2250.4-4206_daily_bin1067.fits sctable="SC_DATA" expcube=/scratch/kocevski/515534/ltcube_515894401_516153601_4FGL_J2250.4-4206_daily_bin1067.fits outfile=/scratch/kocevski/515534/expmap_515894401_516153601_4FGL_J2250.4-4206_daily_bin1067.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/515534/ltcube_515894401_516153601_4FGL_J2250.4-4206_daily_bin1067.fits
.....................!
real 189.71
user 184.87
sys 4.46

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/515534/ft1_filtered_4FGL_J2250.4-4206_daily_bin1067.fits scfile=/scratch/kocevski/515534/ft2_4FGL_J2250.4-4206_daily_bin1067.fits outfile=/scratch/kocevski/515534/cmap_515894401_516153601_4FGL_J2250.4-4206_daily_bin1067.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/515534/ft1_filtered_4FGL_J2250.4-4206_daily_bin1067.fits scfile=/scratch/kocevski/515534/ft2_4FGL_J2250.4-4206_daily_bin1067.fits outfile=/scratch/kocevski/515534/cmap_HighResolution_515894401_516153601_4FGL_J2250.4-4206_daily_bin1067.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/515534/ft1_filtered_4FGL_J2250.4-4206_daily_bin1067.fits evtable="EVENTS" scfile=/scratch/kocevski/515534/ft2_4FGL_J2250.4-4206_daily_bin1067.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/515534/Model_4FGL_J2250.4-4206_daily_bin1067.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/515534/ft1_filtered_4FGL_J2250.4-4206_daily_bin1067.fits.....................!
real 49.51
user 48.08
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3358       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7217       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.9717       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7254       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.119       1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.508       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.448       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.674       1.0000         .10000E-03   10000.    
    19 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.2561       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.2550       1.0000         .10000E-03   10000.    
    24 'Prefactor '    29.336       1.0000         .10000E-03   10000.    
    25 'Prefactor '    46.801       1.0000         .10000E-03   10000.    
    26 'norm      '    9.9501       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .98894       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .85040       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=   6743.026     FROM MIGRAD    STATUS=CONVERGED    789 CALLS     4097 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2873        71.238        .11217E-04   -.64470E-05
   2  Prefactor     1.7197        5.3549        .10279E-04   -.31198E-03
   3  Prefactor     .10000E-03    47.637       -.18912E-05** at limit **
   4  norm          3.9715        5.7176        .57807E-07   -.25500E-04
   5  Prefactor     1.7258        4.2854        .69531E-05    .52329E-04
   6  Prefactor     .10000E-03    1.9800        .91652E-06** at limit **
   7  Prefactor     .10000E-03    13.077       -.92502E-06** at limit **
   8  Prefactor     23.117        6.8394       -.29656E-07   -.29774E-03
   9  Prefactor     26.508        15.884        .38081E-07   -.44923E-04
  10  Prefactor     .10000E-03    7.9297        .10235E-05** at limit **
  11  Prefactor     .10000E-03    8.4417        .13637E-06** at limit **
  12  Prefactor     .10000E-03    4.8309       -.93368E-06** at limit **
  13  Prefactor     23.366        57.271        .19917E-04    .43165E-04
  14  Prefactor     .10000E-03    6.5659       -.21001E-06** at limit **
  15  Prefactor     .10000E-03    1.0372        .20146E-07** at limit **
  16  Prefactor     .10000E-03    23.119       -.11503E-05** at limit **
  17  Prefactor     .10000E-03    9.3614       -.79213E-06** at limit **
  18  Prefactor     15.674        14.632        .52601E-06   -.11554E-03
  19  norm          .10000E-03    3.4861        .32049E-07** at limit **
  20  norm          .10000E-03    1.6136        .48947E-08** at limit **
  21  norm          .10000E-03    1.4732        .98019E-08** at limit **
  22  norm          1.2532        4.8840        .97831E-06   -.28169E-04
  23  Prefactor     4.2616        5.3267       -.10335E-06   -.48584E-03
  24  Prefactor     29.325        35.692        .92216E-06   -.18309E-04
  25  Prefactor     46.786        43.610        .27979E-05    .12218E-04
  26  norm          9.9518        6.0155        .52613E-06   -.48181E-04
  27  Prefactor     .10000E-03    17.646        .19819E-05** at limit **
  28  norm          .10000E-03    .51924        .20652E-06** at limit **
  29  norm          .10000E-03    2.2587       -.18581E-07** at limit **
  30  Normalizat    .98885        .16060       -.23476E-05   -.46966E-03
  31  Prefactor     .85047        .16059       -.13348E-05   -.37611E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.28732
  Prefactor  = 1.71968
  Prefactor  = 0.0001
  norm       = 3.97151
  Prefactor  = 1.72575
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.1174
  Prefactor  = 26.5077
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 23.3662
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.6737
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.25319
  Prefactor  = 4.2616
  Prefactor  = 29.3245
  Prefactor  = 46.7864
  norm       = 9.95178
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.988847
  Prefactor  = 0.850472
 **********
 **   18 **HESSE 
 **********

 FCN=   6743.026     FROM HESSE     STATUS=OK           618 CALLS     4715 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2873        71.861        .26830E-03   -1.5405    
   2  Prefactor     1.7197        5.3454        .16007E-02   -1.5446    
   3  Prefactor     .10000E-03    47.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.9715        5.7130        .20239E-03   -1.5309    
   5  Prefactor     1.7258        4.2681        .12917E-02   -1.5445    
   6  Prefactor     .10000E-03    3.7759        .22176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.117        6.8416        .83307E-04   -1.4746    
   9  Prefactor     26.508        15.880        .77808E-04   -1.4678    
  10  Prefactor     .10000E-03    7.9637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.4534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.8811        .17635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     23.366        57.326        .82722E-04   -1.4741    
  14  Prefactor     .10000E-03    6.6627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.0380        .81671E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.3628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.674        14.528        .10117E-03   -1.4916    
  19  norm          .10000E-03    3.4885        .14974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.6138        .10187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.4740        .97311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2532        4.8499        .34369E-03   -1.5484    
  23  Prefactor     4.2616        5.2611        .19533E-03   -1.5295    
  24  Prefactor     29.325        35.839        .73971E-04   -1.4624    
  25  Prefactor     46.786        43.686        .58611E-04   -1.4339    
  26  norm          9.9518        6.0218        .59317E-03   -1.5077    
  27  Prefactor     .10000E-03    17.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    .98454        .11309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    2.3143        .24051E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .98885        .19194        .22608E-03   -.93405    
  31  Prefactor     .85047        .19181        .24806E-03   -.97894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66696e-10
Minuit parameter uncertainties:
  1  25.6745
  2  5.34683
  3  0.000123908
  4  5.71383
  5  4.26887
  6  4.70174e-05
  7  2.90978e-06
  8  6.8418
  9  15.8823
  10  2.74595e-05
  11  4.03606e-05
  12  0.000106564
  13  57.4614
  14  4.39742e-05
  15  1.17019e-06
  16  7.67339e-05
  17  4.45966e-06
  18  14.5316
  19  2.50659e-06
  20  3.01056e-07
  21  1.595e-07
  22  4.85142
  23  5.26169
  24  35.8648
  25  43.7159
  26  6.02214
  27  5.45593e-05
  28  1.05526e-05
  29  1.5112e-06
  30  0.192079
  31  0.191965
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.170e-06  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:  8.505e-01  1.920e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  9.888e-01  1.921e-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: 2.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/515534/likelihoodResults_515894401_516153601_4FGL_J2250.4-4206_daily_bin1067.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) = 6743.02585101
delta logL = -5.96070422034e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6743.02580074
delta logL = -9.33170940698e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12628E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0229       1.0000          .0000       10.000    
     3 'Normalizat'    .98917       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85022       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=   6743.026     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      219 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.6276        .90712E-02** at limit **
   2  Index         1.2907        5.6043        .50000       -.11844E-06
   3  Normalizat    .98885        .81324E-02    .46031E-01    .14444E-04
   4  Prefactor     .85047        .83809E-02    .44367E-01    .19960E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.29074
  Normalizat = 0.988848
  Prefactor  = 0.850472
 **********
 **   18 **HESSE 
 **********

 FCN=   6743.026     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      252 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    75.218        .11504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2907        5.4045        .50000       -.83583    
   3  Normalizat    .98885        .23526E-01    .22608E-03   -.93405    
   4  Prefactor     .85047        .24246E-01    .24805E-03   -.97894    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.81764e-11
Minuit parameter uncertainties:
  1  2.73042e-05
  2  420.599
  3  0.0235264
  4  0.0242458
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515534': 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) = 6743.02576746
delta logL = 2.39454057009e-05

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  2.730e-05  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  1.291e+00  4.206e+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:  8.505e-01  2.425e-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:  9.888e-01  2.353e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/515534/cmap_HighResolution_515894401_516153601_4FGL_J2250.4-4206_daily_bin1067.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.70e-03', job_status='DONE', photon_flux_upper_limit='2.25e-08', time_completed='2021-09-28 23:01:26.544206', job_id='515534', GAL2='0.85', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1632895286.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.39e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1067' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:01:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 515534: <4FGL_J2250.4-4206_daily_bin1067> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1067 342.606 -42.1095 515894401 516153601 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 :                                   915.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            976 sec.

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

