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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin1402
RA = 342.69, Dec = -28.1114
tmin = 602726401, tmax = 602985601
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='524100', job_status='RUN', time_executed='2021-09-28 23:13:42.175090', time_epoch_executed='1632896022.18' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='1402'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/524100

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/524100/ft1_4FGL_J2250.7-2806_daily_bin1402.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/524100/ft2_4FGL_J2250.7-2806_daily_bin1402.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/524100/ft1_4FGL_J2250.7-2806_daily_bin1402.fits outfile=/scratch/kocevski/524100/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1402.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=602726401.0 tmax=602985601.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.08
user 2.84
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/524100/ft2_4FGL_J2250.7-2806_daily_bin1402.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/524100/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1402.fits evtable="EVENTS" outfile="/scratch/kocevski/524100/ft1_filtered_4FGL_J2250.7-2806_daily_bin1402.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/524100/ft1_filtered_4FGL_J2250.7-2806_daily_bin1402.fits" evtable="EVENTS" scfile=/scratch/kocevski/524100/ft2_4FGL_J2250.7-2806_daily_bin1402.fits sctable="SC_DATA" outfile=/scratch/kocevski/524100/ltcube_602726401_602985601_4FGL_J2250.7-2806_daily_bin1402.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/524100/ft2_4FGL_J2250.7-2806_daily_bin1402.fits
.....................!
real 12.45
user 12.01
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/524100/ft1_filtered_4FGL_J2250.7-2806_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/524100/ft2_4FGL_J2250.7-2806_daily_bin1402.fits sctable="SC_DATA" expcube=/scratch/kocevski/524100/ltcube_602726401_602985601_4FGL_J2250.7-2806_daily_bin1402.fits outfile=/scratch/kocevski/524100/expmap_602726401_602985601_4FGL_J2250.7-2806_daily_bin1402.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/524100/ltcube_602726401_602985601_4FGL_J2250.7-2806_daily_bin1402.fits
.....................!
real 191.33
user 185.34
sys 5.39

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/524100/ft1_filtered_4FGL_J2250.7-2806_daily_bin1402.fits scfile=/scratch/kocevski/524100/ft2_4FGL_J2250.7-2806_daily_bin1402.fits outfile=/scratch/kocevski/524100/cmap_602726401_602985601_4FGL_J2250.7-2806_daily_bin1402.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/524100/ft1_filtered_4FGL_J2250.7-2806_daily_bin1402.fits scfile=/scratch/kocevski/524100/ft2_4FGL_J2250.7-2806_daily_bin1402.fits outfile=/scratch/kocevski/524100/cmap_HighResolution_602726401_602985601_4FGL_J2250.7-2806_daily_bin1402.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.36
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/524100/ft1_filtered_4FGL_J2250.7-2806_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/524100/ft2_4FGL_J2250.7-2806_daily_bin1402.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/524100/Model_4FGL_J2250.7-2806_daily_bin1402.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/524100/ft1_filtered_4FGL_J2250.7-2806_daily_bin1402.fits.....................!
real 23.15
user 21.82
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/524100/ft1_filtered_4FGL_J2250.7-2806_daily_bin1402.fits', '/scratch/kocevski/524100/ft2_4FGL_J2250.7-2806_daily_bin1402.fits', expMap='/scratch/kocevski/524100/expmap_602726401_602985601_4FGL_J2250.7-2806_daily_bin1402.fits', expCube='/scratch/kocevski/524100/ltcube_602726401_602985601_4FGL_J2250.7-2806_daily_bin1402.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/524100/Model_4FGL_J2250.7-2806_daily_bin1402.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/524100/ft1_filtered_4FGL_J2250.7-2806_daily_bin1402.fits
Spacecraft file(s): /scratch/kocevski/524100/ft2_4FGL_J2250.7-2806_daily_bin1402.fits
Exposure map: /scratch/kocevski/524100/expmap_602726401_602985601_4FGL_J2250.7-2806_daily_bin1402.fits
Exposure cube: /scratch/kocevski/524100/ltcube_602726401_602985601_4FGL_J2250.7-2806_daily_bin1402.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/524100/Model_4FGL_J2250.7-2806_daily_bin1402.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) = 1648.06232796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21329E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1089.4       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .65765E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    54.417       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-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 '    18.763       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7824       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.6123       1.0000         .10000E-03   10000.    
    19 'Prefactor '    40.562       1.0000         .10000E-03   10000.    
    20 'norm      '    10.001       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2460       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86562       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=   1647.903     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     3050 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    139.36        .29682E-05** at limit **
   2  Prefactor     1089.9        753.99       -.81104E-04    .20258E-04
   3  Prefactor     .10000E-03    7016.7       -.43532E-04** at limit **
   4  Prefactor     .10000E-03    66.282        .82128E-06** at limit **
   5  norm          54.447        74.372       -.27000E-05    .40704E-04
   6  Prefactor     .10000E-03    33.875        .34363E-06** at limit **
   7  Prefactor     .10000E-03    12.234        .31898E-06** at limit **
   8  Prefactor     .10000E-03    60.137        .19853E-06** at limit **
   9  norm          .10000E-03    3.1647        .36263E-06** at limit **
  10  Prefactor     .10000E-03    120.25        .22301E-05** at limit **
  11  Prefactor     .10000E-03    53.846        .55087E-06** at limit **
  12  norm          .10000E-03    3.6948        .14149E-06** at limit **
  13  Prefactor     .10000E-03    29.621        .25817E-06** at limit **
  14  Prefactor     18.786        29.849       -.19897E-06    .34036E-04
  15  norm          1.7809        2.2200        .51870E-06    .37210E-04
  16  Prefactor     .10000E-03    51.261       -.34555E-06** at limit **
  17  Prefactor     .10000E-03    48.354        .69912E-07** at limit **
  18  norm          2.5925        15.899        .22778E-04    .89445E-05
  19  Prefactor     40.593        62.254        .36140E-06    .14382E-04
  20  norm          10.002        5.9020        .60244E-06   -.49225E-04
  21  Prefactor     .10000E-03    36.545        .25155E-06** at limit **
  22  Prefactor     .10000E-03    137.82        .93589E-07** at limit **
  23  Normalizat    1.2452        .38507       -.48926E-05   -.13209E-03
  24  Prefactor     .86629        .36348       -.59774E-05   -.10244E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100016
  Prefactor  = 1089.86
  Prefactor  = 0.000100004
  Prefactor  = 0.000100001
  norm       = 54.4472
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.7857
  norm       = 1.78089
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.59252
  Prefactor  = 40.5926
  norm       = 10.0018
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.24522
  Prefactor  = 0.866295
 **********
 **   18 **HESSE 
 **********

 FCN=   1647.903     FROM HESSE     STATUS=OK           391 CALLS     3441 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    139.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1089.9        808.22        .64192E-04   -.89791    
   3  Prefactor     .10000E-03    409.22        .24986       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    66.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          54.447        74.422        .27187E-03   -1.4231    
   6  Prefactor     .10000E-03    33.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.239        .13871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    60.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.1778        .70529E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    120.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    54.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.6961        .76204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    29.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.786        32.380        .92463E-04   -1.4841    
  15  norm          1.7809        2.3665        .23375E-03   -1.5441    
  16  Prefactor     .10000E-03    51.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    48.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.5925        15.918        .12619E-02   -1.5386    
  19  Prefactor     40.593        62.393        .62938E-04   -1.4433    
  20  norm          10.002        5.9078        .72042E-04   -1.5075    
  21  Prefactor     .10000E-03    36.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    137.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2452        .47548        .25428E-03   -.85217    
  24  Prefactor     .86629        .44561        .28808E-03   -.97329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.91356e-10
Minuit parameter uncertainties:
  1  0.00296833
  2  817.566
  3  0.0026259
  4  0.000598388
  5  74.5499
  6  0.000197555
  7  4.98744e-05
  8  0.000153412
  9  2.06385e-05
  10  0.00148875
  11  0.000249032
  12  1.10948e-05
  13  3.63991e-05
  14  32.4102
  15  2.36662
  16  0.000236676
  17  1.42363e-05
  18  12.8527
  19  62.4935
  20  5.9081
  21  0.000192227
  22  9.06804e-05
  23  0.477151
  24  0.447493
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  1.109e-05  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:  8.663e-01  4.475e-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.245e+00  4.772e-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: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/524100/likelihoodResults_602726401_602985601_4FGL_J2250.7-2806_daily_bin1402.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) = 1647.90362895
delta logL = -0.00102477380824

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1647.90260417
delta logL = 3.88627086068e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0455       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2452       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86629       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=   1647.903     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      239 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.2634        .76243E-03** at limit **
   2  alpha         1.8923        3.3487        .16818       -.20161E-07
   3  Normalizat    1.2452        .44597        .25429E-03    .24958E-04
   4  Prefactor     .86629        .43149        .28807E-03    .22327E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.89233
  Normalizat = 1.24522
  Prefactor  = 0.866295
 **********
 **   18 **HESSE 
 **********

 FCN=   1647.903     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .82E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.7411        .15249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8923        3.9878        .67273E-02   -.24553    
   3  Normalizat    1.2452        .44646        .10171E-04   -.85217    
   4  Prefactor     .86629        .43197        .11523E-04   -.97329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.24501e-12
Minuit parameter uncertainties:
  1  6.42992e-06
  2  269.067
  3  0.447841
  4  0.433683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/524100': 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) = 1647.90260401
delta logL = 1.62396645464e-07

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  6.430e-06  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  1.892e+00  2.691e+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:  8.663e-01  4.337e-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.245e+00  4.478e-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/524100/cmap_HighResolution_602726401_602985601_4FGL_J2250.7-2806_daily_bin1402.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.16e-05', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2021-09-28 23:21:48.711687', job_id='524100', GAL2='0.87', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1632896508.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.62e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1402' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:21:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 524100: <4FGL_J2250.7-2806_daily_bin1402> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin1402> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 23:10:33 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 23:10:35 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:10:35 2021
Terminated at Tue Sep 28 23:21:49 2021
Results reported at Tue Sep 28 23:21:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin1402 342.69 -28.1114 602726401 602985601 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 :                                   408.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             196.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            676 sec.

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

