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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin828
RA = 342.69, Dec = -28.1114
tmin = 453945601, tmax = 454204801
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='522163', job_status='RUN', time_executed='2021-09-28 23:08:44.358514', time_epoch_executed='1632895724.36' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='828'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/522163

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/522163/ft1_4FGL_J2250.7-2806_daily_bin828.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/522163/ft2_4FGL_J2250.7-2806_daily_bin828.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/522163/ft1_4FGL_J2250.7-2806_daily_bin828.fits outfile=/scratch/kocevski/522163/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin828.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=453945601.0 tmax=454204801.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 4.05
user 3.79
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/522163/ft2_4FGL_J2250.7-2806_daily_bin828.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/522163/ft2_4FGL_J2250.7-2806_daily_bin828.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/522163/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin828.fits evtable="EVENTS" outfile="/scratch/kocevski/522163/ft1_filtered_4FGL_J2250.7-2806_daily_bin828.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.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/522163/ft1_filtered_4FGL_J2250.7-2806_daily_bin828.fits" evtable="EVENTS" scfile=/scratch/kocevski/522163/ft2_4FGL_J2250.7-2806_daily_bin828.fits sctable="SC_DATA" outfile=/scratch/kocevski/522163/ltcube_453945601_454204801_4FGL_J2250.7-2806_daily_bin828.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/522163/ft2_4FGL_J2250.7-2806_daily_bin828.fits
.....................!
real 11.75
user 11.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/522163/ft1_filtered_4FGL_J2250.7-2806_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/522163/ft2_4FGL_J2250.7-2806_daily_bin828.fits sctable="SC_DATA" expcube=/scratch/kocevski/522163/ltcube_453945601_454204801_4FGL_J2250.7-2806_daily_bin828.fits outfile=/scratch/kocevski/522163/expmap_453945601_454204801_4FGL_J2250.7-2806_daily_bin828.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/522163/ltcube_453945601_454204801_4FGL_J2250.7-2806_daily_bin828.fits
.....................!
real 190.23
user 185.07
sys 4.80

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

Setting source of interest to:
4FGL J2250.7-2806 @ 342.69 -28.1114

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/522163/ft1_filtered_4FGL_J2250.7-2806_daily_bin828.fits scfile=/scratch/kocevski/522163/ft2_4FGL_J2250.7-2806_daily_bin828.fits outfile=/scratch/kocevski/522163/cmap_453945601_454204801_4FGL_J2250.7-2806_daily_bin828.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.69 yref=-28.1114 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/522163/ft1_filtered_4FGL_J2250.7-2806_daily_bin828.fits scfile=/scratch/kocevski/522163/ft2_4FGL_J2250.7-2806_daily_bin828.fits outfile=/scratch/kocevski/522163/cmap_HighResolution_453945601_454204801_4FGL_J2250.7-2806_daily_bin828.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.69 yref=-28.1114 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/522163/ft1_filtered_4FGL_J2250.7-2806_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/522163/ft2_4FGL_J2250.7-2806_daily_bin828.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/522163/Model_4FGL_J2250.7-2806_daily_bin828.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/522163/ft1_filtered_4FGL_J2250.7-2806_daily_bin828.fits.....................!
real 39.27
user 37.97
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/522163/ft1_filtered_4FGL_J2250.7-2806_daily_bin828.fits', '/scratch/kocevski/522163/ft2_4FGL_J2250.7-2806_daily_bin828.fits', expMap='/scratch/kocevski/522163/expmap_453945601_454204801_4FGL_J2250.7-2806_daily_bin828.fits', expCube='/scratch/kocevski/522163/ltcube_453945601_454204801_4FGL_J2250.7-2806_daily_bin828.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/522163/Model_4FGL_J2250.7-2806_daily_bin828.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.7-2806'

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  4.101e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.049e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/522163/ft1_filtered_4FGL_J2250.7-2806_daily_bin828.fits
Spacecraft file(s): /scratch/kocevski/522163/ft2_4FGL_J2250.7-2806_daily_bin828.fits
Exposure map: /scratch/kocevski/522163/expmap_453945601_454204801_4FGL_J2250.7-2806_daily_bin828.fits
Exposure cube: /scratch/kocevski/522163/ltcube_453945601_454204801_4FGL_J2250.7-2806_daily_bin828.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/522163/Model_4FGL_J2250.7-2806_daily_bin828.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) = 4444.22240441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66461       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .31926       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10237E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.409       1.0000         .10000E-03   10000.    
     7 'Prefactor '    58.681       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7592       1.0000         .10000E-03   10000.    
     9 'norm      '    2.0890       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.966       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.184       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1310       1.0000         .10000E-03   10000.    
    18 'norm      '    .13940E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.6605       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3419       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56957       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4444.162     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2835 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66465        .34469       -.98644E-08   -.35484E-03
   2  Prefactor     .10000E-03    5.3930        .67551E-07** at limit **
   3  Prefactor     .77766E-01    27.970        .16373E-05   -.44937E-04
   4  Prefactor     .10000E-03    1.9887        .85161E-07** at limit **
   5  norm          .10000E-03    106.65        .87722E-06** at limit **
   6  Prefactor     21.406        18.315        .16714E-07    .14933E-04
   7  Prefactor     58.691        24.777       -.17394E-06   -.18615E-03
   8  Prefactor     3.7573        13.084        .51030E-06    .27816E-04
   9  norm          2.0885        4.5417        .11080E-05   -.82817E-04
  10  Prefactor     20.959        103.04       -.67954E-05   -.77764E-05
  11  Prefactor     .10000E-03    9.2472        .83798E-07** at limit **
  12  norm          .10000E-03    1.0767        .24681E-07** at limit **
  13  Prefactor     .10000E-03    3.9091       -.13114E-07** at limit **
  14  Prefactor     .10000E-03    2.6058        .37793E-08** at limit **
  15  norm          .10000E-03    .21182        .13392E-07** at limit **
  16  Prefactor     32.115        81.314       -.14218E-05   -.34923E-04
  17  Prefactor     1.1290        6.3276        .27691E-05    .21382E-03
  18  norm          .10000E-03    37.055        .88342E-06** at limit **
  19  Prefactor     .10000E-03    52.178        .26881E-06** at limit **
  20  norm          .10000E-03    .87466        .16861E-07** at limit **
  21  Prefactor     .10000E-03    9.1906       -.11280E-06** at limit **
  22  Prefactor     8.5412        204.17       -.40836E-05   -.25403E-04
  23  Normalizat    1.3420        .25048        .42854E-05   -.45772E-03
  24  Prefactor     .56986        .22464       -.70289E-05   -.17876E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.664653
  Prefactor  = 0.0001
  Prefactor  = 0.077766
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 21.4065
  Prefactor  = 58.6911
  Prefactor  = 3.75732
  norm       = 2.08848
  Prefactor  = 20.9586
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 32.1145
  Prefactor  = 1.12902
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.54117
  Normalizat = 1.34196
  Prefactor  = 0.569856
 **********
 **   18 **HESSE 
 **********

 FCN=   4444.162     FROM HESSE     STATUS=OK           401 CALLS     3236 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66465        .34722        .27422E-04   -1.5545    
   2  Prefactor     .10000E-03    5.3978        .15119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .77766E-01    36.734        .88751E-01   -1.5652    
   4  Prefactor     .10000E-03    1.9911        .91822E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    108.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.406        18.321        .86567E-04   -1.4782    
   7  Prefactor     58.691        25.145        .52373E-04   -1.4174    
   8  Prefactor     3.7573        13.076        .20823E-03   -1.5320    
   9  norm          2.0885        4.8690        .12501E-03   -1.5419    
  10  Prefactor     20.959        119.95        .87475E-04   -1.4792    
  11  Prefactor     .10000E-03    9.2988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.0776        .67547E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.9104        .12872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.6111        .10504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .30460        .59181E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.115        81.664        .70630E-04   -1.4574    
  17  Prefactor     1.1290        6.6460        .33474E-03   -1.5495    
  18  norm          .10000E-03    38.612        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    52.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .87662        .60888E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.1938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.5412        207.47        .13621E-03   -1.5123    
  23  Normalizat    1.3420        .26068        .21259E-03   -.82322    
  24  Prefactor     .56986        .23195        .28859E-03   -1.0887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64754e-10
Minuit parameter uncertainties:
  1  0.347225
  2  3.03763e-06
  3  3.38025
  4  2.38846e-06
  5  0.000216535
  6  18.3254
  7  25.1492
  8  13.0858
  9  4.86996
  10  100.585
  11  1.09455e-07
  12  1.27968e-07
  13  4.25666e-06
  14  4.30974e-06
  15  2.60133e-06
  16  81.9505
  17  5.47915
  18  0.000186526
  19  3.15656e-05
  20  4.40574e-07
  21  7.98547e-06
  22  84.5212
  23  0.260938
  24  0.232339
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  1.280e-07  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.049e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  5.699e-01  2.323e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.342e+00  2.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.690 -28.111
Photon Flux Upper Limit: 4.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/522163/likelihoodResults_453945601_454204801_4FGL_J2250.7-2806_daily_bin828.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) = 4444.16202279
delta logL = -2.96154939861e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4444.16201994
delta logL = -1.09414031613e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0345       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+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=   4444.162     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      237 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5321        .67743E-03** at limit **
   2  alpha         1.7955        3.3313        .16837       -.20055E-07
   3  Normalizat    1.3420        .24330        .21259E-03   -.57841E-04
   4  Prefactor     .56985        .22494        .28860E-03   -.44317E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.79551
  Normalizat = 1.34196
  Prefactor  = 0.569853
 **********
 **   18 **HESSE 
 **********

 FCN=   4444.162     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .50E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1189        .13549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7955        3.5805        .67346E-02   -.28566    
   3  Normalizat    1.3420        .24353        .42518E-04   -.82322    
   4  Prefactor     .56985        .22514        .11544E-04   -1.0887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.95444e-12
Minuit parameter uncertainties:
  1  6.95399e-07
  2  133.466
  3  0.243736
  4  0.225499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/522163': 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) = 4444.16201812
delta logL = 1.7089623725e-06

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  6.954e-07  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  1.796e+00  1.335e+02  0.000e+00  5.000e+00 ( 1.000e+00)
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  5.699e-01  2.255e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.342e+00  2.437e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.690 -28.111

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/522163/cmap_HighResolution_453945601_454204801_4FGL_J2250.7-2806_daily_bin828.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.18e-05', job_status='DONE', photon_flux_upper_limit='4.10e-08', time_completed='2021-09-28 23:18:47.362518', job_id='522163', GAL2='0.57', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1632896327.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='1.71e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='828' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:18:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 522163: <4FGL_J2250.7-2806_daily_bin828> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin828> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 23:05:17 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 23:05:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 23:05:19 2021
Terminated at Tue Sep 28 23:18:48 2021
Results reported at Tue Sep 28 23:18:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin828 342.69 -28.1114 453945601 454204801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.7-2806 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   576.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             300.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            811 sec.

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

