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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1341
RA = 342.606, Dec = -42.1095
tmin = 586915201, tmax = 587174401
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='515943', job_status='RUN', time_executed='2021-09-28 22:49:03.030741', time_epoch_executed='1632894543.03' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1341'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515943

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515943/ft1_4FGL_J2250.4-4206_daily_bin1341.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515943/ft2_4FGL_J2250.4-4206_daily_bin1341.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515943/ft1_4FGL_J2250.4-4206_daily_bin1341.fits outfile=/scratch/kocevski/515943/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1341.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=586915201.0 tmax=587174401.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.61
user 3.38
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/515943/ft2_4FGL_J2250.4-4206_daily_bin1341.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/515943/ft2_4FGL_J2250.4-4206_daily_bin1341.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/515943/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1341.fits evtable="EVENTS" outfile="/scratch/kocevski/515943/ft1_filtered_4FGL_J2250.4-4206_daily_bin1341.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515943/ft1_filtered_4FGL_J2250.4-4206_daily_bin1341.fits" evtable="EVENTS" scfile=/scratch/kocevski/515943/ft2_4FGL_J2250.4-4206_daily_bin1341.fits sctable="SC_DATA" outfile=/scratch/kocevski/515943/ltcube_586915201_587174401_4FGL_J2250.4-4206_daily_bin1341.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/515943/ft2_4FGL_J2250.4-4206_daily_bin1341.fits
.....................!
real 11.78
user 11.43
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515943/ft1_filtered_4FGL_J2250.4-4206_daily_bin1341.fits evtable="EVENTS" scfile=/scratch/kocevski/515943/ft2_4FGL_J2250.4-4206_daily_bin1341.fits sctable="SC_DATA" expcube=/scratch/kocevski/515943/ltcube_586915201_587174401_4FGL_J2250.4-4206_daily_bin1341.fits outfile=/scratch/kocevski/515943/expmap_586915201_587174401_4FGL_J2250.4-4206_daily_bin1341.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/515943/ltcube_586915201_587174401_4FGL_J2250.4-4206_daily_bin1341.fits
.....................!
real 189.25
user 185.16
sys 3.79

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

Setting source of interest to:
4FGL J2250.4-4206 @ 342.606 -42.1095

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/515943/ft1_filtered_4FGL_J2250.4-4206_daily_bin1341.fits scfile=/scratch/kocevski/515943/ft2_4FGL_J2250.4-4206_daily_bin1341.fits outfile=/scratch/kocevski/515943/cmap_586915201_587174401_4FGL_J2250.4-4206_daily_bin1341.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.606 yref=-42.1095 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/515943/ft1_filtered_4FGL_J2250.4-4206_daily_bin1341.fits scfile=/scratch/kocevski/515943/ft2_4FGL_J2250.4-4206_daily_bin1341.fits outfile=/scratch/kocevski/515943/cmap_HighResolution_586915201_587174401_4FGL_J2250.4-4206_daily_bin1341.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.606 yref=-42.1095 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/515943/ft1_filtered_4FGL_J2250.4-4206_daily_bin1341.fits evtable="EVENTS" scfile=/scratch/kocevski/515943/ft2_4FGL_J2250.4-4206_daily_bin1341.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/515943/Model_4FGL_J2250.4-4206_daily_bin1341.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/515943/ft1_filtered_4FGL_J2250.4-4206_daily_bin1341.fits.....................!
real 35.57
user 34.33
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/515943/ft1_filtered_4FGL_J2250.4-4206_daily_bin1341.fits', '/scratch/kocevski/515943/ft2_4FGL_J2250.4-4206_daily_bin1341.fits', expMap='/scratch/kocevski/515943/expmap_586915201_587174401_4FGL_J2250.4-4206_daily_bin1341.fits', expCube='/scratch/kocevski/515943/ltcube_586915201_587174401_4FGL_J2250.4-4206_daily_bin1341.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/515943/Model_4FGL_J2250.4-4206_daily_bin1341.xml', optimizer='MINUIT')

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

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.312e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/515943/ft1_filtered_4FGL_J2250.4-4206_daily_bin1341.fits
Spacecraft file(s): /scratch/kocevski/515943/ft2_4FGL_J2250.4-4206_daily_bin1341.fits
Exposure map: /scratch/kocevski/515943/expmap_586915201_587174401_4FGL_J2250.4-4206_daily_bin1341.fits
Exposure cube: /scratch/kocevski/515943/ltcube_586915201_587174401_4FGL_J2250.4-4206_daily_bin1341.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/515943/Model_4FGL_J2250.4-4206_daily_bin1341.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) = 4110.42631422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.020       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.5448       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9241       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9137       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0926       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.769       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.9531       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.559       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    34.690       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    46.497       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.8958       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .13035E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    77.709       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.2530       1.0000         .10000E-03   10000.    
    27 'Prefactor '    35.773       1.0000         .10000E-03   10000.    
    28 'norm      '    1.5763       1.0000         .10000E-03   10000.    
    29 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.4471       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .49634       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4110.265     FROM MIGRAD    STATUS=CONVERGED    786 CALLS     4197 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.027        50.726        .14736E-06    .87592E-04
   2  Prefactor     .10000E-03    6.0996        .83553E-06** at limit **
   3  Prefactor     6.5578        244.71        .87641E-05    .14310E-04
   4  norm          .10000E-03    2.7505        .23584E-07** at limit **
   5  Prefactor     9.9261        15.430       -.16125E-05    .98836E-04
   6  Prefactor     5.9132        5.7703        .16208E-05    .53521E-03
   7  Prefactor     .10000E-03    26.613       -.14742E-05** at limit **
   8  Prefactor     1.0920        12.242        .24893E-05    .52876E-04
   9  Prefactor     12.756        26.407       -.21755E-05   -.15082E-04
  10  Prefactor     8.9561        28.977       -.12585E-05    .55498E-04
  11  Prefactor     11.561        29.027       -.36835E-05    .31594E-04
  12  Prefactor     .10000E-03    11.749       -.14178E-05** at limit **
  13  Prefactor     .10000E-03    47.166        .42380E-05** at limit **
  14  Prefactor     34.690        18.621       -.63497E-06    .97459E-04
  15  Prefactor     .10000E-03    8.2840        .89741E-06** at limit **
  16  Prefactor     46.491        62.040       -.34975E-05   -.25276E-05
  17  Prefactor     .10000E-03    23.342       -.45036E-06** at limit **
  18  Prefactor     .10000E-03    23.895       -.38131E-06** at limit **
  19  norm          .10000E-03    6.8499       -.90034E-06** at limit **
  20  norm          .10000E-03    2.6504        .30351E-07** at limit **
  21  norm          .10000E-03    4.3737       -.17299E-07** at limit **
  22  norm          3.8961        6.2319        .33091E-06    .10036E-03
  23  Prefactor     .10000E-03    15.672        .38590E-05** at limit **
  24  Prefactor     77.552        68.879       -.15483E-05   -.24426E-03
  25  Prefactor     .10000E-03    30.487       -.82373E-06** at limit **
  26  norm          1.2669        7.1158       -.77475E-05   -.44098E-03
  27  Prefactor     35.785        25.025        .32503E-06    .15380E-03
  28  norm          1.5760        1.5232       -.19700E-06   -.26781E-06
  29  norm          .10000E-03    3.0407       -.15257E-05** at limit **
  30  Normalizat    1.4469        .28265        .12267E-04   -.70612E-04
  31  Prefactor     .49638        .24269       -.13985E-04    .30639E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.0266
  Prefactor  = 0.0001
  Prefactor  = 6.55785
  norm       = 0.0001
  Prefactor  = 9.92614
  Prefactor  = 5.9132
  Prefactor  = 0.0001
  Prefactor  = 1.09202
  Prefactor  = 12.7557
  Prefactor  = 8.95606
  Prefactor  = 11.5612
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 34.6897
  Prefactor  = 0.0001
  Prefactor  = 46.4912
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 3.89608
  Prefactor  = 0.0001
  Prefactor  = 77.552
  Prefactor  = 0.0001
  norm       = 1.26686
  Prefactor  = 35.785
  norm       = 1.57601
  norm       = 0.0001
  Normalizat = 1.44694
  Prefactor  = 0.496385
 **********
 **   18 **HESSE 
 **********

 FCN=   4110.265     FROM HESSE     STATUS=OK           618 CALLS     4815 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.027        50.721        .56702E-04   -1.4292    
   2  Prefactor     .10000E-03    6.1269        .15431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.5578        243.40        .15687E-03   -1.5196    
   4  norm          .10000E-03    2.7508        .10384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.9261        15.497        .12720E-03   -1.5078    
   6  Prefactor     5.9132        5.8688        .71857E-03   -1.5222    
   7  Prefactor     .10000E-03    26.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0920        11.997        .40081E-03   -1.5499    
   9  Prefactor     12.756        26.360        .11210E-03   -1.4994    
  10  Prefactor     8.9561        28.962        .13395E-03   -1.5109    
  11  Prefactor     11.561        28.854        .11783E-03   -1.5028    
  12  Prefactor     .10000E-03    11.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    47.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     34.690        18.660        .68039E-04   -1.4529    
  15  Prefactor     .10000E-03    8.3712        .18010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     46.491        61.723        .58801E-04   -1.4343    
  17  Prefactor     .10000E-03    23.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.8588        .16394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.6509        .10193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    4.3796        .13068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.8961        6.2228        .19638E-03   -1.5313    
  23  Prefactor     .10000E-03    15.784        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     77.552        68.848        .22777E-03   -1.3944    
  25  Prefactor     .10000E-03    30.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.2669        7.0378        .26252E-03   -1.5483    
  27  Prefactor     35.785        25.050        .67005E-04   -1.4511    
  28  norm          1.5760        1.5017        .71648E-04   -1.5457    
  29  norm          .10000E-03    3.0903        .10869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.4469        .31572        .22059E-03   -.79280    
  31  Prefactor     .49638        .26581        .33673E-03   -1.1214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96689e-09
Minuit parameter uncertainties:
  1  50.7645
  2  8.53399e-06
  3  80.2583
  4  3.8184e-08
  5  15.5034
  6  5.86942
  7  0.000196057
  8  7.24061
  9  26.3842
  10  29.0077
  11  28.8892
  12  0.000100976
  13  0.000583205
  14  18.6636
  15  1.55085e-05
  16  61.8084
  17  4.72088e-05
  18  0.00018383
  19  4.77008e-05
  20  3.07592e-07
  21  9.93181e-05
  22  6.22382
  23  0.000116719
  24  68.9187
  25  0.00010818
  26  5.97273
  27  25.0571
  28  1.50173
  29  1.46689e-05
  30  0.316143
  31  0.266481
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.551e-05  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  4.964e-01  2.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.447e+00  3.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.606 -42.109
Photon Flux Upper Limit: 8.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/515943/likelihoodResults_586915201_587174401_4FGL_J2250.4-4206_daily_bin1341.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4110.26546726
delta logL = -0.00056871929155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4110.26489855
delta logL = -1.40416887007e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0889       1.0000          .0000       10.000    
     3 'Normalizat'    1.4470       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .49638       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4110.265     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.8368        .90712E-02** at limit **
   2  Index         2.0913        6.7965        .50000       -.20023E-05
   3  Normalizat    1.4470        .46388E-02    .49895E-01    .66878E-05
   4  Prefactor     .49637        .43875E-02    .76044E-01    .29167E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.09127
  Normalizat = 1.44695
  Prefactor  = 0.496374
 **********
 **   18 **HESSE 
 **********

 FCN=   4110.265     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      241 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    45.066        .18012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0913        5.9567        .50000       -.62087    
   3  Normalizat    1.4470        .12874E-01    .22058E-03   -.79280    
   4  Prefactor     .49637        .12149E-01    .33675E-03   -1.1214    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.61809e-09
Minuit parameter uncertainties:
  1  4.38976e-05
  2  132.715
  3  0.0128739
  4  0.0121493
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515943': 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): 102
logL (Free Index) = 4110.26489854
delta logL = 3.71801434085e-09

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  4.390e-05  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.091e+00  1.327e+02  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  4.964e-01  1.215e-02  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.447e+00  1.287e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.606 -42.109

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/515943/cmap_HighResolution_586915201_587174401_4FGL_J2250.4-4206_daily_bin1341.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-03', job_status='DONE', photon_flux_upper_limit='8.47e-08', time_completed='2021-09-28 23:01:00.641683', job_id='515943', GAL2='0.50', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1632895260.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='3.72e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1341' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:01:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 515943: <4FGL_J2250.4-4206_daily_bin1341> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1341> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:45:41 2021
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:45:42 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:45:42 2021
Terminated at Tue Sep 28 23:01:01 2021
Results reported at Tue Sep 28 23:01:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1341 342.606 -42.1095 586915201 587174401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.4-4206 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   673.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             230.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            920 sec.

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

