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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin1309
RA = 342.69, Dec = -28.1114
tmin = 578620801, tmax = 578880001
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='523952', job_status='RUN', time_executed='2021-09-28 23:12:29.836309', time_epoch_executed='1632895949.84' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='1309'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/523952

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/523952/ft1_4FGL_J2250.7-2806_daily_bin1309.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/523952/ft2_4FGL_J2250.7-2806_daily_bin1309.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/523952/ft1_4FGL_J2250.7-2806_daily_bin1309.fits outfile=/scratch/kocevski/523952/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1309.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=578620801.0 tmax=578880001.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.52
user 3.34
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/523952/ft2_4FGL_J2250.7-2806_daily_bin1309.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/523952/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1309.fits evtable="EVENTS" outfile="/scratch/kocevski/523952/ft1_filtered_4FGL_J2250.7-2806_daily_bin1309.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/523952/ft1_filtered_4FGL_J2250.7-2806_daily_bin1309.fits" evtable="EVENTS" scfile=/scratch/kocevski/523952/ft2_4FGL_J2250.7-2806_daily_bin1309.fits sctable="SC_DATA" outfile=/scratch/kocevski/523952/ltcube_578620801_578880001_4FGL_J2250.7-2806_daily_bin1309.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/523952/ft2_4FGL_J2250.7-2806_daily_bin1309.fits
.....................!
real 11.70
user 11.29
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/523952/ft1_filtered_4FGL_J2250.7-2806_daily_bin1309.fits evtable="EVENTS" scfile=/scratch/kocevski/523952/ft2_4FGL_J2250.7-2806_daily_bin1309.fits sctable="SC_DATA" expcube=/scratch/kocevski/523952/ltcube_578620801_578880001_4FGL_J2250.7-2806_daily_bin1309.fits outfile=/scratch/kocevski/523952/expmap_578620801_578880001_4FGL_J2250.7-2806_daily_bin1309.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/523952/ltcube_578620801_578880001_4FGL_J2250.7-2806_daily_bin1309.fits
.....................!
real 190.69
user 184.77
sys 5.61

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/523952/ft1_filtered_4FGL_J2250.7-2806_daily_bin1309.fits scfile=/scratch/kocevski/523952/ft2_4FGL_J2250.7-2806_daily_bin1309.fits outfile=/scratch/kocevski/523952/cmap_578620801_578880001_4FGL_J2250.7-2806_daily_bin1309.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.53
user 0.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/523952/ft1_filtered_4FGL_J2250.7-2806_daily_bin1309.fits evtable="EVENTS" scfile=/scratch/kocevski/523952/ft2_4FGL_J2250.7-2806_daily_bin1309.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/523952/Model_4FGL_J2250.7-2806_daily_bin1309.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/523952/ft1_filtered_4FGL_J2250.7-2806_daily_bin1309.fits.....................!
real 45.84
user 44.57
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60545       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.481       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4495       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10636E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    18.114       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.878       1.0000         .10000E-03   10000.    
    15 'norm      '    .92253       1.0000         .10000E-03   10000.    
    16 'Prefactor '    56.911       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .22519E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    43.921       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12231E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2747       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79020       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=   5619.717     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2688 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60543        .33139       -.92483E-08    .22855E-05
   2  Prefactor     .10000E-03    4.6226       -.37691E-07** at limit **
   3  Prefactor     .10000E-03    8.9157       -.89810E-07** at limit **
   4  Prefactor     .10000E-03    2.9406       -.46177E-07** at limit **
   5  norm          .10000E-03    7.6425        .34571E-07** at limit **
   6  Prefactor     24.479        20.901       -.18207E-06   -.15293E-05
   7  Prefactor     2.4476        8.5186       -.53236E-06    .32276E-04
   8  Prefactor     .10000E-03    10.618        .60387E-08** at limit **
   9  norm          .10000E-03    .76428       -.26704E-07** at limit **
  10  Prefactor     .10000E-03    10.213       -.45238E-07** at limit **
  11  Prefactor     .10000E-03    14.915        .10010E-06** at limit **
  12  norm          18.115        6.5406       -.34127E-08    .28051E-04
  13  Prefactor     .10000E-03    9.2388       -.70979E-07** at limit **
  14  Prefactor     24.873        15.422        .77230E-07    .37785E-05
  15  norm          .92284        .94310       -.73807E-07   -.20923E-03
  16  Prefactor     56.815        64.609        .10780E-05    .46119E-04
  17  Prefactor     .10000E-03    5.4824       -.60586E-07** at limit **
  18  norm          .10000E-03    3.6452       -.54935E-08** at limit **
  19  Prefactor     .10000E-03    15.872       -.10264E-06** at limit **
  20  norm          .10000E-03    6.2112        .28435E-05** at limit **
  21  Prefactor     43.982        39.629        .29153E-05   -.31916E-04
  22  Prefactor     .10000E-03    99.352       -.12526E-05** at limit **
  23  Normalizat    1.2749        .19642        .58166E-07    .73728E-04
  24  Prefactor     .79010        .18297        .11067E-05    .72945E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.60543
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.4786
  Prefactor  = 2.44763
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.1146
  Prefactor  = 0.0001
  Prefactor  = 24.8734
  norm       = 0.922842
  Prefactor  = 56.8147
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 43.9823
  Prefactor  = 0.0001
  Normalizat = 1.27495
  Prefactor  = 0.790098
 **********
 **   18 **HESSE 
 **********

 FCN=   5619.717     FROM HESSE     STATUS=OK           393 CALLS     3081 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60543        .33199        .31068E-04   -1.5552    
   2  Prefactor     .10000E-03    4.6276        .15742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.9408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9530        .12554E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    7.6496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.479        20.923        .80960E-04   -1.4718    
   7  Prefactor     2.4476        8.4935        .26137E-03   -1.5395    
   8  Prefactor     .10000E-03    10.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .77577        .63995E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.115        6.5515        .94105E-04   -1.4856    
  13  Prefactor     .10000E-03    9.2489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.873        15.751        .80313E-04   -1.4710    
  15  norm          .92284        .92247        .53894E-04   -1.5516    
  16  Prefactor     56.815        64.438        .26588E-03   -1.4199    
  17  Prefactor     .10000E-03    5.4947        .17128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.6565        .13976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.1886        .23261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     43.982        39.391        .60493E-04   -1.4381    
  22  Prefactor     .10000E-03    99.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2749        .24166        .23603E-03   -.84317    
  24  Prefactor     .79010        .22282        .27618E-03   -1.0009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85336e-11
Minuit parameter uncertainties:
  1  0.331988
  2  2.99077e-06
  3  9.83462e-06
  4  4.05518e-06
  5  4.53904e-09
  6  20.9288
  7  8.49764
  8  1.3181e-05
  9  8.16122e-07
  10  3.7537e-06
  11  0.000107671
  12  6.55173
  13  3.32417e-07
  14  15.7534
  15  0.922489
  16  64.5169
  17  1.21739e-06
  18  9.57831e-06
  19  1.85546e-05
  20  1.03801e-05
  21  39.4147
  22  9.682e-05
  23  0.241876
  24  0.223074
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.811e+01  6.552e+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

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  7.901e-01  2.231e-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.275e+00  2.419e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.42
Ra Dec: 342.690 -28.111
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 1.21e-07 +/- 4.38e-08
Energy Flux (Fixed Index): 6.43e-05 +/- 2.32e-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) = 5619.65032031
delta logL = 0.0665319713689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5619.63226955
delta logL = 0.0845827268586

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.319       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1745       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79593       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=   5619.632     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      210 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.319        5.9427       -.95200E-06    .28212E-02
   2  alpha         2.1746        .29837        .75576E-05    .33161E-03
   3  Normalizat    1.2640        .19518       -.38852E-06   -.10340E-03
   4  Prefactor     .79592        .18414        .31960E-06   -.79468E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 17.3185
  alpha      = 2.1746
  Normalizat = 1.26395
  Prefactor  = 0.795925
 **********
 **   18 **HESSE 
 **********

 FCN=   5619.632     FROM HESSE     STATUS=OK            29 CALLS      239 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.319        6.2409        .96241E-04   -1.4875    
   2  alpha         2.1746        .31017        .78046E-02   -.13053    
   3  Normalizat    1.2640        .23276        .23677E-03   -.84649    
   4  Prefactor     .79592        .21950        .27493E-03   -.99879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17095e-09
Minuit parameter uncertainties:
  1  6.24111
  2  0.310986
  3  0.23295
  4  0.219738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/523952': 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) = 5619.63226944
delta logL = 0.084582836369

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.732e+01  6.241e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.175e+00  3.110e-01  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:  7.959e-01  2.197e-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.264e+00  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.02
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 2.17 +/- 0.31
Photon Flux (Free Index): 1.35e-07 +/- 5.48e-08
Energy Flux (Free Index): 5.92e-05 +/- 2.25e-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/523952/cmap_HighResolution_578620801_578880001_4FGL_J2250.7-2806_daily_bin1309.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.21e-07', energy_flux2='5.92e-05', photon_flux_error='4.38e-08', dlogl='8.46e-02', energy_flux='6.43e-05', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-09-28 23:22:14.741126', photon_index_error2='0.31', photon_index2='2.17', ts='25.42', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='2.25e-05', EG='1.27', time_epoch_completed='1632896534.74', return_code='0', job_id='523952', GAL2='0.80', EG2='1.26', return_code2='0', energy_flux_error='2.32e-05', photon_flux_error2='5.48e-08', ts2='26.02', photon_index='2.05' WHERE bin_id='1309' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:22:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 523952: <4FGL_J2250.7-2806_daily_bin1309> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin1309 342.69 -28.1114 578620801 578880001 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 :                                   554.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            714 sec.

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

