/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 120 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 = 7418
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2250.4-4206_daily_bin120
RA = 342.606, Dec = -42.1095
tmin = 270432001, tmax = 270691201
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='509770', job_status='RUN', time_executed='2021-09-28 22:28:12.220103', time_epoch_executed='1632893292.22' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='120'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/509770

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/509770/ft1_4FGL_J2250.4-4206_daily_bin120.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/509770/ft2_4FGL_J2250.4-4206_daily_bin120.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/509770/ft1_4FGL_J2250.4-4206_daily_bin120.fits outfile=/scratch/kocevski/509770/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin120.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=270432001.0 tmax=270691201.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 1.64
user 1.46
sys 0.16

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/509770/ft1_filtered_4FGL_J2250.4-4206_daily_bin120.fits" evtable="EVENTS" scfile=/scratch/kocevski/509770/ft2_4FGL_J2250.4-4206_daily_bin120.fits sctable="SC_DATA" outfile=/scratch/kocevski/509770/ltcube_270432001_270691201_4FGL_J2250.4-4206_daily_bin120.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/509770/ft2_4FGL_J2250.4-4206_daily_bin120.fits
.....................!
real 12.49
user 12.15
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/509770/ft1_filtered_4FGL_J2250.4-4206_daily_bin120.fits evtable="EVENTS" scfile=/scratch/kocevski/509770/ft2_4FGL_J2250.4-4206_daily_bin120.fits sctable="SC_DATA" expcube=/scratch/kocevski/509770/ltcube_270432001_270691201_4FGL_J2250.4-4206_daily_bin120.fits outfile=/scratch/kocevski/509770/expmap_270432001_270691201_4FGL_J2250.4-4206_daily_bin120.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/509770/ltcube_270432001_270691201_4FGL_J2250.4-4206_daily_bin120.fits
.....................!
real 190.63
user 185.34
sys 4.95

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/509770/ft1_filtered_4FGL_J2250.4-4206_daily_bin120.fits scfile=/scratch/kocevski/509770/ft2_4FGL_J2250.4-4206_daily_bin120.fits outfile=/scratch/kocevski/509770/cmap_270432001_270691201_4FGL_J2250.4-4206_daily_bin120.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/509770/ft1_filtered_4FGL_J2250.4-4206_daily_bin120.fits scfile=/scratch/kocevski/509770/ft2_4FGL_J2250.4-4206_daily_bin120.fits outfile=/scratch/kocevski/509770/cmap_HighResolution_270432001_270691201_4FGL_J2250.4-4206_daily_bin120.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/509770/ft1_filtered_4FGL_J2250.4-4206_daily_bin120.fits evtable="EVENTS" scfile=/scratch/kocevski/509770/ft2_4FGL_J2250.4-4206_daily_bin120.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/509770/Model_4FGL_J2250.4-4206_daily_bin120.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/509770/ft1_filtered_4FGL_J2250.4-4206_daily_bin120.fits.....................!
real 40.06
user 38.77
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15252       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.601       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16373E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    7.6809       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8610       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0512       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.728       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.039       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11325E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .18293E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    9.3520       1.0000         .10000E-03   10000.    
    22 'norm      '    1.2124       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11857E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    26.049       1.0000         .10000E-03   10000.    
    25 'Prefactor '    33.493       1.0000         .10000E-03   10000.    
    26 'norm      '    4.8052       1.0000         .10000E-03   10000.    
    27 'Prefactor '    27.830       1.0000         .10000E-03   10000.    
    28 'norm      '    .36030       1.0000         .10000E-03   10000.    
    29 'norm      '    5.7767       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .76698       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1596       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=   4989.145     FROM MIGRAD    STATUS=CONVERGED    918 CALLS     4358 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74268        69.472        .10351E-05   -.13636E-04
   2  Prefactor     26.560        14.809        .26934E-06    .41095E-03
   3  Prefactor     .10002E-03    501.21       -.42405E-05** at limit **
   4  norm          7.6828        7.6094       -.56260E-07   -.10873E-04
   5  Prefactor     3.8641        6.0813        .11897E-06    .30544E-04
   6  Prefactor     1.0537        3.3101        .14429E-07    .10870E-03
   7  Prefactor     .10000E-03    70.025       -.28872E-06** at limit **
   8  Prefactor     .10000E-03    2.6844        .72329E-07** at limit **
   9  Prefactor     .10000E-03    18.572       -.20342E-06** at limit **
  10  Prefactor     .10000E-03    19.715        .26436E-06** at limit **
  11  Prefactor     18.740        30.629        .14643E-05    .94039E-04
  12  Prefactor     .10000E-03    4.8640        .84689E-07** at limit **
  13  Prefactor     .10000E-03    35.486        .99841E-06** at limit **
  14  Prefactor     28.048        16.296       -.55830E-07   -.81639E-04
  15  Prefactor     .10000E-03    5.8469       -.39070E-08** at limit **
  16  Prefactor     .10000E-03    15.984        .31839E-07** at limit **
  17  Prefactor     .10000E-03    26.788        .19253E-05** at limit **
  18  Prefactor     .10031E-03    27.845       -.45545E-05** at limit **
  19  norm          .10000E-03    4.1571       -.15886E-08** at limit **
  20  norm          .10002E-03    17.259        .26384E-05** at limit **
  21  norm          9.3538        7.5408        .23720E-06    .51023E-04
  22  norm          1.2181        12.468        .64740E-07    .82434E-04
  23  Prefactor     .10001E-03    10.209       -.85521E-06** at limit **
  24  Prefactor     26.078        60.374        .64367E-06   -.55742E-05
  25  Prefactor     33.576        74.040        .92489E-06    .15670E-05
  26  norm          4.8039        6.9960       -.48603E-06    .63485E-03
  27  Prefactor     27.799        19.839       -.14789E-07    .40036E-03
  28  norm          .35891        1.2043        .11862E-05    .11885E-02
  29  norm          5.7792        5.8555        .16137E-06    .63526E-04
  30  Normalizat    .76717        .21205       -.79883E-06    .16884E-03
  31  Prefactor     1.1590        .19758       -.29411E-06    .10365E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.742676
  Prefactor  = 26.5605
  Prefactor  = 0.000100022
  norm       = 7.6828
  Prefactor  = 3.86408
  Prefactor  = 1.05375
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.7402
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.0485
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100309
  norm       = 0.0001
  norm       = 0.000100021
  norm       = 9.35377
  norm       = 1.21811
  Prefactor  = 0.000100007
  Prefactor  = 26.0777
  Prefactor  = 33.5764
  norm       = 4.80386
  Prefactor  = 27.7993
  norm       = 0.358909
  norm       = 5.77915
  Normalizat = 0.767168
  Prefactor  = 1.15903
 **********
 **   18 **HESSE 
 **********

 FCN=   4989.145     FROM HESSE     STATUS=OK           634 CALLS     4992 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74268        68.664        .13381       -1.5536    
   2  Prefactor     26.560        15.605        .77672E-04   -1.4677    
   3  Prefactor     .10002E-03    517.47        .20401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.6828        7.6119        .14469E-03   -1.5154    
   5  Prefactor     3.8641        6.0680        .20537E-03   -1.5315    
   6  Prefactor     1.0537        3.2442        .21539E-03   -1.5503    
   7  Prefactor     .10000E-03    70.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.7033        .11295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.740        30.617        .92550E-04   -1.4842    
  12  Prefactor     .10000E-03    4.8704        .15199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    35.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     28.048        16.349        .75658E-04   -1.4648    
  15  Prefactor     .10000E-03    5.9057        .16673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    26.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10031E-03    167.79        .52227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.1586        .14065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10002E-03    26.232        .33355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          9.3538        7.5578        .13105E-03   -1.5096    
  22  norm          1.2181        12.337        .41067E-03   -1.5487    
  23  Prefactor     .10001E-03    44.214        .35906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     26.078        62.211        .78489E-04   -1.4686    
  25  Prefactor     33.576        73.592        .69240E-04   -1.4548    
  26  norm          4.8039        7.4024        .84443E-03   -1.5270    
  27  Prefactor     27.799        17.545        .75942E-04   -1.4653    
  28  norm          .35891        1.2386        .13361E-03   -1.5588    
  29  norm          5.7792        5.8282        .15512E-03   -1.5227    
  30  Normalizat    .76717        .25691        .27400E-03   -1.0130    
  31  Prefactor     1.1590        .24317        .23171E-03   -.87602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18733e-09
Minuit parameter uncertainties:
  1  14.2982
  2  15.6075
  3  0.00683382
  4  7.61284
  5  6.06894
  6  3.24478
  7  4.11233e-05
  8  3.07841e-06
  9  1.09631e-05
  10  6.55122e-05
  11  30.6424
  12  1.5758e-05
  13  0.00013009
  14  16.3517
  15  1.52865e-05
  16  2.56297e-06
  17  0.00027654
  18  0.0144333
  19  7.76964e-07
  20  0.00147722
  21  7.55853
  22  7.75504
  23  0.00107814
  24  62.3666
  25  73.792
  26  7.40383
  27  17.548
  28  1.23867
  29  5.82876
  30  0.257313
  31  0.243403
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.529e-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.159e+00  2.434e-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.672e-01  2.573e-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.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/509770/likelihoodResults_270432001_270691201_4FGL_J2250.4-4206_daily_bin120.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) = 4989.14560301
delta logL = -0.000806589607237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4989.14479651
delta logL = -9.29840098252e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0812       1.0000          .0000       10.000    
     3 'Normalizat'    .76714       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1591       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=   4989.145     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      212 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    94.922        .90712E-02** at limit **
   2  Index         2.0759        8.9588        .50000        .72554E-05
   3  Normalizat    .76717        .19257E-01    .61943E-01    .44378E-04
   4  Prefactor     1.1590        .19720E-01    .52410E-01    .29609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.0759
  Normalizat = 0.767167
  Prefactor  = 1.15903
 **********
 **   18 **HESSE 
 **********

 FCN=   4989.145     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      245 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    806.03        .16695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0759        6.7024        .50000       -.62466    
   3  Normalizat    .76717        .69707E-01    .27400E-03   -1.0130    
   4  Prefactor     1.1590        .71428E-01    .23171E-03   -.87602    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01364e-08
Minuit parameter uncertainties:
  1  0.000175177
  2  48.0428
  3  0.0697155
  4  0.0714335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/509770': 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) = 4989.1447964
delta logL = 1.87610567082e-08

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.752e-04  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.076e+00  4.804e+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.159e+00  7.143e-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:  7.672e-01  6.972e-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/509770/cmap_HighResolution_270432001_270691201_4FGL_J2250.4-4206_daily_bin120.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.00e-03', job_status='DONE', photon_flux_upper_limit='6.62e-08', time_completed='2021-09-28 22:40:52.077911', job_id='509770', GAL2='1.16', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1632894052.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.88e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='120' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:40:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 509770: <4FGL_J2250.4-4206_daily_bin120> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin120> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:26:03 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:26:05 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:26:05 2021
Terminated at Tue Sep 28 22:40:52 2021
Results reported at Tue Sep 28 22:40:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin120 342.606 -42.1095 270432001 270691201 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 :                                   756.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            889 sec.

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

