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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1186
RA = 183.001, Dec = -23.4494
tmin = 546739201, tmax = 546998401
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='410145', job_status='RUN', time_executed='2021-09-05 04:00:56.028305', time_epoch_executed='1630839656.03' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1186'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410145

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410145/ft1_4FGL_J1212.0-2326_daily_bin1186.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410145/ft2_4FGL_J1212.0-2326_daily_bin1186.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410145/ft1_4FGL_J1212.0-2326_daily_bin1186.fits outfile=/scratch/kocevski/410145/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1186.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=546739201.0 tmax=546998401.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.75
user 3.46
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/410145/ft2_4FGL_J1212.0-2326_daily_bin1186.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/410145/ft2_4FGL_J1212.0-2326_daily_bin1186.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/410145/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1186.fits evtable="EVENTS" outfile="/scratch/kocevski/410145/ft1_filtered_4FGL_J1212.0-2326_daily_bin1186.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 1.10
user 0.33
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410145/ft1_filtered_4FGL_J1212.0-2326_daily_bin1186.fits" evtable="EVENTS" scfile=/scratch/kocevski/410145/ft2_4FGL_J1212.0-2326_daily_bin1186.fits sctable="SC_DATA" outfile=/scratch/kocevski/410145/ltcube_546739201_546998401_4FGL_J1212.0-2326_daily_bin1186.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/410145/ft2_4FGL_J1212.0-2326_daily_bin1186.fits
.....................!
real 12.66
user 11.91
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410145/ft1_filtered_4FGL_J1212.0-2326_daily_bin1186.fits evtable="EVENTS" scfile=/scratch/kocevski/410145/ft2_4FGL_J1212.0-2326_daily_bin1186.fits sctable="SC_DATA" expcube=/scratch/kocevski/410145/ltcube_546739201_546998401_4FGL_J1212.0-2326_daily_bin1186.fits outfile=/scratch/kocevski/410145/expmap_546739201_546998401_4FGL_J1212.0-2326_daily_bin1186.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/410145/ltcube_546739201_546998401_4FGL_J1212.0-2326_daily_bin1186.fits
.....................!
real 192.29
user 186.52
sys 4.81

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 J1212.0-2326 @ 183.001 -23.4494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/410145/ft1_filtered_4FGL_J1212.0-2326_daily_bin1186.fits scfile=/scratch/kocevski/410145/ft2_4FGL_J1212.0-2326_daily_bin1186.fits outfile=/scratch/kocevski/410145/cmap_546739201_546998401_4FGL_J1212.0-2326_daily_bin1186.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=183.001 yref=-23.4494 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.60
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410145/ft1_filtered_4FGL_J1212.0-2326_daily_bin1186.fits scfile=/scratch/kocevski/410145/ft2_4FGL_J1212.0-2326_daily_bin1186.fits outfile=/scratch/kocevski/410145/cmap_HighResolution_546739201_546998401_4FGL_J1212.0-2326_daily_bin1186.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=183.001 yref=-23.4494 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/410145/ft1_filtered_4FGL_J1212.0-2326_daily_bin1186.fits evtable="EVENTS" scfile=/scratch/kocevski/410145/ft2_4FGL_J1212.0-2326_daily_bin1186.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410145/Model_4FGL_J1212.0-2326_daily_bin1186.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/410145/ft1_filtered_4FGL_J1212.0-2326_daily_bin1186.fits.....................!
real 45.01
user 43.67
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/410145/ft1_filtered_4FGL_J1212.0-2326_daily_bin1186.fits', '/scratch/kocevski/410145/ft2_4FGL_J1212.0-2326_daily_bin1186.fits', expMap='/scratch/kocevski/410145/expmap_546739201_546998401_4FGL_J1212.0-2326_daily_bin1186.fits', expCube='/scratch/kocevski/410145/ltcube_546739201_546998401_4FGL_J1212.0-2326_daily_bin1186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/410145/Model_4FGL_J1212.0-2326_daily_bin1186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1212.0-2326'

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.799e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.897e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/410145/ft1_filtered_4FGL_J1212.0-2326_daily_bin1186.fits
Spacecraft file(s): /scratch/kocevski/410145/ft2_4FGL_J1212.0-2326_daily_bin1186.fits
Exposure map: /scratch/kocevski/410145/expmap_546739201_546998401_4FGL_J1212.0-2326_daily_bin1186.fits
Exposure cube: /scratch/kocevski/410145/ltcube_546739201_546998401_4FGL_J1212.0-2326_daily_bin1186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/410145/Model_4FGL_J1212.0-2326_daily_bin1186.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) = 4632.31428085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.344       1.0000         .10000E-03   10000.    
     2 'Prefactor '    49.735       1.0000         .10000E-03   10000.    
     3 'norm      '    .19211       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    51.901       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.832       1.0000         .10000E-03   10000.    
     9 'norm      '    5.9416       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.470       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.245       1.0000         .10000E-03   10000.    
    15 'Prefactor '    24.308       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.5872       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.470       1.0000         .10000E-03   10000.    
    19 'norm      '    2.0119       1.0000         .10000E-03   10000.    
    20 'Prefactor '    58.421       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.279       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4725       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81623       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=   4632.312     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     3331 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.343        22.012       -.82267E-06    .15116E-04
   2  Prefactor     49.740        61.526        .61163E-05    .32817E-04
   3  norm          .19087        1.2667       -.96088E-06   -.49640E-03
   4  Prefactor     .10000E-03    44.676       -.31974E-05** at limit **
   5  Prefactor     .10000E-03    3.5069       -.35189E-06** at limit **
   6  Prefactor     .10000E-03    14.955        .13773E-05** at limit **
   7  norm          51.901        39.637       -.40299E-06    .60832E-05
   8  Prefactor     14.830        21.807       -.13501E-05    .30757E-05
   9  norm          5.9415        6.9450       -.34332E-05   -.12807E-03
  10  Prefactor     .10000E-03    1.9015       -.19826E-06** at limit **
  11  Prefactor     .10000E-03    30.335        .40077E-05** at limit **
  12  Prefactor     .10000E-03    16.936       -.29067E-05** at limit **
  13  Prefactor     32.469        31.558        .78701E-06    .98428E-05
  14  Prefactor     11.241        58.044       -.85885E-05   -.81948E-06
  15  Prefactor     24.303        38.363       -.61885E-05    .10752E-04
  16  Prefactor     .10000E-03    2.7473       -.13809E-06** at limit **
  17  Prefactor     2.5872        1.7374       -.12497E-06    .83356E-04
  18  Prefactor     14.470        14.454       -.11529E-06    .99513E-05
  19  norm          2.0119        1.4554       -.61504E-09   -.15601E-03
  20  Prefactor     58.421        94.216       -.45180E-06    .41044E-05
  21  norm          .10000E-03    4.0296       -.25017E-06** at limit **
  22  Prefactor     14.279        8.5408       -.12805E-07    .32192E-05
  23  Normalizat    1.4726        .30642        .37629E-05    .51451E-04
  24  Prefactor     .81615        .15016        .18564E-06    .20716E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.3431
  Prefactor  = 49.7404
  norm       = 0.190869
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 51.9007
  Prefactor  = 14.8297
  norm       = 5.94145
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.4693
  Prefactor  = 11.2413
  Prefactor  = 24.303
  Prefactor  = 0.0001
  Prefactor  = 2.58724
  Prefactor  = 14.4701
  norm       = 2.01187
  Prefactor  = 58.4207
  norm       = 0.0001
  Prefactor  = 14.2791
  Normalizat = 1.47263
  Prefactor  = 0.816154
 **********
 **   18 **HESSE 
 **********

 FCN=   4632.312     FROM HESSE     STATUS=OK           397 CALLS     3728 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.343        22.034        .91065E-04   -1.4828    
   2  Prefactor     49.740        61.863        .56863E-04   -1.4296    
   3  norm          .19087        2.5131        .14714E-02   -1.5621    
   4  Prefactor     .10000E-03    44.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.5291        .12447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          51.901        39.647        .55670E-04   -1.4266    
   8  Prefactor     14.830        21.807        .10400E-03   -1.4938    
   9  norm          5.9415        6.9801        .15763E-03   -1.5220    
  10  Prefactor     .10000E-03    1.9058        .91642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    30.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     32.469        31.514        .70320E-04   -1.4568    
  14  Prefactor     11.241        57.879        .11947E-03   -1.5037    
  15  Prefactor     24.303        38.352        .81247E-04   -1.4722    
  16  Prefactor     .10000E-03    2.7598        .11016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.5872        1.7376        .71603E-04   -1.5386    
  18  Prefactor     14.470        14.457        .10529E-03   -1.4947    
  19  norm          2.0119        1.4488        .66850E-04   -1.5424    
  20  Prefactor     58.421        94.260        .52488E-04   -1.4178    
  21  norm          .10000E-03    4.0401        .13326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.279        8.5301        .10600E-03   -1.4952    
  23  Normalizat    1.4726        .36500        .32312E-03   -.78550    
  24  Prefactor     .81615        .18006        .20691E-03   -.99136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39768e-10
Minuit parameter uncertainties:
  1  22.0435
  2  61.9429
  3  1.38487
  4  3.4824e-05
  5  2.63342e-06
  6  1.37579e-06
  7  39.6668
  8  21.819
  9  6.9811
  10  2.09052e-06
  11  5.81433e-05
  12  1.70558e-05
  13  31.5302
  14  51.0933
  15  38.3909
  16  5.96574e-06
  17  1.73766
  18  14.4609
  19  1.44886
  20  94.5017
  21  6.10459e-06
  22  8.53083
  23  0.365657
  24  0.180192
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  3.247e+01  3.153e+01  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.897e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.162e-01  1.802e-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.473e+00  3.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.55
Ra Dec: 183.001 -23.449
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 4.39e-08 +/- 4.26e-08
Energy Flux (Fixed Index): 3.96e-05 +/- 3.85e-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) = 4632.26313138
delta logL = 0.0488624492755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4632.25822417
delta logL = 0.0537696616111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.269       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7013       1.0000          .0000       10.000    
     3 'Normalizat'    1.4793       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81579       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=   4632.258     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      272 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.269        1328.7        .15792E-02    .69976E-05
   2  Index         1.7012        5.2710        .12084        .81848E-04
   3  Normalizat    1.4795        .21564        .72899E-01    .35866E-05
   4  Prefactor     .81567        .81220E-01    .43922E-01    .81259E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.2689
  Index      = 1.70125
  Normalizat = 1.47952
  Prefactor  = 0.815667
 **********
 **   18 **HESSE 
 **********

 FCN=   4632.258     FROM HESSE     STATUS=OK            31 CALLS      303 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.269        41.684        .63166E-04   -1.4438    
   2  Index         1.7012        .61947        .75748E-02   -.72049    
   3  Normalizat    1.4795        .35792        .32256E-03   -.78355    
   4  Prefactor     .81567        .17792        .20701E-03   -.99153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91772e-09
Minuit parameter uncertainties:
  1  41.7138
  2  0.622307
  3  0.358538
  4  0.178042
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410145': 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) = 4632.25822392
delta logL = 0.0537699068736

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  4.027e+01  4.171e+01  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.701e+00  6.223e-01  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.157e-01  1.780e-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.480e+00  3.585e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.66
Ra Dec: 183.001 -23.449
Photon Index (Free Index): 1.70 +/- 0.62
Photon Flux (Free Index): 3.32e-08 +/- 4.25e-08
Energy Flux (Free Index): 5.40e-05 +/- 7.44e-05

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/410145/cmap_HighResolution_546739201_546998401_4FGL_J1212.0-2326_daily_bin1186.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.39e-08', energy_flux2='5.40e-05', photon_flux_error='4.26e-08', dlogl='5.38e-02', energy_flux='3.96e-05', photon_flux2='3.32e-08', job_status='DONE', time_completed='2021-09-05 04:10:41.642420', photon_index_error2='0.62', photon_index2='1.70', ts='4.55', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='7.44e-05', EG='1.47', time_epoch_completed='1630840241.64', return_code='0', job_id='410145', GAL2='0.82', EG2='1.48', return_code2='0', energy_flux_error='3.85e-05', photon_flux_error2='4.25e-08', ts2='4.66', photon_index='1.90' WHERE bin_id='1186' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:10:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 410145: <4FGL_J1212.0-2326_daily_bin1186> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1186> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep  5 04:00:36 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:00:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 04:00:38 2021
Terminated at Sun Sep  5 04:10:42 2021
Results reported at Sun Sep  5 04:10:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1186 183.001 -23.4494 546739201 546998401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1212.0-2326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   573.21 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             372.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            606 sec.

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

