/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 139 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7393
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1255
RA = 342.606, Dec = -42.1095
tmin = 564624001, tmax = 564883201
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='515812', job_status='RUN', time_executed='2021-09-28 22:48:01.574429', time_epoch_executed='1632894481.57' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515812

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515812/ft1_4FGL_J2250.4-4206_daily_bin1255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515812/ft2_4FGL_J2250.4-4206_daily_bin1255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515812/ft1_4FGL_J2250.4-4206_daily_bin1255.fits outfile=/scratch/kocevski/515812/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1255.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=564624001.0 tmax=564883201.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.58
user 3.38
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/515812/ft2_4FGL_J2250.4-4206_daily_bin1255.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/515812/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1255.fits evtable="EVENTS" outfile="/scratch/kocevski/515812/ft1_filtered_4FGL_J2250.4-4206_daily_bin1255.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/515812/ft1_filtered_4FGL_J2250.4-4206_daily_bin1255.fits" evtable="EVENTS" scfile=/scratch/kocevski/515812/ft2_4FGL_J2250.4-4206_daily_bin1255.fits sctable="SC_DATA" outfile=/scratch/kocevski/515812/ltcube_564624001_564883201_4FGL_J2250.4-4206_daily_bin1255.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/515812/ft2_4FGL_J2250.4-4206_daily_bin1255.fits
.....................!
real 11.80
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515812/ft1_filtered_4FGL_J2250.4-4206_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/515812/ft2_4FGL_J2250.4-4206_daily_bin1255.fits sctable="SC_DATA" expcube=/scratch/kocevski/515812/ltcube_564624001_564883201_4FGL_J2250.4-4206_daily_bin1255.fits outfile=/scratch/kocevski/515812/expmap_564624001_564883201_4FGL_J2250.4-4206_daily_bin1255.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/515812/ltcube_564624001_564883201_4FGL_J2250.4-4206_daily_bin1255.fits
.....................!
real 190.16
user 186.08
sys 3.78

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/515812/ft1_filtered_4FGL_J2250.4-4206_daily_bin1255.fits scfile=/scratch/kocevski/515812/ft2_4FGL_J2250.4-4206_daily_bin1255.fits outfile=/scratch/kocevski/515812/cmap_564624001_564883201_4FGL_J2250.4-4206_daily_bin1255.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/515812/ft1_filtered_4FGL_J2250.4-4206_daily_bin1255.fits scfile=/scratch/kocevski/515812/ft2_4FGL_J2250.4-4206_daily_bin1255.fits outfile=/scratch/kocevski/515812/cmap_HighResolution_564624001_564883201_4FGL_J2250.4-4206_daily_bin1255.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/515812/ft1_filtered_4FGL_J2250.4-4206_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/515812/ft2_4FGL_J2250.4-4206_daily_bin1255.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/515812/Model_4FGL_J2250.4-4206_daily_bin1255.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/515812/ft1_filtered_4FGL_J2250.4-4206_daily_bin1255.fits....................!
real 16.90
user 15.64
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/515812/ft1_filtered_4FGL_J2250.4-4206_daily_bin1255.fits', '/scratch/kocevski/515812/ft2_4FGL_J2250.4-4206_daily_bin1255.fits', expMap='/scratch/kocevski/515812/expmap_564624001_564883201_4FGL_J2250.4-4206_daily_bin1255.fits', expCube='/scratch/kocevski/515812/ltcube_564624001_564883201_4FGL_J2250.4-4206_daily_bin1255.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/515812/Model_4FGL_J2250.4-4206_daily_bin1255.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/515812/ft1_filtered_4FGL_J2250.4-4206_daily_bin1255.fits
Spacecraft file(s): /scratch/kocevski/515812/ft2_4FGL_J2250.4-4206_daily_bin1255.fits
Exposure map: /scratch/kocevski/515812/expmap_564624001_564883201_4FGL_J2250.4-4206_daily_bin1255.fits
Exposure cube: /scratch/kocevski/515812/ltcube_564624001_564883201_4FGL_J2250.4-4206_daily_bin1255.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/515812/Model_4FGL_J2250.4-4206_daily_bin1255.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 516.7780061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 512.511530393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6979       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .45765E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.7418       1.0000         .10000E-03   10000.    
     4 'norm      '    1.6153       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.097       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10638E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .37761       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.355       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .34332E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.0636       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1398       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6387       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0694       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14845E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12022E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.8028       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .18967       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.5499       1.0000         .10000E-03   10000.    
    19 'norm      '    371.41       1.0000         .10000E-03   10000.    
    20 'norm      '    .95206       1.0000         .10000E-03   10000.    
    21 'norm      '    .68838E-02   1.0000         .10000E-03   10000.    
    22 'norm      '    4.2026       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .34834       1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.4576       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.6866       1.0000         .10000E-03   10000.    
    26 'norm      '    .29700       1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.8235       1.0000         .10000E-03   10000.    
    28 'norm      '    7.2906       1.0000         .10000E-03   10000.    
    29 'norm      '    10.382       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.3399       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   512.2497     FROM MIGRAD    STATUS=CONVERGED    474 CALLS      704 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40145E-03    1366.2        .42069E-02** at limit **
   2  Prefactor     .10000E-03    168.29        .92494E-02** at limit **
   3  Prefactor     .19333E-03    6327.1        .38634E-02** at limit **
   4  norm          1.6153        1.0584         .0000         .0000    
   5  Prefactor     40.012        1.0117        .13143E-06   -.61939E-04
   6  Prefactor     .10000E-03    .20594       -.14080E-05** at limit **
   7  Prefactor     .10000E-03    .28947       -.43196E-05** at limit **
   8  Prefactor     .10000E-03    .22085E-01   -.38088E-05** at limit **
   9  Prefactor     .10000E-03    .24200       -.10497E-05** at limit **
  10  Prefactor     .19623        .25659        .88584E-04    .60084E-05
  11  Prefactor     .56882        .37349        .82109E-07    .57882E-03
  12  Prefactor     .38504        .38932        .10052E-05   -.13222E-02
  13  Prefactor     4.0694        1.0077         .0000         .0000    
  14  Prefactor     .10000E-03    .20571        .16779E-05** at limit **
  15  Prefactor     .10000E-03    .20571       -.40997E-06** at limit **
  16  Prefactor     2103.0        13.764       -.58261E-05    .60445E-04
  17  Prefactor     .10000E-03    .24653       -.38050E-06** at limit **
  18  Prefactor     3.5499        1.0103         .0000         .0000    
  19  norm          337.36        .95474        .82861E-07    .46936E-02
  20  norm          .11981        .44961       -.16060E-05    .13602E-02
  21  norm          .10000E-03    .21918       -.13084E-06** at limit **
  22  norm          7.0645        1.3057        .46698E-06   -.70430E-04
  23  Prefactor     .10001E-03    .28276       -.66565E-06** at limit **
  24  Prefactor     .58250E-03    .33700E-01   -.38215E-05** at limit **
  25  Prefactor     .10607E-03    .53991E-01    .61953E-05** at limit **
  26  norm          .10000E-03    .27101        .36998E-05** at limit **
  27  Prefactor     .10001E-03    .14937       -.50077E-05** at limit **
  28  norm          7.2906        1.0024         .0000         .0000    
  29  norm          11.863        1.0701        .96136E-06    .10879E-03
  30  Normalizat    .10000E-01    .25505        .35301E-05** at limit **
  31  Prefactor     1.3151        1.0614       -.11344E-05    .25548E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000401451
  Prefactor  = 0.000100003
  Prefactor  = 0.000193326
  norm       = 1.61533
  Prefactor  = 40.0119
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.196229
  Prefactor  = 0.56882
  Prefactor  = 0.385039
  Prefactor  = 4.06936
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2102.97
  Prefactor  = 0.0001
  Prefactor  = 3.54989
  norm       = 337.36
  norm       = 0.119812
  norm       = 0.0001
  norm       = 7.06454
  Prefactor  = 0.000100012
  Prefactor  = 0.0005825
  Prefactor  = 0.000106068
  norm       = 0.0001
  Prefactor  = 0.000100012
  norm       = 7.2906
  norm       = 11.8629
  Normalizat = 0.01
  Prefactor  = 1.3151
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   512.2497     FROM HESSE     STATUS=FAILED        15 CALLS      719 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40145E-03    1366.2        .42069E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    168.29        .92494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19333E-03    6327.1        .38634E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          575.65        573.86         .0000       -1.5454    
   5  Prefactor     40.012        1.0117        .13143E-06   -1.4442    
   6  Prefactor     .10000E-03    .20594       -.14080E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .28947       -.43196E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .22085E-01   -.38088E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .24200       -.10497E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19623        .25659        .88584E-04   -1.5619    
  11  Prefactor     .56882        .37349        .82109E-07   -1.5557    
  12  Prefactor     .38504        .38932        .10052E-05   -1.5832    
  13  Prefactor     4.0694        1.0077         .0000       -1.5304    
  14  Prefactor     .10000E-03    .20571        .16779E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .20571       -.40997E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2103.0        13.764       -.58261E-05   -.61800    
  17  Prefactor     .10000E-03    .24653       -.38050E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.5499        1.0103         .0000       -1.5331    
  19  norm          337.36        .95474        .82861E-07   -1.2014    
  20  norm          .11981        .44961       -.16060E-05   -1.5639    
  21  norm          .10000E-03    .21918       -.13084E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.0645        1.3057        .46698E-06   -1.5176    
  23  Prefactor     .10001E-03    .28276       -.66565E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .58250E-03    .33700E-01   -.38215E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10607E-03    .53991E-01    .61953E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .27101        .36998E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10001E-03    .14937       -.50077E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          7.2906        1.0024         .0000       -1.5168    
  29  norm          11.863        1.0701        .96136E-06   -1.5019    
  30  Normalizat    .10000E-01    .25505        .35301E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     1.3151        1.0614       -.11344E-05   -.82859    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.79932e-10
Minuit parameter uncertainties:
  1  1.31469
  2  0.00149255
  3  1.0459
  4  1.05842
  5  1.01167
  6  1.44538e-05
  7  1.2965e-05
  8  5.45562e-06
  9  4.48415e-06
  10  0.256596
  11  0.373492
  12  0.389322
  13  1.00775
  14  8.13141e-06
  15  1.78887e-06
  16  13.7637
  17  4.75708e-06
  18  1.01028
  19  0.954743
  20  0.449621
  21  9.6877e-07
  22  1.30575
  23  0.000117423
  24  0.00806484
  25  0.00114479
  26  1.18165e-06
  27  8.37992e-05
  28  1.00237
  29  1.07011
  30  1.48317e-06
  31  1.07969
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 512.24973657

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.789e-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:  1.315e+00  1.080e+00  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.000e-02  1.483e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.606 -42.109
Photon Flux Upper Limit: 4.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.35e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/515812/likelihoodResults_564624001_564883201_4FGL_J2250.4-4206_daily_bin1255.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) = 512.249939444
delta logL = -0.000202873921808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 512.249738291
delta logL = -1.72162071976e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11199E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3406       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3151       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=   512.2497     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      277 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10234E-03    199.40        .92210E-03** at limit **
   2  Index         2.2710        6.0854        .50000        .16263E-04
   3  Normalizat    .10000E-01    .80403E-02    .73225E-02** at limit **
   4  Prefactor     1.3151        .41170E-01    .17976E-03    .11550E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102341
  Index      = 2.27105
  Normalizat = 0.01
  Prefactor  = 1.3151
 **********
 **   18 **HESSE 
 **********

 FCN=   512.2497     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      306 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10234E-03    735.21        .18442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2710        7.7391        .50000       -.57733    
   3  Normalizat    .10000E-01    .32179E-01    .14645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3151        .82371E-01    .71905E-05   -.82859    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.19306e-08
Minuit parameter uncertainties:
  1  0.084024
  2  618.636
  3  1.31498e-07
  4  0.0823796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515812': 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) = 512.249737197
delta logL = -6.27630811323e-07

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.023e-04  8.402e-02  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.271e+00  6.186e+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:  1.315e+00  8.238e-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.000e-02  1.315e-07  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/515812/cmap_HighResolution_564624001_564883201_4FGL_J2250.4-4206_daily_bin1255.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-02', job_status='DONE', photon_flux_upper_limit='4.43e-07', time_completed='2021-09-28 22:53:47.706686', job_id='515812', GAL2='1.32', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632894827.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.32', dlogl='-6.28e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1255' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:53:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 515812: <4FGL_J2250.4-4206_daily_bin1255> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1255> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:45:33 2021
Job was executed on host(s) <bullet0291>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:45:34 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:34 2021
Terminated at Tue Sep 28 22:53:48 2021
Results reported at Tue Sep 28 22:53:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1255 342.606 -42.1095 564624001 564883201 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 :                                   330.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             253.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   493 sec.
    Turnaround time :                            495 sec.

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

