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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin739
RA = 342.606, Dec = -42.1095
tmin = 430876801, tmax = 431136001
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='513982', job_status='RUN', time_executed='2021-09-28 22:43:35.755141', time_epoch_executed='1632894215.76' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='739'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513982

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513982/ft1_4FGL_J2250.4-4206_daily_bin739.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513982/ft2_4FGL_J2250.4-4206_daily_bin739.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513982/ft1_4FGL_J2250.4-4206_daily_bin739.fits outfile=/scratch/kocevski/513982/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin739.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=430876801.0 tmax=431136001.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 5.38
user 5.09
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513982/ft1_filtered_4FGL_J2250.4-4206_daily_bin739.fits" evtable="EVENTS" scfile=/scratch/kocevski/513982/ft2_4FGL_J2250.4-4206_daily_bin739.fits sctable="SC_DATA" outfile=/scratch/kocevski/513982/ltcube_430876801_431136001_4FGL_J2250.4-4206_daily_bin739.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/513982/ft2_4FGL_J2250.4-4206_daily_bin739.fits
.....................!
real 12.03
user 11.62
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513982/ft1_filtered_4FGL_J2250.4-4206_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/513982/ft2_4FGL_J2250.4-4206_daily_bin739.fits sctable="SC_DATA" expcube=/scratch/kocevski/513982/ltcube_430876801_431136001_4FGL_J2250.4-4206_daily_bin739.fits outfile=/scratch/kocevski/513982/expmap_430876801_431136001_4FGL_J2250.4-4206_daily_bin739.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/513982/ltcube_430876801_431136001_4FGL_J2250.4-4206_daily_bin739.fits
.....................!
real 194.73
user 190.03
sys 4.38

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/513982/ft1_filtered_4FGL_J2250.4-4206_daily_bin739.fits scfile=/scratch/kocevski/513982/ft2_4FGL_J2250.4-4206_daily_bin739.fits outfile=/scratch/kocevski/513982/cmap_430876801_431136001_4FGL_J2250.4-4206_daily_bin739.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513982/ft1_filtered_4FGL_J2250.4-4206_daily_bin739.fits scfile=/scratch/kocevski/513982/ft2_4FGL_J2250.4-4206_daily_bin739.fits outfile=/scratch/kocevski/513982/cmap_HighResolution_430876801_431136001_4FGL_J2250.4-4206_daily_bin739.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/513982/ft1_filtered_4FGL_J2250.4-4206_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/513982/ft2_4FGL_J2250.4-4206_daily_bin739.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/513982/Model_4FGL_J2250.4-4206_daily_bin739.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/513982/ft1_filtered_4FGL_J2250.4-4206_daily_bin739.fits.....................!
real 26.33
user 24.44
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/513982/ft1_filtered_4FGL_J2250.4-4206_daily_bin739.fits', '/scratch/kocevski/513982/ft2_4FGL_J2250.4-4206_daily_bin739.fits', expMap='/scratch/kocevski/513982/expmap_430876801_431136001_4FGL_J2250.4-4206_daily_bin739.fits', expCube='/scratch/kocevski/513982/ltcube_430876801_431136001_4FGL_J2250.4-4206_daily_bin739.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/513982/Model_4FGL_J2250.4-4206_daily_bin739.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/513982/ft1_filtered_4FGL_J2250.4-4206_daily_bin739.fits
Spacecraft file(s): /scratch/kocevski/513982/ft2_4FGL_J2250.4-4206_daily_bin739.fits
Exposure map: /scratch/kocevski/513982/expmap_430876801_431136001_4FGL_J2250.4-4206_daily_bin739.fits
Exposure cube: /scratch/kocevski/513982/ltcube_430876801_431136001_4FGL_J2250.4-4206_daily_bin739.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/513982/Model_4FGL_J2250.4-4206_daily_bin739.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) = 2114.82718588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    112.47       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.751       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10760E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7270       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5502       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.162       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    45.898       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.033       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.3472       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.2367       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    30.396       1.0000         .10000E-03   10000.    
    20 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .21380       1.0000         .10000E-03   10000.    
    22 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.7681       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .12244E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    7.1655       1.0000         .10000E-03   10000.    
    27 'Prefactor '    23.233       1.0000         .10000E-03   10000.    
    28 'norm      '    17.711       1.0000         .10000E-03   10000.    
    29 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .90572       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .72713       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=   2114.820     FROM MIGRAD    STATUS=CONVERGED    831 CALLS     4188 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     112.45        91.787       -.19382E-06   -.28132E-05
   2  Prefactor     15.760        22.422       -.46539E-06    .31626E-04
   3  Prefactor     .10000E-03    768.53       -.10559E-04** at limit **
   4  norm          .10000E-03    8.1404       -.64294E-08** at limit **
   5  Prefactor     3.7278        12.501        .10260E-05   -.15319E-04
   6  Prefactor     5.5526        8.1236       -.12807E-06   -.39289E-04
   7  Prefactor     .10000E-03    31.630        .30798E-07** at limit **
   8  Prefactor     15.162        13.888        .39099E-07   -.75329E-05
   9  Prefactor     .10000E-03    22.592       -.86489E-07** at limit **
  10  Prefactor     .10000E-03    24.294        .11880E-06** at limit **
  11  Prefactor     45.911        66.378        .36698E-06    .42712E-06
  12  Prefactor     20.037        29.055       -.40753E-07   -.13570E-05
  13  Prefactor     .10000E-03    99.482       -.12629E-05** at limit **
  14  Prefactor     .10000E-03    9.2678        .90214E-07** at limit **
  15  Prefactor     .10000E-03    6.8933       -.63791E-08** at limit **
  16  Prefactor     9.3796        203.10        .21809E-05    .27744E-05
  17  Prefactor     4.3675        995.25        .26630E-04    .79457E-05
  18  Prefactor     .10000E-03    43.929       -.17834E-05** at limit **
  19  norm          30.401        50.354       -.21509E-05   -.11380E-04
  20  norm          .10000E-03    9.0034       -.57411E-06** at limit **
  21  norm          .34849        22.204       -.15945E-05    .14684E-03
  22  norm          .10000E-03    11.420        .80837E-07** at limit **
  23  Prefactor     4.7390        80.638        .13987E-04    .12280E-04
  24  Prefactor     .10000E-03    48.815        .15199E-05** at limit **
  25  Prefactor     .10000E-03    564.37        .11593E-04** at limit **
  26  norm          7.1371        10.922        .56366E-06    .10469E-03
  27  Prefactor     23.355        79.185       -.93342E-05   -.11801E-04
  28  norm          17.712        5.5220       -.30739E-06   -.55687E-04
  29  norm          .10000E-03    8.1377       -.17580E-06** at limit **
  30  Normalizat    .90591        .35197       -.39821E-05    .52495E-04
  31  Prefactor     .72676        .29671        .33282E-05   -.61657E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 112.45
  Prefactor  = 15.7604
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.72783
  Prefactor  = 5.55264
  Prefactor  = 0.0001
  Prefactor  = 15.1618
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.9109
  Prefactor  = 20.0373
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.37957
  Prefactor  = 4.36754
  Prefactor  = 0.0001
  norm       = 30.4013
  norm       = 0.0001
  norm       = 0.348494
  norm       = 0.0001
  Prefactor  = 4.73896
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 7.13711
  Prefactor  = 23.3547
  norm       = 17.7117
  norm       = 0.0001
  Normalizat = 0.905909
  Prefactor  = 0.72676
 **********
 **   18 **HESSE 
 **********

 FCN=   2114.820     FROM HESSE     STATUS=OK           624 CALLS     4812 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     112.45        91.820        .37932E-04   -1.3583    
   2  Prefactor     15.760        22.361        .10092E-03   -1.4914    
   3  Prefactor     .10000E-03    769.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    8.1504        .12816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7278        12.547        .20916E-03   -1.5322    
   6  Prefactor     5.5526        8.1211        .14817E-03   -1.5237    
   7  Prefactor     .10000E-03    31.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.162        13.892        .10286E-03   -1.4929    
   9  Prefactor     .10000E-03    22.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    24.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     45.911        66.415        .59182E-04   -1.4352    
  12  Prefactor     20.037        29.032        .89486E-04   -1.4812    
  13  Prefactor     .10000E-03    99.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.2754        .13674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.9011        .11793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.3796        202.31        .13108E-03   -1.5095    
  17  Prefactor     4.3675        982.70        .19576E-03   -1.5290    
  18  Prefactor     .10000E-03    44.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          30.401        50.351        .72673E-04   -1.4605    
  20  norm          .10000E-03    9.0209        .13487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .34849        127.47        .37437E-02   -1.5590    
  22  norm          .10000E-03    11.438        .15179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.7390        82.653        .18426E-03   -1.5273    
  24  Prefactor     .10000E-03    48.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    568.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          7.1371        11.032        .14985E-03   -1.5174    
  27  Prefactor     23.355        80.058        .83102E-04   -1.4741    
  28  norm          17.712        5.5450        .51486E-04   -1.4866    
  29  norm          .10000E-03    8.2343        .12792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .90591        .41000        .26111E-03   -.96253    
  31  Prefactor     .72676        .34588        .26302E-03   -1.0249    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80955e-09
Minuit parameter uncertainties:
  1  91.9361
  2  22.373
  3  0.00102257
  4  1.50333e-06
  5  12.5556
  6  8.12266
  7  1.78929e-05
  8  13.8949
  9  2.38563e-05
  10  4.73987e-06
  11  66.5219
  12  29.0527
  13  8.05555e-05
  14  5.39221e-06
  15  4.16676e-06
  16  87.4598
  17  133.303
  18  2.83298e-05
  19  50.4219
  20  1.19718e-05
  21  13.3567
  22  3.51688e-07
  23  39.6461
  24  9.29862e-05
  25  0.00188369
  26  11.0356
  27  80.4294
  28  5.54514
  29  7.1161e-06
  30  0.411427
  31  0.34691
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  4.167e-06  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:  7.268e-01  3.469e-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:  9.059e-01  4.114e-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: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/513982/likelihoodResults_430876801_431136001_4FGL_J2250.4-4206_daily_bin739.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) = 2114.82034972
delta logL = -0.000681303636611

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2114.81966839
delta logL = 2.79301275441e-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.0763       1.0000          .0000       10.000    
     3 'Normalizat'    .90591       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72676       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2114.820     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      235 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10069E-03    137.97        .11841E-02** at limit **
   2  Index         2.0289        6.8388        .50000        .10642E-04
   3  Normalizat    .90590        .33518E-01    .26112E-03   -.76193E-05
   4  Prefactor     .72676        .30706E-01    .26302E-03    .68942E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100687
  Index      = 2.0289
  Normalizat = 0.905903
  Prefactor  = 0.726765
 **********
 **   18 **HESSE 
 **********

 FCN=   2114.820     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      264 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10069E-03    549.87        .23682E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0289        5.2537        .50000       -.63630    
   3  Normalizat    .90590        .73040E-01    .10445E-04   -.96253    
   4  Prefactor     .72676        .66868E-01    .10521E-04   -1.0249    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.58483e-08
Minuit parameter uncertainties:
  1  0.0392288
  2  1111.3
  3  0.0730477
  4  0.0668758
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513982': 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) = 2114.81966831
delta logL = 1.12699126475e-07

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.007e-04  3.923e-02  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.029e+00  1.111e+03  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:  7.268e-01  6.688e-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:  9.059e-01  7.305e-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/513982/cmap_HighResolution_430876801_431136001_4FGL_J2250.4-4206_daily_bin739.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.41e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2021-09-28 22:52:16.604799', job_id='513982', GAL2='0.73', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632894736.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.13e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='739' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:52:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 513982: <4FGL_J2250.4-4206_daily_bin739> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin739> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:40:13 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:40:15 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:40:15 2021
Terminated at Tue Sep 28 22:52:17 2021
Results reported at Tue Sep 28 22:52:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin739 342.606 -42.1095 430876801 431136001 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 :                                   519.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             246.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            724 sec.

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

