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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1010
RA = 181.432, Dec = -26.5946
tmin = 501120001, tmax = 501379201
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='318196', job_status='RUN', time_executed='2021-09-04 23:41:11.997453', time_epoch_executed='1630824072.0' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1010'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318196

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318196/ft1_4FGL_J1205.7-2635_daily_bin1010.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318196/ft2_4FGL_J1205.7-2635_daily_bin1010.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318196/ft1_4FGL_J1205.7-2635_daily_bin1010.fits outfile=/scratch/kocevski/318196/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1010.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=501120001.0 tmax=501379201.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.52
user 3.26
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318196/ft1_filtered_4FGL_J1205.7-2635_daily_bin1010.fits" evtable="EVENTS" scfile=/scratch/kocevski/318196/ft2_4FGL_J1205.7-2635_daily_bin1010.fits sctable="SC_DATA" outfile=/scratch/kocevski/318196/ltcube_501120001_501379201_4FGL_J1205.7-2635_daily_bin1010.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/318196/ft2_4FGL_J1205.7-2635_daily_bin1010.fits
.....................!
real 12.25
user 11.84
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318196/ft1_filtered_4FGL_J1205.7-2635_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/318196/ft2_4FGL_J1205.7-2635_daily_bin1010.fits sctable="SC_DATA" expcube=/scratch/kocevski/318196/ltcube_501120001_501379201_4FGL_J1205.7-2635_daily_bin1010.fits outfile=/scratch/kocevski/318196/expmap_501120001_501379201_4FGL_J1205.7-2635_daily_bin1010.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/318196/ltcube_501120001_501379201_4FGL_J1205.7-2635_daily_bin1010.fits
.....................!
real 190.65
user 185.64
sys 4.59

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/318196/ft1_filtered_4FGL_J1205.7-2635_daily_bin1010.fits scfile=/scratch/kocevski/318196/ft2_4FGL_J1205.7-2635_daily_bin1010.fits outfile=/scratch/kocevski/318196/cmap_501120001_501379201_4FGL_J1205.7-2635_daily_bin1010.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318196/ft1_filtered_4FGL_J1205.7-2635_daily_bin1010.fits scfile=/scratch/kocevski/318196/ft2_4FGL_J1205.7-2635_daily_bin1010.fits outfile=/scratch/kocevski/318196/cmap_HighResolution_501120001_501379201_4FGL_J1205.7-2635_daily_bin1010.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.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318196/ft1_filtered_4FGL_J1205.7-2635_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/318196/ft2_4FGL_J1205.7-2635_daily_bin1010.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318196/Model_4FGL_J1205.7-2635_daily_bin1010.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/318196/ft1_filtered_4FGL_J1205.7-2635_daily_bin1010.fits.....................!
real 76.98
user 75.60
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.572       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.146       1.0000         .10000E-03   10000.    
     4 'norm      '    .84656       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.3488       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.574       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.0135       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.946       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10331E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.244       1.0000         .10000E-03   10000.    
    19 'norm      '    .58800       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .51156E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4362       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97973       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=   9123.726     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2726 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.525        28.225        .27662E-04   -.84864E-06
   2  Prefactor     .10000E-03    3.1574       -.38540E-06** at limit **
   3  Prefactor     31.115        44.389       -.12909E-04   -.15950E-04
   4  norm          .84958        1.3005        .25533E-06   -.62535E-03
   5  Prefactor     .10000E-03    4.9487       -.91462E-07** at limit **
   6  Prefactor     8.3477        5.0820       -.14788E-05   -.20844E-03
   7  Prefactor     .10000E-03    21.070        .10037E-04** at limit **
   8  norm          .10000E-03    15.225       -.55648E-05** at limit **
   9  Prefactor     .10000E-03    15.655       -.11020E-06** at limit **
  10  norm          10.573        4.6025       -.36710E-06   -.25034E-02
  11  Prefactor     9.0149        5.6210       -.18444E-05   -.13393E-03
  12  Prefactor     .10000E-03    21.566        .66201E-05** at limit **
  13  Prefactor     .10000E-03    8.1573       -.88625E-06** at limit **
  14  Prefactor     33.915        29.222        .13840E-04    .72404E-04
  15  Prefactor     .10000E-03    7.7372        .51835E-06** at limit **
  16  Prefactor     .10000E-03    12.362        .20742E-05** at limit **
  17  Prefactor     .10000E-03    24.013       -.14736E-04** at limit **
  18  Prefactor     11.242        9.4889        .46046E-06    .34667E-03
  19  norm          .58643        .80076        .60830E-07    .69493E-03
  20  Prefactor     .10053E-03    913.12       -.80958E-03** at limit **
  21  Normalizat    1.4363        .22483       -.21555E-05    .85964E-03
  22  Prefactor     .97969        .10640        .74310E-06    .15222E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.5252
  Prefactor  = 0.0001
  Prefactor  = 31.1151
  norm       = 0.849575
  Prefactor  = 0.0001
  Prefactor  = 8.34769
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.5731
  Prefactor  = 9.01486
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.9148
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2415
  norm       = 0.586433
  Prefactor  = 0.000100528
  Normalizat = 1.43625
  Prefactor  = 0.979685
 **********
 **   18 **HESSE 
 **********

 FCN=   9123.726     FROM HESSE     STATUS=OK           338 CALLS     3064 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.525        28.227        .76295E-04   -1.4658    
   2  Prefactor     .10000E-03    3.1618        .16574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.115        43.864        .71795E-04   -1.4592    
   4  norm          .84958        1.1484        .12630E-02   -1.5524    
   5  Prefactor     .10000E-03    4.9655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3477        5.0842        .13874E-03   -1.5130    
   7  Prefactor     .10000E-03    21.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    15.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.573        4.5939        .61608E-03   -1.5058    
  11  Prefactor     9.0149        5.6161        .13350E-03   -1.5107    
  12  Prefactor     .10000E-03    21.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.1803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.915        29.208        .68778E-04   -1.4543    
  15  Prefactor     .10000E-03    7.7448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    24.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.242        9.4892        .11948E-03   -1.5037    
  19  norm          .58643        .69797        .96110E-03   -1.5555    
  20  Prefactor     .10053E-03    913.23        .19171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4363        .26809        .34124E-03   -.79586    
  22  Prefactor     .97969        .12731        .19458E-03   -.93410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63074e-09
Minuit parameter uncertainties:
  1  28.2404
  2  4.12901e-05
  3  43.9096
  4  1.14841
  5  6.20093e-07
  6  5.08442
  7  4.76354e-05
  8  4.18592e-06
  9  0.000101221
  10  4.59401
  11  5.61646
  12  7.87932e-06
  13  3.62651e-06
  14  29.22
  15  8.00486e-07
  16  1.60228e-06
  17  0.000104884
  18  9.49047
  19  0.697982
  20  0.0446248
  21  0.26835
  22  0.127345
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  9.015e+00  5.616e+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:  9.797e-01  1.273e-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.436e+00  2.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.01
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 8.34e-08 +/- 5.19e-08
Energy Flux (Fixed Index): 2.35e-05 +/- 1.46e-05

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) = 9123.1205977
delta logL = 0.605892503649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9123.11200643
delta logL = 0.614483771493

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8162       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9628       1.0000          .0000       10.000    
     3 'Normalizat'    1.4753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96919       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=   9123.112     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      213 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8111        10.136        .31975E-02    .90992E-03
   2  Index         1.9623        .57837        .24271       -.42031E-04
   3  Normalizat    1.4755        .22212        .76299E-01    .42235E-04
   4  Prefactor     .96902        .10695        .45881E-01    .79992E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.81109
  Index      = 1.96233
  Normalizat = 1.47554
  Prefactor  = 0.969025
 **********
 **   18 **HESSE 
 **********

 FCN=   9123.112     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8111        6.7428        .12790E-03   -1.5081    
   2  Index         1.9623        .48429        .84660E-02   -.65295    
   3  Normalizat    1.4755        .26294        .33766E-03   -.78468    
   4  Prefactor     .96902        .12711        .19556E-03   -.93769    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.65169e-10
Minuit parameter uncertainties:
  1  6.74335
  2  0.485501
  3  0.263181
  4  0.127147
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318196': 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) = 9123.11200482
delta logL = 0.614485383479

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  9.811e+00  6.743e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  1.962e+00  4.855e-01  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:  9.690e-01  1.271e-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.476e+00  2.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.27
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 1.96 +/- 0.49
Photon Flux (Free Index): 4.75e-08 +/- 4.43e-08
Energy Flux (Free Index): 3.61e-05 +/- 3.15e-05

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/318196/cmap_HighResolution_501120001_501379201_4FGL_J1205.7-2635_daily_bin1010.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.34e-08', energy_flux2='3.61e-05', photon_flux_error='5.19e-08', dlogl='6.14e-01', energy_flux='2.35e-05', photon_flux2='4.75e-08', job_status='DONE', time_completed='2021-09-04 23:53:40.629304', photon_index_error2='0.49', photon_index2='1.96', ts='7.01', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='3.15e-05', EG='1.44', time_epoch_completed='1630824820.63', return_code='0', job_id='318196', GAL2='0.97', EG2='1.48', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='4.43e-08', ts2='8.27', photon_index='2.53' WHERE bin_id='1010' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:53:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 318196: <4FGL_J1205.7-2635_daily_bin1010> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1010 181.432 -26.5946 501120001 501379201 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 :                                   744.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             385.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            780 sec.

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

