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


Performing analysis on: 4FGL_J2250.0-1250_daily_bin736
RA = 342.505, Dec = -12.8485
tmin = 430099201, tmax = 430358401
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='503146', job_status='RUN', time_executed='2021-09-28 22:17:08.928283', time_epoch_executed='1632892628.93' WHERE source_name='4FGL J2250.0-1250' and cadence='daily' and bin_id='736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/503146

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/503146/ft1_4FGL_J2250.0-1250_daily_bin736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/503146/ft2_4FGL_J2250.0-1250_daily_bin736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/503146/ft1_4FGL_J2250.0-1250_daily_bin736.fits outfile=/scratch/kocevski/503146/ft1_filteredMKT_4FGL_J2250.0-1250_daily_bin736.fits ra=342.505 dec=-12.8485 rad=12.0 tmin=430099201.0 tmax=430358401.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 11.13
user 10.80
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/503146/ft2_4FGL_J2250.0-1250_daily_bin736.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/503146/ft2_4FGL_J2250.0-1250_daily_bin736.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/503146/ft1_filteredMKT_4FGL_J2250.0-1250_daily_bin736.fits evtable="EVENTS" outfile="/scratch/kocevski/503146/ft1_filtered_4FGL_J2250.0-1250_daily_bin736.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/503146/ft1_filtered_4FGL_J2250.0-1250_daily_bin736.fits" evtable="EVENTS" scfile=/scratch/kocevski/503146/ft2_4FGL_J2250.0-1250_daily_bin736.fits sctable="SC_DATA" outfile=/scratch/kocevski/503146/ltcube_430099201_430358401_4FGL_J2250.0-1250_daily_bin736.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/503146/ft2_4FGL_J2250.0-1250_daily_bin736.fits
.....................!
real 10.99
user 10.60
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/503146/ft1_filtered_4FGL_J2250.0-1250_daily_bin736.fits evtable="EVENTS" scfile=/scratch/kocevski/503146/ft2_4FGL_J2250.0-1250_daily_bin736.fits sctable="SC_DATA" expcube=/scratch/kocevski/503146/ltcube_430099201_430358401_4FGL_J2250.0-1250_daily_bin736.fits outfile=/scratch/kocevski/503146/expmap_430099201_430358401_4FGL_J2250.0-1250_daily_bin736.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/503146/ltcube_430099201_430358401_4FGL_J2250.0-1250_daily_bin736.fits
.....................!
real 190.29
user 185.40
sys 4.57

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 153 point sources and 0 extended sources

Setting source of interest to:
4FGL J2250.0-1250 @ 342.505 -12.8485

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/503146/ft1_filtered_4FGL_J2250.0-1250_daily_bin736.fits scfile=/scratch/kocevski/503146/ft2_4FGL_J2250.0-1250_daily_bin736.fits outfile=/scratch/kocevski/503146/cmap_430099201_430358401_4FGL_J2250.0-1250_daily_bin736.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.505 yref=-12.8485 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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/503146/ft1_filtered_4FGL_J2250.0-1250_daily_bin736.fits scfile=/scratch/kocevski/503146/ft2_4FGL_J2250.0-1250_daily_bin736.fits outfile=/scratch/kocevski/503146/cmap_HighResolution_430099201_430358401_4FGL_J2250.0-1250_daily_bin736.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.505 yref=-12.8485 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/503146/ft1_filtered_4FGL_J2250.0-1250_daily_bin736.fits evtable="EVENTS" scfile=/scratch/kocevski/503146/ft2_4FGL_J2250.0-1250_daily_bin736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/503146/Model_4FGL_J2250.0-1250_daily_bin736.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/503146/ft1_filtered_4FGL_J2250.0-1250_daily_bin736.fits.....................!
real 27.31
user 26.09
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/503146/ft1_filtered_4FGL_J2250.0-1250_daily_bin736.fits', '/scratch/kocevski/503146/ft2_4FGL_J2250.0-1250_daily_bin736.fits', expMap='/scratch/kocevski/503146/expmap_430099201_430358401_4FGL_J2250.0-1250_daily_bin736.fits', expCube='/scratch/kocevski/503146/ltcube_430099201_430358401_4FGL_J2250.0-1250_daily_bin736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/503146/Model_4FGL_J2250.0-1250_daily_bin736.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.0-1250'

4FGL J2250.0-1250
   Spectrum: LogParabola
266         norm:  3.029e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.389e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  1.341e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.722e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/503146/ft1_filtered_4FGL_J2250.0-1250_daily_bin736.fits
Spacecraft file(s): /scratch/kocevski/503146/ft2_4FGL_J2250.0-1250_daily_bin736.fits
Exposure map: /scratch/kocevski/503146/expmap_430099201_430358401_4FGL_J2250.0-1250_daily_bin736.fits
Exposure cube: /scratch/kocevski/503146/ltcube_430099201_430358401_4FGL_J2250.0-1250_daily_bin736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/503146/Model_4FGL_J2250.0-1250_daily_bin736.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) = 2037.47586012

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.172       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.912       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10265E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .95638E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    60.705       1.0000         .10000E-03   10000.    
     6 'norm      '    12.265       1.0000         .10000E-03   10000.    
     7 'Prefactor '    114.10       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .82629       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .45683       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.7587       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.9212       1.0000         .10000E-03   10000.    
    16 'Prefactor '    79.152       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .76177       1.0000         .10000E-03   10000.    
    20 'Prefactor '    213.57       1.0000         .10000E-03   10000.    
    21 'Prefactor '    43.799       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99151       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2037.360     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2712 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.181        21.733        .67777E-06   -.28360E-04
   2  Prefactor     11.008        31.288       -.26515E-05   -.49919E-04
   3  Prefactor     .10000E-03    139.65        .43264E-06** at limit **
   4  Prefactor     .34781E-01    8.7317       -.17921E-07    .11081E-03
   5  Prefactor     60.708        75.782        .30433E-08   -.98816E-05
   6  norm          12.272        8.5856       -.14868E-06   -.95559E-04
   7  Prefactor     113.51        165.94        .34964E-05    .87956E-04
   8  Prefactor     .10000E-03    53.293        .10263E-05** at limit **
   9  norm          .82621        1.4936        .16515E-06    .35922E-03
  10  Prefactor     .10000E-03    15.686        .46671E-07** at limit **
  11  norm          .10000E-03    1.2228        .77005E-07** at limit **
  12  Prefactor     .53023        146.30       -.13907E-04    .24690E-03
  13  Prefactor     8.7561        18.349       -.22347E-06   -.72974E-05
  14  Prefactor     .10000E-03    10.497        .11677E-06** at limit **
  15  norm          6.9132        16.676       -.46379E-06   -.14787E-04
  16  Prefactor     79.112        93.780        .11440E-05   -.60752E-05
  17  Prefactor     .10000E-03    27.794        .13490E-06** at limit **
  18  Prefactor     .10000E-03    9.5018       -.23709E-06** at limit **
  19  norm          .75766        19.277        .13860E-05    .13345E-03
  20  Prefactor     213.63        155.21        .34178E-06   -.25545E-04
  21  Prefactor     43.775        49.650        .27884E-06   -.10014E-04
  22  Normalizat    .98979        .38599       -.10637E-04   -.20087E-03
  23  Prefactor     .92393        .30260        .70477E-05    .75753E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1812
  Prefactor  = 11.008
  Prefactor  = 0.0001
  Prefactor  = 0.0347813
  Prefactor  = 60.708
  norm       = 12.2718
  Prefactor  = 113.508
  Prefactor  = 0.000100002
  norm       = 0.826207
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.530231
  Prefactor  = 8.75607
  Prefactor  = 0.0001
  norm       = 6.91322
  Prefactor  = 79.1125
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.757664
  Prefactor  = 213.633
  Prefactor  = 43.7751
  Normalizat = 0.989793
  Prefactor  = 0.923934
 **********
 **   18 **HESSE 
 **********

 FCN=   2037.360     FROM HESSE     STATUS=OK           378 CALLS     3090 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.181        21.824        .11037E-03   -1.4982    
   2  Prefactor     11.008        36.818        .12129E-03   -1.5044    
   3  Prefactor     .10000E-03    139.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .34781E-01    32.107        .37198E-01   -1.5671    
   5  Prefactor     60.708        75.799        .51497E-04   -1.4148    
   6  norm          12.272        8.6136        .10219E-03   -1.5007    
   7  Prefactor     113.51        167.33        .18832E-03   -1.3573    
   8  Prefactor     .10000E-03    54.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .82621        1.4388        .70283E-03   -1.5526    
  10  Prefactor     .10000E-03    15.712        .17439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.2458        .96215E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .53023        588.32        .61977E-02   -1.5562    
  13  Prefactor     8.7561        18.476        .13544E-03   -1.5116    
  14  Prefactor     .10000E-03    10.512        .14287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.9132        16.679        .15250E-03   -1.5182    
  16  Prefactor     79.112        93.551        .45140E-04   -1.3927    
  17  Prefactor     .10000E-03    27.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.5094        .13583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .75766        20.171        .38113E-03   -1.5534    
  20  Prefactor     213.63        155.29        .13834E-03   -1.2774    
  21  Prefactor     43.775        49.662        .60577E-04   -1.4384    
  22  Normalizat    .98979        .42199        .27977E-03   -.93373    
  23  Prefactor     .92393        .31948        .22189E-03   -.95310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94394e-08
Minuit parameter uncertainties:
  1  21.837
  2  36.894
  3  0.000388197
  4  2.11159
  5  75.9199
  6  8.61448
  7  168.034
  8  0.000647592
  9  1.43888
  10  9.60008e-05
  11  2.5344e-05
  12  35.6774
  13  18.4884
  14  4.22818e-05
  15  16.6906
  16  93.7262
  17  5.51954e-05
  18  4.98115e-05
  19  7.82116
  20  155.589
  21  49.7094
  22  0.423419
  23  0.320135
Done.

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

Extracting fit parameters...

4FGL J2250.0-1250
   Spectrum: LogParabola
266         norm:  1.000e-04  2.534e-05  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.389e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  1.341e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.722e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  9.239e-01  3.201e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  9.898e-01  4.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.505 -12.848
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.84e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/503146/likelihoodResults_430099201_430358401_4FGL_J2250.0-1250_daily_bin736.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) = 2037.36379924
delta logL = -0.00378361903472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2037.36001597
delta logL = -3.42776729667e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3805       1.0000          .0000       5.0000    
     3 'Normalizat'    .98990       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92399       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+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=   2037.360     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      241 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.0690        .96611E-03** at limit **
   2  alpha         1.8437        2.5992        .16484        .31636E-06
   3  Normalizat    .98981        .39130        .27977E-03    .25109E-03
   4  Prefactor     .92393        .30280        .22188E-03    .31954E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.84365
  Normalizat = 0.989809
  Prefactor  = 0.923926
 **********
 **   18 **HESSE 
 **********

 FCN=   2037.360     FROM HESSE     STATUS=OK            23 CALLS      264 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3792        .19322E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8437        2.5586        .65938E-02   -.26565    
   3  Normalizat    .98981        .39163        .55955E-04   -.93373    
   4  Prefactor     .92393        .30306        .44376E-04   -.95310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05195e-09
Minuit parameter uncertainties:
  1  3.59226e-05
  2  188.297
  3  0.392771
  4  0.303613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/503146': 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) = 2037.36001174
delta logL = 3.88067178392e-06

Extracting fit parameters...

4FGL J2250.0-1250
   Spectrum: LogParabola
266         norm:  1.000e-04  3.592e-05  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  1.844e+00  1.883e+02  0.000e+00  5.000e+00 ( 1.000e+00)
268         beta:  1.341e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.722e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  9.239e-01  3.036e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  9.898e-01  3.928e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.505 -12.848

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/503146/cmap_HighResolution_430099201_430358401_4FGL_J2250.0-1250_daily_bin736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-05', job_status='DONE', photon_flux_upper_limit='1.39e-07', time_completed='2021-09-28 22:24:37.627374', job_id='503146', GAL2='0.92', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1632893077.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.88e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='736' AND source_name='4FGL J2250.0-1250' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:24:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 503146: <4FGL_J2250.0-1250_daily_bin736> in cluster <slac> Done

Job <4FGL_J2250.0-1250_daily_bin736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:15:18 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:15: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:15:20 2021
Terminated at Tue Sep 28 22:24:38 2021
Results reported at Tue Sep 28 22:24:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.0-1250_daily_bin736 342.505 -12.8485 430099201 430358401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.0-1250 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   445.46 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             287.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   574 sec.
    Turnaround time :                            560 sec.

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

