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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1292
RA = 342.606, Dec = -42.1095
tmin = 574214401, tmax = 574473601
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='515865', job_status='RUN', time_executed='2021-09-28 22:46:40.000592', time_epoch_executed='1632894400.0' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1292'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515865

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515865/ft1_4FGL_J2250.4-4206_daily_bin1292.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515865/ft2_4FGL_J2250.4-4206_daily_bin1292.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515865/ft1_4FGL_J2250.4-4206_daily_bin1292.fits outfile=/scratch/kocevski/515865/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1292.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=574214401.0 tmax=574473601.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.55
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515865/ft1_filtered_4FGL_J2250.4-4206_daily_bin1292.fits" evtable="EVENTS" scfile=/scratch/kocevski/515865/ft2_4FGL_J2250.4-4206_daily_bin1292.fits sctable="SC_DATA" outfile=/scratch/kocevski/515865/ltcube_574214401_574473601_4FGL_J2250.4-4206_daily_bin1292.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/515865/ft2_4FGL_J2250.4-4206_daily_bin1292.fits
.....................!
real 11.76
user 11.41
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515865/ft1_filtered_4FGL_J2250.4-4206_daily_bin1292.fits evtable="EVENTS" scfile=/scratch/kocevski/515865/ft2_4FGL_J2250.4-4206_daily_bin1292.fits sctable="SC_DATA" expcube=/scratch/kocevski/515865/ltcube_574214401_574473601_4FGL_J2250.4-4206_daily_bin1292.fits outfile=/scratch/kocevski/515865/expmap_574214401_574473601_4FGL_J2250.4-4206_daily_bin1292.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/515865/ltcube_574214401_574473601_4FGL_J2250.4-4206_daily_bin1292.fits
.....................!
real 191.32
user 185.78
sys 5.22

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/515865/ft1_filtered_4FGL_J2250.4-4206_daily_bin1292.fits scfile=/scratch/kocevski/515865/ft2_4FGL_J2250.4-4206_daily_bin1292.fits outfile=/scratch/kocevski/515865/cmap_574214401_574473601_4FGL_J2250.4-4206_daily_bin1292.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/515865/ft1_filtered_4FGL_J2250.4-4206_daily_bin1292.fits scfile=/scratch/kocevski/515865/ft2_4FGL_J2250.4-4206_daily_bin1292.fits outfile=/scratch/kocevski/515865/cmap_HighResolution_574214401_574473601_4FGL_J2250.4-4206_daily_bin1292.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.57
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/515865/ft1_filtered_4FGL_J2250.4-4206_daily_bin1292.fits evtable="EVENTS" scfile=/scratch/kocevski/515865/ft2_4FGL_J2250.4-4206_daily_bin1292.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/515865/Model_4FGL_J2250.4-4206_daily_bin1292.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/515865/ft1_filtered_4FGL_J2250.4-4206_daily_bin1292.fits.....................!
real 41.68
user 40.38
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0540       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10708E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.547       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12335E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.917       1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.498       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.745       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .50908       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.017       1.0000         .10000E-03   10000.    
    19 'norm      '    19.176       1.0000         .10000E-03   10000.    
    20 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    10.311       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.4446       1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.610       1.0000         .10000E-03   10000.    
    25 'Prefactor '    33.969       1.0000         .10000E-03   10000.    
    26 'norm      '    3.7905       1.0000         .10000E-03   10000.    
    27 'Prefactor '    11.006       1.0000         .10000E-03   10000.    
    28 'norm      '    .15708E-01   1.0000         .10000E-03   10000.    
    29 'norm      '    .10270E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.1307       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .80182       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=   5357.375     FROM MIGRAD    STATUS=CONVERGED    795 CALLS     4146 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0359        71.425        .94027E-06   -.12254E-04
   2  Prefactor     .10000E-03    4.5938       -.10109E-05** at limit **
   3  Prefactor     24.491        57.860       -.51791E-06   -.60935E-04
   4  norm          .10000E-03    2.5489       -.12247E-07** at limit **
   5  Prefactor     .10000E-03    9.5058        .58391E-06** at limit **
   6  Prefactor     .10000E-03    1.5730        .49326E-07** at limit **
   7  Prefactor     .10000E-03    16.620        .10678E-06** at limit **
   8  Prefactor     10.922        7.4913       -.41337E-07   -.17271E-04
   9  Prefactor     36.510        26.180       -.47961E-07   -.20785E-04
  10  Prefactor     .10000E-03    11.303        .45035E-07** at limit **
  11  Prefactor     32.756        29.851        .78205E-07    .63491E-05
  12  Prefactor     .10000E-03    9.6569        .42131E-06** at limit **
  13  Prefactor     .10000E-03    40.089        .52908E-06** at limit **
  14  Prefactor     .10000E-03    5.6350        .20125E-06** at limit **
  15  Prefactor     .50861        9.7730        .56140E-05   -.87551E-04
  16  Prefactor     .10000E-03    34.837       -.25859E-06** at limit **
  17  Prefactor     .10000E-03    118.92        .13109E-05** at limit **
  18  Prefactor     18.011        13.324        .44723E-07    .33397E-05
  19  norm          19.177        11.937       -.38519E-08   -.40897E-05
  20  norm          .10000E-03    2.5896       -.27908E-07** at limit **
  21  norm          .10000E-03    1.7335       -.21775E-06** at limit **
  22  norm          10.311        7.5573        .76244E-06   -.27583E-04
  23  Prefactor     5.4434        5.7439       -.54138E-07   -.73809E-04
  24  Prefactor     11.522        34.358       -.42501E-05   -.80803E-04
  25  Prefactor     33.980        41.503        .39342E-08    .22069E-04
  26  norm          3.7948        3.7220        .12920E-05   -.22108E-04
  27  Prefactor     11.013        17.668        .66468E-07   -.14944E-04
  28  norm          .16767E-01    .53627       -.42894E-07    .29265E-03
  29  norm          .10000E-03    1.3753       -.46763E-06** at limit **
  30  Normalizat    1.1296        .20479        .10134E-05   -.17950E-03
  31  Prefactor     .80295        .19909       -.23636E-05   -.38167E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.03586
  Prefactor  = 0.0001
  Prefactor  = 24.491
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 10.9222
  Prefactor  = 36.5096
  Prefactor  = 0.0001
  Prefactor  = 32.7562
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.508607
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.0107
  norm       = 19.1768
  norm       = 0.0001
  norm       = 0.0001
  norm       = 10.3109
  Prefactor  = 5.44337
  Prefactor  = 11.522
  Prefactor  = 33.9804
  norm       = 3.79485
  Prefactor  = 11.0133
  norm       = 0.0167675
  norm       = 0.0001
  Normalizat = 1.12961
  Prefactor  = 0.802955
 **********
 **   18 **HESSE 
 **********

 FCN=   5357.375     FROM HESSE     STATUS=OK           624 CALLS     4770 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0359        71.600        .16318E-03   -1.5217    
   2  Prefactor     .10000E-03    4.6186        .15302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.491        58.047        .80851E-04   -1.4718    
   4  norm          .10000E-03    2.5518        .11412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.7832        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.783        .17714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.922        7.4880        .12126E-03   -1.5047    
   9  Prefactor     36.510        26.243        .66338E-04   -1.4499    
  10  Prefactor     .10000E-03    11.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.756        29.872        .70024E-04   -1.4563    
  12  Prefactor     .10000E-03    9.7307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    40.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.6571        .16968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .50861        9.9131        .43433E-02   -1.5565    
  16  Prefactor     .10000E-03    35.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    119.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.011        13.313        .94358E-04   -1.4859    
  19  norm          19.177        11.937        .91463E-04   -1.4832    
  20  norm          .10000E-03    2.5953        .11500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.7363        .94131E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          10.311        7.5643        .62389E-03   -1.5066    
  23  Prefactor     5.4434        5.7331        .15886E-03   -1.5241    
  24  Prefactor     11.522        34.512        .11757E-03   -1.5029    
  25  Prefactor     33.980        41.540        .68755E-04   -1.4541    
  26  norm          3.7948        3.7349        .57870E-03   -1.5318    
  27  Prefactor     11.013        17.602        .12076E-03   -1.5044    
  28  norm          .16767E-01    7.1301        .10019E-02   -1.5682    
  29  norm          .10000E-03    1.3820        .83731E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1296        .24047        .22762E-03   -.88807    
  31  Prefactor     .80295        .23189        .26729E-03   -.99619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3709e-07
Minuit parameter uncertainties:
  1  41.6394
  2  5.64251e-06
  3  58.1812
  4  7.87849e-07
  5  1.14822e-05
  6  0.000210753
  7  1.74583e-05
  8  7.48864
  9  26.2517
  10  2.06927e-05
  11  29.8859
  12  9.68391e-06
  13  0.000263547
  14  7.79571e-07
  15  4.49124
  16  0.000220847
  17  0.000405892
  18  13.315
  19  11.9386
  20  1.04154e-06
  21  2.5268e-06
  22  7.56503
  23  5.73365
  24  34.5718
  25  41.5758
  26  3.73513
  27  17.6098
  28  0.689549
  29  1.94025e-06
  30  0.240699
  31  0.232169
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  5.086e-01  4.491e+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:  8.030e-01  2.322e-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.130e+00  2.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/515865/likelihoodResults_574214401_574473601_4FGL_J2250.4-4206_daily_bin1292.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) = 5357.37483405
delta logL = 0.000108599458144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5357.37482769
delta logL = 0.000114958112135

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50861       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0540       1.0000          .0000       10.000    
     3 'Normalizat'    1.1298       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80286       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=   5357.375     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      265 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53131        11.343        .44123E-03   -.16619E-04
   2  Index         2.0484        2.2817        .78171E-02   -.11384E-04
   3  Normalizat    1.1297        .22257        .22761E-03   -.88409E-05
   4  Prefactor     .80288        .22573        .26730E-03   -.10590E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.531308
  Index      = 2.04836
  Normalizat = 1.12971
  Prefactor  = 0.802881
 **********
 **   18 **HESSE 
 **********

 FCN=   5357.375     FROM HESSE     STATUS=OK            23 CALLS      288 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53131        10.769        .17649E-04   -1.5562    
   2  Index         2.0484        2.2311        .31269E-03   -.63147    
   3  Normalizat    1.1297        .22279        .91043E-05   -.88804    
   4  Prefactor     .80288        .22593        .10692E-04   -.99622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57511e-11
Minuit parameter uncertainties:
  1  4.78461
  2  2.36399
  3  0.222977
  4  0.226191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515865': 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) = 5357.37481548
delta logL = 0.000127173249894

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  5.313e-01  4.785e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.048e+00  2.364e+00  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.029e-01  2.262e-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.130e+00  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/515865/cmap_HighResolution_574214401_574473601_4FGL_J2250.4-4206_daily_bin1292.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.77e-08', time_completed='2021-09-28 22:59:59.211008', job_id='515865', GAL2='0.80', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1632895199.21', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.27e-04', ts2='0.01', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1292' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:59:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 515865: <4FGL_J2250.4-4206_daily_bin1292> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1292> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:45:36 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:45:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 22:45:38 2021
Terminated at Tue Sep 28 22:59:59 2021
Results reported at Tue Sep 28 22:59:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1292 342.606 -42.1095 574214401 574473601 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 :                                   792.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            863 sec.

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

