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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin298
RA = 342.606, Dec = -42.1095
tmin = 316569601, tmax = 316828801
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='510997', job_status='RUN', time_executed='2021-09-28 22:33:08.335635', time_epoch_executed='1632893588.34' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='298'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/510997

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/510997/ft1_4FGL_J2250.4-4206_daily_bin298.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/510997/ft2_4FGL_J2250.4-4206_daily_bin298.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/510997/ft1_4FGL_J2250.4-4206_daily_bin298.fits outfile=/scratch/kocevski/510997/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin298.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=316569601.0 tmax=316828801.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.49
user 3.27
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/510997/ft2_4FGL_J2250.4-4206_daily_bin298.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/510997/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin298.fits evtable="EVENTS" outfile="/scratch/kocevski/510997/ft1_filtered_4FGL_J2250.4-4206_daily_bin298.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/510997/ft1_filtered_4FGL_J2250.4-4206_daily_bin298.fits" evtable="EVENTS" scfile=/scratch/kocevski/510997/ft2_4FGL_J2250.4-4206_daily_bin298.fits sctable="SC_DATA" outfile=/scratch/kocevski/510997/ltcube_316569601_316828801_4FGL_J2250.4-4206_daily_bin298.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/510997/ft2_4FGL_J2250.4-4206_daily_bin298.fits
.....................!
real 12.66
user 12.23
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/510997/ft1_filtered_4FGL_J2250.4-4206_daily_bin298.fits evtable="EVENTS" scfile=/scratch/kocevski/510997/ft2_4FGL_J2250.4-4206_daily_bin298.fits sctable="SC_DATA" expcube=/scratch/kocevski/510997/ltcube_316569601_316828801_4FGL_J2250.4-4206_daily_bin298.fits outfile=/scratch/kocevski/510997/expmap_316569601_316828801_4FGL_J2250.4-4206_daily_bin298.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/510997/ltcube_316569601_316828801_4FGL_J2250.4-4206_daily_bin298.fits
.....................!
real 192.69
user 187.94
sys 4.32

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/510997/ft1_filtered_4FGL_J2250.4-4206_daily_bin298.fits scfile=/scratch/kocevski/510997/ft2_4FGL_J2250.4-4206_daily_bin298.fits outfile=/scratch/kocevski/510997/cmap_316569601_316828801_4FGL_J2250.4-4206_daily_bin298.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/510997/ft1_filtered_4FGL_J2250.4-4206_daily_bin298.fits scfile=/scratch/kocevski/510997/ft2_4FGL_J2250.4-4206_daily_bin298.fits outfile=/scratch/kocevski/510997/cmap_HighResolution_316569601_316828801_4FGL_J2250.4-4206_daily_bin298.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/510997/ft1_filtered_4FGL_J2250.4-4206_daily_bin298.fits evtable="EVENTS" scfile=/scratch/kocevski/510997/ft2_4FGL_J2250.4-4206_daily_bin298.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/510997/Model_4FGL_J2250.4-4206_daily_bin298.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/510997/ft1_filtered_4FGL_J2250.4-4206_daily_bin298.fits.....................!
real 41.14
user 39.71
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    73.818       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.547       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.5202       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .78099       1.0000         .10000E-03   10000.    
    10 'Prefactor '    79.090       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.2674       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.545       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5327       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8213       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    19.370       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10434E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    23.389       1.0000         .10000E-03   10000.    
    29 'norm      '    10.090       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.3464       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .59034       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=   4952.265     FROM MIGRAD    STATUS=CONVERGED    798 CALLS     4077 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     73.818        51.137        .53235E-06   -.65518E-04
   2  Prefactor     11.532        12.997       -.36966E-06   -.40553E-03
   3  Prefactor     .10000E-03    115.27        .86454E-05** at limit **
   4  norm          5.5198        6.2103       -.57333E-08   -.71844E-04
   5  Prefactor     .10000E-03    10.942       -.63544E-06** at limit **
   6  Prefactor     .10000E-03    1.1925       -.22269E-07** at limit **
   7  Prefactor     .10000E-03    13.836        .28514E-05** at limit **
   8  Prefactor     .10000E-03    2.1230       -.64631E-07** at limit **
   9  Prefactor     .67495        88.388        .54035E-04   -.19249E-03
  10  Prefactor     79.090        33.391       -.15843E-05   -.83954E-04
  11  Prefactor     .10000E-03    25.465        .11202E-05** at limit **
  12  Prefactor     9.2669        9.2414       -.18369E-06   -.21661E-03
  13  Prefactor     25.539        87.176        .34597E-05   -.15020E-04
  14  Prefactor     1.5311        30.188        .25105E-04    .35082E-03
  15  Prefactor     4.8214        6.9166        .18436E-05    .47006E-03
  16  Prefactor     .10000E-03    17.023       -.23228E-05** at limit **
  17  Prefactor     .10000E-03    29.830        .30836E-05** at limit **
  18  Prefactor     .10000E-03    6.8952        .69063E-06** at limit **
  19  norm          .10000E-03    6.6250       -.46610E-06** at limit **
  20  norm          .10000E-03    3.9779       -.14079E-07** at limit **
  21  norm          .10000E-03    3.3020       -.47463E-06** at limit **
  22  norm          .10000E-03    2.9472       -.66154E-07** at limit **
  23  Prefactor     .10000E-03    2.0639       -.14106E-07** at limit **
  24  Prefactor     19.367        41.712        .21977E-05    .67516E-04
  25  Prefactor     .10000E-03    21.781       -.20874E-05** at limit **
  26  norm          .10000E-03    5.0194       -.10700E-05** at limit **
  27  Prefactor     .10000E-03    6.6531       -.30388E-06** at limit **
  28  norm          23.389        3.1851        .47951E-07   -.29918E-03
  29  norm          10.090        7.4800        .23217E-06    .17922E-03
  30  Normalizat    1.3464        .22483       -.18338E-05    .75145E-04
  31  Prefactor     .59035        .21003       -.12869E-05   -.65836E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 73.8183
  Prefactor  = 11.5319
  Prefactor  = 0.0001
  norm       = 5.51976
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.674949
  Prefactor  = 79.0901
  Prefactor  = 0.0001
  Prefactor  = 9.2669
  Prefactor  = 25.539
  Prefactor  = 1.53106
  Prefactor  = 4.82145
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.367
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 23.3891
  norm       = 10.0901
  Normalizat = 1.34637
  Prefactor  = 0.590349
 **********
 **   18 **HESSE 
 **********

 FCN=   4952.265     FROM HESSE     STATUS=OK           612 CALLS     4689 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     73.818        51.123        .46730E-04   -1.3987    
   2  Prefactor     11.532        13.023        .11789E-03   -1.5029    
   3  Prefactor     .10000E-03    115.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.5198        6.2113        .17100E-03   -1.5238    
   5  Prefactor     .10000E-03    11.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.1949        .75039E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.1298        .10013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .67495        119.27        .55205E-02   -1.5544    
  10  Prefactor     79.090        33.412        .22579E-03   -1.3927    
  11  Prefactor     .10000E-03    25.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.2669        9.2399        .13165E-03   -1.5099    
  13  Prefactor     25.539        87.110        .79258E-04   -1.4697    
  14  Prefactor     1.5311        57.376        .17234E-02   -1.5460    
  15  Prefactor     4.8214        7.0731        .91608E-03   -1.5269    
  16  Prefactor     .10000E-03    17.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    29.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.8996        .18044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.6407        .17692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.9966        .13706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.3154        .12476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.9500        .11799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.0648        .98727E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     19.367        41.641        .91005E-04   -1.4828    
  25  Prefactor     .10000E-03    21.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    5.0652        .15313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    6.6607        .17727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          23.389        3.1956        .44667E-04   -1.4740    
  29  norm          10.090        7.4667        .12615E-03   -1.5073    
  30  Normalizat    1.3464        .27894        .24002E-03   -.82193    
  31  Prefactor     .59035        .25457        .33292E-03   -1.0799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2288e-09
Minuit parameter uncertainties:
  1  51.1535
  2  13.0258
  3  1.35041e-05
  4  6.21207
  5  5.61434e-05
  6  3.64308e-07
  7  7.8255e-06
  8  7.96746e-06
  9  17.9795
  10  33.4199
  11  0.000224684
  12  9.24131
  13  87.5482
  14  18.764
  15  7.07435
  16  1.93266e-05
  17  5.68386e-05
  18  1.50736e-05
  19  1.32471e-05
  20  6.58129e-07
  21  6.94467e-05
  22  8.66347e-06
  23  2.29362e-06
  24  41.7034
  25  5.16508e-06
  26  0.000195363
  27  9.20568e-06
  28  3.19566
  29  7.46742
  30  0.279254
  31  0.255069
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  4.821e+00  7.074e+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:  5.903e-01  2.551e-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.346e+00  2.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/510997/likelihoodResults_316569601_316828801_4FGL_J2250.4-4206_daily_bin298.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) = 4951.95674262
delta logL = 0.307845221678

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4951.94967491
delta logL = 0.314912927601

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1540       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8730       1.0000          .0000       10.000    
     3 'Normalizat'    1.3152       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60700       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=   4951.950     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      257 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1517        62.196        .70180E-02    .37319E-03
   2  Index         2.8746        3.6333        .10883        .12358E-03
   3  Normalizat    1.3152        .70817E-01    .54797E-01   -.15203E-05
   4  Prefactor     .60720        .63793E-01    .74182E-01    .19975E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.15166
  Index      = 2.87458
  Normalizat = 1.31522
  Prefactor  = 0.6072
 **********
 **   18 **HESSE 
 **********

 FCN=   4951.950     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1517        6.7722        .10300E-03   -1.5415    
   2  Index         2.8746        1.5047        .60680E-02   -.43905    
   3  Normalizat    1.3152        .26802        .24229E-03   -.83113    
   4  Prefactor     .60720        .25307        .32844E-03   -1.0728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81109e-08
Minuit parameter uncertainties:
  1  6.77464
  2  1.53389
  3  0.268301
  4  0.25355
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/510997': 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) = 4951.94966987
delta logL = 0.314917966144

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  2.152e+00  6.775e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.875e+00  1.534e+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:  6.072e-01  2.536e-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.315e+00  2.683e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 342.606 -42.109
Photon Index (Free Index): 2.87 +/- 1.53
Photon Flux (Free Index): 4.54e-08 +/- 5.53e-08
Energy Flux (Free Index): 9.70e-06 +/- 1.05e-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/510997/cmap_HighResolution_316569601_316828801_4FGL_J2250.4-4206_daily_bin298.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.84e-03', comment='SUCCESS', energy_flux2='9.70e-06', dlogl='3.15e-01', photon_flux2='4.54e-08', job_status='DONE', time_completed='2021-09-28 22:45:58.687763', photon_index_error2='1.53', photon_index2='2.87', ts='0.72', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', photon_flux_upper_limit='9.06e-08', energy_flux_error2='1.05e-05', EG='1.35', time_epoch_completed='1632894358.69', return_code='0', job_id='510997', GAL2='0.61', EG2='1.32', return_code2='0', photon_flux_error2='5.53e-08', ts2='1.36', photon_index='2.09' WHERE bin_id='298' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:45:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 510997: <4FGL_J2250.4-4206_daily_bin298> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin298 342.606 -42.1095 316569601 316828801 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 :                                   767.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             253.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            932 sec.

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

