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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1429
RA = 342.606, Dec = -42.1095
tmin = 609724801, tmax = 609984001
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='516073', job_status='RUN', time_executed='2021-09-28 22:46:09.973429', time_epoch_executed='1632894369.97' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1429'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/516073

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/516073/ft1_4FGL_J2250.4-4206_daily_bin1429.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/516073/ft2_4FGL_J2250.4-4206_daily_bin1429.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/516073/ft1_4FGL_J2250.4-4206_daily_bin1429.fits outfile=/scratch/kocevski/516073/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1429.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=609724801.0 tmax=609984001.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 2.57
user 2.36
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/516073/ft2_4FGL_J2250.4-4206_daily_bin1429.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/516073/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1429.fits evtable="EVENTS" outfile="/scratch/kocevski/516073/ft1_filtered_4FGL_J2250.4-4206_daily_bin1429.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/516073/ft1_filtered_4FGL_J2250.4-4206_daily_bin1429.fits" evtable="EVENTS" scfile=/scratch/kocevski/516073/ft2_4FGL_J2250.4-4206_daily_bin1429.fits sctable="SC_DATA" outfile=/scratch/kocevski/516073/ltcube_609724801_609984001_4FGL_J2250.4-4206_daily_bin1429.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/516073/ft2_4FGL_J2250.4-4206_daily_bin1429.fits
.....................!
real 12.78
user 12.42
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/516073/ft1_filtered_4FGL_J2250.4-4206_daily_bin1429.fits evtable="EVENTS" scfile=/scratch/kocevski/516073/ft2_4FGL_J2250.4-4206_daily_bin1429.fits sctable="SC_DATA" expcube=/scratch/kocevski/516073/ltcube_609724801_609984001_4FGL_J2250.4-4206_daily_bin1429.fits outfile=/scratch/kocevski/516073/expmap_609724801_609984001_4FGL_J2250.4-4206_daily_bin1429.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/516073/ltcube_609724801_609984001_4FGL_J2250.4-4206_daily_bin1429.fits
.....................!
real 190.85
user 184.99
sys 5.54

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/516073/ft1_filtered_4FGL_J2250.4-4206_daily_bin1429.fits scfile=/scratch/kocevski/516073/ft2_4FGL_J2250.4-4206_daily_bin1429.fits outfile=/scratch/kocevski/516073/cmap_609724801_609984001_4FGL_J2250.4-4206_daily_bin1429.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.58
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/516073/ft1_filtered_4FGL_J2250.4-4206_daily_bin1429.fits scfile=/scratch/kocevski/516073/ft2_4FGL_J2250.4-4206_daily_bin1429.fits outfile=/scratch/kocevski/516073/cmap_HighResolution_609724801_609984001_4FGL_J2250.4-4206_daily_bin1429.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/516073/ft1_filtered_4FGL_J2250.4-4206_daily_bin1429.fits evtable="EVENTS" scfile=/scratch/kocevski/516073/ft2_4FGL_J2250.4-4206_daily_bin1429.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/516073/Model_4FGL_J2250.4-4206_daily_bin1429.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/516073/ft1_filtered_4FGL_J2250.4-4206_daily_bin1429.fits.....................!
real 45.66
user 44.43
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0265       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7770       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.5186       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6101       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.200       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.859       1.0000         .10000E-03   10000.    
    11 'Prefactor '    59.389       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .95620       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.6563       1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.828       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.1408       1.0000         .10000E-03   10000.    
    20 'norm      '    3.8462       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.267       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10805E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    3.5551       1.0000         .10000E-03   10000.    
    27 'Prefactor '    13.517       1.0000         .10000E-03   10000.    
    28 'norm      '    .85082       1.0000         .10000E-03   10000.    
    29 'norm      '    1.2908       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.1379       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .71052       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=   6009.615     FROM MIGRAD    STATUS=CONVERGED    822 CALLS     4211 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0258        21.490       -.11083E-05    .54283E-04
   2  Prefactor     5.7755        7.8140        .14343E-05    .11201E-03
   3  Prefactor     .10000E-03    111.28        .15628E-06** at limit **
   4  norm          5.5183        5.6511       -.13145E-05   -.16962E-04
   5  Prefactor     .10000E-03    4.6387       -.12404E-07** at limit **
   6  Prefactor     1.6103        3.0314        .95128E-07   -.77768E-04
   7  Prefactor     .10000E-03    15.990       -.22003E-06** at limit **
   8  Prefactor     .10000E-03    2.2489        .33190E-07** at limit **
   9  Prefactor     28.200        23.474        .23912E-06    .45823E-05
  10  Prefactor     14.860        19.266        .65808E-06    .74680E-05
  11  Prefactor     59.398        32.766       -.13798E-05    .43671E-03
  12  Prefactor     .95554        12.998       -.38516E-05    .19490E-03
  13  Prefactor     1.6803        694.38        .83340E-04    .38127E-04
  14  Prefactor     30.830        13.911        .94622E-06    .43292E-04
  15  Prefactor     .10000E-03    1.8843        .16607E-07** at limit **
  16  Prefactor     .10000E-03    17.179        .81773E-06** at limit **
  17  Prefactor     .10000E-03    19.799       -.23065E-06** at limit **
  18  Prefactor     .10000E-03    6.0116        .20634E-07** at limit **
  19  norm          2.1410        2.9269        .81322E-06   -.15694E-02
  20  norm          3.8460        3.9889       -.45317E-06   -.27655E-05
  21  norm          .10000E-03    3.1558       -.24459E-07** at limit **
  22  norm          .10000E-03    2.5771       -.83977E-08** at limit **
  23  Prefactor     12.267        7.7168       -.76852E-07    .43541E-05
  24  Prefactor     .10000E-03    36.906       -.19401E-06** at limit **
  25  Prefactor     .10000E-03    16.014       -.30660E-06** at limit **
  26  norm          3.5532        4.4234        .10746E-06   -.54117E-05
  27  Prefactor     13.517        13.663       -.44173E-07    .54743E-05
  28  norm          .85081        1.2445        .10245E-06   -.16820E-04
  29  norm          1.2914        3.6067        .58553E-07   -.14978E-03
  30  Normalizat    1.1378        .18116       -.36880E-07    .18253E-03
  31  Prefactor     .71060        .17175       -.58391E-06    .12850E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.02584
  Prefactor  = 5.77552
  Prefactor  = 0.0001
  norm       = 5.51834
  Prefactor  = 0.0001
  Prefactor  = 1.61029
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.2004
  Prefactor  = 14.8596
  Prefactor  = 59.3976
  Prefactor  = 0.955536
  Prefactor  = 1.68033
  Prefactor  = 30.8296
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.14099
  norm       = 3.84598
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 12.267
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.55322
  Prefactor  = 13.5174
  norm       = 0.850811
  norm       = 1.29137
  Normalizat = 1.13778
  Prefactor  = 0.710598
 **********
 **   18 **HESSE 
 **********

 FCN=   6009.615     FROM HESSE     STATUS=OK           632 CALLS     4843 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0258        116.96        .68077E-02   -1.5505    
   2  Prefactor     5.7755        7.7643        .16710E-03   -1.5227    
   3  Prefactor     .10000E-03    111.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.5183        5.6432        .17103E-03   -1.5238    
   5  Prefactor     .10000E-03    4.7424        .16299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6103        3.0087        .17608E-03   -1.5454    
   7  Prefactor     .10000E-03    16.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.2612        .11346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     28.200        23.473        .75443E-04   -1.4645    
  10  Prefactor     14.860        19.270        .10391E-03   -1.4937    
  11  Prefactor     59.398        30.877        .52062E-04   -1.4165    
  12  Prefactor     .95554        27.755        .42499E-02   -1.5512    
  13  Prefactor     1.6803        695.95        .32792E-03   -1.5449    
  14  Prefactor     30.830        13.921        .72163E-04   -1.4597    
  15  Prefactor     .10000E-03    1.8891        .10391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.0212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.1410        6.9677        .14085E-02   -1.5415    
  20  norm          3.8460        3.9900        .15237E-03   -1.5316    
  21  norm          .10000E-03    3.1707        .13394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.5836        .12153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     12.267        7.6471        .11437E-03   -1.5007    
  24  Prefactor     .10000E-03    258.12        .75633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    16.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          3.5532        3.8307        .14558E-03   -1.5331    
  27  Prefactor     13.517        13.613        .10895E-03   -1.4972    
  28  norm          .85081        1.1852        .92057E-04   -1.5523    
  29  norm          1.2914        3.5382        .22626E-03   -1.5481    
  30  Normalizat    1.1378        .21159        .22033E-03   -.88548    
  31  Prefactor     .71060        .20272        .27180E-03   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.6689e-09
Minuit parameter uncertainties:
  1  21.9506
  2  7.76561
  3  0.000199519
  4  5.64372
  5  1.30448e-06
  6  3.00902
  7  3.55623e-06
  8  6.11424e-06
  9  23.4808
  10  19.2779
  11  30.8851
  12  10.3044
  13  69.2169
  14  13.9228
  15  3.16758e-07
  16  1.20412e-05
  17  6.3059e-06
  18  2.95532e-06
  19  6.97038
  20  3.99028
  21  1.48513e-06
  22  4.44648e-07
  23  7.6477
  24  0.000866245
  25  3.21801e-06
  26  3.83097
  27  13.6165
  28  1.18527
  29  3.53878
  30  0.211753
  31  0.202926
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  3.168e-07  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.106e-01  2.029e-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.138e+00  2.118e-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: 3.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/516073/likelihoodResults_609724801_609984001_4FGL_J2250.4-4206_daily_bin1429.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) = 6009.6177607
delta logL = -0.00247853131805

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6009.61528182
delta logL = 3.45776243194e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0679       1.0000          .0000       10.000    
     3 'Normalizat'    1.1378       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71061       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6009.615     FROM MIGRAD    STATUS=FAILED        85 CALLS      236 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10140E-03    34.015        .10536E-02** at limit **
   2  Index         2.0073        8.9618        .50000        .67351E-04
   3  Normalizat    1.1378        .17270E-01    .22033E-03    .76467E-04
   4  Prefactor     .71060        .17291E-01    .27180E-03    .46804E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6009.615     FROM SIMPLEX   STATUS=UNCHANGED    122 CALLS      358 TOTAL
                     EDM=   .79E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10140E-03    34.015        .21930E-03** at limit **
   2  Index         2.0073        8.9618        .66881E-03    .67351E-04
   3  Normalizat    1.1378        .17270E-01    .32460E-05    .76467E-04
   4  Prefactor     .71060        .17291E-01    .36388E-05    .46804E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6009.615     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      404 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.914        .21071E-02** at limit **
   2  Index         1.6082        8.4293        .50000        .61300E-07
   3  Normalizat    1.1378        .17677E-01    .88134E-05   -.94991E-03
   4  Prefactor     .71060        .17699E-01    .10872E-04   -.76439E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.60819
  Normalizat = 1.13778
  Prefactor  = 0.710597
 **********
 **   18 **HESSE 
 **********

 FCN=   6009.615     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      433 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    182.83        .42143E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6082        5.1374        .50000       -.74553    
   3  Normalizat    1.1378        .40696E-01    .17627E-05   -.88548    
   4  Prefactor     .71060        .40732E-01    .21744E-05   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.54062e-10
Minuit parameter uncertainties:
  1  6.92971e-05
  2  721.876
  3  0.0406972
  4  0.0407342
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/516073': 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) = 6009.61527745
delta logL = 4.71416933578e-06

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  6.930e-05  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  1.608e+00  7.219e+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:  7.106e-01  4.073e-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.138e+00  4.070e-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/516073/cmap_HighResolution_609724801_609984001_4FGL_J2250.4-4206_daily_bin1429.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-03', job_status='DONE', photon_flux_upper_limit='3.65e-08', time_completed='2021-09-28 23:01:07.827160', job_id='516073', GAL2='0.71', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1632895267.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='4.71e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1429' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:01:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 516073: <4FGL_J2250.4-4206_daily_bin1429> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1429 342.606 -42.1095 609724801 609984001 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 :                                   875.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            918 sec.

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

