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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin171
RA = 342.69, Dec = -28.1114
tmin = 283651201, tmax = 283910401
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='518845', job_status='RUN', time_executed='2021-09-28 22:58:43.113500', time_epoch_executed='1632895123.11' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='171'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/518845

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/518845/ft1_4FGL_J2250.7-2806_daily_bin171.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/518845/ft2_4FGL_J2250.7-2806_daily_bin171.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/518845/ft1_4FGL_J2250.7-2806_daily_bin171.fits outfile=/scratch/kocevski/518845/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin171.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=283651201.0 tmax=283910401.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.57
user 3.33
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/518845/ft2_4FGL_J2250.7-2806_daily_bin171.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/518845/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin171.fits evtable="EVENTS" outfile="/scratch/kocevski/518845/ft1_filtered_4FGL_J2250.7-2806_daily_bin171.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/518845/ft1_filtered_4FGL_J2250.7-2806_daily_bin171.fits" evtable="EVENTS" scfile=/scratch/kocevski/518845/ft2_4FGL_J2250.7-2806_daily_bin171.fits sctable="SC_DATA" outfile=/scratch/kocevski/518845/ltcube_283651201_283910401_4FGL_J2250.7-2806_daily_bin171.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/518845/ft2_4FGL_J2250.7-2806_daily_bin171.fits
.....................!
real 11.62
user 11.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/518845/ft1_filtered_4FGL_J2250.7-2806_daily_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/518845/ft2_4FGL_J2250.7-2806_daily_bin171.fits sctable="SC_DATA" expcube=/scratch/kocevski/518845/ltcube_283651201_283910401_4FGL_J2250.7-2806_daily_bin171.fits outfile=/scratch/kocevski/518845/expmap_283651201_283910401_4FGL_J2250.7-2806_daily_bin171.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/518845/ltcube_283651201_283910401_4FGL_J2250.7-2806_daily_bin171.fits
.....................!
real 192.09
user 187.20
sys 4.58

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/518845/ft1_filtered_4FGL_J2250.7-2806_daily_bin171.fits scfile=/scratch/kocevski/518845/ft2_4FGL_J2250.7-2806_daily_bin171.fits outfile=/scratch/kocevski/518845/cmap_283651201_283910401_4FGL_J2250.7-2806_daily_bin171.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.52
user 0.34
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/518845/ft1_filtered_4FGL_J2250.7-2806_daily_bin171.fits scfile=/scratch/kocevski/518845/ft2_4FGL_J2250.7-2806_daily_bin171.fits outfile=/scratch/kocevski/518845/cmap_HighResolution_283651201_283910401_4FGL_J2250.7-2806_daily_bin171.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.53
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/518845/ft1_filtered_4FGL_J2250.7-2806_daily_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/518845/ft2_4FGL_J2250.7-2806_daily_bin171.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/518845/Model_4FGL_J2250.7-2806_daily_bin171.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/518845/ft1_filtered_4FGL_J2250.7-2806_daily_bin171.fits.....................!
real 39.84
user 38.48
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2618       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17584E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.991       1.0000         .10000E-03   10000.    
     5 'norm      '    .10325E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20407E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.432       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10741E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5351       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.486       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.1441       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    18.694       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .32302E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    .44157E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .15667E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11677E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4739       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .57759       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=   4387.709     FROM MIGRAD    STATUS=CONVERGED    587 CALLS     2794 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        .51235        .17729E-07    .64329E-05
   2  Prefactor     .10000E-03    7.7806        .28944E-07** at limit **
   3  Prefactor     .10049E-03    31.067       -.54880E-05** at limit **
   4  Prefactor     13.993        13.674        .57805E-06   -.19244E-03
   5  norm          .10000E-03    11.365        .43159E-07** at limit **
   6  Prefactor     .10042E-03    30.679        .43788E-05** at limit **
   7  Prefactor     14.448        17.786        .59787E-06    .83572E-05
   8  Prefactor     .10000E-03    10.800        .24606E-07** at limit **
   9  norm          .10000E-03    .72770        .30179E-07** at limit **
  10  Prefactor     .10000E-03    24.249        .11274E-06** at limit **
  11  Prefactor     .10000E-03    8.8016        .62999E-07** at limit **
  12  norm          1.5361        3.8431        .10608E-05    .45566E-03
  13  Prefactor     10.486        12.619       -.36050E-06   -.35751E-04
  14  Prefactor     .10000E-03    6.2855        .42619E-08** at limit **
  15  norm          1.1443        .71923       -.10241E-07   -.25693E-03
  16  Prefactor     .10000E-03    21.527        .59944E-07** at limit **
  17  Prefactor     .10000E-03    6.0507        .49112E-07** at limit **
  18  norm          18.674        11.713       -.81339E-06   -.60386E-03
  19  Prefactor     .10018E-03    411.48       -.16402E-04** at limit **
  20  norm          .10008E-03    2.9604        .54316E-06** at limit **
  21  Prefactor     .10000E-03    146.59        .17357E-05** at limit **
  22  Prefactor     .10000E-03    37.118        .82378E-07** at limit **
  23  Normalizat    1.4736        .23590       -.25179E-05   -.66272E-03
  24  Prefactor     .57753        .20559        .80819E-06   -.43552E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26196
  Prefactor  = 0.0001
  Prefactor  = 0.000100495
  Prefactor  = 13.9929
  norm       = 0.0001
  Prefactor  = 0.000100415
  Prefactor  = 14.4482
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.53614
  Prefactor  = 10.4861
  Prefactor  = 0.0001
  norm       = 1.14427
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.6739
  Prefactor  = 0.00010018
  norm       = 0.000100076
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Normalizat = 1.47356
  Prefactor  = 0.577531
 **********
 **   18 **HESSE 
 **********

 FCN=   4387.709     FROM HESSE     STATUS=OK           401 CALLS     3195 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        .51335        .29283E-04   -1.5483    
   2  Prefactor     .10000E-03    7.8000        .18046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10049E-03    85.422        .49337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.993        13.507        .10708E-03   -1.4960    
   5  norm          .10000E-03    11.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10042E-03    167.29        .59461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.448        17.889        .10543E-03   -1.4948    
   8  Prefactor     .10000E-03    10.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .72871        .55175E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    24.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.8535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5361        3.8501        .18528E-03   -1.5460    
  13  Prefactor     10.486        12.672        .12373E-03   -1.5060    
  14  Prefactor     .10000E-03    6.3303        .16179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1443        .71452        .40732E-04   -1.5494    
  16  Prefactor     .10000E-03    21.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.0757        .15906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.674        11.770        .92634E-04   -1.4843    
  19  Prefactor     .10018E-03    424.41        .39494E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10008E-03    9.2273        .35612E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    148.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    37.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4736        .28221        .21967E-03   -.78524    
  24  Prefactor     .57753        .24466        .30495E-03   -1.0854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.32368e-09
Minuit parameter uncertainties:
  1  0.513352
  2  1.46754e-05
  3  0.0130216
  4  13.5101
  5  9.79461e-06
  6  0.0167171
  7  17.8952
  8  3.56e-06
  9  1.38999e-06
  10  1.62344e-05
  11  1.53029e-05
  12  3.85076
  13  12.6749
  14  2.41672e-06
  15  0.71452
  16  2.59973e-05
  17  1.01769e-05
  18  11.7712
  19  0.0176261
  20  0.00167123
  21  0.00152044
  22  4.73925e-05
  23  0.282507
  24  0.245106
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.536e+00  3.851e+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:  5.775e-01  2.451e-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.474e+00  2.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/518845/likelihoodResults_283651201_283910401_4FGL_J2250.7-2806_daily_bin171.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) = 4387.69057483
delta logL = 0.018167758255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4387.69008036
delta logL = 0.0186622237061

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4715       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3332       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4700       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57926       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.

 FCN=   4387.690     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4721        179.69        .88553E-02    .51769E-03
   2  alpha         2.3335        3.8306        .41268        .13574E-04
   3  Normalizat    1.4699        .68117E-01    .49737E-01    .26907E-05
   4  Prefactor     .57933        .59706E-01    .68795E-01    .20365E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.47212
  alpha      = 2.33349
  Normalizat = 1.46986
  Prefactor  = 0.579325
 **********
 **   18 **HESSE 
 **********

 FCN=   4387.690     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4721        3.5016        .16759E-03   -1.5465    
   2  alpha         2.3335        1.4687        .29334E-01   -.66652E-01
   3  Normalizat    1.4699        .26568        .21988E-03   -.78629    
   4  Prefactor     .57933        .24227        .30449E-03   -1.0846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33e-09
Minuit parameter uncertainties:
  1  3.5021
  2  1.57037
  3  0.265927
  4  0.242711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/518845': 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) = 4387.69008024
delta logL = 0.0186623452946

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.472e+00  3.502e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.333e+00  1.570e+00  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.793e-01  2.427e-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.470e+00  2.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
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/518845/cmap_HighResolution_283651201_283910401_4FGL_J2250.7-2806_daily_bin171.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-05', job_status='DONE', photon_flux_upper_limit='7.84e-08', time_completed='2021-09-28 23:11:33.407257', job_id='518845', GAL2='0.58', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1632895893.41', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='0.58', dlogl='1.87e-02', ts2='0.27', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='171' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:11:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 518845: <4FGL_J2250.7-2806_daily_bin171> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin171 342.69 -28.1114 283651201 283910401 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 :                                   553.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            973 sec.

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

