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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1472
RA = 342.606, Dec = -42.1095
tmin = 620870401, tmax = 621129601
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='517178', job_status='RUN', time_executed='2021-09-28 22:50:25.026320', time_epoch_executed='1632894625.03' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1472'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/517178

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/517178/ft1_4FGL_J2250.4-4206_daily_bin1472.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/517178/ft2_4FGL_J2250.4-4206_daily_bin1472.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/517178/ft1_4FGL_J2250.4-4206_daily_bin1472.fits outfile=/scratch/kocevski/517178/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1472.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=620870401.0 tmax=621129601.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.19
user 2.98
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/517178/ft2_4FGL_J2250.4-4206_daily_bin1472.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/517178/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1472.fits evtable="EVENTS" outfile="/scratch/kocevski/517178/ft1_filtered_4FGL_J2250.4-4206_daily_bin1472.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/517178/ft1_filtered_4FGL_J2250.4-4206_daily_bin1472.fits" evtable="EVENTS" scfile=/scratch/kocevski/517178/ft2_4FGL_J2250.4-4206_daily_bin1472.fits sctable="SC_DATA" outfile=/scratch/kocevski/517178/ltcube_620870401_621129601_4FGL_J2250.4-4206_daily_bin1472.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/517178/ft2_4FGL_J2250.4-4206_daily_bin1472.fits
.....................!
real 12.27
user 11.86
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/517178/ft1_filtered_4FGL_J2250.4-4206_daily_bin1472.fits evtable="EVENTS" scfile=/scratch/kocevski/517178/ft2_4FGL_J2250.4-4206_daily_bin1472.fits sctable="SC_DATA" expcube=/scratch/kocevski/517178/ltcube_620870401_621129601_4FGL_J2250.4-4206_daily_bin1472.fits outfile=/scratch/kocevski/517178/expmap_620870401_621129601_4FGL_J2250.4-4206_daily_bin1472.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/517178/ltcube_620870401_621129601_4FGL_J2250.4-4206_daily_bin1472.fits
.....................!
real 193.75
user 188.70
sys 4.71

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/517178/ft1_filtered_4FGL_J2250.4-4206_daily_bin1472.fits scfile=/scratch/kocevski/517178/ft2_4FGL_J2250.4-4206_daily_bin1472.fits outfile=/scratch/kocevski/517178/cmap_620870401_621129601_4FGL_J2250.4-4206_daily_bin1472.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/517178/ft1_filtered_4FGL_J2250.4-4206_daily_bin1472.fits scfile=/scratch/kocevski/517178/ft2_4FGL_J2250.4-4206_daily_bin1472.fits outfile=/scratch/kocevski/517178/cmap_HighResolution_620870401_621129601_4FGL_J2250.4-4206_daily_bin1472.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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/517178/ft1_filtered_4FGL_J2250.4-4206_daily_bin1472.fits evtable="EVENTS" scfile=/scratch/kocevski/517178/ft2_4FGL_J2250.4-4206_daily_bin1472.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/517178/Model_4FGL_J2250.4-4206_daily_bin1472.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/517178/ft1_filtered_4FGL_J2250.4-4206_daily_bin1472.fits........!
real 14.07
user 12.87
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/517178/ft1_filtered_4FGL_J2250.4-4206_daily_bin1472.fits', '/scratch/kocevski/517178/ft2_4FGL_J2250.4-4206_daily_bin1472.fits', expMap='/scratch/kocevski/517178/expmap_620870401_621129601_4FGL_J2250.4-4206_daily_bin1472.fits', expCube='/scratch/kocevski/517178/ltcube_620870401_621129601_4FGL_J2250.4-4206_daily_bin1472.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/517178/Model_4FGL_J2250.4-4206_daily_bin1472.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/517178/ft1_filtered_4FGL_J2250.4-4206_daily_bin1472.fits
Spacecraft file(s): /scratch/kocevski/517178/ft2_4FGL_J2250.4-4206_daily_bin1472.fits
Exposure map: /scratch/kocevski/517178/expmap_620870401_621129601_4FGL_J2250.4-4206_daily_bin1472.fits
Exposure cube: /scratch/kocevski/517178/ltcube_620870401_621129601_4FGL_J2250.4-4206_daily_bin1472.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/517178/Model_4FGL_J2250.4-4206_daily_bin1472.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 109.773196338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 102.929347053

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13410E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .88938E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    50.661       1.0000         .10000E-03   10000.    
     4 'norm      '    .11534E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    242.63       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .77311       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11480E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    67.306       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .33571       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12522E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12630E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .55916       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.2114       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12396E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .37468       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.7149       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.2171       1.0000         .10000E-03   10000.    
    19 'norm      '    65.325       1.0000         .10000E-03   10000.    
    20 'norm      '    1.4561       1.0000         .10000E-03   10000.    
    21 'norm      '    2.7152       1.0000         .10000E-03   10000.    
    22 'norm      '    7.1966       1.0000         .10000E-03   10000.    
    23 'Prefactor '    631.93       1.0000         .10000E-03   10000.    
    24 'Prefactor '    8.8045       1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.1105       1.0000         .10000E-03   10000.    
    26 'norm      '    8.7210       1.0000         .10000E-03   10000.    
    27 'Prefactor '    77.340       1.0000         .10000E-03   10000.    
    28 'norm      '    9999.9       1.0000         .10000E-03   10000.    
    29 'norm      '    5.1033       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .40690       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .93031E-01   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   102.2351     FROM MIGRAD    STATUS=CONVERGED    720 CALLS     1770 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10010E-03    52.746        .15486E-05** at limit **
   2  Prefactor     .13110E-03    58.770       -.77734E-05** at limit **
   3  Prefactor     105.90        278.47       -.31600E-04   -.28926E-03
   4  norm          .10006E-03    15.524        .16126E-05** at limit **
   5  Prefactor     248.76        251.36        .12296E-04   -.36189E-04
   6  Prefactor     .10004E-03    19.467        .19375E-06** at limit **
   7  Prefactor     .10051E-03    424.64       -.27692E-05** at limit **
   8  Prefactor     .10003E-03    28.728       -.68424E-05** at limit **
   9  Prefactor     .33125E-03    1171.0       -.11350E-04** at limit **
  10  Prefactor     .10000E-03    434.00       -.11016E-05** at limit **
  11  Prefactor     .10016E-03    81.783        .19224E-06** at limit **
  12  Prefactor     .10008E-03    27.533       -.16721E-05** at limit **
  13  Prefactor     .10000E-03    343.44        .51079E-06** at limit **
  14  Prefactor     4.2114        1.0072         .0000         .0000    
  15  Prefactor     .10010E-03    435.23        .23855E-07** at limit **
  16  Prefactor     .10011E-03    278.02        .26894E-05** at limit **
  17  Prefactor     3194.9        5404.1        .35269E-04   -.33426E-02
  18  Prefactor     .11156E-03    1110.1       -.10162E-04** at limit **
  19  norm          9903.2        9089.3       -.36677E-03   -.12123E-01
  20  norm          .12134E-03    6634.1        .22688E-05** at limit **
  21  norm          1759.6        5029.5        .30827E-04   -.10684E-02
  22  norm          7.1966        1.0024         .0000         .0000    
  23  Prefactor     9996.4        9048.5       -.71411E-04    .65199E-02
  24  Prefactor     5164.8        5247.4        .52829E-04   -.47339E-02
  25  Prefactor     7.1105        1.0025         .0000         .0000    
  26  norm          4987.2        5171.8        .53333E-04   -.47723E-02
  27  Prefactor     9872.4        8654.1       -.22481E-03    .13928E-01
  28  norm         10000.0        6350.8        .74076E-04** at limit **
  29  norm          5599.9        5426.9        .68681E-04   -.33123E-02
  30  Normalizat    .19438        7.4191       -.85574E-04    .23086E-02
  31  Prefactor     .21881        1.7984        .66628E-04    .36589E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100097
  Prefactor  = 0.000131101
  Prefactor  = 105.895
  norm       = 0.000100062
  Prefactor  = 248.76
  Prefactor  = 0.000100036
  Prefactor  = 0.000100506
  Prefactor  = 0.000100034
  Prefactor  = 0.000331255
  Prefactor  = 0.000100002
  Prefactor  = 0.000100163
  Prefactor  = 0.000100083
  Prefactor  = 0.000100002
  Prefactor  = 4.21144
  Prefactor  = 0.000100097
  Prefactor  = 0.000100106
  Prefactor  = 3194.94
  Prefactor  = 0.000111564
  norm       = 9903.25
  norm       = 0.00012134
  norm       = 1759.55
  norm       = 7.19664
  Prefactor  = 9996.43
  Prefactor  = 5164.83
  Prefactor  = 7.11054
  norm       = 4987.24
  Prefactor  = 9872.42
  norm       = 10000
  norm       = 5599.88
  Normalizat = 0.194385
  Prefactor  = 0.218806
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   102.2351     FROM HESSE     STATUS=FAILED        63 CALLS     1833 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10010E-03    52.016        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .13110E-03    61.069        .94584E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     105.90        215.12        .14086E-02   -1.3646    
   4  norm          .10006E-03    15.571        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     248.76        244.84        .64993E-03   -1.2540    
   6  Prefactor     .10004E-03    18.649        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10051E-03    416.84        .12339E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10003E-03    27.305        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33125E-03    1170.9        .12231E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    428.02        .10581E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10016E-03    80.775        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10008E-03    27.293        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    340.48        .11510E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     539.79        535.52         .0000       -1.5298    
  15  Prefactor     .10010E-03    .20571        .23855E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10011E-03    .28879        .26894E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3194.9        16.829        .35269E-04   -.36935    
  18  Prefactor     .11156E-03    .40501E-01   -.10162E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9903.2        1.2151       -.36677E-03    1.3738    
  20  norm          .12134E-03    .19888        .22688E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1759.6        23.529        .30827E-04   -.70507    
  22  norm          7.1966        1.0024         .0000       -1.5171    
  23  Prefactor     9996.4        .77654E-01   -.71411E-04    1.6086    
  24  Prefactor     5164.8        16.876        .52829E-04    .32972E-01
  25  Prefactor     7.1105        1.0025         .0000       -1.5175    
  26  norm          4987.2        16.967        .53333E-04   -.25515E-02
  27  Prefactor     9872.4        1.2812       -.22481E-03    1.7972    
  28  norm         10000.0        .22508        .74076E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          5599.9        22.086        .68681E-04    .12027    
  30  Normalizat    .19438        .50159       -.85574E-04   -1.8434    
  31  Prefactor     .21881        .48231        .66628E-04   -1.8677    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.0142e-09
Minuit parameter uncertainties:
  1  0.00449423
  2  0.0872514
  3  216.739
  4  0.00197218
  5  245.857
  6  0.00162936
  7  0.0292631
  8  0.00191419
  9  1.06219
  10  0.00194147
  11  0.00726901
  12  0.00300798
  13  0.0015125
  14  1.00723
  15  0.000282862
  16  0.000350542
  17  16.8294
  18  0.00136875
  19  1.2151
  20  0.00412025
  21  23.5293
  22  1.00243
  23  0.0776542
  24  16.8763
  25  1.00249
  26  16.9666
  27  1.28116
  28  0.0019055
  29  22.0865
  30  0.514015
  31  0.491508
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 102.235081345

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.001e-04  2.829e-04  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:  2.188e-01  4.915e-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.944e-01  5.140e-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: 9.43e-06 ph cm-2 s-1
Energy Flux Upper Limit: 7.12e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/517178/likelihoodResults_620870401_621129601_4FGL_J2250.4-4206_daily_bin1472.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) = 102.235092279
delta logL = -1.09348309252e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 102.235092153
delta logL = -1.08086485255e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95185E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0862       1.0000          .0000       10.000    
     3 'Normalizat'    .19396       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .21923       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=   102.2351     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      202 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    757.17        .90827E-02** at limit **
   2  Index         2.0586        5.7113        .50000        .50872E-06
   3  Normalizat    .19402        .21367E-01    .59736E-01   -.12017E-05
   4  Prefactor     .21929        .16938E-01    .35571E-01    .14526E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Index      = 2.0586
  Normalizat = 0.194023
  Prefactor  = 0.219285
 **********
 **   18 **HESSE 
 **********

 FCN=   102.2351     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      235 TOTAL
                     EDM=   .69E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    6685.4        .18165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0586        8.5397        .50000       -.62893    
   3  Normalizat    .19402        .47614E-01    .26472E-03   -1.2985    
   4  Prefactor     .21929        .37843E-01    .19248E-03   -1.2735    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.88814e-08
Minuit parameter uncertainties:
  1  0.0100118
  2  1995.67
  3  0.0476245
  4  0.0378473
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/517178': 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) = 102.235081053
delta logL = 2.92091684173e-07

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.001e-02  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.059e+00  1.996e+03  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:  2.193e-01  3.785e-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:  1.940e-01  4.762e-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/517178/cmap_HighResolution_620870401_621129601_4FGL_J2250.4-4206_daily_bin1472.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-01', job_status='DONE', photon_flux_upper_limit='9.43e-06', time_completed='2021-09-28 22:55:55.552260', job_id='517178', GAL2='0.22', fit_tolerance='1e-08', EG2='0.19', EG='0.19', time_epoch_completed='1632894955.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.22', dlogl='2.92e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1472' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:55:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 517178: <4FGL_J2250.4-4206_daily_bin1472> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1472> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:50:14 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:50:15 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:50:15 2021
Terminated at Tue Sep 28 22:55:56 2021
Results reported at Tue Sep 28 22:55:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1472 342.606 -42.1095 620870401 621129601 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 :                                   327.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             244.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   340 sec.
    Turnaround time :                            342 sec.

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

