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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin487
RA = 181.432, Dec = -26.5946
tmin = 365558401, tmax = 365817601
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='314829', job_status='RUN', time_executed='2021-09-04 23:30:54.949937', time_epoch_executed='1630823454.95' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='487'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/314829

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/314829/ft1_4FGL_J1205.7-2635_daily_bin487.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/314829/ft2_4FGL_J1205.7-2635_daily_bin487.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/314829/ft1_4FGL_J1205.7-2635_daily_bin487.fits outfile=/scratch/kocevski/314829/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin487.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=365558401.0 tmax=365817601.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 3.57
user 3.32
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/314829/ft2_4FGL_J1205.7-2635_daily_bin487.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/314829/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin487.fits evtable="EVENTS" outfile="/scratch/kocevski/314829/ft1_filtered_4FGL_J1205.7-2635_daily_bin487.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.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/314829/ft1_filtered_4FGL_J1205.7-2635_daily_bin487.fits" evtable="EVENTS" scfile=/scratch/kocevski/314829/ft2_4FGL_J1205.7-2635_daily_bin487.fits sctable="SC_DATA" outfile=/scratch/kocevski/314829/ltcube_365558401_365817601_4FGL_J1205.7-2635_daily_bin487.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/314829/ft2_4FGL_J1205.7-2635_daily_bin487.fits
.....................!
real 11.68
user 11.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/314829/ft1_filtered_4FGL_J1205.7-2635_daily_bin487.fits evtable="EVENTS" scfile=/scratch/kocevski/314829/ft2_4FGL_J1205.7-2635_daily_bin487.fits sctable="SC_DATA" expcube=/scratch/kocevski/314829/ltcube_365558401_365817601_4FGL_J1205.7-2635_daily_bin487.fits outfile=/scratch/kocevski/314829/expmap_365558401_365817601_4FGL_J1205.7-2635_daily_bin487.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/314829/ltcube_365558401_365817601_4FGL_J1205.7-2635_daily_bin487.fits
.....................!
real 191.69
user 186.32
sys 4.97

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/314829/ft1_filtered_4FGL_J1205.7-2635_daily_bin487.fits scfile=/scratch/kocevski/314829/ft2_4FGL_J1205.7-2635_daily_bin487.fits outfile=/scratch/kocevski/314829/cmap_365558401_365817601_4FGL_J1205.7-2635_daily_bin487.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/314829/ft1_filtered_4FGL_J1205.7-2635_daily_bin487.fits scfile=/scratch/kocevski/314829/ft2_4FGL_J1205.7-2635_daily_bin487.fits outfile=/scratch/kocevski/314829/cmap_HighResolution_365558401_365817601_4FGL_J1205.7-2635_daily_bin487.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/314829/ft1_filtered_4FGL_J1205.7-2635_daily_bin487.fits evtable="EVENTS" scfile=/scratch/kocevski/314829/ft2_4FGL_J1205.7-2635_daily_bin487.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/314829/Model_4FGL_J1205.7-2635_daily_bin487.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/314829/ft1_filtered_4FGL_J1205.7-2635_daily_bin487.fits.....................!
real 70.45
user 67.82
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.312       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.502       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.8854       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0612       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    43.514       1.0000         .10000E-03   10000.    
    10 'norm      '    .74693       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11314E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3369       1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.743       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.3723       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.7861       1.0000         .10000E-03   10000.    
    20 'Prefactor '    63.110       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5700       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84338       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=   7995.517     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2351 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.301        25.493       -.41877E-05   -.15615E-03
   2  Prefactor     12.502        14.138        .41941E-06    .11175E-04
   3  Prefactor     .10000E-03    24.754       -.25414E-05** at limit **
   4  norm          3.8852        1.7951       -.85786E-08   -.20264E-04
   5  Prefactor     3.0609        11.946        .39690E-06   -.20461E-04
   6  Prefactor     .10000E-03    3.0736        .50212E-07** at limit **
   7  Prefactor     .10000E-03    27.970        .17590E-05** at limit **
   8  norm          .10000E-03    35.306       -.70359E-06** at limit **
   9  Prefactor     43.524        19.226       -.55695E-06    .53921E-04
  10  norm          .74362        4.8431        .29490E-05   -.27532E-03
  11  Prefactor     .10000E-03    5.2137       -.74904E-07** at limit **
  12  Prefactor     .10000E-03    13.778        .31952E-06** at limit **
  13  Prefactor     .10000E-03    5.7168       -.13626E-06** at limit **
  14  Prefactor     1.3313        111.13       -.17269E-05   -.27280E-04
  15  Prefactor     26.742        20.023       -.22758E-06   -.44157E-04
  16  Prefactor     .10000E-03    27.744        .13505E-05** at limit **
  17  Prefactor     9.3677        24.032       -.16041E-05   -.65100E-04
  18  Prefactor     .10000E-03    4.8369        .70053E-07** at limit **
  19  norm          5.7859        1.4392        .15583E-07   -.33790E-04
  20  Prefactor     63.104        95.685       -.20036E-05   -.31725E-04
  21  Normalizat    1.5702        .23981       -.43672E-06   -.32238E-04
  22  Prefactor     .84333        .11113        .19578E-06   -.94608E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3014
  Prefactor  = 12.5024
  Prefactor  = 0.000100001
  norm       = 3.88521
  Prefactor  = 3.0609
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 43.5242
  norm       = 0.743622
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.3313
  Prefactor  = 26.7416
  Prefactor  = 0.0001
  Prefactor  = 9.36768
  Prefactor  = 0.0001
  norm       = 5.78592
  Prefactor  = 63.104
  Normalizat = 1.5702
  Prefactor  = 0.843328
 **********
 **   18 **HESSE 
 **********

 FCN=   7995.517     FROM HESSE     STATUS=OK           342 CALLS     2693 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.301        26.293        .11912E-03   -1.5035    
   2  Prefactor     12.502        14.158        .11329E-03   -1.5001    
   3  Prefactor     .10000E-03    25.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.8852        1.7965        .79006E-04   -1.5314    
   5  Prefactor     3.0609        11.947        .23186E-03   -1.5358    
   6  Prefactor     .10000E-03    3.1060        .15303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    35.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     43.524        19.788        .60774E-04   -1.4388    
  10  norm          .74362        5.6336        .36005E-03   -1.5536    
  11  Prefactor     .10000E-03    5.3779        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.7305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.3313        114.37        .37935E-03   -1.5477    
  15  Prefactor     26.742        20.031        .77467E-04   -1.4673    
  16  Prefactor     .10000E-03    27.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.3677        24.091        .13091E-03   -1.5096    
  18  Prefactor     .10000E-03    4.8478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.7859        1.4395        .51107E-04   -1.5227    
  20  Prefactor     63.104        95.996        .50513E-04   -1.4118    
  21  Normalizat    1.5702        .28456        .32951E-03   -.75824    
  22  Prefactor     .84333        .13175        .20292E-03   -.98150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7331e-10
Minuit parameter uncertainties:
  1  26.3202
  2  14.1619
  3  0.000286149
  4  1.79656
  5  11.9565
  6  1.77769e-07
  7  0.000191113
  8  9.19094e-05
  9  19.7908
  10  4.09381
  11  1.30199e-05
  12  2.21778e-05
  13  7.77114e-06
  14  24.7273
  15  20.0365
  16  0.000162706
  17  24.1157
  18  3.76209e-06
  19  1.43953
  20  96.2323
  21  0.284856
  22  0.131795
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.302e-05  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.433e-01  1.318e-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.570e+00  2.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 9.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/314829/likelihoodResults_365558401_365817601_4FGL_J1205.7-2635_daily_bin487.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) = 7995.51810556
delta logL = -0.000887744983629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7995.51721866
delta logL = -8.48822310218e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5264       1.0000          .0000       10.000    
     3 'Normalizat'    1.5700       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84346       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.

 FCN=   7995.517     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.686        .90712E-02** at limit **
   2  Index         2.5239        8.7226        .50000        .38733E-05
   3  Normalizat    1.5702        .88029E-02    .74468E-01    .34539E-04
   4  Prefactor     .84333        .41540E-02    .44280E-01    .56753E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.52395
  Normalizat = 1.5702
  Prefactor  = 0.843329
 **********
 **   18 **HESSE 
 **********

 FCN=   7995.517     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      244 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    321.12        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5239        6.2235        .50000       -.51808    
   3  Normalizat    1.5702        .50931E-01    .32951E-03   -.75824    
   4  Prefactor     .84333        .24050E-01    .20292E-03   -.98150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.37716e-07
Minuit parameter uncertainties:
  1  0.000330609
  2  686.143
  3  0.0509326
  4  0.0240505
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/314829': 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) = 7995.51721781
delta logL = 4.89671947435e-09

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  3.306e-04  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.524e+00  6.861e+02  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.433e-01  2.405e-02  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.570e+00  5.093e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/314829/cmap_HighResolution_365558401_365817601_4FGL_J1205.7-2635_daily_bin487.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.75e-03', job_status='DONE', photon_flux_upper_limit='9.95e-08', time_completed='2021-09-04 23:43:05.693539', job_id='314829', GAL2='0.84', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1630824185.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='4.90e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='487' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:43:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 314829: <4FGL_J1205.7-2635_daily_bin487> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin487 181.432 -26.5946 365558401 365817601 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 :                                   728.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            743 sec.

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

