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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin1480
RA = 342.69, Dec = -28.1114
tmin = 622944001, tmax = 623203201
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='525337', job_status='RUN', time_executed='2021-09-28 23:19:18.757271', time_epoch_executed='1632896358.76' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='1480'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/525337

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/525337/ft1_4FGL_J2250.7-2806_daily_bin1480.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/525337/ft2_4FGL_J2250.7-2806_daily_bin1480.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/525337/ft1_4FGL_J2250.7-2806_daily_bin1480.fits outfile=/scratch/kocevski/525337/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1480.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=622944001.0 tmax=623203201.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.01
user 2.82
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/525337/ft1_filtered_4FGL_J2250.7-2806_daily_bin1480.fits" evtable="EVENTS" scfile=/scratch/kocevski/525337/ft2_4FGL_J2250.7-2806_daily_bin1480.fits sctable="SC_DATA" outfile=/scratch/kocevski/525337/ltcube_622944001_623203201_4FGL_J2250.7-2806_daily_bin1480.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/525337/ft2_4FGL_J2250.7-2806_daily_bin1480.fits
.....................!
real 12.69
user 12.06
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/525337/ft1_filtered_4FGL_J2250.7-2806_daily_bin1480.fits evtable="EVENTS" scfile=/scratch/kocevski/525337/ft2_4FGL_J2250.7-2806_daily_bin1480.fits sctable="SC_DATA" expcube=/scratch/kocevski/525337/ltcube_622944001_623203201_4FGL_J2250.7-2806_daily_bin1480.fits outfile=/scratch/kocevski/525337/expmap_622944001_623203201_4FGL_J2250.7-2806_daily_bin1480.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/525337/ltcube_622944001_623203201_4FGL_J2250.7-2806_daily_bin1480.fits
.....................!
real 190.51
user 185.14
sys 5.05

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/525337/ft1_filtered_4FGL_J2250.7-2806_daily_bin1480.fits scfile=/scratch/kocevski/525337/ft2_4FGL_J2250.7-2806_daily_bin1480.fits outfile=/scratch/kocevski/525337/cmap_622944001_623203201_4FGL_J2250.7-2806_daily_bin1480.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.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/525337/ft1_filtered_4FGL_J2250.7-2806_daily_bin1480.fits evtable="EVENTS" scfile=/scratch/kocevski/525337/ft2_4FGL_J2250.7-2806_daily_bin1480.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/525337/Model_4FGL_J2250.7-2806_daily_bin1480.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/525337/ft1_filtered_4FGL_J2250.7-2806_daily_bin1480.fits.....................!
real 50.51
user 49.15
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.8193       1.0000         .10000E-03   10000.    
     5 'norm      '    .10222E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.5499       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10340E-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 '    49.055       1.0000         .10000E-03   10000.    
    15 'norm      '    3.2232       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    16.502       1.0000         .10000E-03   10000.    
    19 'Prefactor '    53.143       1.0000         .10000E-03   10000.    
    20 'norm      '    12.906       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1996       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92982       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=   6257.158     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2734 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .10919       -.49275E-09** at limit **
   2  Prefactor     .10000E-03    6.1620        .13862E-06** at limit **
   3  Prefactor     .10000E-03    9.9925       -.54754E-05** at limit **
   4  Prefactor     7.8184        7.4025       -.13856E-06   -.12384E-03
   5  norm          .10000E-03    28.940       -.81889E-05** at limit **
   6  Prefactor     .10000E-03    4.9117       -.72449E-08** at limit **
   7  Prefactor     .10000E-03    8.3649        .48243E-05** at limit **
   8  Prefactor     .10000E-03    44.209        .42558E-05** at limit **
   9  norm          1.5500        1.6519       -.19591E-07   -.76943E-04
  10  Prefactor     .10000E-03    38.475        .11505E-04** at limit **
  11  Prefactor     .10000E-03    16.593       -.53876E-05** at limit **
  12  norm          .10000E-03    1.6549       -.21368E-07** at limit **
  13  Prefactor     .10000E-03    7.5685       -.21686E-05** at limit **
  14  Prefactor     49.051        18.000       -.20209E-06   -.90958E-04
  15  norm          3.2235        1.2699        .22639E-07   -.21584E-03
  16  Prefactor     .10000E-03    13.956        .37400E-05** at limit **
  17  Prefactor     .10000E-03    13.504        .35717E-05** at limit **
  18  norm          16.502        8.9873        .22478E-07   -.31126E-06
  19  Prefactor     53.141        57.558       -.18838E-05    .22932E-05
  20  norm          12.906        6.5008       -.54701E-07   -.11564E-03
  21  Prefactor     .10000E-03    35.333        .81677E-05** at limit **
  22  Prefactor     .10000E-03    50.955       -.16909E-04** at limit **
  23  Normalizat    1.1996        .20667        .30200E-06   -.40826E-05
  24  Prefactor     .92970        .18566       -.25003E-07    .24120E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.81843
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.55003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 49.0515
  norm       = 3.22353
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.5024
  Prefactor  = 53.1413
  norm       = 12.9059
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.19962
  Prefactor  = 0.9297
 **********
 **   18 **HESSE 
 **********

 FCN=   6257.158     FROM HESSE     STATUS=OK           391 CALLS     3125 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .12349        .50955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.1838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.8184        7.4241        .14340E-03   -1.5149    
   5  norm          .10000E-03    29.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.9139        .17121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.3916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    45.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.5500        1.6511        .10193E-03   -1.5459    
  10  Prefactor     .10000E-03    38.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.6587        .99306E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.5717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     49.051        18.284        .57254E-04   -1.4306    
  15  norm          3.2235        1.2768        .22564E-04   -1.5349    
  16  Prefactor     .10000E-03    13.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          16.502        8.9910        .98593E-04   -1.4895    
  19  Prefactor     53.141        57.754        .55019E-04   -1.4249    
  20  norm          12.906        6.5025        .11150E-03   -1.4989    
  21  Prefactor     .10000E-03    35.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    51.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1996        .25159        .26183E-03   -.86615    
  24  Prefactor     .92970        .22442        .27391E-03   -.95111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7466e-11
Minuit parameter uncertainties:
  1  6.50902e-08
  2  1.83637e-07
  3  4.0724e-06
  4  7.42501
  5  5.04598e-05
  6  1.36617e-07
  7  7.89382e-06
  8  6.61241e-05
  9  1.65116
  10  1.2398e-05
  11  4.79063e-05
  12  8.10651e-07
  13  1.76108e-06
  14  18.2864
  15  1.27681
  16  7.11351e-08
  17  1.23462e-06
  18  8.99177
  19  57.8147
  20  6.50288
  21  7.39016e-06
  22  1.71729e-06
  23  0.251845
  24  0.22464
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  8.107e-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:  9.297e-01  2.246e-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.200e+00  2.518e-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: 5.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.92e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/525337/likelihoodResults_622944001_623203201_4FGL_J2250.7-2806_daily_bin1480.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) = 6257.16107827
delta logL = -0.00279008656344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6257.15828808
delta logL = 9.56206349656e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0586       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1996       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92973       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=   6256.542     FROM MIGRAD    STATUS=CONVERGED    218 CALLS      361 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10689        3.6432        .51645E-02    .34826E-02
   2  alpha         5.0000        4.6139        .50000    ** at limit **
   3  Normalizat    1.1131        .11639        .26183E-02   -.35952E-05
   4  Prefactor     .98130        .86178E-01    .27391E-02    .71472E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.106891
  alpha      = 5
  Normalizat = 1.11314
  Prefactor  = 0.981304
 **********
 **   18 **HESSE 
 **********

 FCN=   6256.542     FROM HESSE     STATUS=OK            33 CALLS      394 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10689        .10391        .22967E-04   -1.5643    
   2  alpha         5.0000        3.1887        .62117E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1131        .24609        .10473E-03   -.89331    
   4  Prefactor     .98130        .22529        .10956E-03   -.93355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07109e-12
Minuit parameter uncertainties:
  1  0.103914
  2  1.16538e-06
  3  0.24634
  4  0.225506
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/525337': 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) = 6256.54207528
delta logL = 0.616212899573

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.069e-01  1.039e-01  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  5.000e+00  1.165e-06  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:  9.813e-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.113e+00  2.463e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.02e-07 +/- 9.84e-08
Energy Flux (Free Index): 1.39e-05 +/- 1.35e-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/525337/cmap_HighResolution_622944001_623203201_4FGL_J2250.7-2806_daily_bin1480.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.92e-05', comment='SUCCESS', energy_flux2='1.39e-05', dlogl='6.16e-01', photon_flux2='1.02e-07', job_status='DONE', time_completed='2021-09-28 23:30:31.177379', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='5.50e-08', energy_flux_error2='1.35e-05', EG='1.20', time_epoch_completed='1632897031.18', return_code='0', job_id='525337', GAL2='0.98', EG2='1.11', return_code2='0', photon_flux_error2='9.84e-08', ts2='1.33', photon_index='2.05' WHERE bin_id='1480' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:30:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 525337: <4FGL_J2250.7-2806_daily_bin1480> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin1480> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 23:15:16 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 23:15:17 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:15:17 2021
Terminated at Tue Sep 28 23:30:31 2021
Results reported at Tue Sep 28 23:30:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin1480 342.69 -28.1114 622944001 623203201 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 :                                   665.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            915 sec.

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

