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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1438
RA = 181.432, Dec = -26.5946
tmin = 612057601, tmax = 612316801
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='319737', job_status='RUN', time_executed='2021-09-04 23:45:57.876902', time_epoch_executed='1630824357.88' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1438'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319737

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319737/ft1_4FGL_J1205.7-2635_daily_bin1438.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319737/ft2_4FGL_J1205.7-2635_daily_bin1438.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319737/ft1_4FGL_J1205.7-2635_daily_bin1438.fits outfile=/scratch/kocevski/319737/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1438.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=612057601.0 tmax=612316801.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 4.61
user 4.39
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/319737/ft2_4FGL_J1205.7-2635_daily_bin1438.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319737/ft2_4FGL_J1205.7-2635_daily_bin1438.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/319737/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1438.fits evtable="EVENTS" outfile="/scratch/kocevski/319737/ft1_filtered_4FGL_J1205.7-2635_daily_bin1438.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.54
user 0.34
sys 0.10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319737/ft1_filtered_4FGL_J1205.7-2635_daily_bin1438.fits" evtable="EVENTS" scfile=/scratch/kocevski/319737/ft2_4FGL_J1205.7-2635_daily_bin1438.fits sctable="SC_DATA" outfile=/scratch/kocevski/319737/ltcube_612057601_612316801_4FGL_J1205.7-2635_daily_bin1438.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/319737/ft2_4FGL_J1205.7-2635_daily_bin1438.fits
.....................!
real 11.76
user 11.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319737/ft1_filtered_4FGL_J1205.7-2635_daily_bin1438.fits evtable="EVENTS" scfile=/scratch/kocevski/319737/ft2_4FGL_J1205.7-2635_daily_bin1438.fits sctable="SC_DATA" expcube=/scratch/kocevski/319737/ltcube_612057601_612316801_4FGL_J1205.7-2635_daily_bin1438.fits outfile=/scratch/kocevski/319737/expmap_612057601_612316801_4FGL_J1205.7-2635_daily_bin1438.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/319737/ltcube_612057601_612316801_4FGL_J1205.7-2635_daily_bin1438.fits
.....................!
real 191.34
user 186.57
sys 4.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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1205.7-2635 @ 181.432 -26.5946

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/319737/ft1_filtered_4FGL_J1205.7-2635_daily_bin1438.fits scfile=/scratch/kocevski/319737/ft2_4FGL_J1205.7-2635_daily_bin1438.fits outfile=/scratch/kocevski/319737/cmap_612057601_612316801_4FGL_J1205.7-2635_daily_bin1438.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=181.432 yref=-26.5946 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319737/ft1_filtered_4FGL_J1205.7-2635_daily_bin1438.fits scfile=/scratch/kocevski/319737/ft2_4FGL_J1205.7-2635_daily_bin1438.fits outfile=/scratch/kocevski/319737/cmap_HighResolution_612057601_612316801_4FGL_J1205.7-2635_daily_bin1438.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=181.432 yref=-26.5946 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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319737/ft1_filtered_4FGL_J1205.7-2635_daily_bin1438.fits evtable="EVENTS" scfile=/scratch/kocevski/319737/ft2_4FGL_J1205.7-2635_daily_bin1438.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319737/Model_4FGL_J1205.7-2635_daily_bin1438.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/319737/ft1_filtered_4FGL_J1205.7-2635_daily_bin1438.fits.....................!
real 49.52
user 48.21
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/319737/ft1_filtered_4FGL_J1205.7-2635_daily_bin1438.fits', '/scratch/kocevski/319737/ft2_4FGL_J1205.7-2635_daily_bin1438.fits', expMap='/scratch/kocevski/319737/expmap_612057601_612316801_4FGL_J1205.7-2635_daily_bin1438.fits', expCube='/scratch/kocevski/319737/ltcube_612057601_612316801_4FGL_J1205.7-2635_daily_bin1438.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/319737/Model_4FGL_J1205.7-2635_daily_bin1438.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1205.7-2635'

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  2.173e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/319737/ft1_filtered_4FGL_J1205.7-2635_daily_bin1438.fits
Spacecraft file(s): /scratch/kocevski/319737/ft2_4FGL_J1205.7-2635_daily_bin1438.fits
Exposure map: /scratch/kocevski/319737/expmap_612057601_612316801_4FGL_J1205.7-2635_daily_bin1438.fits
Exposure cube: /scratch/kocevski/319737/ltcube_612057601_612316801_4FGL_J1205.7-2635_daily_bin1438.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/319737/Model_4FGL_J1205.7-2635_daily_bin1438.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) = 5233.30893523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    34.688       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .72699E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    71.807       1.0000         .10000E-03   10000.    
    10 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2929       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.3440       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.788       1.0000         .10000E-03   10000.    
    14 'Prefactor '    60.324       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    48.411       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .93722       1.0000         .10000E-03   10000.    
    20 'Prefactor '    442.12       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .71860       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1384       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5233.217     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2439 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.515       -.14479E-06** at limit **
   2  Prefactor     .10000E-03    4.5368       -.44584E-07** at limit **
   3  Prefactor     34.689        61.583       -.22085E-05   -.36351E-06
   4  norm          .10000E-03    .98108       -.26387E-07** at limit **
   5  Prefactor     .10000E-03    17.859        .53517E-06** at limit **
   6  Prefactor     .10000E-03    2.6850        .10229E-06** at limit **
   7  Prefactor     .10000E-03    52.207       -.38763E-04** at limit **
   8  norm          .10208E-03    35.186       -.38524E-05** at limit **
   9  Prefactor     71.818        27.393       -.15260E-04   -.11303E-03
  10  norm          .10001E-03    6.9880        .23722E-05** at limit **
  11  Prefactor     1.2958        13.980        .14859E-05   -.52854E-03
  12  Prefactor     8.3456        88.378       -.12567E-04    .11023E-05
  13  Prefactor     18.786        17.067       -.29384E-06    .76163E-05
  14  Prefactor     60.333        49.570       -.34094E-05   -.84158E-04
  15  Prefactor     .10000E-03    25.040       -.42278E-05** at limit **
  16  Prefactor     48.419        61.151       -.23887E-05    .51089E-05
  17  Prefactor     .10000E-03    54.518        .35617E-04** at limit **
  18  Prefactor     .10000E-03    29.252        .72477E-05** at limit **
  19  norm          .93711        1.0547       -.95891E-07   -.68936E-03
  20  Prefactor     442.09        187.44       -.11477E-04   -.20808E-04
  21  Normalizat    .71855        .32245        .11943E-04   -.41086E-04
  22  Prefactor     1.1384        .15100       -.74110E-06    .14236E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.6886
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000102085
  Prefactor  = 71.8179
  norm       = 0.000100015
  Prefactor  = 1.29575
  Prefactor  = 8.34555
  Prefactor  = 18.786
  Prefactor  = 60.3329
  Prefactor  = 0.000100001
  Prefactor  = 48.4185
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.937105
  Prefactor  = 442.095
  Normalizat = 0.718552
  Prefactor  = 1.13845
 **********
 **   18 **HESSE 
 **********

 FCN=   5233.217     FROM HESSE     STATUS=OK           346 CALLS     2785 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.5389        .15049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     34.689        61.534        .68041E-04   -1.4529    
   4  norm          .10000E-03    1.0009        .69893E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.6940        .11575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    52.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10208E-03    37.550        .12614       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     71.818        27.298        .23688E-03   -1.4011    
  10  norm          .10001E-03    7.1344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.2958        13.153        .38925E-03   -1.5480    
  12  Prefactor     8.3456        88.145        .13878E-03   -1.5130    
  13  Prefactor     18.786        17.068        .92403E-04   -1.4841    
  14  Prefactor     60.333        48.114        .51659E-04   -1.4153    
  15  Prefactor     .10000E-03    25.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     48.419        60.959        .57632E-04   -1.4315    
  17  Prefactor     .10000E-03    54.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    29.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .93711        1.0093        .75787E-03   -1.5514    
  20  Prefactor     442.09        187.15        .97292E-04   -1.1471    
  21  Normalizat    .71855        .36123        .45029E-03   -1.0317    
  22  Prefactor     1.1384        .17200        .17433E-03   -.88247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78208e-09
Minuit parameter uncertainties:
  1  9.53202e-06
  2  4.87896e-06
  3  61.6473
  4  2.43108e-06
  5  9.56479e-05
  6  1.49049e-05
  7  0.000357409
  8  0.0177061
  9  27.303
  10  0.000646073
  11  8.25877
  12  54.347
  13  17.072
  14  48.1449
  15  0.000278007
  16  61.0374
  17  0.000457172
  18  0.000101271
  19  1.00931
  20  187.405
  21  0.362437
  22  0.172082
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.296e+00  8.259e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.138e+00  1.721e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  7.186e-01  3.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 1.86e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.45e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319737/likelihoodResults_612057601_612316801_4FGL_J1205.7-2635_daily_bin1438.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) = 5233.21543776
delta logL = 0.00171287112425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5233.21434248
delta logL = 0.00280815062342

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6471       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2193       1.0000          .0000       10.000    
     3 'Normalizat'    .72211       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+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=   5233.214     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      278 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6685        12.816        .16453E-02   -.15229E-04
   2  Index         2.2124        3.1013        .12767E-01   -.11583E-04
   3  Normalizat    .72230        .35606        .44921E-03   -.26219E-04
   4  Prefactor     1.1368        .17150        .17445E-03    .13034E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.6685
  Index      = 2.2124
  Normalizat = 0.722303
  Prefactor  = 1.13676
 **********
 **   18 **HESSE 
 **********

 FCN=   5233.214     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6685        12.328        .65812E-04   -1.5450    
   2  Index         2.2124        3.0620        .51068E-03   -.59139    
   3  Normalizat    .72230        .35617        .17968E-04   -1.0302    
   4  Prefactor     1.1368        .17142        .69778E-05   -.88300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06536e-11
Minuit parameter uncertainties:
  1  9.07302
  2  3.44372
  3  0.357321
  4  0.171499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319737': 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) = 5233.21433791
delta logL = 0.00281272723714

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.668e+00  9.073e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.212e+00  3.444e+00  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.137e+00  1.715e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  7.223e-01  3.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 181.432 -26.595

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/319737/cmap_HighResolution_612057601_612316801_4FGL_J1205.7-2635_daily_bin1438.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-02', job_status='DONE', photon_flux_upper_limit='1.86e-07', time_completed='2021-09-04 23:55:53.792082', job_id='319737', GAL2='1.14', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1630824953.79', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='2.81e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1438' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:55:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 319737: <4FGL_J1205.7-2635_daily_bin1438> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1438> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:29 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 23:45:32 2021
Terminated at Sat Sep  4 23:55:54 2021
Results reported at Sat Sep  4 23:55:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1438 181.432 -26.5946 612057601 612316801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1205.7-2635 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   592.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   622 sec.
    Turnaround time :                            625 sec.

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

