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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1500
RA = 342.606, Dec = -42.1095
tmin = 628128001, tmax = 628387201
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='517220', job_status='RUN', time_executed='2021-09-28 22:52:43.144996', time_epoch_executed='1632894763.15' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/517220

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/517220/ft1_4FGL_J2250.4-4206_daily_bin1500.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/517220/ft2_4FGL_J2250.4-4206_daily_bin1500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/517220/ft1_4FGL_J2250.4-4206_daily_bin1500.fits outfile=/scratch/kocevski/517220/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1500.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=628128001.0 tmax=628387201.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.20
user 4.93
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/517220/ft1_filtered_4FGL_J2250.4-4206_daily_bin1500.fits" evtable="EVENTS" scfile=/scratch/kocevski/517220/ft2_4FGL_J2250.4-4206_daily_bin1500.fits sctable="SC_DATA" outfile=/scratch/kocevski/517220/ltcube_628128001_628387201_4FGL_J2250.4-4206_daily_bin1500.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/517220/ft2_4FGL_J2250.4-4206_daily_bin1500.fits
.....................!
real 11.47
user 11.12
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/517220/ft1_filtered_4FGL_J2250.4-4206_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/517220/ft2_4FGL_J2250.4-4206_daily_bin1500.fits sctable="SC_DATA" expcube=/scratch/kocevski/517220/ltcube_628128001_628387201_4FGL_J2250.4-4206_daily_bin1500.fits outfile=/scratch/kocevski/517220/expmap_628128001_628387201_4FGL_J2250.4-4206_daily_bin1500.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/517220/ltcube_628128001_628387201_4FGL_J2250.4-4206_daily_bin1500.fits
.....................!
real 191.65
user 185.99
sys 5.35

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/517220/ft1_filtered_4FGL_J2250.4-4206_daily_bin1500.fits scfile=/scratch/kocevski/517220/ft2_4FGL_J2250.4-4206_daily_bin1500.fits outfile=/scratch/kocevski/517220/cmap_628128001_628387201_4FGL_J2250.4-4206_daily_bin1500.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.36
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/517220/ft1_filtered_4FGL_J2250.4-4206_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/517220/ft2_4FGL_J2250.4-4206_daily_bin1500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/517220/Model_4FGL_J2250.4-4206_daily_bin1500.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/517220/ft1_filtered_4FGL_J2250.4-4206_daily_bin1500.fits.....................!
real 35.05
user 33.78
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    78.648       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8653       1.0000         .10000E-03   10000.    
     3 'Prefactor '    54.381       1.0000         .10000E-03   10000.    
     4 'norm      '    2.7034       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.784       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .46468E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9408       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.653       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.635       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.986       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.9249       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    10.897       1.0000         .10000E-03   10000.    
    21 'norm      '    3.8778       1.0000         .10000E-03   10000.    
    22 'norm      '    18.198       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.3587       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    48.310       1.0000         .10000E-03   10000.    
    26 'norm      '    4.9551       1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.5016       1.0000         .10000E-03   10000.    
    28 'norm      '    .10266E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    1.9504       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.7451       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .39464       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=   3857.750     FROM MIGRAD    STATUS=CONVERGED   1427 CALLS     4784 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     78.665        60.281        .45283E-04   -.49508E-04
   2  Prefactor     1.8602        31.826        .30504E-03    .24486E-04
   3  Prefactor     54.449        122.13        .27196E-03   -.23096E-04
   4  norm          2.7033        5.7794        .21300E-03   -.10034E-04
   5  Prefactor     12.783        16.222        .11203E-03    .81284E-04
   6  Prefactor     .35762E-01    11.877        .37326E-01    .25616E-03
   7  Prefactor     .10000E-03    25.680        .18142E-02** at limit **
   8  Prefactor     2.9415        7.1847        .23685E-03   -.63000E-04
   9  Prefactor     12.654        27.167        .11261E-03    .22110E-04
  10  Prefactor     .10000E-03    12.997        .18142E-02** at limit **
  11  Prefactor     .10000E-03    19.958        .18142E-02** at limit **
  12  Prefactor     14.635        15.021        .10470E-03   -.11782E-04
  13  Prefactor     .10000E-03    47.550        .18142E-02** at limit **
  14  Prefactor     .10000E-03    24.409        .18142E-02** at limit **
  15  Prefactor     13.987        10.343        .10710E-03    .78338E-04
  16  Prefactor     .10000E-03    13.785        .18142E-02** at limit **
  17  Prefactor     .10000E-03    61.727        .18142E-02** at limit **
  18  Prefactor     6.9047        24.176        .15246E-03    .18978E-03
  19  norm          .10000E-03    7.8634        .17005E-02** at limit **
  20  norm          10.894        9.3848        .12137E-03    .32617E-03
  21  norm          3.8778        5.9506        .16735E-03    .38518E-04
  22  norm          18.198        15.868        .93887E-04    .58123E-04
  23  Prefactor     5.3558        10.614        .17361E-03    .44579E-03
  24  Prefactor     .10000E-03    17.208        .18142E-02** at limit **
  25  Prefactor     48.356        111.27        .57692E-04    .58822E-04
  26  norm          4.9551        5.6660        .13459E-03    .13059E-03
  27  Prefactor     2.4904        47.104        .12919E-02    .57547E-04
  28  norm          .10000E-03    1.3076        .10526E-02** at limit **
  29  norm          1.9505        5.6357        .23056E-03    .26602E-04
  30  Normalizat    1.7452        .32184        .22149E-03   -.10309E-03
  31  Prefactor     .39456        .28281        .40412E-03    .75745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 78.6653
  Prefactor  = 1.86017
  Prefactor  = 54.4489
  norm       = 2.70328
  Prefactor  = 12.7828
  Prefactor  = 0.0357619
  Prefactor  = 0.0001
  Prefactor  = 2.94148
  Prefactor  = 12.654
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.6346
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.987
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.90475
  norm       = 0.0001
  norm       = 10.8941
  norm       = 3.87784
  norm       = 18.1981
  Prefactor  = 5.35576
  Prefactor  = 0.0001
  Prefactor  = 48.3561
  norm       = 4.95509
  Prefactor  = 2.49036
  norm       = 0.000100002
  norm       = 1.95051
  Normalizat = 1.74523
  Prefactor  = 0.394558
 **********
 **   18 **HESSE 
 **********

 FCN=   3857.750     FROM HESSE     STATUS=OK           602 CALLS     5386 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     78.665        60.254        .90567E-05   -1.3932    
   2  Prefactor     1.8602        31.711        .12202E-04   -1.5435    
   3  Prefactor     54.449        121.99        .10879E-04   -1.4231    
   4  norm          2.7033        5.7792        .85200E-05   -1.5379    
   5  Prefactor     12.783        16.216        .44813E-05   -1.4993    
   6  Prefactor     .35762E-01    7.8189        .47872E-01   -1.5670    
   7  Prefactor     .10000E-03    25.680        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.9415        7.1828        .94738E-05   -1.5365    
   9  Prefactor     12.654        27.160        .45044E-05   -1.4996    
  10  Prefactor     .10000E-03    12.997        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.959        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.635        15.018        .41879E-05   -1.4943    
  13  Prefactor     .10000E-03    47.551        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.415        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.987        10.343        .42840E-05   -1.4960    
  16  Prefactor     .10000E-03    13.785        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    61.728        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.9047        24.162        .60983E-05   -1.5182    
  19  norm          .10000E-03    7.8636        .34009E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          10.894        9.3841        .24273E-04   -1.5048    
  21  norm          3.8778        5.9526        .66941E-05   -1.5314    
  22  norm          18.198        15.864        .37555E-05   -1.4855    
  23  Prefactor     5.3558        10.527        .69442E-05   -1.5245    
  24  Prefactor     .10000E-03    17.208        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     48.356        111.23        .11538E-04   -1.4316    
  26  norm          4.9551        5.6668        .53836E-05   -1.5263    
  27  Prefactor     2.4904        46.221        .51676E-04   -1.5392    
  28  norm          .10000E-03    1.3088        .21052E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          1.9505        5.6332        .92224E-05   -1.5429    
  30  Normalizat    1.7452        .32182        .44299E-04   -.71102    
  31  Prefactor     .39456        .28275        .16165E-04   -1.1709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59854e-09
Minuit parameter uncertainties:
  1  60.3006
  2  15.37
  3  122.555
  4  5.78038
  5  16.2216
  6  1.05624
  7  9.50386e-05
  8  7.18488
  9  27.1869
  10  6.34456e-05
  11  9.54761e-05
  12  15.0222
  13  0.000133275
  14  6.75508e-05
  15  10.344
  16  8.07018e-05
  17  0.000140313
  18  24.1961
  19  1.57277e-06
  20  9.3854
  21  5.95347
  22  15.8678
  23  10.5308
  24  2.83413e-05
  25  111.713
  26  5.66743
  27  21.4765
  28  9.1003e-05
  29  5.63473
  30  0.32221
  31  0.283755
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.399e+01  1.034e+01  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:  3.946e-01  2.838e-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.745e+00  3.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.06
Ra Dec: 342.606 -42.109
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 5.25e-08 +/- 3.88e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 2.19e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3857.58520265
delta logL = 0.164496942661

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3857.56965775
delta logL = 0.18004185023

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.990       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7629       1.0000          .0000       10.000    
     3 'Normalizat'    1.7629       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .38581       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=   3857.570     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      298 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.989        13.270        .48584E-03    .12303E-02
   2  Index         1.7629        .52735        .67070E-02    .33142E-03
   3  Normalizat    1.7632        .29788        .22060E-03   -.14769E-03
   4  Prefactor     .38559        .27742        .40858E-03   -.98209E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.9892
  Index      = 1.76289
  Normalizat = 1.76325
  Prefactor  = 0.385591
 **********
 **   18 **HESSE 
 **********

 FCN=   3857.570     FROM HESSE     STATUS=OK            23 CALLS      321 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.989        13.213        .97168E-04   -1.4883    
   2  Index         1.7629        .52498        .26828E-03   -.70420    
   3  Normalizat    1.7632        .29789        .44119E-04   -.70627    
   4  Prefactor     .38559        .27747        .16343E-04   -1.1755    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27109e-09
Minuit parameter uncertainties:
  1  13.215
  2  0.526655
  3  0.298196
  4  0.278438
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/517220': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3857.56965716
delta logL = 0.18004244049

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.699e+01  1.321e+01  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  1.763e+00  5.267e-01  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:  3.856e-01  2.784e-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.763e+00  2.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.42
Ra Dec: 342.606 -42.109
Photon Index (Free Index): 1.76 +/- 0.53
Photon Flux (Free Index): 3.56e-08 +/- 3.80e-08
Energy Flux (Free Index): 4.77e-05 +/- 5.59e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/517220/cmap_HighResolution_628128001_628387201_4FGL_J2250.4-4206_daily_bin1500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.25e-08', energy_flux2='4.77e-05', photon_flux_error='3.88e-08', dlogl='1.80e-01', energy_flux='2.97e-05', photon_flux2='3.56e-08', job_status='DONE', time_completed='2021-09-28 23:03:52.590826', photon_index_error2='0.53', photon_index2='1.76', ts='6.06', fit_tolerance='1e-08', GAL='0.39', photon_index_error='0.00', energy_flux_error2='5.59e-05', EG='1.75', time_epoch_completed='1632895432.59', return_code='0', job_id='517220', GAL2='0.39', EG2='1.76', return_code2='0', energy_flux_error='2.19e-05', photon_flux_error2='3.80e-08', ts2='6.42', photon_index='2.09' WHERE bin_id='1500' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:03:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 517220: <4FGL_J2250.4-4206_daily_bin1500> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1500> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:50:17 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:50:19 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:50:19 2021
Terminated at Tue Sep 28 23:03:53 2021
Results reported at Tue Sep 28 23:03:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1500 342.606 -42.1095 628128001 628387201 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 :                                   624.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             232.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            816 sec.

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

