/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 124 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 = 7382
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2250.4-4206_daily_bin230
RA = 342.606, Dec = -42.1095
tmin = 298944001, tmax = 299203201
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='510873', job_status='RUN', time_executed='2021-09-28 22:32:32.355534', time_epoch_executed='1632893552.36' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/510873

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/510873/ft1_4FGL_J2250.4-4206_daily_bin230.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/510873/ft2_4FGL_J2250.4-4206_daily_bin230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/510873/ft1_4FGL_J2250.4-4206_daily_bin230.fits outfile=/scratch/kocevski/510873/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin230.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=298944001.0 tmax=299203201.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.42
user 3.19
sys 0.22

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/510873/ft1_filtered_4FGL_J2250.4-4206_daily_bin230.fits" evtable="EVENTS" scfile=/scratch/kocevski/510873/ft2_4FGL_J2250.4-4206_daily_bin230.fits sctable="SC_DATA" outfile=/scratch/kocevski/510873/ltcube_298944001_299203201_4FGL_J2250.4-4206_daily_bin230.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/510873/ft2_4FGL_J2250.4-4206_daily_bin230.fits
.....................!
real 12.01
user 11.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/510873/ft1_filtered_4FGL_J2250.4-4206_daily_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/510873/ft2_4FGL_J2250.4-4206_daily_bin230.fits sctable="SC_DATA" expcube=/scratch/kocevski/510873/ltcube_298944001_299203201_4FGL_J2250.4-4206_daily_bin230.fits outfile=/scratch/kocevski/510873/expmap_298944001_299203201_4FGL_J2250.4-4206_daily_bin230.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/510873/ltcube_298944001_299203201_4FGL_J2250.4-4206_daily_bin230.fits
.....................!
real 191.01
user 184.86
sys 5.83

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/510873/ft1_filtered_4FGL_J2250.4-4206_daily_bin230.fits scfile=/scratch/kocevski/510873/ft2_4FGL_J2250.4-4206_daily_bin230.fits outfile=/scratch/kocevski/510873/cmap_298944001_299203201_4FGL_J2250.4-4206_daily_bin230.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.50
user 0.36
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/510873/ft1_filtered_4FGL_J2250.4-4206_daily_bin230.fits scfile=/scratch/kocevski/510873/ft2_4FGL_J2250.4-4206_daily_bin230.fits outfile=/scratch/kocevski/510873/cmap_HighResolution_298944001_299203201_4FGL_J2250.4-4206_daily_bin230.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/510873/ft1_filtered_4FGL_J2250.4-4206_daily_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/510873/ft2_4FGL_J2250.4-4206_daily_bin230.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/510873/Model_4FGL_J2250.4-4206_daily_bin230.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/510873/ft1_filtered_4FGL_J2250.4-4206_daily_bin230.fits.....................!
real 44.20
user 42.97
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.398       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .47089E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.362       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .37803       1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.167       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1491       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.211       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.363       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.219       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    8.3396       1.0000         .10000E-03   10000.    
    21 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.5102       1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.186       1.0000         .10000E-03   10000.    
    24 'Prefactor '    66.898       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .12242E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.9132       1.0000         .10000E-03   10000.    
    28 'norm      '    5.4844       1.0000         .10000E-03   10000.    
    29 'norm      '    3.3626       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.2312       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .80696       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=   5856.576     FROM MIGRAD    STATUS=CONVERGED    803 CALLS     4138 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.570        .14559E-04** at limit **
   2  Prefactor     19.392        11.592       -.44670E-06   -.25422E-03
   3  Prefactor     .10000E-03    66.136        .35073E-04** at limit **
   4  norm          .10000E-03    3.1407        .29712E-07** at limit **
   5  Prefactor     .10000E-03    2.2195        .70444E-07** at limit **
   6  Prefactor     .10002E-03    1.9117        .46347E-06** at limit **
   7  Prefactor     13.364        39.466        .39470E-05   -.18844E-04
   8  Prefactor     .43737        3.1148       -.26355E-06   -.30282E-03
   9  Prefactor     37.168        24.773        .18471E-06    .26429E-04
  10  Prefactor     4.1519        20.340       -.17020E-05   -.49646E-04
  11  Prefactor     .10000E-03    5.9824       -.32499E-06** at limit **
  12  Prefactor     19.209        11.312        .68149E-07    .46987E-05
  13  Prefactor     20.360        67.175       -.40950E-05    .21265E-05
  14  Prefactor     .10000E-03    4.2608        .19022E-06** at limit **
  15  Prefactor     16.221        9.9549       -.60009E-06   -.17724E-04
  16  Prefactor     .10000E-03    36.483       -.99670E-05** at limit **
  17  Prefactor     .10000E-03    83.955       -.42587E-04** at limit **
  18  Prefactor     .10000E-03    3.8296       -.21089E-06** at limit **
  19  norm          .10000E-03    24.588       -.16804E-04** at limit **
  20  norm          8.3400        7.7770       -.22906E-06   -.21245E-05
  21  norm          .10000E-03    1.7353        .27989E-07** at limit **
  22  norm          4.5112        6.2698       -.51428E-06   -.16508E-03
  23  Prefactor     10.186        8.6273       -.93339E-06    .76668E-04
  24  Prefactor     66.890        41.417       -.45016E-05    .91530E-05
  25  Prefactor     .10000E-03    21.948        .13230E-04** at limit **
  26  norm          .10000E-03    3.1877        .39435E-06** at limit **
  27  Prefactor     2.9110        20.160       -.10461E-05   -.80735E-04
  28  norm          5.4846        1.7115        .69615E-07    .99566E-04
  29  norm          3.3619        3.4575        .34296E-06    .71203E-04
  30  Normalizat    1.2314        .19749        .13849E-05    .65376E-05
  31  Prefactor     .80654        .19269       -.11179E-06    .10502E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.3919
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100021
  Prefactor  = 13.3645
  Prefactor  = 0.437366
  Prefactor  = 37.1676
  Prefactor  = 4.15193
  Prefactor  = 0.0001
  Prefactor  = 19.2092
  Prefactor  = 20.3604
  Prefactor  = 0.0001
  Prefactor  = 16.2212
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 8.34003
  norm       = 0.0001
  norm       = 4.51124
  Prefactor  = 10.1863
  Prefactor  = 66.89
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.91097
  norm       = 5.4846
  norm       = 3.36189
  Normalizat = 1.23141
  Prefactor  = 0.806544
 **********
 **   18 **HESSE 
 **********

 FCN=   5856.576     FROM HESSE     STATUS=OK           628 CALLS     4766 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.392        11.594        .90939E-04   -1.4827    
   3  Prefactor     .10000E-03    66.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.1514        .13245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.2225        .11134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    9.5016        .20131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.364        39.291        .10958E-03   -1.4977    
   8  Prefactor     .43737        16.936        .25409E-02   -1.5576    
   9  Prefactor     37.168        24.799        .65740E-04   -1.4488    
  10  Prefactor     4.1519        20.272        .19788E-03   -1.5300    
  11  Prefactor     .10000E-03    5.9848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.209        11.305        .91379E-04   -1.4831    
  13  Prefactor     20.360        67.158        .88760E-04   -1.4805    
  14  Prefactor     .10000E-03    4.2750        .15427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.221        9.9674        .99452E-04   -1.4902    
  16  Prefactor     .10000E-03    36.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    84.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.8314        .14626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    25.056        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          8.3400        7.7893        .13882E-03   -1.5130    
  21  norm          .10000E-03    1.7363        .98438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.5112        6.2668        .18958E-03   -1.5283    
  23  Prefactor     10.186        8.4736        .12555E-03   -1.5070    
  24  Prefactor     66.890        41.407        .49071E-04   -1.4070    
  25  Prefactor     .10000E-03    21.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    3.2238        .13276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2.9110        19.408        .23804E-03   -1.5367    
  28  norm          5.4846        1.7130        .51921E-04   -1.5240    
  29  norm          3.3619        3.4496        .13595E-03   -1.5341    
  30  Normalizat    1.2314        .24060        .23813E-03   -.85638    
  31  Prefactor     .80654        .23478        .28998E-03   -.99488    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98224e-09
Minuit parameter uncertainties:
  1  5.49084e-05
  2  11.5953
  3  1.93705e-05
  4  8.90311e-07
  5  1.63172e-06
  6  0.000895925
  7  39.3667
  8  5.44422
  9  24.8056
  10  18.3585
  11  9.7077e-08
  12  11.3065
  13  67.4094
  14  2.85503e-06
  15  9.96842
  16  1.53065e-05
  17  8.02721e-05
  18  1.15538e-06
  19  0.000270853
  20  7.79021
  21  5.24413e-06
  22  6.26772
  23  8.4746
  24  41.4243
  25  2.73009e-06
  26  5.37204e-05
  27  15.0396
  28  1.71303
  29  3.44977
  30  0.24082
  31  0.235074
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.622e+01  9.968e+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.065e-01  2.351e-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.231e+00  2.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.40
Ra Dec: 342.606 -42.109
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 6.09e-08 +/- 3.74e-08
Energy Flux (Fixed Index): 3.44e-05 +/- 2.11e-05

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) = 5856.16059413
delta logL = 0.415364936141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5856.15857839
delta logL = 0.417380679301

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.136       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5341       1.0000          .0000       10.000    
     3 'Normalizat'    1.1819       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83586       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=   5856.159     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      309 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.135        10.454        .11847E-03    .86944E-04
   2  Index         2.5341        .55872        .37832E-02    .58750E-03
   3  Normalizat    1.1818        .23919        .24223E-03   -.12457E-03
   4  Prefactor     .83603        .23538        .28520E-03   -.18556E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1352
  Index      = 2.53413
  Normalizat = 1.18182
  Prefactor  = 0.83603
 **********
 **   18 **HESSE 
 **********

 FCN=   5856.159     FROM HESSE     STATUS=OK            25 CALLS      334 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.135        9.3974        .47387E-05   -1.5071    
   2  Index         2.5341        .50191        .75664E-03   -.51574    
   3  Normalizat    1.1818        .23847        .48447E-04   -.87166    
   4  Prefactor     .83603        .23505        .11408E-04   -.98414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18152e-10
Minuit parameter uncertainties:
  1  9.39877
  2  0.503026
  3  0.238689
  4  0.235332
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/510873': 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) = 5856.15857793
delta logL = 0.417381139073

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.014e+01  9.399e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.534e+00  5.030e-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:  8.360e-01  2.353e-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.182e+00  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.22
Ra Dec: 342.606 -42.109
Photon Index (Free Index): 2.53 +/- 0.50
Photon Flux (Free Index): 9.79e-08 +/- 6.12e-08
Energy Flux (Free Index): 2.74e-05 +/- 1.50e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.09e-08', energy_flux2='2.74e-05', photon_flux_error='3.74e-08', dlogl='4.17e-01', energy_flux='3.44e-05', photon_flux2='9.79e-08', job_status='DONE', time_completed='2021-09-28 22:45:01.277853', photon_index_error2='0.50', photon_index2='2.53', ts='6.40', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.50e-05', EG='1.23', time_epoch_completed='1632894301.28', return_code='0', job_id='510873', GAL2='0.84', EG2='1.18', return_code2='0', energy_flux_error='2.11e-05', photon_flux_error2='6.12e-08', ts2='7.22', photon_index='2.09' WHERE bin_id='230' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:45:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 510873: <4FGL_J2250.4-4206_daily_bin230> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin230> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 22:30:18 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:30:20 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:30:20 2021
Terminated at Tue Sep 28 22:45:02 2021
Results reported at Tue Sep 28 22:45:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin230 342.606 -42.1095 298944001 299203201 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 :                                   747.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            884 sec.

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

