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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1483
RA = 342.606, Dec = -42.1095
tmin = 623721601, tmax = 623980801
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='517195', job_status='RUN', time_executed='2021-09-28 22:50:40.009451', time_epoch_executed='1632894640.01' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1483'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/517195

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/517195/ft1_4FGL_J2250.4-4206_daily_bin1483.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/517195/ft2_4FGL_J2250.4-4206_daily_bin1483.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/517195/ft1_4FGL_J2250.4-4206_daily_bin1483.fits outfile=/scratch/kocevski/517195/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1483.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=623721601.0 tmax=623980801.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.18
user 4.89
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/517195/ft1_filtered_4FGL_J2250.4-4206_daily_bin1483.fits" evtable="EVENTS" scfile=/scratch/kocevski/517195/ft2_4FGL_J2250.4-4206_daily_bin1483.fits sctable="SC_DATA" outfile=/scratch/kocevski/517195/ltcube_623721601_623980801_4FGL_J2250.4-4206_daily_bin1483.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/517195/ft2_4FGL_J2250.4-4206_daily_bin1483.fits
.....................!
real 11.72
user 11.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/517195/ft1_filtered_4FGL_J2250.4-4206_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/517195/ft2_4FGL_J2250.4-4206_daily_bin1483.fits sctable="SC_DATA" expcube=/scratch/kocevski/517195/ltcube_623721601_623980801_4FGL_J2250.4-4206_daily_bin1483.fits outfile=/scratch/kocevski/517195/expmap_623721601_623980801_4FGL_J2250.4-4206_daily_bin1483.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/517195/ltcube_623721601_623980801_4FGL_J2250.4-4206_daily_bin1483.fits
.....................!
real 190.83
user 185.95
sys 4.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/517195/ft1_filtered_4FGL_J2250.4-4206_daily_bin1483.fits scfile=/scratch/kocevski/517195/ft2_4FGL_J2250.4-4206_daily_bin1483.fits outfile=/scratch/kocevski/517195/cmap_623721601_623980801_4FGL_J2250.4-4206_daily_bin1483.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/517195/ft1_filtered_4FGL_J2250.4-4206_daily_bin1483.fits scfile=/scratch/kocevski/517195/ft2_4FGL_J2250.4-4206_daily_bin1483.fits outfile=/scratch/kocevski/517195/cmap_HighResolution_623721601_623980801_4FGL_J2250.4-4206_daily_bin1483.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=342.606 yref=-42.1095 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/517195/ft1_filtered_4FGL_J2250.4-4206_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/517195/ft2_4FGL_J2250.4-4206_daily_bin1483.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/517195/Model_4FGL_J2250.4-4206_daily_bin1483.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/517195/ft1_filtered_4FGL_J2250.4-4206_daily_bin1483.fits.....................!
real 35.67
user 34.42
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2218       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0657       1.0000         .10000E-03   10000.    
     3 'Prefactor '    65.708       1.0000         .10000E-03   10000.    
     4 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11426E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.4236       1.0000         .10000E-03   10000.    
     7 'Prefactor '    45.439       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0831       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    53.479       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.009       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12194E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.398       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.6730       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.8353       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .84359       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    13.702       1.0000         .10000E-03   10000.    
    21 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.9769       1.0000         .10000E-03   10000.    
    23 'Prefactor '    23.854       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10879E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .58992E-01   1.0000         .10000E-03   10000.    
    28 'norm      '    1.4149       1.0000         .10000E-03   10000.    
    29 'norm      '    .36309       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .91618       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1787       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4035.056     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     4414 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1874        4.1310       -.14001E-05    .11151E-02
   2  Prefactor     6.0778        2.3121        .14715E-06   -.71176E-04
   3  Prefactor     65.717        1.3503        .10556E-06   -.59180E-03
   4  norm          .10000E-03    2.9050        .13976E-05** at limit **
   5  Prefactor     .10001E-03    30.418       -.95704E-05** at limit **
   6  Prefactor     9.4234        6.8708        .20694E-06    .58926E-02
   7  Prefactor     45.424        1.8002       -.18312E-06    .50042E-03
   8  Prefactor     3.0851        3.9429       -.17447E-05    .18979E-02
   9  Prefactor     .10153E-03    38.218        .12964E-05** at limit **
  10  Prefactor     53.444        4.0797       -.17679E-06   -.68324E-02
  11  Prefactor     14.966        4.9244       -.60541E-06   -.35510E-02
  12  Prefactor     .10000E-03    8.1276        .28581E-05** at limit **
  13  Prefactor     .10048E-03    33.833        .59962E-05** at limit **
  14  Prefactor     26.356        9.2367        .54898E-06   -.13868E-01
  15  Prefactor     4.6730        1.7235        .30316E-06    .76589E-03
  16  Prefactor     4.8252        1.5291       -.24628E-06   -.52869E-03
  17  Prefactor     .13058        6372.6       -.92974E-04   -.33040E-03
  18  Prefactor     .10000E-03    7.7362        .29900E-05** at limit **
  19  norm          .10000E-03    4.6598        .37644E-05** at limit **
  20  norm          13.703        4.2523       -.45315E-06   -.66957E-02
  21  norm          .10000E-03    2.1269       -.71139E-06** at limit **
  22  norm          7.9737        1.6740        .15272E-06    .53352E-03
  23  Prefactor     23.846        4.1581       -.17367E-06   -.39023E-02
  24  Prefactor     .10000E-03    14.034        .16082E-05** at limit **
  25  Prefactor     .10124E-03    61.147        .46320E-06** at limit **
  26  norm          .10000E-03    2.4054       -.31383E-06** at limit **
  27  Prefactor     .70914E-03    491.03       -.38942E-04** at limit **
  28  norm          1.4141        1.5318        .36877E-06    .34528E-03
  29  norm          .36335        10.653       -.65189E-05   -.12907E-02
  30  Normalizat    .91619        .30280        .59370E-05    .12950E-03
  31  Prefactor     1.1789        .29050        .13356E-06    .13041E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.18737
  Prefactor  = 6.07778
  Prefactor  = 65.7168
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 9.42341
  Prefactor  = 45.4244
  Prefactor  = 3.08512
  Prefactor  = 0.000101534
  Prefactor  = 53.4438
  Prefactor  = 14.966
  Prefactor  = 0.0001
  Prefactor  = 0.000100484
  Prefactor  = 26.3556
  Prefactor  = 4.67302
  Prefactor  = 4.82524
  Prefactor  = 0.130584
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.703
  norm       = 0.0001
  norm       = 7.97369
  Prefactor  = 23.8456
  Prefactor  = 0.0001
  Prefactor  = 0.000101241
  norm       = 0.0001
  Prefactor  = 0.000709141
  norm       = 1.41414
  norm       = 0.363353
  Normalizat = 0.916187
  Prefactor  = 1.17893
 **********
 **   18 **HESSE 
 **********

 FCN=   4035.056     FROM HESSE     STATUS=OK           712 CALLS     5126 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1874        146.55        .37315E-02   -1.5172    
   2  Prefactor     6.0778        23.487        .40755E-02   -1.5215    
   3  Prefactor     65.717        227.72        .12378E-02   -1.4085    
   4  norm          .10000E-03    2.9051        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    10.179        .74985E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.4234        7.7310        .32637E-02   -1.5094    
   7  Prefactor     45.424        67.726        .14870E-02   -1.4359    
   8  Prefactor     3.0851        7.5644        .57747E-02   -1.5357    
   9  Prefactor     .10153E-03    43.175        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     53.444        46.003        .13712E-02   -1.4245    
  11  Prefactor     14.966        33.200        .25846E-02   -1.4934    
  12  Prefactor     .10000E-03    8.1021        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10048E-03    36.878        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     26.356        26.666        .19492E-02   -1.4681    
  15  Prefactor     4.6730        8.4567        .46541E-02   -1.5276    
  16  Prefactor     4.8252        35.047        .45736E-02   -1.5269    
  17  Prefactor     .13058        66.916        .17950       -1.5636    
  18  Prefactor     .10000E-03    7.7631        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.6656        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          13.703        10.617        .27052E-02   -1.4967    
  21  norm          .10000E-03    2.1257        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.9737        11.042        .35491E-02   -1.5143    
  23  Prefactor     23.846        15.413        .20504E-02   -1.4731    
  24  Prefactor     .10000E-03    14.054        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10124E-03    64.247        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    2.3901        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .70914E-03    36.892        .93139E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          1.4141        1.6349        .90998E-02   -1.5470    
  29  norm          .36335        3.5341        .64175E-01   -1.5587    
  30  Normalizat    .91619        .26634        .65045E-01   -.95894    
  31  Prefactor     1.1789        .24092        .57742E-01   -.86982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0846e-06
Minuit parameter uncertainties:
  1  65.0929
  2  23.5231
  3  230.846
  4  1.33464e-05
  5  0.000537039
  6  7.73186
  7  67.8408
  8  7.56671
  9  0.0162905
  10  46.0336
  11  33.2411
  12  3.69038e-05
  13  0.00845086
  14  26.6776
  15  8.45887
  16  26.0296
  17  5.91645
  18  6.93667e-05
  19  4.75881e-05
  20  10.6187
  21  5.69153e-06
  22  11.0446
  23  15.416
  24  0.000107255
  25  0.0178771
  26  3.52215e-06
  27  0.299999
  28  1.63497
  29  2.26625
  30  0.26672
  31  0.241143
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  4.673e+00  8.459e+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

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.179e+00  2.411e-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.162e-01  2.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.44
Ra Dec: 342.606 -42.109
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/517195/likelihoodResults_623721601_623980801_4FGL_J2250.4-4206_daily_bin1483.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): 0
logL (Free Index) = 4034.84269261
delta logL = 0.213054276727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4034.83365137
delta logL = 0.222095515642

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1974       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8706       1.0000          .0000       10.000    
     3 'Normalizat'    .88673       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1947       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=   4034.834     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      255 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1951        91.002        .69396E-02    .33275E-03
   2  Index         2.8710        6.4347        .11143        .10124E-03
   3  Normalizat    .88681        .81159E-01    .65970E-01    .35965E-05
   4  Prefactor     1.1946        .74152E-01    .57390E-01   -.16929E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.19514
  Index      = 2.87105
  Normalizat = 0.886808
  Prefactor  = 1.19456
 **********
 **   18 **HESSE 
 **********

 FCN=   4034.834     FROM HESSE     STATUS=OK            33 CALLS      288 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1951        7.6612        .11300E-03   -1.5412    
   2  Index         2.8710        1.6503        .65171E-02   -.43984    
   3  Normalizat    .88681        .29713        .29183E-03   -.96925    
   4  Prefactor     1.1946        .29218        .25378E-03   -.86499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09238e-11
Minuit parameter uncertainties:
  1  7.66461
  2  1.68931
  3  0.297675
  4  0.292573
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/517195': 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) = 4034.83365113
delta logL = 0.222095757264

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  2.195e+00  7.665e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.871e+00  1.689e+00  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.195e+00  2.926e-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:  8.868e-01  2.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.44
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/517195/cmap_HighResolution_623721601_623980801_4FGL_J2250.4-4206_daily_bin1483.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.08e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-09-28 23:02:28.190830', job_id='517195', GAL2='1.19', fit_tolerance='1e-08', EG2='0.89', EG='0.92', time_epoch_completed='1632895348.19', return_code2='0', ts='0.44', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.22e-01', ts2='0.89', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1483' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:02:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 517195: <4FGL_J2250.4-4206_daily_bin1483> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1483 342.606 -42.1095 623721601 623980801 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 :                                   694.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            733 sec.

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

