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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1106
RA = 342.606, Dec = -42.1095
tmin = 526003201, tmax = 526262401
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='515593', job_status='RUN', time_executed='2021-09-28 22:45:26.336146', time_epoch_executed='1632894326.34' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515593

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515593/ft1_4FGL_J2250.4-4206_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515593/ft2_4FGL_J2250.4-4206_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515593/ft1_4FGL_J2250.4-4206_daily_bin1106.fits outfile=/scratch/kocevski/515593/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1106.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=526003201.0 tmax=526262401.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.71
user 3.49
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/515593/ft2_4FGL_J2250.4-4206_daily_bin1106.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/515593/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1106.fits evtable="EVENTS" outfile="/scratch/kocevski/515593/ft1_filtered_4FGL_J2250.4-4206_daily_bin1106.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.35
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515593/ft1_filtered_4FGL_J2250.4-4206_daily_bin1106.fits" evtable="EVENTS" scfile=/scratch/kocevski/515593/ft2_4FGL_J2250.4-4206_daily_bin1106.fits sctable="SC_DATA" outfile=/scratch/kocevski/515593/ltcube_526003201_526262401_4FGL_J2250.4-4206_daily_bin1106.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/515593/ft2_4FGL_J2250.4-4206_daily_bin1106.fits
.....................!
real 11.82
user 11.50
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515593/ft1_filtered_4FGL_J2250.4-4206_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/515593/ft2_4FGL_J2250.4-4206_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/515593/ltcube_526003201_526262401_4FGL_J2250.4-4206_daily_bin1106.fits outfile=/scratch/kocevski/515593/expmap_526003201_526262401_4FGL_J2250.4-4206_daily_bin1106.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/515593/ltcube_526003201_526262401_4FGL_J2250.4-4206_daily_bin1106.fits
.....................!
real 190.00
user 185.54
sys 4.15

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/515593/ft1_filtered_4FGL_J2250.4-4206_daily_bin1106.fits scfile=/scratch/kocevski/515593/ft2_4FGL_J2250.4-4206_daily_bin1106.fits outfile=/scratch/kocevski/515593/cmap_526003201_526262401_4FGL_J2250.4-4206_daily_bin1106.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/515593/ft1_filtered_4FGL_J2250.4-4206_daily_bin1106.fits scfile=/scratch/kocevski/515593/ft2_4FGL_J2250.4-4206_daily_bin1106.fits outfile=/scratch/kocevski/515593/cmap_HighResolution_526003201_526262401_4FGL_J2250.4-4206_daily_bin1106.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/515593/ft1_filtered_4FGL_J2250.4-4206_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/515593/ft2_4FGL_J2250.4-4206_daily_bin1106.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/515593/Model_4FGL_J2250.4-4206_daily_bin1106.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/515593/ft1_filtered_4FGL_J2250.4-4206_daily_bin1106.fits.....................!
real 43.87
user 42.64
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.526       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.508       1.0000         .10000E-03   10000.    
     4 'norm      '    3.9662       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1046       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.0351       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.9062       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10835E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.090       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.1821       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.251       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.6599       1.0000         .10000E-03   10000.    
    20 'norm      '    3.2647       1.0000         .10000E-03   10000.    
    21 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.6121       1.0000         .10000E-03   10000.    
    24 'Prefactor '    44.697       1.0000         .10000E-03   10000.    
    25 'Prefactor '    33.818       1.0000         .10000E-03   10000.    
    26 'norm      '    .10158E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.1083       1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    1.3214       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .78096       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0213       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=   5996.659     FROM MIGRAD    STATUS=CONVERGED    808 CALLS     3505 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.533        22.515       -.77674E-05   -.24451E-04
   2  Prefactor     .10000E-03    2.5446       -.18381E-06** at limit **
   3  Prefactor     10.544        84.991        .61921E-04    .25240E-05
   4  norm          3.9659        5.4510        .12953E-05   -.23967E-03
   5  Prefactor     .10000E-03    3.6500       -.43488E-08** at limit **
   6  Prefactor     3.1061        2.9225        .28994E-06   -.79583E-04
   7  Prefactor     .10000E-03    24.390       -.36494E-05** at limit **
   8  Prefactor     7.0366        5.1623       -.38106E-05   -.22066E-03
   9  Prefactor     .10000E-03    12.078        .11494E-05** at limit **
  10  Prefactor     .10000E-03    4.9379       -.10255E-08** at limit **
  11  Prefactor     .10000E-03    13.269        .14802E-05** at limit **
  12  Prefactor     6.9096        8.5181       -.51298E-06   -.94670E-04
  13  Prefactor     .10000E-03    42.950       -.11707E-05** at limit **
  14  Prefactor     13.091        10.542        .27954E-06   -.51630E-04
  15  Prefactor     6.1832        6.0756       -.13572E-05   -.19034E-03
  16  Prefactor     14.224        21.033        .14444E-04    .78967E-05
  17  Prefactor     .10000E-03    19.370        .60417E-05** at limit **
  18  Prefactor     .10000E-03    14.621       -.55327E-05** at limit **
  19  norm          9.6606        8.5851        .79307E-08    .35258E-04
  20  norm          3.2649        3.9566        .12543E-05    .83096E-04
  21  norm          .10000E-03    2.1559       -.81747E-07** at limit **
  22  norm          .10000E-03    3.2251        .20323E-06** at limit **
  23  Prefactor     5.6121        5.0978        .10294E-05    .73915E-04
  24  Prefactor     44.639        31.894        .55902E-05    .31873E-03
  25  Prefactor     33.755        39.988       -.24184E-04    .76475E-05
  26  norm          .10000E-03    2.4447       -.73327E-06** at limit **
  27  Prefactor     8.1132        11.722        .29273E-06   -.18252E-04
  28  norm          .10000E-03    .24876       -.36439E-07** at limit **
  29  norm          1.3118        4.0560       -.23633E-05   -.89500E-03
  30  Normalizat    .78067        .16381        .13537E-05    .14486E-03
  31  Prefactor     1.0214        .16791       -.79257E-06    .27496E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5328
  Prefactor  = 0.0001
  Prefactor  = 10.5443
  norm       = 3.9659
  Prefactor  = 0.0001
  Prefactor  = 3.10611
  Prefactor  = 0.0001
  Prefactor  = 7.03665
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.90962
  Prefactor  = 0.0001
  Prefactor  = 13.0915
  Prefactor  = 6.18317
  Prefactor  = 14.2237
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.66058
  norm       = 3.26486
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.61214
  Prefactor  = 44.6393
  Prefactor  = 33.7551
  norm       = 0.000100001
  Prefactor  = 8.11323
  norm       = 0.0001
  norm       = 1.31177
  Normalizat = 0.78067
  Prefactor  = 1.02145
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.659     FROM HESSE     STATUS=OK           624 CALLS     4129 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.533        22.554        .12350E-03   -1.5059    
   2  Prefactor     .10000E-03    2.5494        .12060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.544        84.302        .12360E-03   -1.5058    
   4  norm          3.9659        5.4434        .20254E-03   -1.5310    
   5  Prefactor     .10000E-03    3.6967        .14442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1061        2.9183        .12249E-03   -1.5355    
   7  Prefactor     .10000E-03    24.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.0366        5.1689        .14353E-03   -1.5177    
   9  Prefactor     .10000E-03    12.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.9418        .16806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.9096        8.5113        .15267E-03   -1.5182    
  13  Prefactor     .10000E-03    42.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.091        10.545        .11071E-03   -1.4984    
  15  Prefactor     6.1832        6.0762        .16146E-03   -1.5211    
  16  Prefactor     14.224        21.002        .10610E-03   -1.4954    
  17  Prefactor     .10000E-03    19.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.6606        8.5861        .12893E-03   -1.5086    
  20  norm          3.2649        3.9542        .16533E-03   -1.5347    
  21  norm          .10000E-03    2.1678        .11100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.2410        .13580E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.6121        5.0929        .15068E-03   -1.5234    
  24  Prefactor     44.639        30.403        .59969E-04   -1.4371    
  25  Prefactor     33.755        39.924        .68908E-04   -1.4545    
  26  norm          .10000E-03    8.7589        .21318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     8.1132        11.705        .14080E-03   -1.5138    
  28  norm          .10000E-03    .25118        .37684E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          1.3118        3.9316        .24441E-03   -1.5479    
  30  Normalizat    .78067        .19341        .24158E-03   -1.0079    
  31  Prefactor     1.0214        .19877        .22426E-03   -.92018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89236e-09
Minuit parameter uncertainties:
  1  22.5727
  2  3.82198e-05
  3  59.7446
  4  5.44409
  5  3.8005e-06
  6  2.91846
  7  1.44837e-05
  8  5.16925
  9  6.10682e-06
  10  7.66907e-07
  11  1.72421e-05
  12  8.51277
  13  7.47517e-06
  14  10.5462
  15  6.07677
  16  21.0133
  17  1.74843e-06
  18  5.70268e-05
  19  8.58724
  20  3.95451
  21  5.27715e-06
  22  2.87488e-05
  23  5.09334
  24  30.414
  25  39.9552
  26  0.000150868
  27  11.7081
  28  1.27828e-06
  29  3.93235
  30  0.193581
  31  0.198917
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  6.183e+00  6.077e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.021e+00  1.989e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  7.807e-01  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.47
Ra Dec: 342.606 -42.109
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 2.32e-08 +/- 2.28e-08
Energy Flux (Fixed Index): 1.31e-05 +/- 1.29e-05

TS (Fixed Index): 1.47
Ra Dec: 342.606 -42.109
Photon Flux Upper Limit: 7.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/515593/likelihoodResults_526003201_526262401_4FGL_J2250.4-4206_daily_bin1106.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): 0
logL (Free Index) = 5996.65659247
delta logL = 0.00242922804864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5996.65480397
delta logL = 0.00421772925802

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6465       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0206       1.0000          .0000       10.000    
     3 'Normalizat'    .78267       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0200       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=   5996.655     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      246 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6472        8.4850        .15565E-03   -.19896E-03
   2  Index         2.0204        .73780        .71730E-02   -.44259E-04
   3  Normalizat    .78268        .18602        .24129E-03    .26550E-03
   4  Prefactor     1.0200        .19547        .22439E-03    .35765E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.64718
  Index      = 2.02039
  Normalizat = 0.782677
  Prefactor  = 1.02002
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.655     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6472        8.0873        .62260E-05   -1.5192    
   2  Index         2.0204        .70321        .28692E-03   -.63841    
   3  Normalizat    .78268        .18601        .96516E-05   -1.0071    
   4  Prefactor     1.0200        .19554        .44879E-04   -.92065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97473e-10
Minuit parameter uncertainties:
  1  8.08864
  2  0.706857
  3  0.186157
  4  0.195671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515593': 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) = 5996.65480393
delta logL = 0.00421776850726

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  6.647e+00  8.089e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.020e+00  7.069e-01  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.020e+00  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  7.827e-01  1.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.48
Ra Dec: 342.606 -42.109
Photon Index (Free Index): 2.02 +/- 0.71
Photon Flux (Free Index): 2.20e-08 +/- 2.56e-08
Energy Flux (Free Index): 1.44e-05 +/- 2.09e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/515593/cmap_HighResolution_526003201_526262401_4FGL_J2250.4-4206_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='2.32e-08', energy_flux2='1.44e-05', photon_flux_error='2.28e-08', dlogl='4.22e-03', energy_flux='1.31e-05', photon_flux2='2.20e-08', job_status='DONE', time_completed='2021-09-28 22:58:58.352109', photon_index_error2='0.71', photon_index2='2.02', ts='1.47', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='7.59e-08', energy_flux_error2='2.09e-05', EG='0.78', time_epoch_completed='1632895138.35', return_code='0', job_id='515593', GAL2='1.02', EG2='0.78', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='2.56e-08', ts2='1.48', photon_index='2.09' WHERE bin_id='1106' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:58:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 515593: <4FGL_J2250.4-4206_daily_bin1106> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1106 342.606 -42.1095 526003201 526262401 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 :                                   809.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            823 sec.

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

