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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin749
RA = 342.606, Dec = -42.1095
tmin = 433468801, tmax = 433728001
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='513997', job_status='RUN', time_executed='2021-09-28 22:43:12.915490', time_epoch_executed='1632894192.92' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513997

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513997/ft1_4FGL_J2250.4-4206_daily_bin749.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513997/ft2_4FGL_J2250.4-4206_daily_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513997/ft1_4FGL_J2250.4-4206_daily_bin749.fits outfile=/scratch/kocevski/513997/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin749.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=433468801.0 tmax=433728001.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 6.03
user 5.75
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/513997/ft2_4FGL_J2250.4-4206_daily_bin749.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/513997/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin749.fits evtable="EVENTS" outfile="/scratch/kocevski/513997/ft1_filtered_4FGL_J2250.4-4206_daily_bin749.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513997/ft1_filtered_4FGL_J2250.4-4206_daily_bin749.fits" evtable="EVENTS" scfile=/scratch/kocevski/513997/ft2_4FGL_J2250.4-4206_daily_bin749.fits sctable="SC_DATA" outfile=/scratch/kocevski/513997/ltcube_433468801_433728001_4FGL_J2250.4-4206_daily_bin749.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/513997/ft2_4FGL_J2250.4-4206_daily_bin749.fits
.....................!
real 12.04
user 11.66
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513997/ft1_filtered_4FGL_J2250.4-4206_daily_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/513997/ft2_4FGL_J2250.4-4206_daily_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/513997/ltcube_433468801_433728001_4FGL_J2250.4-4206_daily_bin749.fits outfile=/scratch/kocevski/513997/expmap_433468801_433728001_4FGL_J2250.4-4206_daily_bin749.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/513997/ltcube_433468801_433728001_4FGL_J2250.4-4206_daily_bin749.fits
.....................!
real 191.77
user 186.10
sys 5.31

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/513997/ft1_filtered_4FGL_J2250.4-4206_daily_bin749.fits scfile=/scratch/kocevski/513997/ft2_4FGL_J2250.4-4206_daily_bin749.fits outfile=/scratch/kocevski/513997/cmap_433468801_433728001_4FGL_J2250.4-4206_daily_bin749.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=342.606 yref=-42.1095 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513997/ft1_filtered_4FGL_J2250.4-4206_daily_bin749.fits scfile=/scratch/kocevski/513997/ft2_4FGL_J2250.4-4206_daily_bin749.fits outfile=/scratch/kocevski/513997/cmap_HighResolution_433468801_433728001_4FGL_J2250.4-4206_daily_bin749.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/513997/ft1_filtered_4FGL_J2250.4-4206_daily_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/513997/ft2_4FGL_J2250.4-4206_daily_bin749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/513997/Model_4FGL_J2250.4-4206_daily_bin749.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/513997/ft1_filtered_4FGL_J2250.4-4206_daily_bin749.fits.....................!
real 34.73
user 33.36
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.081       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10673E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10622E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6331       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10747E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    42.711       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.5994       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.434       1.0000         .10000E-03   10000.    
    11 'Prefactor '    62.959       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.012       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.068       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    27.075       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10297E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    19.698       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.4207       1.0000         .10000E-03   10000.    
    26 'norm      '    12.613       1.0000         .10000E-03   10000.    
    27 'Prefactor '    31.889       1.0000         .10000E-03   10000.    
    28 'norm      '    16.007       1.0000         .10000E-03   10000.    
    29 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .95681       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82256       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=   3650.821     FROM MIGRAD    STATUS=CONVERGED    799 CALLS     4229 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.015        68.118       -.63340E-04    .31769E-04
   2  Prefactor     .10000E-03    8.0174       -.51254E-05** at limit **
   3  Prefactor     .10000E-03    101.28        .68007E-04** at limit **
   4  norm          .10000E-03    7.8204        .69595E-05** at limit **
   5  Prefactor     1.6319        12.070       -.67444E-05   -.33196E-03
   6  Prefactor     .10000E-03    5.7746        .24694E-05** at limit **
   7  Prefactor     42.617        76.090       -.10082E-03    .30731E-04
   8  Prefactor     8.5973        9.1626        .30585E-05    .73520E-04
   9  Prefactor     .10000E-03    70.516       -.49923E-04** at limit **
  10  Prefactor     33.423        31.080        .44521E-05    .16731E-03
  11  Prefactor     62.900        68.928       -.47866E-04   -.84003E-06
  12  Prefactor     19.019        28.395        .20817E-04    .23351E-04
  13  Prefactor     .10000E-03    199.72       -.13335E-04** at limit **
  14  Prefactor     31.050        21.059       -.38256E-05    .31617E-03
  15  Prefactor     .10000E-03    5.6713       -.86424E-06** at limit **
  16  Prefactor     .10000E-03    21.162       -.66657E-06** at limit **
  17  Prefactor     .10000E-03    45.194        .94182E-05** at limit **
  18  Prefactor     .10000E-03    12.112        .19239E-06** at limit **
  19  norm          .10000E-03    6.9451       -.15333E-05** at limit **
  20  norm          .10000E-03    4.4290       -.30607E-08** at limit **
  21  norm          .10000E-03    2.7341       -.14533E-07** at limit **
  22  norm          27.071        13.656        .13572E-05    .53679E-03
  23  Prefactor     .10000E-03    5.2399        .33987E-07** at limit **
  24  Prefactor     19.680        46.803       -.19601E-04    .29640E-04
  25  Prefactor     2.3859        483.79       -.15726E-03   -.97276E-05
  26  norm          12.612        7.1124        .69729E-06    .14683E-03
  27  Prefactor     31.883        20.148       -.14979E-05    .28811E-04
  28  norm          16.006        3.0041       -.28910E-06    .17358E-03
  29  norm          .10000E-03    2.1443       -.23441E-07** at limit **
  30  Normalizat    .95736        .25787        .19421E-04    .18869E-03
  31  Prefactor     .82212        .23749        .54755E-05    .48866E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.0148
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 1.63191
  Prefactor  = 0.000100003
  Prefactor  = 42.617
  Prefactor  = 8.5973
  Prefactor  = 0.000100001
  Prefactor  = 33.4232
  Prefactor  = 62.8995
  Prefactor  = 19.0187
  Prefactor  = 0.0001
  Prefactor  = 31.0498
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 27.0707
  Prefactor  = 0.0001
  Prefactor  = 19.6802
  Prefactor  = 2.3859
  norm       = 12.6119
  Prefactor  = 31.8833
  norm       = 16.0059
  norm       = 0.0001
  Normalizat = 0.95736
  Prefactor  = 0.822118
 **********
 **   18 **HESSE 
 **********

 FCN=   3650.821     FROM HESSE     STATUS=OK           608 CALLS     4837 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.015        68.173        .58437E-04   -1.4336    
   2  Prefactor     .10000E-03    8.0175        .16693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    101.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    7.8274        .16504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6319        12.038        .33083E-03   -1.5452    
   6  Prefactor     .10000E-03    5.8586        .14168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     42.617        76.116        .61341E-04   -1.4401    
   8  Prefactor     8.5973        9.1602        .13670E-03   -1.5121    
   9  Prefactor     .10000E-03    71.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.423        31.112        .69301E-04   -1.4551    
  11  Prefactor     62.900        68.894        .50573E-04   -1.4120    
  12  Prefactor     19.019        28.337        .91857E-04   -1.4835    
  13  Prefactor     .10000E-03    199.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.050        21.279        .71884E-04   -1.4593    
  15  Prefactor     .10000E-03    5.6906        .14049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    21.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    45.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.9503        .15553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.4332        .12419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.7357        .97541E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          27.071        13.580        .76991E-04   -1.4667    
  23  Prefactor     .10000E-03    5.2522        .13492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     19.680        47.074        .90245E-04   -1.4820    
  25  Prefactor     2.3859        489.64        .26307E-03   -1.5399    
  26  norm          12.612        7.1124        .98662E-04   -1.4998    
  27  Prefactor     31.883        20.159        .70956E-04   -1.4578    
  28  norm          16.006        3.0067        .43052E-04   -1.4908    
  29  norm          .10000E-03    2.1538        .86326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .95736        .30924        .26148E-03   -.94473    
  31  Prefactor     .82212        .28449        .28059E-03   -.98918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17123e-09
Minuit parameter uncertainties:
  1  68.2867
  2  0.000238697
  3  0.000626108
  4  1.34778e-05
  5  8.8669
  6  0.000272619
  7  76.2903
  8  9.16167
  9  0.000490631
  10  31.1273
  11  68.9815
  12  28.3568
  13  0.000236726
  14  21.2838
  15  4.62221e-05
  16  1.60915e-05
  17  0.000193701
  18  3.52314e-05
  19  2.09206e-05
  20  3.41801e-06
  21  2.39996e-06
  22  13.5811
  23  1.71297e-05
  24  47.1626
  25  68.9364
  26  7.11292
  27  20.1629
  28  3.0067
  29  4.64841e-06
  30  0.309821
  31  0.284998
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  8.221e-01  2.850e-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.574e-01  3.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/513997/likelihoodResults_433468801_433728001_4FGL_J2250.4-4206_daily_bin749.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) = 3650.82141141
delta logL = -0.000835855881178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3650.82057555
delta logL = 7.7452568803e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3650.821     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    212.65        .90712E-02** at limit **
   2  Index         2.1019        5.3066        .50000       -.12036E-04
   3  Normalizat    .95737        .37069E-01    .45631E-01    .84855E-05
   4  Prefactor     .82211        .37316E-01    .63438E-01    .93213E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.10189
  Normalizat = 0.957367
  Prefactor  = 0.822108
 **********
 **   18 **HESSE 
 **********

 FCN=   3650.821     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      239 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    592.92        .14082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1019        8.9409        .50000       -.61827    
   3  Normalizat    .95737        .69048E-01    .26147E-03   -.94473    
   4  Prefactor     .82211        .69463E-01    .28059E-03   -.98918    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.67586e-08
Minuit parameter uncertainties:
  1  6.33394e-05
  2  41.9522
  3  0.0690544
  4  0.0694701
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513997': 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) = 3650.82057551
delta logL = 4.41732481704e-08

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  6.334e-05  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.102e+00  4.195e+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:  8.221e-01  6.947e-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.574e-01  6.905e-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/513997/cmap_HighResolution_433468801_433728001_4FGL_J2250.4-4206_daily_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.45e-03', job_status='DONE', photon_flux_upper_limit='8.54e-08', time_completed='2021-09-28 22:54:25.261413', job_id='513997', GAL2='0.82', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632894865.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='4.42e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='749' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:54:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 513997: <4FGL_J2250.4-4206_daily_bin749> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin749 342.606 -42.1095 433468801 433728001 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 :                                   671.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            854 sec.

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

