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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin386
RA = 342.606, Dec = -42.1095
tmin = 339379201, tmax = 339638401
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='511147', job_status='RUN', time_executed='2021-09-28 22:30:56.082595', time_epoch_executed='1632893456.08' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='386'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/511147

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/511147/ft1_4FGL_J2250.4-4206_daily_bin386.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/511147/ft2_4FGL_J2250.4-4206_daily_bin386.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/511147/ft1_4FGL_J2250.4-4206_daily_bin386.fits outfile=/scratch/kocevski/511147/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin386.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=339379201.0 tmax=339638401.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 5.87
user 5.64
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/511147/ft1_filtered_4FGL_J2250.4-4206_daily_bin386.fits" evtable="EVENTS" scfile=/scratch/kocevski/511147/ft2_4FGL_J2250.4-4206_daily_bin386.fits sctable="SC_DATA" outfile=/scratch/kocevski/511147/ltcube_339379201_339638401_4FGL_J2250.4-4206_daily_bin386.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/511147/ft2_4FGL_J2250.4-4206_daily_bin386.fits
.....................!
real 11.29
user 10.95
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/511147/ft1_filtered_4FGL_J2250.4-4206_daily_bin386.fits evtable="EVENTS" scfile=/scratch/kocevski/511147/ft2_4FGL_J2250.4-4206_daily_bin386.fits sctable="SC_DATA" expcube=/scratch/kocevski/511147/ltcube_339379201_339638401_4FGL_J2250.4-4206_daily_bin386.fits outfile=/scratch/kocevski/511147/expmap_339379201_339638401_4FGL_J2250.4-4206_daily_bin386.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/511147/ltcube_339379201_339638401_4FGL_J2250.4-4206_daily_bin386.fits
.....................!
real 190.37
user 185.50
sys 4.56

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/511147/ft1_filtered_4FGL_J2250.4-4206_daily_bin386.fits scfile=/scratch/kocevski/511147/ft2_4FGL_J2250.4-4206_daily_bin386.fits outfile=/scratch/kocevski/511147/cmap_339379201_339638401_4FGL_J2250.4-4206_daily_bin386.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/511147/ft1_filtered_4FGL_J2250.4-4206_daily_bin386.fits scfile=/scratch/kocevski/511147/ft2_4FGL_J2250.4-4206_daily_bin386.fits outfile=/scratch/kocevski/511147/cmap_HighResolution_339379201_339638401_4FGL_J2250.4-4206_daily_bin386.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.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/511147/ft1_filtered_4FGL_J2250.4-4206_daily_bin386.fits evtable="EVENTS" scfile=/scratch/kocevski/511147/ft2_4FGL_J2250.4-4206_daily_bin386.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/511147/Model_4FGL_J2250.4-4206_daily_bin386.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/511147/ft1_filtered_4FGL_J2250.4-4206_daily_bin386.fits.....................!
real 36.19
user 34.92
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    90.261       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2626       1.0000         .10000E-03   10000.    
     3 'Prefactor '    119.33       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.258       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.882       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.257       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10818E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.8352       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.029       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.3221       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.583       1.0000         .10000E-03   10000.    
    19 'norm      '    32.107       1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    23.359       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .15436E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    57.460       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10104E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    40.098       1.0000         .10000E-03   10000.    
    28 'norm      '    10.816       1.0000         .10000E-03   10000.    
    29 'norm      '    2.3424       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .82059       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .99191       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=   4219.515     FROM MIGRAD    STATUS=CONVERGED    774 CALLS     4064 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     90.239        63.190        .12677E-05   -.80408E-05
   2  Prefactor     3.2742        13.405        .18914E-05   -.95997E-05
   3  Prefactor     119.29        114.30        .30168E-05   -.54194E-05
   4  norm          .10000E-03    2.9565        .41266E-07** at limit **
   5  Prefactor     .10000E-03    3.2843       -.18116E-06** at limit **
   6  Prefactor     .10000E-03    1.7026        .37348E-08** at limit **
   7  Prefactor     .10000E-03    29.880        .17655E-06** at limit **
   8  Prefactor     10.260        7.9783       -.86903E-07   -.81318E-05
   9  Prefactor     16.882        24.548        .13157E-06   -.11171E-05
  10  Prefactor     .10000E-03    11.714        .21902E-07** at limit **
  11  Prefactor     33.245        35.752        .52120E-06   -.64351E-05
  12  Prefactor     .10000E-03    19.306       -.78285E-06** at limit **
  13  Prefactor     3.7933        749.11        .19501E-04   -.16509E-05
  14  Prefactor     13.036        17.510        .26097E-06   -.28180E-05
  15  Prefactor     8.3233        7.1342        .46382E-07   -.32681E-05
  16  Prefactor     .10000E-03    19.190       -.22214E-06** at limit **
  17  Prefactor     .10000E-03    76.529        .20105E-05** at limit **
  18  Prefactor     32.586        27.567       -.24920E-06    .47670E-07
  19  norm          32.108        24.920       -.86054E-07   -.55525E-06
  20  norm          .10000E-03    3.1294       -.64122E-07** at limit **
  21  norm          .10000E-03    2.9235        .27588E-07** at limit **
  22  norm          23.362        14.326        .16561E-06   -.19718E-05
  23  Prefactor     .10000E-03    10.407       -.15152E-06** at limit **
  24  Prefactor     57.476        47.577       -.15979E-05   -.14046E-04
  25  Prefactor     .10000E-03    70.451       -.22202E-05** at limit **
  26  norm          .10000E-03    3.2353        .43643E-06** at limit **
  27  Prefactor     40.087        27.552        .60322E-06   -.66127E-06
  28  norm          10.816        2.9167       -.37801E-08    .56509E-05
  29  norm          2.3430        4.1951        .28080E-06    .73913E-05
  30  Normalizat    .82003        .24510       -.23124E-06   -.19390E-04
  31  Prefactor     .99245        .23065       -.54190E-06   -.62619E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 90.2395
  Prefactor  = 3.27417
  Prefactor  = 119.289
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2596
  Prefactor  = 16.8824
  Prefactor  = 0.0001
  Prefactor  = 33.2453
  Prefactor  = 0.0001
  Prefactor  = 3.79335
  Prefactor  = 13.0363
  Prefactor  = 8.32325
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.5864
  norm       = 32.1083
  norm       = 0.0001
  norm       = 0.0001
  norm       = 23.3618
  Prefactor  = 0.0001
  Prefactor  = 57.4759
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 40.0867
  norm       = 10.8158
  norm       = 2.34298
  Normalizat = 0.820031
  Prefactor  = 0.992447
 **********
 **   18 **HESSE 
 **********

 FCN=   4219.515     FROM HESSE     STATUS=OK           624 CALLS     4688 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     90.239        63.327        .42295E-04   -1.3805    
   2  Prefactor     3.2742        13.496        .11210E-02   -1.5346    
   3  Prefactor     119.29        114.44        .18419E-03   -1.3519    
   4  norm          .10000E-03    2.9568        .10908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.2893        .11494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.7113        .82752E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    29.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.260        7.9795        .12510E-03   -1.5067    
   9  Prefactor     16.882        24.581        .97479E-04   -1.4886    
  10  Prefactor     .10000E-03    11.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.245        35.677        .69485E-04   -1.4554    
  12  Prefactor     .10000E-03    19.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.7933        752.35        .20608E-03   -1.5318    
  14  Prefactor     13.036        17.574        .11097E-03   -1.4986    
  15  Prefactor     8.3233        7.1370        .13897E-03   -1.5131    
  16  Prefactor     .10000E-03    19.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    76.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     32.586        27.603        .70198E-04   -1.4566    
  19  norm          32.108        24.917        .70715E-04   -1.4574    
  20  norm          .10000E-03    3.1300        .11222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.9269        .10844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          23.362        14.341        .82879E-04   -1.4741    
  23  Prefactor     .10000E-03    10.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     57.476        47.663        .52923E-04   -1.4190    
  25  Prefactor     .10000E-03    70.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    3.2680        .11419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     40.087        27.548        .63300E-04   -1.4441    
  28  norm          10.816        2.9238        .51219E-04   -1.5050    
  29  norm          2.3430        4.1616        .16789E-03   -1.5402    
  30  Normalizat    .82003        .29413        .29015E-03   -.99330    
  31  Prefactor     .99245        .27541        .26311E-03   -.92982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07849e-10
Minuit parameter uncertainties:
  1  63.3746
  2  13.3
  3  114.657
  4  1.32361e-06
  5  1.27838e-06
  6  3.22108e-07
  7  4.28614e-06
  8  7.98037
  9  24.5954
  10  2.83456e-06
  11  35.7001
  12  0.000127328
  13  108.251
  14  17.5808
  15  7.13774
  16  6.05928e-07
  17  1.43106e-06
  18  27.614
  19  24.9255
  20  1.95994e-07
  21  4.3801e-06
  22  14.3429
  23  1.60589e-05
  24  47.695
  25  3.23384e-05
  26  1.3e-05
  27  27.5563
  28  2.92386
  29  4.16215
  30  0.294702
  31  0.275798
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  8.323e+00  7.138e+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:  9.924e-01  2.758e-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:  8.200e-01  2.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.14
Ra Dec: 342.606 -42.109
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 3.12e-08 +/- 2.68e-08
Energy Flux (Fixed Index): 1.77e-05 +/- 1.51e-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) = 4219.41573474
delta logL = 0.0995357096917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4219.41366321
delta logL = 0.101607241238

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.148       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8044       1.0000          .0000       10.000    
     3 'Normalizat'    .82848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98884       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=   4219.414     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      307 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.160        9.4399        .62890E-03    .71187E-04
   2  Index         1.8054        .61793        .82399E-02    .21410E-04
   3  Normalizat    .82845        .27313        .28877E-03    .23346E-04
   4  Prefactor     .98882        .27145        .26354E-03    .20792E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1602
  Index      = 1.80543
  Normalizat = 0.828448
  Prefactor  = 0.988817
 **********
 **   18 **HESSE 
 **********

 FCN=   4219.414     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.160        9.3353        .25156E-04   -1.5070    
   2  Index         1.8054        .61114        .32959E-03   -.69308    
   3  Normalizat    .82845        .27333        .11551E-04   -.99022    
   4  Prefactor     .98882        .27169        .10542E-04   -.93103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3884e-12
Minuit parameter uncertainties:
  1  9.33659
  2  0.613741
  3  0.27379
  4  0.272064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/511147': 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) = 4219.41366037
delta logL = 0.101610080209

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.016e+01  9.337e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  1.805e+00  6.137e-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:  9.888e-01  2.721e-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:  8.284e-01  2.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.33
Ra Dec: 342.606 -42.109
Photon Index (Free Index): 1.81 +/- 0.61
Photon Flux (Free Index): 2.28e-08 +/- 2.71e-08
Energy Flux (Free Index): 2.69e-05 +/- 3.69e-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/511147/cmap_HighResolution_339379201_339638401_4FGL_J2250.4-4206_daily_bin386.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.12e-08', energy_flux2='2.69e-05', photon_flux_error='2.68e-08', dlogl='1.02e-01', energy_flux='1.77e-05', photon_flux2='2.28e-08', job_status='DONE', time_completed='2021-09-28 22:41:22.512263', photon_index_error2='0.61', photon_index2='1.81', ts='5.14', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.69e-05', EG='0.82', time_epoch_completed='1632894082.51', return_code='0', job_id='511147', GAL2='0.99', EG2='0.83', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='2.71e-08', ts2='5.33', photon_index='2.09' WHERE bin_id='386' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:41:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 511147: <4FGL_J2250.4-4206_daily_bin386> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin386> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 22:30:39 2021
Job was executed on host(s) <bullet0293>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:30:40 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:40 2021
Terminated at Tue Sep 28 22:41:23 2021
Results reported at Tue Sep 28 22:41:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin386 342.606 -42.1095 339379201 339638401 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 :                                   620.07 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            644 sec.

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

