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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1494
RA = 181.432, Dec = -26.5946
tmin = 626572801, tmax = 626832001
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='319822', job_status='RUN', time_executed='2021-09-04 23:46:48.807866', time_epoch_executed='1630824408.81' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1494'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319822

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319822/ft1_4FGL_J1205.7-2635_daily_bin1494.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319822/ft2_4FGL_J1205.7-2635_daily_bin1494.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319822/ft1_4FGL_J1205.7-2635_daily_bin1494.fits outfile=/scratch/kocevski/319822/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1494.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=626572801.0 tmax=626832001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.34
user 2.14
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319822/ft2_4FGL_J1205.7-2635_daily_bin1494.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/319822/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1494.fits evtable="EVENTS" outfile="/scratch/kocevski/319822/ft1_filtered_4FGL_J1205.7-2635_daily_bin1494.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.41
user 0.27
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319822/ft1_filtered_4FGL_J1205.7-2635_daily_bin1494.fits" evtable="EVENTS" scfile=/scratch/kocevski/319822/ft2_4FGL_J1205.7-2635_daily_bin1494.fits sctable="SC_DATA" outfile=/scratch/kocevski/319822/ltcube_626572801_626832001_4FGL_J1205.7-2635_daily_bin1494.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/319822/ft2_4FGL_J1205.7-2635_daily_bin1494.fits
.....................!
real 9.76
user 9.43
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319822/ft1_filtered_4FGL_J1205.7-2635_daily_bin1494.fits evtable="EVENTS" scfile=/scratch/kocevski/319822/ft2_4FGL_J1205.7-2635_daily_bin1494.fits sctable="SC_DATA" expcube=/scratch/kocevski/319822/ltcube_626572801_626832001_4FGL_J1205.7-2635_daily_bin1494.fits outfile=/scratch/kocevski/319822/expmap_626572801_626832001_4FGL_J1205.7-2635_daily_bin1494.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/319822/ltcube_626572801_626832001_4FGL_J1205.7-2635_daily_bin1494.fits
.....................!
real 145.93
user 141.98
sys 3.71

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/319822/ft1_filtered_4FGL_J1205.7-2635_daily_bin1494.fits scfile=/scratch/kocevski/319822/ft2_4FGL_J1205.7-2635_daily_bin1494.fits outfile=/scratch/kocevski/319822/cmap_626572801_626832001_4FGL_J1205.7-2635_daily_bin1494.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.45
user 0.28
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319822/ft1_filtered_4FGL_J1205.7-2635_daily_bin1494.fits scfile=/scratch/kocevski/319822/ft2_4FGL_J1205.7-2635_daily_bin1494.fits outfile=/scratch/kocevski/319822/cmap_HighResolution_626572801_626832001_4FGL_J1205.7-2635_daily_bin1494.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.45
user 0.31
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319822/ft1_filtered_4FGL_J1205.7-2635_daily_bin1494.fits evtable="EVENTS" scfile=/scratch/kocevski/319822/ft2_4FGL_J1205.7-2635_daily_bin1494.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319822/Model_4FGL_J1205.7-2635_daily_bin1494.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/319822/ft1_filtered_4FGL_J1205.7-2635_daily_bin1494.fits.....................!
real 47.58
user 46.53
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/319822/ft1_filtered_4FGL_J1205.7-2635_daily_bin1494.fits', '/scratch/kocevski/319822/ft2_4FGL_J1205.7-2635_daily_bin1494.fits', expMap='/scratch/kocevski/319822/expmap_626572801_626832001_4FGL_J1205.7-2635_daily_bin1494.fits', expCube='/scratch/kocevski/319822/ltcube_626572801_626832001_4FGL_J1205.7-2635_daily_bin1494.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/319822/Model_4FGL_J1205.7-2635_daily_bin1494.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/319822/ft1_filtered_4FGL_J1205.7-2635_daily_bin1494.fits
Spacecraft file(s): /scratch/kocevski/319822/ft2_4FGL_J1205.7-2635_daily_bin1494.fits
Exposure map: /scratch/kocevski/319822/expmap_626572801_626832001_4FGL_J1205.7-2635_daily_bin1494.fits
Exposure cube: /scratch/kocevski/319822/ltcube_626572801_626832001_4FGL_J1205.7-2635_daily_bin1494.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/319822/Model_4FGL_J1205.7-2635_daily_bin1494.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) = 6982.88535902

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0947       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.8368       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2083       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4886       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9421       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8852       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.008       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15753E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.6324       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.9709       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.7008       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80747       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=   6982.875     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2352 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.604       -.80893E-06** at limit **
   2  Prefactor     2.1007        23.008        .15498E-05    .10489E-04
   3  Prefactor     .10000E-03    23.654        .41897E-06** at limit **
   4  norm          .10000E-03    .68276        .33070E-07** at limit **
   5  Prefactor     4.8355        9.5539        .50658E-05   -.10208E-03
   6  Prefactor     7.2081        6.3608        .25107E-06    .53836E-04
   7  Prefactor     .10000E-03    19.089       -.60412E-06** at limit **
   8  norm          .10000E-03    8.5686       -.61914E-08** at limit **
   9  Prefactor     3.4806        23.164        .59388E-07   -.19844E-04
  10  norm          1.9421        4.2462        .33489E-06   -.13152E-04
  11  Prefactor     2.8976        9.4371        .96522E-07   -.15059E-04
  12  Prefactor     .10000E-03    76.919       -.10453E-05** at limit **
  13  Prefactor     .10000E-03    15.302        .89745E-07** at limit **
  14  Prefactor     30.935        41.761       -.28254E-05   -.24225E-03
  15  Prefactor     .10000E-03    9.8278        .53389E-08** at limit **
  16  Prefactor     .10000E-03    109.41        .70337E-06** at limit **
  17  Prefactor     2.6349        53.954        .12973E-05    .57184E-05
  18  Prefactor     .10000E-03    20.869        .14048E-05** at limit **
  19  norm          7.9709        2.0604        .23521E-07   -.30778E-04
  20  Prefactor     .10000E-03    102.35        .19443E-05** at limit **
  21  Normalizat    1.7005        .25964        .90074E-06   -.74603E-04
  22  Prefactor     .80755        .11915       -.70795E-06    .28634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.1007
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.8355
  Prefactor  = 7.20808
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.48057
  norm       = 1.94209
  Prefactor  = 2.89755
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.9349
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.63491
  Prefactor  = 0.0001
  norm       = 7.97095
  Prefactor  = 0.000100001
  Normalizat = 1.70053
  Prefactor  = 0.807548
 **********
 **   18 **HESSE 
 **********

 FCN=   6982.875     FROM HESSE     STATUS=OK           340 CALLS     2692 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.1007        23.145        .28520E-03   -1.5418    
   3  Prefactor     .10000E-03    23.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .71405        .13473E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.8355        9.6237        .91457E-03   -1.5268    
   6  Prefactor     7.2081        6.3632        .14940E-03   -1.5171    
   7  Prefactor     .10000E-03    19.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    8.5809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4806        21.696        .21648E-03   -1.5335    
  10  norm          1.9421        4.0753        .21400E-03   -1.5429    
  11  Prefactor     2.8976        9.2307        .23926E-03   -1.5368    
  12  Prefactor     .10000E-03    77.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.935        42.624        .71954E-04   -1.4595    
  15  Prefactor     .10000E-03    9.8392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    112.24        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.6349        53.880        .25133E-03   -1.5383    
  18  Prefactor     .10000E-03    21.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.9709        2.0605        .58529E-04   -1.5143    
  20  Prefactor     .10000E-03    102.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.7005        .30968        .31409E-03   -.72289    
  22  Prefactor     .80755        .14172        .20610E-03   -.99451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34412e-10
Minuit parameter uncertainties:
  1  0.000134558
  2  13.9524
  3  4.51608e-05
  4  5.88662e-07
  5  9.62681
  6  6.36378
  7  0.000100629
  8  6.77247e-07
  9  17.389
  10  4.07588
  11  9.23527
  12  0.000217076
  13  5.87048e-06
  14  42.6656
  15  1.74128e-06
  16  0.000224375
  17  23.8542
  18  0.000143478
  19  2.0605
  20  0.000515549
  21  0.310032
  22  0.141784
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  2.898e+00  9.235e+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:  8.075e-01  1.418e-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:  1.701e+00  3.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/319822/likelihoodResults_626572801_626832001_4FGL_J1205.7-2635_daily_bin1494.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) = 6982.85799338
delta logL = 0.0171017835919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6982.85634456
delta logL = 0.0187506020511

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5270       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7946       1.0000          .0000       10.000    
     3 'Normalizat'    1.6927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80994       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=   6982.856     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      258 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5268        7.9154        .25696E-03    .98306E-04
   2  Index         2.7947        1.5942        .99891E-02    .32492E-04
   3  Normalizat    1.6927        .29916        .31464E-03   -.11317E-03
   4  Prefactor     .80994        .14127        .20581E-03   -.14290E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.52685
  Index      = 2.79465
  Normalizat = 1.69269
  Prefactor  = 0.809942
 **********
 **   18 **HESSE 
 **********

 FCN=   6982.856     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5268        7.2646        .10279E-04   -1.5390    
   2  Index         2.7947        1.4670        .39956E-03   -.45679    
   3  Normalizat    1.6927        .29942        .62928E-04   -.72499    
   4  Prefactor     .80994        .14118        .82325E-05   -.99363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00289e-10
Minuit parameter uncertainties:
  1  7.26714
  2  1.49443
  3  0.299742
  4  0.141246
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319822': 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) = 6982.85634456
delta logL = 0.0187506022048

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  2.527e+00  7.267e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.795e+00  1.494e+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:  8.099e-01  1.412e-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:  1.693e+00  2.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/319822/cmap_HighResolution_626572801_626832001_4FGL_J1205.7-2635_daily_bin1494.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-02', job_status='DONE', photon_flux_upper_limit='1.78e-07', time_completed='2021-09-04 23:55:36.050349', job_id='319822', GAL2='0.81', fit_tolerance='1e-08', EG2='1.69', EG='1.70', time_epoch_completed='1630824936.05', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.88e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1494' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:55:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 319822: <4FGL_J1205.7-2635_daily_bin1494> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1494> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:36 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:38 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:38 2021
Terminated at Sat Sep  4 23:55:36 2021
Results reported at Sat Sep  4 23:55:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1494 181.432 -26.5946 626572801 626832001 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 :                                   518.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   598 sec.
    Turnaround time :                            600 sec.

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

