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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1260
RA = 342.606, Dec = -42.1095
tmin = 565920001, tmax = 566179201
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='515819', job_status='RUN', time_executed='2021-09-28 22:49:31.809546', time_epoch_executed='1632894571.81' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1260'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515819

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515819/ft1_4FGL_J2250.4-4206_daily_bin1260.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515819/ft2_4FGL_J2250.4-4206_daily_bin1260.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515819/ft1_4FGL_J2250.4-4206_daily_bin1260.fits outfile=/scratch/kocevski/515819/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1260.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=565920001.0 tmax=566179201.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.58
user 3.39
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/515819/ft2_4FGL_J2250.4-4206_daily_bin1260.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/515819/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1260.fits evtable="EVENTS" outfile="/scratch/kocevski/515819/ft1_filtered_4FGL_J2250.4-4206_daily_bin1260.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515819/ft1_filtered_4FGL_J2250.4-4206_daily_bin1260.fits" evtable="EVENTS" scfile=/scratch/kocevski/515819/ft2_4FGL_J2250.4-4206_daily_bin1260.fits sctable="SC_DATA" outfile=/scratch/kocevski/515819/ltcube_565920001_566179201_4FGL_J2250.4-4206_daily_bin1260.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/515819/ft2_4FGL_J2250.4-4206_daily_bin1260.fits
.....................!
real 11.76
user 11.36
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515819/ft1_filtered_4FGL_J2250.4-4206_daily_bin1260.fits evtable="EVENTS" scfile=/scratch/kocevski/515819/ft2_4FGL_J2250.4-4206_daily_bin1260.fits sctable="SC_DATA" expcube=/scratch/kocevski/515819/ltcube_565920001_566179201_4FGL_J2250.4-4206_daily_bin1260.fits outfile=/scratch/kocevski/515819/expmap_565920001_566179201_4FGL_J2250.4-4206_daily_bin1260.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/515819/ltcube_565920001_566179201_4FGL_J2250.4-4206_daily_bin1260.fits
.....................!
real 192.84
user 187.70
sys 4.75

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/515819/ft1_filtered_4FGL_J2250.4-4206_daily_bin1260.fits scfile=/scratch/kocevski/515819/ft2_4FGL_J2250.4-4206_daily_bin1260.fits outfile=/scratch/kocevski/515819/cmap_565920001_566179201_4FGL_J2250.4-4206_daily_bin1260.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/515819/ft1_filtered_4FGL_J2250.4-4206_daily_bin1260.fits scfile=/scratch/kocevski/515819/ft2_4FGL_J2250.4-4206_daily_bin1260.fits outfile=/scratch/kocevski/515819/cmap_HighResolution_565920001_566179201_4FGL_J2250.4-4206_daily_bin1260.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/515819/ft1_filtered_4FGL_J2250.4-4206_daily_bin1260.fits evtable="EVENTS" scfile=/scratch/kocevski/515819/ft2_4FGL_J2250.4-4206_daily_bin1260.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/515819/Model_4FGL_J2250.4-4206_daily_bin1260.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/515819/ft1_filtered_4FGL_J2250.4-4206_daily_bin1260.fits.....................!
real 33.47
user 32.17
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .21117E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    133.58       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.3490       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10859E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16459E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    43.294       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.831       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    45.500       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    10.799       1.0000         .10000E-03   10000.    
    20 'norm      '    .74088       1.0000         .10000E-03   10000.    
    21 'norm      '    4.6826       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10533E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .14701E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    10.788       1.0000         .10000E-03   10000.    
    27 'Prefactor '    19.578       1.0000         .10000E-03   10000.    
    28 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    2.8462       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .86121       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0702       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=   3703.825     FROM MIGRAD    STATUS=CONVERGED    818 CALLS     4170 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.438        .25906E-06** at limit **
   2  Prefactor     .10129E-03    14.650       -.95008E-05** at limit **
   3  Prefactor     133.62        138.12        .15864E-04    .35328E-03
   4  norm          .10000E-03    9.4785       -.39461E-06** at limit **
   5  Prefactor     .10000E-03    6.4512       -.68165E-08** at limit **
   6  Prefactor     6.3495        5.1687        .34802E-06   -.28952E-03
   7  Prefactor     .10000E-03    337.26        .21232E-04** at limit **
   8  Prefactor     .10000E-03    3.9464       -.51613E-06** at limit **
   9  Prefactor     43.270        35.620       -.21865E-06    .16885E-04
  10  Prefactor     .10000E-03    16.484       -.45247E-06** at limit **
  11  Prefactor     19.839        29.316        .22098E-06    .12232E-03
  12  Prefactor     .10000E-03    9.2852        .20095E-07** at limit **
  13  Prefactor     .10000E-03    38.513       -.10289E-05** at limit **
  14  Prefactor     .10000E-03    10.209       -.23186E-06** at limit **
  15  Prefactor     .10000E-03    9.2097       -.11317E-06** at limit **
  16  Prefactor     45.472        49.159        .53587E-06    .76662E-04
  17  Prefactor     .10000E-03    177.75       -.33367E-05** at limit **
  18  Prefactor     .10000E-03    42.856       -.97687E-07** at limit **
  19  norm          10.798        10.724       -.50556E-07   -.38593E-04
  20  norm          .74180        10.125        .51292E-05    .51372E-03
  21  norm          4.6826        5.2341       -.76345E-07   -.67945E-04
  22  norm          .10000E-03    9.2131       -.10728E-08** at limit **
  23  Prefactor     .10000E-03    14.640        .17128E-06** at limit **
  24  Prefactor     .10000E-03    10.594        .62807E-08** at limit **
  25  Prefactor     .10001E-03    140.14       -.54211E-05** at limit **
  26  norm          10.787        6.2135       -.78586E-07   -.23326E-04
  27  Prefactor     19.581        20.942        .30923E-06   -.13025E-03
  28  norm          .10000E-03    .35276        .19472E-08** at limit **
  29  norm          2.8458        3.8923       -.19205E-07    .12010E-04
  30  Normalizat    .86126        .22972        .13306E-05    .21182E-03
  31  Prefactor     1.0703        .23271       -.39584E-06    .17997E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000101294
  Prefactor  = 133.616
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.34949
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 43.2702
  Prefactor  = 0.0001
  Prefactor  = 19.8385
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.472
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 10.7979
  norm       = 0.741799
  norm       = 4.68257
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 10.7873
  Prefactor  = 19.5813
  norm       = 0.0001
  norm       = 2.84576
  Normalizat = 0.861256
  Prefactor  = 1.07035
 **********
 **   18 **HESSE 
 **********

 FCN=   3703.825     FROM HESSE     STATUS=OK           612 CALLS     4782 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10129E-03    64.643        .32957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.62        141.50        .17421E-03   -1.3391    
   4  norm          .10000E-03    9.5313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.4763        .15090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.3495        5.1619        .11834E-03   -1.5204    
   7  Prefactor     .10000E-03    339.49        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.5649        .23376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     43.270        35.725        .60928E-04   -1.4391    
  10  Prefactor     .10000E-03    16.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.839        29.265        .89940E-04   -1.4817    
  12  Prefactor     .10000E-03    9.3425        .18100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    38.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.5307        .36063E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     45.472        49.163        .59439E-04   -1.4358    
  17  Prefactor     .10000E-03    179.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    43.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.798        10.726        .60958E-03   -1.5051    
  20  norm          .74180        10.592        .19049E-02   -1.5536    
  21  norm          4.6826        5.2370        .14117E-03   -1.5275    
  22  norm          .10000E-03    9.3292        .18037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    14.838        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    10.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10001E-03    142.04        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          10.787        6.2093        .10569E-03   -1.5051    
  27  Prefactor     19.581        20.813        .45260E-03   -1.4823    
  28  norm          .10000E-03    .35452        .35286E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          2.8458        3.8747        .13277E-03   -1.5371    
  30  Normalizat    .86126        .27193        .24695E-03   -.97835    
  31  Prefactor     1.0703        .27470        .23553E-03   -.90420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20448e-08
Minuit parameter uncertainties:
  1  0.000123225
  2  0.0183126
  3  141.859
  4  1.64503e-05
  5  1.16591e-05
  6  5.16223
  7  0.00106091
  8  9.93511e-05
  9  35.743
  10  0.000123691
  11  29.286
  12  5.27336e-06
  13  0.000318633
  14  3.86758e-05
  15  4.14859e-05
  16  49.2067
  17  0.00180932
  18  0.000222616
  19  10.7282
  20  5.60685
  21  5.23746
  22  6.53519e-06
  23  5.07586e-05
  24  5.81451e-06
  25  0.00202108
  26  6.20972
  27  20.8202
  28  8.52568e-07
  29  3.87503
  30  0.272358
  31  0.275063
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.070e+00  2.751e-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:  8.613e-01  2.724e-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: 6.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/515819/likelihoodResults_565920001_566179201_4FGL_J2250.4-4206_daily_bin1260.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) = 3703.82503863
delta logL = -0.000500809546793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3703.82453749
delta logL = 3.24970187648e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1257       1.0000          .0000       10.000    
     3 'Normalizat'    .86127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0703       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=   3703.825     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      215 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.8998        .47992E-01** at limit **
   2  Index         2.1697        2.8225        .50000       -.38973E-04
   3  Normalizat    .86126        .39051E-02    .44405E-01   -.16746E-03
   4  Prefactor     1.0703        .41286E-02    .38842E-01   -.24378E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.16969
  Normalizat = 0.861255
  Prefactor  = 1.07035
 **********
 **   18 **HESSE 
 **********

 FCN=   3703.825     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      248 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1364.2        .26865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1697        7.7223        .50000       -.60172    
   3  Normalizat    .86126        .72375E-01    .24695E-03   -.97835    
   4  Prefactor     1.0703        .76482E-01    .23553E-03   -.90420    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.29495e-07
Minuit parameter uncertainties:
  1  0.00190124
  2  47.0482
  3  0.0723827
  4  0.0764894
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515819': 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) = 3703.82453708
delta logL = 7.35693447496e-07

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.901e-03  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.170e+00  4.705e+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.070e+00  7.649e-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:  8.613e-01  7.238e-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/515819/cmap_HighResolution_565920001_566179201_4FGL_J2250.4-4206_daily_bin1260.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-03', job_status='DONE', photon_flux_upper_limit='6.80e-08', time_completed='2021-09-28 23:00:49.777772', job_id='515819', GAL2='1.07', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1632895249.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='7.36e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1260' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:00:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 515819: <4FGL_J2250.4-4206_daily_bin1260> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1260 342.606 -42.1095 565920001 566179201 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 :                                   651.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             224.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            917 sec.

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

