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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1576
RA = 183.001, Dec = -23.4494
tmin = 647827201, tmax = 648086401
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='411886', job_status='RUN', time_executed='2021-09-05 04:07:04.773172', time_epoch_executed='1630840024.77' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1576'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/411886

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/411886/ft1_4FGL_J1212.0-2326_daily_bin1576.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/411886/ft2_4FGL_J1212.0-2326_daily_bin1576.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/411886/ft1_4FGL_J1212.0-2326_daily_bin1576.fits outfile=/scratch/kocevski/411886/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1576.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=647827201.0 tmax=648086401.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 4.14
user 3.80
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/411886/ft2_4FGL_J1212.0-2326_daily_bin1576.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/411886/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1576.fits evtable="EVENTS" outfile="/scratch/kocevski/411886/ft1_filtered_4FGL_J1212.0-2326_daily_bin1576.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.49
user 0.30
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/411886/ft1_filtered_4FGL_J1212.0-2326_daily_bin1576.fits" evtable="EVENTS" scfile=/scratch/kocevski/411886/ft2_4FGL_J1212.0-2326_daily_bin1576.fits sctable="SC_DATA" outfile=/scratch/kocevski/411886/ltcube_647827201_648086401_4FGL_J1212.0-2326_daily_bin1576.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/411886/ft2_4FGL_J1212.0-2326_daily_bin1576.fits
.....................!
real 11.86
user 11.45
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/411886/ft1_filtered_4FGL_J1212.0-2326_daily_bin1576.fits evtable="EVENTS" scfile=/scratch/kocevski/411886/ft2_4FGL_J1212.0-2326_daily_bin1576.fits sctable="SC_DATA" expcube=/scratch/kocevski/411886/ltcube_647827201_648086401_4FGL_J1212.0-2326_daily_bin1576.fits outfile=/scratch/kocevski/411886/expmap_647827201_648086401_4FGL_J1212.0-2326_daily_bin1576.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/411886/ltcube_647827201_648086401_4FGL_J1212.0-2326_daily_bin1576.fits
.....................!
real 192.54
user 186.87
sys 5.08

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/411886/ft1_filtered_4FGL_J1212.0-2326_daily_bin1576.fits scfile=/scratch/kocevski/411886/ft2_4FGL_J1212.0-2326_daily_bin1576.fits outfile=/scratch/kocevski/411886/cmap_647827201_648086401_4FGL_J1212.0-2326_daily_bin1576.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/411886/ft1_filtered_4FGL_J1212.0-2326_daily_bin1576.fits scfile=/scratch/kocevski/411886/ft2_4FGL_J1212.0-2326_daily_bin1576.fits outfile=/scratch/kocevski/411886/cmap_HighResolution_647827201_648086401_4FGL_J1212.0-2326_daily_bin1576.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.56
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/411886/ft1_filtered_4FGL_J1212.0-2326_daily_bin1576.fits evtable="EVENTS" scfile=/scratch/kocevski/411886/ft2_4FGL_J1212.0-2326_daily_bin1576.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/411886/Model_4FGL_J1212.0-2326_daily_bin1576.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/411886/ft1_filtered_4FGL_J1212.0-2326_daily_bin1576.fits.....................!
real 60.51
user 59.20
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    19.767       1.0000         .10000E-03   10000.    
     3 'norm      '    3.9893       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .41161E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3008       1.0000         .10000E-03   10000.    
     7 'norm      '    4.2024       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.5232       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    197.80       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    36.963       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.5109       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.2804       1.0000         .10000E-03   10000.    
    19 'norm      '    2.9228       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    10.559       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .32675E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3252       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1614       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=   6811.971     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2798 TOTAL
                     EDM=   .59E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.1765        .62555E-09** at limit **
   2  Prefactor     19.766        49.128        .45834E-07   -.81089E-06
   3  norm          3.9892        1.9926        .56192E-08   -.10371E-03
   4  Prefactor     .10000E-03    235.93        .59714E-05** at limit **
   5  Prefactor     .10000E-03    1.5887        .81297E-07** at limit **
   6  Prefactor     5.2670        30.827        .14178E-05    .11641E-04
   7  norm          4.2017        34.768       -.34801E-06    .92921E-05
   8  Prefactor     .10000E-03    8.0420       -.71486E-07** at limit **
   9  norm          .10000E-03    2.4137       -.96164E-07** at limit **
  10  Prefactor     8.5217        9.5260       -.57492E-07    .39034E-04
  11  Prefactor     .10000E-03    35.120       -.39971E-06** at limit **
  12  Prefactor     197.81        65.090       -.12338E-06   -.10375E-04
  13  Prefactor     .10000E-03    16.043       -.68899E-06** at limit **
  14  Prefactor     36.996        69.645       -.13084E-05   -.55961E-05
  15  Prefactor     .10000E-03    5.3494        .86482E-07** at limit **
  16  Prefactor     .10000E-03    5.3938       -.72084E-07** at limit **
  17  Prefactor     7.5108        3.2190       -.83562E-07    .26960E-03
  18  Prefactor     5.2761        16.216       -.26107E-06    .20413E-04
  19  norm          2.9232        1.5855       -.76825E-07    .17148E-04
  20  Prefactor     .10000E-03    50.631        .19143E-06** at limit **
  21  norm          10.577        8.0442       -.97047E-06   -.15288E-03
  22  Prefactor     .10000E-03    15.078        .62700E-05** at limit **
  23  Normalizat    1.3253        .30416        .27518E-06   -.10011E-03
  24  Prefactor     1.1614        .14886        .89976E-07   -.16605E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.7656
  norm       = 3.98919
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.26696
  norm       = 4.20175
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.52169
  Prefactor  = 0.0001
  Prefactor  = 197.808
  Prefactor  = 0.0001
  Prefactor  = 36.9958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.51085
  Prefactor  = 5.27613
  norm       = 2.92315
  Prefactor  = 0.0001
  norm       = 10.5772
  Prefactor  = 0.0001
  Normalizat = 1.32528
  Prefactor  = 1.16138
 **********
 **   18 **HESSE 
 **********

 FCN=   6811.971     FROM HESSE     STATUS=OK           399 CALLS     3197 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1779        .14366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.766        49.131        .90086E-04   -1.4819    
   3  norm          3.9892        1.9919        .78837E-04   -1.5308    
   4  Prefactor     .10000E-03    236.01        .21250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.5899        .10154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.2670        31.040        .17457E-03   -1.5249    
   7  norm          4.2017        34.812        .19658E-03   -1.5298    
   8  Prefactor     .10000E-03    8.0586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.4247        .12516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.5217        9.4837        .13731E-03   -1.5124    
  11  Prefactor     .10000E-03    35.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     197.81        64.926        .14363E-03   -1.2886    
  13  Prefactor     .10000E-03    15.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     36.996        69.581        .65921E-04   -1.4491    
  15  Prefactor     .10000E-03    5.3507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.4277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.5108        3.2135        .46911E-03   -1.5160    
  18  Prefactor     5.2761        16.199        .17491E-03   -1.5249    
  19  norm          2.9232        1.5817        .72817E-04   -1.5366    
  20  Prefactor     .10000E-03    50.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          10.577        8.0418        .12330E-03   -1.5057    
  22  Prefactor     .10000E-03    14.944        .33893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3253        .35231        .40133E-03   -.82815    
  24  Prefactor     1.1614        .17334        .20890E-03   -.87528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07931e-10
Minuit parameter uncertainties:
  1  7.71726e-07
  2  49.2319
  3  1.99193
  4  0.00063753
  5  6.13742e-06
  6  25.5921
  7  24.2075
  8  1.4905e-05
  9  5.87712e-06
  10  9.48533
  11  0.000113347
  12  64.9495
  13  0.00017527
  14  69.7343
  15  2.98949e-06
  16  1.22405e-06
  17  3.21358
  18  16.2123
  19  1.58176
  20  1.40451e-05
  21  8.04257
  22  1.7734e-06
  23  0.352955
  24  0.173422
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  1.753e-04  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:  1.161e+00  1.734e-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.325e+00  3.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 183.001 -23.449
Photon Flux Upper Limit: 8.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/411886/likelihoodResults_647827201_648086401_4FGL_J1212.0-2326_daily_bin1576.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) = 6811.97102908
delta logL = -0.000298068991469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6811.18415302
delta logL = 0.786577985493

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36032E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    4.3626       1.0000          .0000       10.000    
     3 'Normalizat'    1.1981       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1962       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=   6811.184     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      339 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34690E-01    .44094        .28766E-02    .13474E-01
   2  Index         4.3748        1.6194        .65025E-01    .47873E-03
   3  Normalizat    1.1982        .66935E-01    .94366E-01   -.35864E-04
   4  Prefactor     1.1960        .33062E-01    .34722E-01    .52744E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0346898
  Index      = 4.37476
  Normalizat = 1.19818
  Prefactor  = 1.19596
 **********
 **   18 **HESSE 
 **********

 FCN=   6811.184     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      372 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34690E-01    1.2434        .13062E-03   -1.5671    
   2  Index         4.3748        3.1864        .32704E-02   -.12538    
   3  Normalizat    1.1982        .25167        .41803E-03   -.86659    
   4  Prefactor     1.1960        .12290        .20601E-03   -.86456    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.67529e-09
Minuit parameter uncertainties:
  1  0.414782
  2  3.46019
  3  0.251926
  4  0.122926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/411886': 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) = 6811.18412429
delta logL = 0.786606713044

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  3.469e-02  4.148e-01  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  4.375e+00  3.460e+00  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:  1.196e+00  1.229e-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.198e+00  2.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.68
Ra Dec: 183.001 -23.449
Photon Index (Free Index): 4.37 +/- 3.46
Photon Flux (Free Index): 1.34e-07 +/- 1.09e-07
Energy Flux (Free Index): 1.89e-05 +/- 1.75e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/411886/cmap_HighResolution_647827201_648086401_4FGL_J1212.0-2326_daily_bin1576.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.42e-03', comment='SUCCESS', energy_flux2='1.89e-05', dlogl='7.87e-01', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-09-05 04:19:26.070331', photon_index_error2='3.46', photon_index2='4.37', ts='-0.00', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='8.63e-08', energy_flux_error2='1.75e-05', EG='1.33', time_epoch_completed='1630840766.07', return_code='0', job_id='411886', GAL2='1.20', EG2='1.20', return_code2='102', photon_flux_error2='1.09e-07', ts2='1.68', photon_index='1.90' WHERE bin_id='1576' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:19:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 411886: <4FGL_J1212.0-2326_daily_bin1576> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1576> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep  5 04:05:33 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:05:35 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:05:35 2021
Terminated at Sun Sep  5 04:19:26 2021
Results reported at Sun Sep  5 04:19:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1576 183.001 -23.4494 647827201 648086401 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 :                                   733.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            833 sec.

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

