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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1464
RA = 183.001, Dec = -23.4494
tmin = 618796801, tmax = 619056001
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='410528', job_status='RUN', time_executed='2021-09-05 04:01:44.026662', time_epoch_executed='1630839704.03' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1464'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410528

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410528/ft1_4FGL_J1212.0-2326_daily_bin1464.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410528/ft2_4FGL_J1212.0-2326_daily_bin1464.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410528/ft1_4FGL_J1212.0-2326_daily_bin1464.fits outfile=/scratch/kocevski/410528/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1464.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=618796801.0 tmax=619056001.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.71
user 3.46
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/410528/ft2_4FGL_J1212.0-2326_daily_bin1464.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/410528/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1464.fits evtable="EVENTS" outfile="/scratch/kocevski/410528/ft1_filtered_4FGL_J1212.0-2326_daily_bin1464.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.58
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410528/ft1_filtered_4FGL_J1212.0-2326_daily_bin1464.fits" evtable="EVENTS" scfile=/scratch/kocevski/410528/ft2_4FGL_J1212.0-2326_daily_bin1464.fits sctable="SC_DATA" outfile=/scratch/kocevski/410528/ltcube_618796801_619056001_4FGL_J1212.0-2326_daily_bin1464.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/410528/ft2_4FGL_J1212.0-2326_daily_bin1464.fits
.....................!
real 11.81
user 11.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410528/ft1_filtered_4FGL_J1212.0-2326_daily_bin1464.fits evtable="EVENTS" scfile=/scratch/kocevski/410528/ft2_4FGL_J1212.0-2326_daily_bin1464.fits sctable="SC_DATA" expcube=/scratch/kocevski/410528/ltcube_618796801_619056001_4FGL_J1212.0-2326_daily_bin1464.fits outfile=/scratch/kocevski/410528/expmap_618796801_619056001_4FGL_J1212.0-2326_daily_bin1464.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/410528/ltcube_618796801_619056001_4FGL_J1212.0-2326_daily_bin1464.fits
.....................!
real 192.23
user 185.46
sys 5.60

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/410528/ft1_filtered_4FGL_J1212.0-2326_daily_bin1464.fits scfile=/scratch/kocevski/410528/ft2_4FGL_J1212.0-2326_daily_bin1464.fits outfile=/scratch/kocevski/410528/cmap_618796801_619056001_4FGL_J1212.0-2326_daily_bin1464.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410528/ft1_filtered_4FGL_J1212.0-2326_daily_bin1464.fits scfile=/scratch/kocevski/410528/ft2_4FGL_J1212.0-2326_daily_bin1464.fits outfile=/scratch/kocevski/410528/cmap_HighResolution_618796801_619056001_4FGL_J1212.0-2326_daily_bin1464.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/410528/ft1_filtered_4FGL_J1212.0-2326_daily_bin1464.fits', '/scratch/kocevski/410528/ft2_4FGL_J1212.0-2326_daily_bin1464.fits', expMap='/scratch/kocevski/410528/expmap_618796801_619056001_4FGL_J1212.0-2326_daily_bin1464.fits', expCube='/scratch/kocevski/410528/ltcube_618796801_619056001_4FGL_J1212.0-2326_daily_bin1464.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/410528/Model_4FGL_J1212.0-2326_daily_bin1464.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/410528/ft1_filtered_4FGL_J1212.0-2326_daily_bin1464.fits
Spacecraft file(s): /scratch/kocevski/410528/ft2_4FGL_J1212.0-2326_daily_bin1464.fits
Exposure map: /scratch/kocevski/410528/expmap_618796801_619056001_4FGL_J1212.0-2326_daily_bin1464.fits
Exposure cube: /scratch/kocevski/410528/ltcube_618796801_619056001_4FGL_J1212.0-2326_daily_bin1464.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/410528/Model_4FGL_J1212.0-2326_daily_bin1464.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) = 12521.9694123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.361       1.0000         .10000E-03   10000.    
     3 'norm      '    .18857       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11903E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.8017       1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.086       1.0000         .10000E-03   10000.    
     9 'norm      '    5.3990       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.467       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7207       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11061E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.7074       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.1513       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .88205       1.0000         .10000E-03   10000.    
    19 'norm      '    10.417       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.474       1.0000         .10000E-03   10000.    
    21 'norm      '    .48624       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1765       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96755       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=   12521.90     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2410 TOTAL
                     EDM=   .59E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9843       -.19426E-07** at limit **
   2  Prefactor     15.333        36.132        .68167E-05    .35516E-04
   3  norm          .18888        .63249       -.59263E-08   -.43268E-03
   4  Prefactor     .10000E-03    13.998        .25797E-06** at limit **
   5  Prefactor     .10000E-03    2.0631        .11632E-06** at limit **
   6  Prefactor     .10000E-03    8.8854        .22215E-07** at limit **
   7  norm          5.8010        10.509        .94081E-06   -.11874E-04
   8  Prefactor     37.083        15.330       -.88244E-06    .26159E-04
   9  norm          5.4002        4.3661        .13310E-05   -.65157E-04
  10  Prefactor     .10000E-03    1.1007        .62469E-07** at limit **
  11  Prefactor     .10000E-03    13.455       -.27209E-06** at limit **
  12  Prefactor     37.474        22.162       -.34746E-06    .21049E-04
  13  Prefactor     9.7201        9.4990        .39488E-08    .10786E-05
  14  Prefactor     .10000E-03    19.986        .16212E-06** at limit **
  15  Prefactor     .10000E-03    40.763        .26301E-07** at limit **
  16  Prefactor     1.7079        3.5203        .26716E-06   -.11582E-04
  17  Prefactor     7.1512        2.0398       -.15849E-07   -.38953E-05
  18  Prefactor     .88033        5.6694        .42128E-07   -.62760E-04
  19  norm          10.417        1.3572       -.25289E-09   -.67147E-04
  20  Prefactor     16.475        27.857       -.29896E-06   -.57228E-05
  21  norm          .48094        3.7560        .15744E-05   -.52214E-04
  22  Prefactor     .10000E-03    1.5306        .49066E-07** at limit **
  23  Normalizat    1.1761        .18288        .19437E-06    .80321E-04
  24  Prefactor     .96770        .90966E-01   -.27620E-06    .17794E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.3333
  norm       = 0.188883
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.80098
  Prefactor  = 37.0829
  norm       = 5.40019
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.4737
  Prefactor  = 9.72006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.70789
  Prefactor  = 7.15117
  Prefactor  = 0.880332
  norm       = 10.4172
  Prefactor  = 16.4745
  norm       = 0.48094
  Prefactor  = 0.0001
  Normalizat = 1.17609
  Prefactor  = 0.967702
 **********
 **   18 **HESSE 
 **********

 FCN=   12521.90     FROM HESSE     STATUS=OK           409 CALLS     2819 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9879        .15394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.333        36.392        .10219E-03   -1.4925    
   3  norm          .18888        .96668        .14779E-02   -1.5621    
   4  Prefactor     .10000E-03    14.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.7626        .30741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.9015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.8010        10.514        .83371E-03   -1.5226    
   8  Prefactor     37.083        15.387        .65812E-04   -1.4489    
   9  norm          5.4002        4.3959        .86467E-03   -1.5243    
  10  Prefactor     .10000E-03    1.1054        .11454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     37.474        22.161        .65477E-04   -1.4483    
  13  Prefactor     9.7201        9.5004        .12853E-03   -1.5084    
  14  Prefactor     .10000E-03    20.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    41.788        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.7079        3.4922        .28377E-03   -1.5447    
  17  Prefactor     7.1512        2.0369        .80600E-04   -1.5173    
  18  Prefactor     .88033        25.930        .50239E-02   -1.5520    
  19  norm          10.417        1.3565        .44996E-04   -1.5062    
  20  Prefactor     16.475        27.812        .98678E-04   -1.4896    
  21  norm          .48094        3.8488        .41191E-02   -1.5569    
  22  Prefactor     .10000E-03    1.5370        .13491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1761        .21563        .34255E-03   -.87345    
  24  Prefactor     .96770        .10854        .19245E-03   -.93814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37455e-07
Minuit parameter uncertainties:
  1  1.17173e-06
  2  36.4451
  3  0.854407
  4  6.08662e-06
  5  3.37541e-05
  6  1.91703e-08
  7  10.5169
  8  15.3884
  9  4.39621
  10  2.70749e-06
  11  5.82079e-06
  12  22.1655
  13  9.50186
  14  5.60115e-08
  15  9.02587e-05
  16  3.49257
  17  2.03691
  18  9.55947
  19  1.35648
  20  27.8341
  21  2.72102
  22  2.00194e-06
  23  0.215794
  24  0.108566
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  9.720e+00  9.502e+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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  9.677e-01  1.086e-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.176e+00  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.53
Ra Dec: 183.001 -23.449
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.31e-08 +/- 1.28e-08
Energy Flux (Fixed Index): 1.19e-05 +/- 1.16e-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) = 12520.1525689
delta logL = 1.74429910302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12520.1312019
delta logL = 1.76566609332

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1763       1.0000         .10000E-03   10000.    
     2 'Index     '    .57472       1.0000          .0000       10.000    
     3 'Normalizat'    1.1833       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96766       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=   12520.13     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      207 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1763        7.2802        .37434E-02   -.24693E-02
   2  Index         .57464        .56599        .40708        .87943E-05
   3  Normalizat    1.1833        .17340        .77190E-01    .15061E-03
   4  Prefactor     .96768        .89806E-01    .45862E-01    .16560E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.17627
  Index      = 0.574637
  Normalizat = 1.18327
  Prefactor  = 0.967684
 **********
 **   18 **HESSE 
 **********

 FCN=   12520.13     FROM HESSE     STATUS=OK            29 CALLS      236 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1763        10.524        .14974E-03   -1.5172    
   2  Index         .57464        .70434        .26408E-01   -1.0866    
   3  Normalizat    1.1833        .20610        .34166E-03   -.87121    
   4  Prefactor     .96768        .10691        .19245E-03   -.93815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.55705e-09
Minuit parameter uncertainties:
  1  10.5267
  2  0.715566
  3  0.206243
  4  0.106934
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410528': 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) = 12520.1312018
delta logL = 1.76566616152

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  7.176e+00  1.053e+01  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  5.746e-01  7.156e-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:  9.677e-01  1.069e-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.183e+00  2.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.06
Ra Dec: 183.001 -23.449
Photon Index (Free Index): 0.57 +/- 0.72
Photon Flux (Free Index): 2.59e-09 +/- 2.65e-09
Energy Flux (Free Index): 8.18e-05 +/- 9.91e-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/410528/cmap_HighResolution_618796801_619056001_4FGL_J1212.0-2326_daily_bin1464.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.31e-08', energy_flux2='8.18e-05', photon_flux_error='1.28e-08', dlogl='1.77e+00', energy_flux='1.19e-05', photon_flux2='2.59e-09', job_status='DONE', time_completed='2021-09-05 04:17:00.334137', photon_index_error2='0.72', photon_index2='0.57', ts='8.53', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='9.91e-05', EG='1.18', time_epoch_completed='1630840620.33', return_code='0', job_id='410528', GAL2='0.97', EG2='1.18', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='2.65e-09', ts2='12.06', photon_index='1.90' WHERE bin_id='1464' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:17:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 410528: <4FGL_J1212.0-2326_daily_bin1464> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1464> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep  5 04:01:06 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:01:07 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:01:07 2021
Terminated at Sun Sep  5 04:17:01 2021
Results reported at Sun Sep  5 04:17:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1464 183.001 -23.4494 618796801 619056001 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 :                                   908.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             308.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            955 sec.

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

